bundles / scipy 1.17.1 / scipy / optimize / _cobyqa_py / _minimize_cobyqa
function
scipy.optimize._cobyqa_py:_minimize_cobyqa
Signature
def _minimize_cobyqa ( fun , x0 , args = () , bounds = None , constraints = () , callback = None , disp = False , maxfev = None , maxiter = None , f_target = -inf , feasibility_tol = 1e-08 , initial_tr_radius = 1.0 , final_tr_radius = 1e-06 , scale = False , ** unknown_options ) Summary
Minimize a scalar function of one or more variables using the Constrained Optimization BY Quadratic Approximations (COBYQA) algorithm [1].
Extended Summary
Parameters
disp: boolSet to True to print information about the optimization procedure. Default is
False.maxfev: intMaximum number of function evaluations. Default is
500 * n, wherenis the number of variables.maxiter: intMaximum number of iterations. Default is
1000 * n, wherenis the number of variables.f_target: floatTarget value for the objective function. The optimization procedure is terminated when the objective function value of a feasible point (see
feasibility_tolbelow) is less than or equal to this target. Default is-numpy.inf.feasibility_tol: floatAbsolute tolerance for the constraint violation. Default is
1e-8.initial_tr_radius: floatInitial trust-region radius. Typically, this value should be in the order of one tenth of the greatest expected change to the variables. Default is
1.0.final_tr_radius: floatFinal trust-region radius. It should indicate the accuracy required in the final values of the variables. If provided, this option overrides the value of
tolin theminimizefunction. Default is1e-6.scale: boolSet to True to scale the variables according to the bounds. If True and if all the lower and upper bounds are finite, the variables are scaled to be within the range . If any of the lower or upper bounds is infinite, the variables are not scaled. Default is
False.
Aliases
-
scipy.optimize._cobyqa_py._minimize_cobyqa