Projected Gradient Methods for Linearly Constrained Problems III: Finite Termination of a Gradient Projection Algorithm for Quadratic ProgrammingResearch Paper
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 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 be a finite-dimensional real inner product space (the paper's with a general inner product). The feasible set is a polyhedron
with active set . The objective is a quadratic function with self-adjoint but not necessarily positive semidefinite, so may be nonconvex. Its gradient is taken with respect to the inner product of .
The projection into is , and a point is stationary if for every .
A gradient projection step from is with satisfying the sufficient decrease condition (2.1) with a constant , the condition (2.2) that or for some at which the decrease test (2.3) with constant fails, and the upper bound (3.2).
A working set is a set ; problem (6.2) is , over an affine set that ignores the inequality constraints outside .
Algorithm 6.1 produces iterates and working sets from :
- (a) if is a global minimiser of (6.2) for , then is a gradient projection step from ;
- (b) otherwise , , , and if then is a global minimiser of (6.2).
Formalization targets
Goal: Theorem 6.2
For every quadratic bounded below on , all constants , , , and every run of Algorithm 6.1,
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 , and any , .
- Eq. (2.5): for , and ,
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 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 and there are finitely many working sets — fails on two counts. First, step (b) only guarantees , so 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 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 .
Formalization scope
The space is a finite-dimensional real inner product space E; 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 , , indexed from . The run does not stop by itself; "the algorithm terminates at a stationary iterate" is rendered as the existence of an index with stationary. The projection is argmin made total by a junk value that is unreachable when is nonempty, closed and convex. The paper's "" between working sets is inclusion. A quadratic function is with symmetric and no definiteness assumption.
A trivializing formalization — a run predicate that forces 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 with starting at the non-stationary point satisfies the predicate. Replacing step (a) by "any step that strictly decreases " 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