Expand description
COBYQA: constrained optimisation by quadratic approximations (Ragonneau, 2022; SciPy’s
minimize(method='COBYQA')), a derivative-free trust-region method for problems with bounds and
nonlinear inequality and equality constraints.
The objective and each constraint get a quadratic model that interpolates their values at
2n + 1 points (more with CobyqaOptions::npt), the one of least Frobenius norm of the change
of its Hessian from the previous model. Each iteration takes a Byrd–Omojokun step from the best
point: a normal step that reduces the violation of the linearised constraints, and a
tangential step that reduces the model of the Lagrangian without undoing that, both within the
trust region and the bounds; the step is judged on an ℓ₂ merit function whose penalty parameter
rises with the Lagrange multiplier estimates. Steps that do not pay are followed by moves that
restore the geometry of the interpolation set, and the resolution ρ of the trust region falls
from rhobeg to rhoend.
See the book entry Constrained optimisation.
Structs§
- Cobyqa
Constants - The constants of the method, with SciPy’s defaults;
CobyqaConstants::validatechecks the ranges and relations that SciPy enforces. - Cobyqa
Options - Options for
cobyqa, with SciPy’s defaults. - Cobyqa
Result - The result of
cobyqa. - Linear
Constraints - Linear constraints
a_ub x ≤ b_ubanda_eq x = b_eq(rows ofa_ub,a_eq), kept exact bycobyqa_withinstead of being modelled.
Enums§
- Cobyqa
Status - Why
cobyqastopped.
Functions§
- cobyqa
- Minimises
problem.objectivesubject to the boundslower ≤ x ≤ upper(None: unbounded) and to the problem’sinequalities(x) ≤ 0andequalities(x) = 0, without derivatives, by COBYQA (SciPy’sminimize(method='COBYQA')). The gradient and Jacobian methods ofConstrainedProblemare never called. Seecobyqa_withfor linear constraints and a callback. - cobyqa_
with cobyqawith linear constraints, which are kept exact (their linearisations are the constraints themselves, and they count in the merit function and the multipliers) instead of being modelled, and a callback that receives the best point after every evaluation and stops the run by returningtrue(statusCobyqaStatus::CallbackStop, a success).
Type Aliases§
- Stop
Callback - A callback for
cobyqa_with: it receives the best point and returnstrueto stop.