Search code examples
pythonfminsearch

Pycma - fmin Iterations


I'm using the library pycma to try and minimize some function by using the wrapper function cma.fmin.

But for the life of me I can't figure out how many iterations this function runs for, and I'm a bit short on time. Any ideas on what parameter controls the number of iterations? And what is the default amount of iterations?


Solution

  • maxfevals is the parameter that you want I think because it is for:

    maximal number of function evaluations, a string is evaluated with N as search space dimension