minimize(method=’COBYLA’)#
- scipy.optimize.minimize(fun, x0, args=(), method=None, jac=None, hess=None, hessp=None, bounds=None, constraints=(), tol=None, callback=None, options=None)
Minimize a scalar function of one or more variables using the Constrained Optimization BY Linear Approximation (COBYLA) algorithm.
See also
For documentation for the rest of the parameters, see
scipy.optimize.minimize
- Options:
- ——-
- rhobegfloat
Reasonable initial changes to the variables.
- tolfloat
Final accuracy in the optimization (not precisely guaranteed). This is a lower bound on the size of the trust region.
- dispint
- Controls the frequency of output:
(default) There will be no printing
A message will be printed to the screen at the end of iteration, showing the best vector of variables found and its objective function value
in addition to 1, each new value of RHO is printed to the screen, with the best vector of variables so far and its objective function value.
in addition to 2, each function evaluation with its variables will be printed to the screen.
- maxiterint
Maximum number of function evaluations.
- catolfloat
Tolerance (absolute) for constraint violations
- f_targetfloat
Stop if the objective function is less than f_target.