fmin¶
-
modcma.modularcmaes.fmin(func, dim, maxfun=None, **kwargs)¶ Minimize a function using the modular CMA-ES.
- Parameters
func (callable) – The objective function to be minimized.
dim (int) – The dimensionality of the problem
maxfun (int = None) – Maximum number of function evaluations to make.
**kwargs – These are directly passed into the instance of ModularCMAES, in this manner parameters can be specified for the optimizer.
- Returns
xopt – The variables which minimize the function during this run
fopt – The value of function at found xopt
evals – The number of evaluations performed