Expand description
Nonlinearly constrained minimization:
min f(x) subject to h(x) = 0 (equalities) and g(x) ≤ 0 (inequalities).
sqp: sequential quadratic programming (Han-Powell). Each iteration solves the quadratic modelmin ½dᵀBd + ∇fᵀdsubject to the linearised constraints, withBa damped-BFGS approximation of the Lagrangian Hessian (Powell’s damping keeps it positive definite). The QP is solved through its dual, a bound-constrained problem in the multipliers, by an active set method; steps are globalised by a line search on the ℓ₁ merit function. Superlinear convergence on smooth problems.augmented_lagrangian: the method of multipliers. Each outer iteration minimises the augmented Lagrangian (Rockafellar’s form for inequalities) with L-BFGS, then updates the multipliers and, when the constraint violation stalls, the penalty. Simple and robust, but converges more slowly.
Problems implement ConstrainedProblem; derivatives default to central differences.
See the book entry Constrained optimisation.
Structs§
- Constrained
Options - Settings for the constrained solvers.
- Constrained
Result - The outcome of a constrained solve.
Traits§
- Constrained
Problem - A constrained minimization problem. Only
ConstrainedProblem::objectiveis required; constraints default to none and derivatives to central differences.
Functions§
- augmented_
lagrangian - The augmented Lagrangian method (method of multipliers) from
x0. - sqp
- Sequential quadratic programming from
x0(which need not be feasible).