Solving Semidefinite-Quadratic-Linear Programs Using SDPT3: The HKM and NT Search Directions of Second-Order Cone Programming Are Invariant Under Automorphic ScalingResearch Paper
Motivation
Second-order cone programming (SOCP) minimizes a linear function over the intersection of an affine subspace with a product of Lorentz cones. It contains convex quadratically constrained programs, robust linear programs with ellipsoidal uncertainty, and many norm-minimization problems, and it is solved in practice by primal–dual interior-point methods. At each iteration such a method computes a search direction from a linearized, symmetrized form of the complementarity conditions; the symmetrization depends on a scaling matrix , and different choices of give different directions. The two directions used in practice are the HKM direction (Helmberg–Rendl–Vanderbei–Wolkowicz, Kojima–Shindoh–Hara, Monteiro) and the NT direction (Nesterov–Todd).
A desirable property of a search direction is scale invariance: if the problem is transformed by an automorphism of the cone, the direction computed for the transformed problem is the image of the original direction. A scale-invariant method behaves identically on all problems related by such a change of coordinates, so its behaviour does not depend on an arbitrary choice of coordinates within each cone.
Timeline. Tsuchiya (1999, Optim. Methods Softw. 11 & 12, pp. 141–182; reference [27] of the paper) proved that the HKM and NT directions for SOCP are scale invariant, with a two-page argument for each. Tütüncü, Toh and Todd (2003), in the paper that describes the solver SDPT3 version 3.0, derived closed forms for the blocks of the Schur complement matrix ((23) for HKM, (29) for NT) and used them to give a short proof of Tsuchiya's result (their Proposition 1).
Setting
There are second-order cone blocks. Block has dimension , and a vector is split into its first coordinate and the rest . The cone is , and with and , the function is defined on the cone.
The data are matrices , a vector and vectors . The primal problem minimizes subject to and ; the dual maximizes subject to and .
The arrow matrix of is . Given an interior iterate and a scaling block , set
With and a centering parameter , a search direction solves the Newton system
The HKM direction takes from the explicit formula (19) in ; the NT direction takes from (20)–(21) in and .
The automorphism group of consists of the invertible linear maps with ; these are exactly the matrices with for some and . Scaling by sends the data and iterate to , , , , , .
Formalization targets
Goal: Proposition 1 (p. 11)
For either direction (HKM or NT), every interior iterate, every , and every choice of ,
Milestones
In attack order: the identities (31) for with ; the Schur complement reduction (10)–(15); for HKM; the HKM closed forms (23) and (24)–(25); the right-hand-side formula (28) for both directions; the HKM invariance step of the proof; the NT identities and (29); the NT block formula (30); and the NT invariance step of the proof.
Significance
The proposition shows that SDPT3's two second-order-cone directions do not depend on how each cone is coordinatized. The closed forms (23), (24), (29) and (30) are what SDPT3 uses to assemble the Schur complement matrix: they show that each block is a diagonal matrix plus a low-rank term, which is the basis for its sparse and Sherman–Morrison–Woodbury handling of large cones.
The result is proved twice in the literature (Tsuchiya 1999 and this paper). As far as is known, neither proof has been machine-checked, and no formal library contains the HKM or NT scalings, the arrow matrix of the Jordan algebra of the Lorentz cone, or its automorphism group. This mission produces those definitions and a checked proof. The printed proof assumes , that is ; the goal covers the whole group , so a complete formalization also closes the case , where (31) and the remark that is unchanged no longer hold as printed.
Difficulty
Every step is linear algebra, but none is a one-line rewrite. The inverse of appears everywhere, so one first needs invertibility of and for interior iterates, and the HKM and NT scalings must be shown to satisfy and respectively, which are identities involving , square roots and the denominators and . Transporting the Newton system directly through fails: and are built from , which is not equivariant in an obvious way, and the HKM scaling at is not . For , the quantities , and scale by powers of , and these factors must be tracked until they cancel.
Formalization scope
A block of dimension is Fin (d i + 1) → ℝ, so ; is index 0 and the indices Fin.succ j. Mathlib's norm on this type is the sup norm, so every Euclidean quantity is written through . Interior points are encoded by and . Matrix inverses are Matrix.inv, which is on singular input; the milestones that invert a matrix state its invertibility.
Standing assumptions: the problem is a pure SOCP (); the iterate is interior; . The paper's assumption that has full row rank is dropped, because the goal is stated for solution sets of the Newton system and needs no uniqueness. is encoded algebraically (positive multiples of orthochronous Lorentz transformations) rather than as , so that the goal does not require the classification of cone automorphisms. The goal assumes nothing about the scaled iterate; its interiority is a consequence.
The Newton system is defined by its raw rows with , from (8) and from (19)/(21). A formalization that defined the direction through the closed forms (23)/(29), or defined implicitly by or , would make the goal nearly definitional and is ruled out.
Reusable infrastructure: the arrow matrix and of the Lorentz cone, the HKM and NT scalings, and the algebra of Lorentz transformations. Contributions toward any milestone, and alternative proofs of the goal that bypass the milestones, are welcome.
Selected references
- R. H. Tütüncü, K. C. Toh, M. J. Todd, Solving semidefinite-quadratic-linear programs using SDPT3, Mathematical Programming 95 (2003) 189–217. https://doi.org/10.1007/s10107-002-0347-5
- T. Tsuchiya, A convergence analysis of the scaling-invariant primal-dual path-following algorithms for second-order cone programming, Optimization Methods and Software 11 & 12 (1999) 141–182 (reference [27] of the SDPT3 paper; no stable link recorded).
- F. Alizadeh, D. Goldfarb, Second-order cone programming, Mathematical Programming 95 (2003) 3–51. https://doi.org/10.1007/s10107-002-0339-5
- Yu. Nesterov, M. J. Todd, Self-scaled barriers and interior-point methods in convex programming, Mathematics of Operations Research 22 (1997) 1–42. https://doi.org/10.1287/moor.22.1.1