On Implementing a Primal-Dual Interior-Point Method for Conic Quadratic Optimization IV: The Nesterov–Todd Scaling of a Quadratic or Rotated Quadratic Cone Is W = −Q + (e₁ + w)(e₁ + w)ᵀ/(1 + w₁)Research Paper
Why the Nesterov–Todd scaling of a second-order cone matters
Conic quadratic (second-order cone) programs are solved in practice by primal-dual interior-point methods. Each iteration solves a Newton system for the central-path equations, and for non-polyhedral cones that system is only guaranteed to be well posed after the problem is scaled: the primal point and the dual slack are transformed by a matrix chosen from the current iterate. Among the scalings analysed by Monteiro and Tsuchiya (2000), the best complexity bounds are obtained with the Nesterov–Todd (NT) scaling of Nesterov and Todd (1997), which maps and to the same point.
Andersen, Roos and Terlaky (2003) describe the conic quadratic interior-point solver of MOSEK. Their Lemma 4.2 gives the NT scaling in closed form for each of the three cone types they use. It is what makes the NT direction cheap: each cone block of is determined by one vector , and , and their inverses can be applied in time linear in the dimension. For the quadratic cone the formula goes back to Tsuchiya (1999); the paper re-derives it and extends it to the rotated quadratic cone.
Setting
Fix one cone block of dimension . Coordinates are , denotes the subvector of coordinates , and is the Euclidean norm. The block is one of
- the positive half-line (), with ;
- the quadratic cone (), with and ;
- the rotated quadratic cone (), with the identity except for the leading block , and the matrix with , for , and zeros elsewhere.
A scaling matrix (Definition 3.3) is a symmetric positive definite with . For the scaled points are and . The pair is an NT scaling of when , equation (28); equivalently , equation (29).
Formalization targets
Goal: Lemma 4.2 (p. 15)
For in the interior of the cone:
- every NT scaling satisfies
- with this and
the following matrices make an NT scaling: for ;
for ; and
for . In the last two cases , equations (33) and (35).
Milestones
Lemma 3.3 i)–iii) (scaling preserves and rescales , by ); (30) on its own; the normalization and the square (62) of the arrow form (31); positivity of the radicand of (32); the identity and the formula (32); for the rotated cone, the transport (63) by , the identities and , and . Two companions: Lemma 4.3, , and Lemma 3.3 iv), that a scaling maps the cone and its interior onto themselves.
Significance
The result. Lemma 4.2 turns the NT scaling, defined implicitly by (28), into explicit data: one scalar and one vector per cone. Combined with Lemma 4.3 it shows that every product with , or their inverses in the scaled Newton system (27) is a rank-one correction of a signature matrix, which is what the paper's implementation relies on. The rotated-cone formula (34) is the paper's own addition and is what lets rotated cones be handled natively instead of through a change of variables.
Formalizing it. The result is proved on paper; no machine-checked version is known to exist, and the platform has no formalization of second-order-cone scalings. The work is the matrix algebra of the Lorentz group — the signature matrix , the matrices with , and their action on and — which is reusable for every second-order-cone algorithm.
Difficulty
Most of the items are finite-dimensional identities, but they are identities between block matrices of arbitrary size with entries that are nested square roots, and they hold only on the interior of the cone, where the radicands are positive. The derivation in the paper runs backwards: it assumes has the shape (31) and solves for , taking a square root without fixing its sign. The goal asks for the forward direction — that the displayed , , do satisfy (28) and — which needs the normalization , positive definiteness of , and, for the rotated cone, the reduction to the quadratic cone through with and .
Formalization scope
- Per block. Every statement is made for one cone block. and are block diagonal (pp. 11–12), so this is the paper's statement block by block. The cone type is the parameter
kind : ConeKind, and vectors areFin d → ℝ. - Index base and norms. The paper's is coordinate
0. is written as a sum of squares (tailSq x 1); Mathlib's norm onFin d → ℝ, which is the sup norm, is never used. - Interiors. The interiors are given by strict inequalities. The paper never defines concretely; these coincide with the topological interiors.
- Added hypotheses. All are disclosed in the items:
- the dimension conventions ( for , for , for ), which the paper leaves implicit;
- in Definition 3.3, which the paper calls positive definite on p. 24;
- wherever the page divides by ;
- for the last step of the derivation of (32), where the page silently fixes this sign.
- Inverses. The matrix inverse is Mathlib's total inverse. The NT predicate always contains , so (28) never reads the junk value of a singular inverse.
- Reading of Lemma 4.2. The lemma names and without quantifying them. The goal states (30) for every NT scaling and asserts that the displayed formulas are an NT scaling. It does not claim that the NT scaling is unique, which the paper does not prove.
- Ruling out a trivial formalization. Stating only (30) would allow a version that holds vacuously if no NT scaling existed. Part 2 of the goal is what excludes this, and a sanity check exhibits , at in for .
A complete development needs:
- the cone definitions and the matrices , ;
- Mathlib's
Matrix.PosDefandMatrix.inv; - elementary real square-root algebra.
Lemmas about (closure under products and inverses, invariance of ) are reusable beyond this mission. Proofs of any milestone are welcome, as are alternative arguments for positive definiteness of (31).
Selected references
- E. D. Andersen, C. Roos, T. Terlaky, On implementing a primal-dual interior-point method for conic quadratic optimization, Mathematical Programming 95 (2003) 249–277; authors' preprint of 18 Dec 2000. https://doi.org/10.1007/s10107-002-0349-3
- Yu. E. Nesterov, M. J. Todd, Self-scaled barriers and interior-point methods for convex programming, Mathematics of Operations Research 22(1) (1997) 1–42. https://doi.org/10.1287/moor.22.1.1
- R. D. C. Monteiro, T. Tsuchiya, Polynomial convergence of primal-dual algorithms for the second-order cone program based on the MZ-family of directions, Mathematical Programming 88(1) (2000) 61–83. https://doi.org/10.1007/PL00011378
- 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. https://doi.org/10.1080/10556789908805750
- F. Alizadeh, D. Goldfarb, Second-order cone programming, Mathematical Programming 95 (2003) 3–51. https://doi.org/10.1007/s10107-002-0339-5