Motivation
Quadratic programming, the minimisation of a quadratic function subject to linear inequality constraints, is a basic subproblem of nonlinear optimisation (sequential quadratic programming, trust-region methods) and a model in its own right in portfolio selection, least-squares estimation and control. The classical solution methods are active-set methods: they keep a set of constraints treated as equalities, minimise over the resulting affine set, and then decide which constraint to drop or add (Gill, Murray and Wright, Practical Optimization, 1981; Fletcher, Practical Methods of Optimization, Vol. 2, 1981). Their finite-termination proofs need either a nondegeneracy assumption (linearly independent active constraints) or an anti-cycling rule, because under degeneracy the choice of the constraint to drop, made from Lagrange multiplier estimates, can cycle.
Calamai and Moré (Mathematical Programming 39, 1987) showed that the gradient projection method can take over the step that leaves a working set. Their Algorithm 6.1 alternates two kinds of step: an arbitrary non-increasing step that adds constraints to the working set until the equality-constrained subproblem is solved, and a single projected-gradient step once it is solved. Theorem 6.2 states that this algorithm terminates at a stationary point for every quadratic that is bounded below on the feasible polyhedron, with no nondegeneracy assumption and no anti-cycling rule. The same paper's Sections 2–4 (the subject of the first two missions of this series) supply the properties of the gradient projection step that the argument uses.
Timeline of the ingredients:
- 1964, 1966: Goldstein and Levitin–Polyak introduce the gradient projection method xk+1=P(xk−αk∇f(xk)) for convex constraint sets.
- 1976: Bertsekas proves finite identification of the active constraints for bound constraints and the Armijo rule.
- 1981: Dunn uses the descent inequalities (2.4)–(2.5) in the analysis of the method.
- 1987: Calamai and Moré generalise the step rule to (2.1)–(2.2), prove convergence of projected gradients, identification of active constraints for general polyhedra, and finite termination of Algorithm 6.1.
Setting
Let E be a finite-dimensional real inner product space (the paper's Rn with a general inner product). The feasible set is a polyhedron
Ω={x∈E:⟨cj,x⟩≥δj, j=1,…,m},
with active set A(x)={j:⟨cj,x⟩=δj}. The objective is a quadratic function f(x)=21⟨x,Qx⟩+⟨b,x⟩+c0 with Q self-adjoint but not necessarily positive semidefinite, so f may be nonconvex. Its gradient ∇f is taken with respect to the inner product of E.
The projection into Ω is P(x)=argmin{∥z−x∥:z∈Ω}, and a point x∗∈Ω is stationary if ⟨∇f(x∗),x−x∗⟩≥0 for every x∈Ω.
A gradient projection step from xk is xk+1=P(xk−αk∇f(xk)) with αk>0 satisfying the sufficient decrease condition (2.1) with a constant μ1∈(0,1), the condition (2.2) that αk≥γ1 or αk≥γ2αˉk>0 for some αˉk at which the decrease test (2.3) with constant μ2∈(0,1) fails, and the upper bound αk≤γ3 (3.2).
A working set is a set W⊆{1,…,m}; problem (6.2) is min{f(y):⟨cj,y⟩=δj, j∈W}, over an affine set that ignores the inequality constraints outside W.
Algorithm 6.1 produces iterates xk∈Ω and working sets Wk⊆A(xk) from x0∈Ω:
- (a) if xk is a global minimiser of (6.2) for Wk, then xk+1 is a gradient projection step from xk;
- (b) otherwise xk+1∈Ω, f(xk+1)≤f(xk), Wk⊆Wk+1, and if Wk+1=Wk then xk+1 is a global minimiser of (6.2).
Formalization targets
Goal: Theorem 6.2
For every quadratic f bounded below on Ω, all constants γ1,γ2>0, μ1,μ2∈(0,1), γ3∈R, and every run (xk,Wk,αk)k≥0 of Algorithm 6.1,
∃l≥0:⟨∇f(xl),x−xl⟩≥0for all x∈Ω.
The theorem makes no assumption on the boundedness of the iterates and none on the linear independence of the constraints.
Milestones
- Lemma 2.1(a): for nonempty closed convex Ω, z∈Ω and any x, ⟨P(x)−x,z−P(x)⟩≥0.
- Eq. (2.5): for xk∈Ω, αk>0 and xk+1=P(xk−αk∇f(xk)),
⟨∇f(xk),xk−xk+1⟩≥αk∥xk+1−xk∥2.
Significance
Theorem 6.2 separates the two roles an active-set method plays: solving equality-constrained subproblems, for which any method that does not increase f may be used, and choosing the next working set, which the gradient projection step does. The consequence is a finitely terminating quadratic programming algorithm for nonconvex quadratics that needs neither nondegeneracy nor an anti-cycling rule, and a template for large-scale bound-constrained and linearly constrained solvers that combine projection steps with subspace minimisation.
The result is proved in the paper and is classical; no machine-checked version is known. A formalization produces a checked finite-termination theorem for an active-set method on degenerate problems, together with reusable pieces: the projection onto a polyhedron as a total function with its variational inequality, the descent estimate of a projected step, and a predicate describing active-set runs with working sets, which other active-set algorithms can reuse.
Difficulty
The obvious argument — each step decreases f and there are finitely many working sets — fails on two counts. First, step (b) only guarantees f(xk+1)≤f(xk), so f values alone do not rule out infinitely many iterations; the nesting of working sets and the final clause of step (b) are what bound consecutive (b)-steps. Second, a gradient projection step taken at a solution of (6.2) can in principle leave f unchanged, and nothing in the algorithm's rules says directly that it makes progress; that it does so at every non-stationary iterate is a property of the projection and of the step conditions (2.1)–(2.2), not of the algorithm. A further point is that the minimum of (6.2) is taken over an affine set, not over Ω, and the link between the value at a step-(a) iterate and later iterates runs through the requirement Wk⊆A(xk).
Formalization scope
The space is a finite-dimensional real inner product space E; ∇f is Mathlib's gradient. Constraints are indexed by Fin m, working and active sets are Finset (Fin m), and a run is a predicate IsAlgorithm61Run on three sequences x:N→E, W, α indexed from 0. The run does not stop by itself; "the algorithm terminates at a stationary iterate" is rendered as the existence of an index l with xl stationary. The projection is argmin made total by a junk value 0 that is unreachable when Ω is nonempty, closed and convex. The paper's "⊂" between working sets is inclusion. A quadratic function is 21⟨x,Qx⟩+⟨b,x⟩+c0 with Q symmetric and no definiteness assumption.
A trivializing formalization — a run predicate that forces x0 to be stationary, or that no sequence satisfies — would make the goal empty; the step rules here are the paper's verbatim, and a run on Ω=[0,∞)⊂R with f(x)=x starting at the non-stationary point x0=1 satisfies the predicate. Replacing step (a) by "any step that strictly decreases f" would assume the central fact and is not acceptable.
A complete development needs: the variational inequality of the projection (Lemma 2.1(a)), the descent estimate (2.5), the characterisation of stationary points as fixed points of the projected step, and a finiteness argument over the finitely many subsets of Fin m. Proofs of the milestones, of these auxiliary facts, and of the goal are all welcome.
Selected references
- P. H. Calamai and J. J. Moré, Projected gradient methods for linearly constrained problems, Mathematical Programming 39 (1987) 93–116. https://doi.org/10.1007/BF02592073
- A. A. Goldstein, Convex programming in Hilbert space, Bulletin of the AMS 70 (1964) 709–710. https://doi.org/10.1090/S0002-9904-1964-11178-2
- E. S. Levitin and B. T. Polyak, Constrained minimization methods, USSR Computational Mathematics and Mathematical Physics 6 (1966) 1–50. https://doi.org/10.1016/0041-5553(66)90114-5
- D. P. Bertsekas, On the Goldstein–Levitin–Polyak gradient projection method, IEEE Transactions on Automatic Control 21 (1976) 174–184. https://doi.org/10.1109/TAC.1976.1101194
- J. C. Dunn, Global and asymptotic convergence rate estimates for a class of projected gradient processes, SIAM Journal on Control and Optimization 19 (1981) 368–400. https://doi.org/10.1137/0319022
- P. E. Gill, W. Murray and M. H. Wright, Practical Optimization, Academic Press, 1981. https://doi.org/10.1137/1.9781611975604