Expand description
SLSQP: sequential least-squares quadratic programming (Kraft, 1988; SciPy’s
minimize(method='SLSQP')) for smooth problems with bounds and nonlinear equality and
inequality constraints.
Each iteration minimises a quadratic model ½ dᵀBd + ∇fᵀd of the objective subject to the
linearised constraints and the bounds (B is a positive definite BFGS approximation of the
Hessian of the Lagrangian, updated by Powell’s damped formula), steps along d by a line search
on an ℓ₁ merit function whose penalty weights follow the multipliers of the subproblem, and stops
when the objective and the constraints settle to ftol. A subproblem whose linearised constraints
are inconsistent is relaxed by a scalar that scales their constants.
See the book entry Constrained optimisation.
Structs§
- Slsqp
Options - Options for
slsqp, with SciPy’s defaults. - Slsqp
Result - The result of
slsqp.
Enums§
- Slsqp
Status - Why
slsqpstopped.
Functions§
- slsqp
- Minimises
problem.objectivesubject to the boundslower ≤ x ≤ upper(None: unbounded) and the problem’sinequalities(x) ≤ 0andequalities(x) = 0, by SLSQP (SciPy’sminimize(method='SLSQP')). The problem’sgradientand Jacobians are used (central differences unless the problem provides them);x0is moved into the bounds first.