44.04.04 · optimization-control / 04-constrained-nonlinear

Interior-Point Methods for Nonlinear Programming

shipped3 tiersLean: none

Anchor (Master): Nocedal & Wright 2006 Numerical Optimization 2e (Springer) Ch. 19 (§19.1 the barrier and the perturbed KKT system, §19.2 a basic interior-point algorithm and the primal-dual step, §19.3 algorithmic development: slacks, fraction-to-the-boundary, Hessian regularization, §19.5 line-search and trust-region globalization, §19.7 superlinear convergence); Wright 1997 Primal-Dual Interior-Point Methods (SIAM) Ch. 1-6 (the central path and Newton step for the monotone case)

Intuition Beginner

A constrained problem has walls — the inequality rules you must not cross. One way to handle them is to march right up to the walls and figure out which ones you press against, the active-set idea. Interior-point methods do the opposite: they refuse to touch any wall at all, staying strictly inside the allowed room, and let a slowly weakening force push them toward the corner where the answer lives.

The force is a barrier. Imagine adding to the cost a term that blows up to infinity as you approach any wall, like a repelling fog that gets thicker the closer you get. With the fog turned up high, the cheapest point sits comfortably in the middle of the room, far from every wall. Now turn the fog down a little. The cheapest point drifts toward the walls, because the true cost matters more and the fog matters less. Keep turning the fog down. The point traces a smooth curve through the room, heading straight for the constrained optimum, which it reaches only in the limit as the fog vanishes.

That smooth curve is the central path, and the fog strength is one number, the barrier parameter. The whole method is: pick a fog level, find the cheapest foggy point, lower the fog, repeat. Each foggy subproblem is smooth and has no walls to bump into, so an ordinary downhill solver handles it. Lowering the fog in steps is a homotopy — a continuous deformation from an easy problem you can solve to the hard problem you want, with the answer carried along the path.

Visual Beginner

Picture the allowed room as the inside of a triangle. The true best point sits in a corner where two walls meet. With strong fog the cheapest point sits near the middle; as the fog weakens, that point slides along a smooth curve toward the corner.

        wall A                         wall B
          \                            /
           \      central path        /
            \    *  (mu large)       /
             \    \                  /
              \    \                /
               \    *  (mu medium) /
                \    \            /
                 \    \          /
                  \    *        /     <- (mu small)
                   \    \      /
                    \    o    /        <- x* (mu -> 0): the corner,
                     \   |   /            pressed against both walls
                      \  |  /
                       \ | /
                  ------ V ------  wall C (floor)

   strong fog  -> cheapest point sits deep inside, far from walls
   weaken fog  -> point slides toward the constrained optimum
   fog -> 0    -> point reaches x*, the true answer, in the limit

fog (barrier) level where the cheapest point sits distance to walls
very strong deep in the interior large
medium drifting toward a wall shrinking
weak close to the optimal corner small
zero (limit) at the constrained optimum touching

The takeaway: interior-point methods never walk along the walls. They follow a smooth interior curve, lowering one barrier number until the curve arrives at the answer.

Worked example Beginner

Minimize the cost subject to the single rule . The answer is plainly , pressed against the wall, but let us watch the barrier method find it so the central path becomes concrete.

Step 1. Add the fog. Replace the rule by a barrier that blows up as nears . The foggy cost is , where is the fog strength and rushes to minus infinity as , so subtracting it builds a wall of cost near .

Step 2. Find the cheapest foggy point. The foggy cost is smallest where its slope is zero. The slope is . Setting it to zero gives , so , that is .

Step 3. Read off the central path. For each fog level the cheapest point is . This is the central path: a straight line in this simple case, sitting a distance inside the wall.

Step 4. Lower the fog. Take : point at . Take : point at . Take : point at . As shrinks toward zero, marches down to .

What this tells us. The barrier method never sets directly; it keeps strictly bigger than at every stage and lets the limit deliver the boundary answer. The path shows the central path explicitly, and the distance to the wall is exactly the fog strength — the hallmark of an interior-point method.

Check your understanding Beginner

Formal definition Intermediate+

Consider the nonlinear program over ,

with twice continuously differentiable. Introduce a slack vector and replace each inequality by , , so the only inequalities left are the simple bounds .

Definition (logarithmic barrier and barrier problem). For a barrier parameter the barrier problem is

where is the logarithmic barrier, finite on and tending to as any . The barrier confines minimizers to the strict interior of the inequality set, and the equalities are kept by Lagrange multipliers, exactly as in the constrained-Newton setting of 44.03.03.

Definition (perturbed KKT system and the central path). Let be the multipliers for the equalities () and the multipliers for (). Writing the KKT conditions of the barrier problem 44.02.02 and eliminating the barrier gradient in favor of gives the perturbed KKT system

with , where are the constraint Jacobians, , , and . The central path is the trajectory of solutions, the only departure from the genuine KKT conditions being the relaxed perturbed complementarity in place of . As the path approaches a KKT point. The new symbols (barrier parameter), , , (all-ones vector), and the duality measure are recorded in _meta/NOTATION.md.

Definition (primal-dual Newton step). Collecting , the perturbed KKT system is . One Newton step solves the linearized system , the primal-dual system

with the Lagrangian Hessian. Eliminating and condenses this to a symmetric saddle-point system in of the same form as the constrained-Newton KKT matrix of 44.03.03.

Definition (fraction-to-the-boundary rule). Given a step , the fraction-to-the-boundary rule with parameter (typically ) sets the step length

keeping strictly positive and bounded away from the boundary by a fixed fraction, so the iterates remain interior.

Counterexamples to common slips

  • The barrier minimizer is not the constrained minimizer for any fixed . The central-path point sits strictly interior; it equals the boundary optimum only in the limit . Stopping at a fixed and reporting leaves an error in the objective.
  • Perturbed complementarity is , not . Driving every product to a common positive value is what keeps the iterate centered; letting the products spread (some near zero, some large) pushes the iterate toward a corner of the boundary where the Newton step degrades, the role the neighborhood/centering condition guards against.
  • The primal barrier Hessian is ill-conditioned; the primal-dual system is not. The pure primal barrier function has Hessian , whose blows up as . The primal-dual system treats as an independent variable and avoids forming , which is why primal-dual methods are numerically preferred over the original SUMT barrier method.

Key theorem with proof Intermediate+

The signature result is the existence, uniqueness, and limiting behavior of the central path for a convex program: under strict feasibility the perturbed KKT system has a unique solution for each , these solutions form a smooth trajectory, and as they converge to a KKT point of the original program. This is what licenses the homotopy: a well-defined curve to follow, ending at the answer.

Theorem (central path: existence, uniqueness, limit — convex case). Let and () be convex and twice differentiable, the equalities affine, the feasible set have nonempty strict interior (Slater), and the optimal set be nonempty and bounded. Then for each the barrier problem has a unique minimizer with multipliers solving the perturbed KKT system with ; the map is continuously differentiable on ; and as every limit point of is a minimizer of the original program, with the objective gap bounded by .

Proof. Fix . On the strict interior the barrier objective restricted to the affine feasible manifold is strictly convex in : is convex, each is strictly convex on , and the constraints are affine in the convex case, so the restriction is a strictly convex function on a convex set. Slater gives a strictly interior feasible point, and the barrier on the boundary of the slack orthant forces the sublevel sets to be compact (boundedness of the optimal set rules out escape to infinity along the recession directions). A strictly convex function with compact sublevel sets on a convex set attains a unique minimizer, giving ; its KKT conditions 44.02.02 are stationarity together with the barrier-gradient identity , i.e. , and primal feasibility — the perturbed KKT system, with automatically.

Smoothness: the perturbed-KKT map has Jacobian the primal-dual matrix, which under Slater and convexity is nonsingular on the path (its condensed form is the constrained-Newton KKT matrix with the positive-definite-on-the-null-space inertia condition of 44.03.03, here guaranteed by plus the strictly positive diagonal ). The implicit function theorem applied to , treating as the parameter, yields a continuously differentiable solution map .

Limit and gap: along the path, weak duality gives , the duality gap, where is the Lagrangian dual of 44.02.02. For the barrier solution the gap equals (each complementarity product is exactly , and the equality terms vanish on the affine manifold). Hence . The path lies in a compact sublevel set (boundedness of the optimal set plus the gap bound), so it has limit points, and any limit point satisfies the unperturbed KKT system ( recovers complementary slackness, the other equations pass to the limit), hence is a minimizer by convex sufficiency of 44.02.02.

Bridge. This central-path theorem builds toward the path-following algorithm — take one Newton step toward , decrease , repeat — and it appears again in the conic and semidefinite interior-point methods 44.05.04, where the same relaxation reappears with a self-concordant barrier delivering polynomial complexity. This is exactly the homotopy reading of the KKT conditions of 44.02.02: the perturbation deforms complementary slackness into the smooth , turning the combinatorial active-set question into a continuous curve, so that following the curve to is following a deformation of an easy strictly-interior problem into the hard boundary problem. The foundational reason the path is well defined is strict convexity of the barrier on the feasible manifold under Slater, which makes each barrier subproblem uniquely solvable, and nonsingularity of the primal-dual Jacobian, which is the constrained-Newton inertia condition of 44.03.03 applied along the path. Putting these together, the interior-point method generalises the unconstrained Newton iteration of 44.03.03 to inequality constraints by replacing the active-set decision with a barrier, and is dual to the active-set approach: where active-set methods of 44.04.01 guess which constraints are tight and walk the boundary, the interior-point method keeps all inequalities strictly slack and lets discover the active set in the limit, the two strategies meeting at the same KKT point from opposite sides of the feasible region.

Exercises Intermediate+

Advanced results Master

The barrier, the perturbed KKT system, and the central path

The slacked nonlinear program s.t. , , has barrier subproblem on the equality manifold, and its KKT conditions are the perturbed KKT system with [Nocedal & Wright §19.1]. The single structural fact is that the barrier deforms complementary slackness: the disjunction " or " of 44.02.02 becomes the smooth surface , and the central path is the set of its solutions over . The path is the trajectory of analytic centers of the feasible region weighted by the objective, and its tangent at is the primal-dual Newton direction toward decreasing . The original sequential-unconstrained-minimization (SUMT) view of Fiacco and McCormick [Fiacco & McCormick 1990] solved the barrier subproblem to high accuracy at each ; the modern primal-dual view takes a single Newton step per , following the path rather than landing on it, which is both faster and better-conditioned.

The primal-dual Newton step and its reductions

Newton's method on gives the unsymmetric primal-dual system, symmetrized by scaling the complementarity row to [Forsgren-Gill-Wright 2002]. Two reductions are standard. The augmented (symmetric indefinite) form eliminates to the saddle-point system \begin{psmallmatrix} W & A_{\mathcal{E}}^\top \\ A_{\mathcal{E}} & 0\end{psmallmatrix} with , solved by a symmetric-indefinite factorization whose inertia is monitored. The condensed (normal-equations) form further eliminates when , producing a smaller positive-definite system in at the cost of squaring the conditioning. The inertia of the augmented matrix is exactly the inertia condition of the constrained-Newton KKT solve of 44.03.03: correct inertia holds when has full row rank and is positive definite on . The fraction-to-the-boundary step keeps , and a centering parameter targets (with the duality measure) rather than , balancing the predictor pull toward optimality against the corrector pull toward the path's center — the Mehrotra predictor-corrector heuristic in its nonlinear form.

Nonconvexity, regularization, and globalization

For convex programs every central-path point is well defined and the path converges to the global optimum; for nonconvex programs neither holds without intervention. The Lagrangian Hessian can be indefinite, so may fail positive-definiteness on and the augmented matrix loses the correct inertia. Hessian regularization adds to (inertia correction), increasing until the factorization reports inertia , the modified-Cholesky/eigenvalue-flooring device of 44.03.03 applied to the primal-dual matrix; a -block regularization handles rank-deficient . Global convergence from arbitrary strictly-interior starts requires a globalization: a line search on a barrier merit function (the barrier objective augmented by a constraint-violation penalty, e.g. an or augmented-Lagrangian penalty), or a trust-region/filter approach that accepts a step if it improves either the objective or the constraint violation without a penalty parameter (the Fletcher-Leyffer filter, used in IPOPT) [Nocedal & Wright §19.5]. The interaction of the barrier with globalization is delicate — the Maratos effect and the loss of the fraction-to-the-boundary step near the boundary motivate second-order corrections and the filter.

Local convergence, comparison with SQP, and the conic specialization

Under LICQ, strict complementarity, and the second-order sufficient condition of 44.02.02, the primal-dual Newton iteration with driven to zero superlinearly attains superlinear (and, with the right -update, quadratic) local convergence [Nocedal & Wright §19.7], because strict complementarity keeps the active bounded away from , making the primal-dual matrix uniformly well-conditioned in the limit and the Newton step asymptotically exact. The comparison with sequential quadratic programming 44.04.03 is structural: SQP solves a QP subproblem with an explicit active-set determination at each outer iteration and converges in few, expensive iterations with excellent warm-starting; interior-point methods replace the active-set combinatorics by the barrier homotopy, keeping all inequalities strictly inactive and converging in more, cheaper iterations that scale better with the number of constraints but warm-start poorly. The convex specialization is the cleanest case: for conic and semidefinite programs 44.05.04 the barrier is self-concordant in the sense of Nesterov and Nemirovski, and the same relaxation yields a polynomial-iteration complexity bound in the barrier parameter — a guarantee the general nonlinear method forgoes, since a general barrier is not self-concordant and the path need not stay short.

Synthesis. The interior-point method is exactly the homotopy reading of the KKT conditions of 44.02.02: the barrier parameter deforms complementary slackness into the smooth surface , and the central insight is that following the resulting central path from a strictly-interior start to converts the combinatorial active-set question into the continuous problem of tracking a smooth curve with Newton's method. The foundational reason the curve is well defined for convex programs is strict convexity of the barrier on the feasible manifold under Slater, which makes each subproblem uniquely solvable, together with nonsingularity of the primal-dual Jacobian, which is exactly the constrained-Newton inertia condition of 44.03.03 applied along the path; nonconvexity attacks precisely this inertia, and Hessian regularization restores it. Putting these together, the method generalises the unconstrained Newton iteration of 44.03.03 to inequality constraints by replacing the active-set decision with a barrier and an independent dual variable that cures the ill-conditioning of the pure barrier, and is dual to the active-set strategy of 44.04.01, reaching the same KKT point from the strict interior rather than along the boundary. This is exactly the engine that appears again in conic and semidefinite interior-point methods 44.05.04, where the self-concordant barrier upgrades the same perturbed-complementarity homotopy to a polynomial-iteration complexity guarantee, and in the comparison with SQP 44.04.03, the two dominant nonlinear-programming paradigms that linearize the same KKT system from opposite sides of the feasible region.

Full proof set Master

Proposition 1 (perturbed KKT = barrier-problem KKT). The KKT conditions 44.02.02 of the barrier problem s.t. , , , are precisely the perturbed KKT system with .

Proof. Form the Lagrangian (the bound is inactive at an interior minimizer, so its multiplier is zero). Stationarity in : . Stationarity in : , i.e. , equivalently . Primal feasibility is and . Since , the stationarity-in- relation forces . These are exactly the four blocks of the perturbed KKT system, with automatic.

Proposition 2 (existence and uniqueness of the central-path point, convex case). Under the convexity, affine-equality, Slater, and bounded-optimal-set hypotheses, the barrier problem has a unique minimizer for each .

Proof. Restrict the barrier objective to the convex feasible manifold , convex because the are affine and is concave-minus-linear with convex (the inequality convex case), so the manifold is the intersection of affine sets with the convex graph constraint; in the standard convex NLP it is convex. On , is convex and is strictly convex in , so is strictly convex in and convex in ; combined with the requirement that distinct feasible points differ in whenever they differ in the active , the restriction is strictly convex on (strict convexity in the arguments). Slater provides a point of with , so . As any , ; boundedness of the optimal set rules out a recession direction along which stays bounded, so every sublevel set is compact. A strictly convex lower-semicontinuous function with a nonempty compact sublevel set on a convex set attains its infimum at a unique point.

Proposition 3 (smoothness of the central path). Under the hypotheses of Proposition 2, the solution map is continuously differentiable on .

Proof. The path solves with smooth jointly in . Its Jacobian is the primal-dual matrix. Its condensed form is \begin{psmallmatrix} W & A_{\mathcal{E}}^\top \\ A_{\mathcal{E}} & 0\end{psmallmatrix} with . On the path (since ) and in the convex case, so and, restricted to , the strictly positive term plus convexity gives wherever the active inequality gradients span enough directions; with full row rank the inertia condition of 44.03.03 holds and the matrix is nonsingular. (Where is only positive semidefinite, the strict convexity of the barrier in keeps the full primal-dual Jacobian nonsingular by the diagonal blocks.) The implicit function theorem applied to with parameter then yields a map .

Proposition 4 (duality-gap identity and convergence as ). On the central path of a convex program, , and every limit point of as is a global minimizer.

Proof. As in Exercise 6, the path point is primal feasible and dual feasible, and stationarity makes the unconstrained minimizer of by convexity, so . Weak duality gives . As the gap vanishes, so . The path lies in the compact sublevel set intersected with the feasible set (compact by the bounded-optimal-set hypothesis plus the gap bound), so limit points exist; at a limit point gives complementary slackness, the remaining perturbed-KKT equations pass to the unperturbed KKT system by continuity, and convex sufficiency of 44.02.02 makes the limit a global minimizer.

Proposition 5 (well-posedness of the regularized step in the nonconvex case). If has full row rank, there is such that for all the regularized matrix \begin{psmallmatrix} W + \delta I & A_{\mathcal{E}}^\top \\ A_{\mathcal{E}} & 0\end{psmallmatrix} has inertia , so the regularized primal-dual step is the unique minimizer of the regularized barrier model and a descent direction for it.

Proof. By the inertia formula of the constrained-Newton KKT solve 44.03.03, \mathrm{In}\begin{psmallmatrix} W+\delta I & A_{\mathcal{E}}^\top \\ A_{\mathcal{E}} & 0\end{psmallmatrix} = \mathrm{In}(Z^\top(W+\delta I)Z) + (|\mathcal{E}|,|\mathcal{E}|,0) with a basis of . Now ; since , choosing makes , so its inertia is and the full matrix has inertia — nonsingular, no negative or zero curvature on the constraint null space. The step then uniquely minimizes the quadratic model on (Proposition 2 of 44.04.01 specialized), and for certifies descent for the regularized barrier merit function.

Connections Master

  • The KKT optimality theory of 44.02.02 is the direct parent: the perturbed KKT system is the genuine KKT system with complementary slackness relaxed to , the central path is the homotopy that recovers complementary slackness as , and the limit of the path is a KKT point whose multipliers are the path's dual variables. Convexity is exactly what upgrades that limit KKT point to a global minimizer, and the second-order sufficient condition there is the hypothesis under which the primal-dual Newton iteration is locally superlinear. The constraint qualifications (LICQ, strict complementarity) of that unit are the regularity conditions that keep the primal-dual matrix uniformly nonsingular along the path.

  • Newton's method and the constrained-Newton KKT solve of 44.03.03 supply the per-iteration machinery: the primal-dual step is Newton's method applied to the perturbed-KKT root-finding problem, the condensed step is the constrained-Newton saddle-point system with a modified Hessian block, the inertia condition for a well-posed step is inherited verbatim, and the Hessian regularization for nonconvexity is the modified-Cholesky / eigenvalue-flooring device of that unit transplanted to the primal-dual matrix. The interior-point method is the unconstrained Newton iteration of that unit extended to inequality constraints by a barrier and an independent dual variable.

  • Sequential quadratic programming 44.04.03 is the principal sibling method: both linearize the KKT system of 44.02.02, but SQP determines an active set by solving a QP subproblem at each outer step while the interior-point method keeps all inequalities strictly inactive along the central path, so the comparison — SQP's few expensive warm-startable iterations against interior-point's many cheap iterations scaling with constraint count — is the standard practitioner's tradeoff. The active-set QP machinery of 44.04.01 that SQP calls is exactly the combinatorial alternative to the barrier homotopy.

  • Interior-point methods for conic and semidefinite programming 44.05.04 are the convex specialization: the same slack-and-barrier construction and the same perturbed-complementarity relaxation apply, but a self-concordant barrier replaces the generic logarithmic barrier, the central path stays short in the self-concordant metric, and the path-following iteration attains a polynomial complexity bound that the general nonlinear method cannot promise. The nonlinear method developed here is the structural template; the conic theory is its provably-efficient instance.

Historical & philosophical context Master

Interior methods began with the barrier-function (sequential unconstrained minimization) technique of Anthony Fiacco and Garth McCormick, whose 1968 book systematized the logarithmic barrier and proved that the barrier minimizers trace a trajectory converging to a constrained minimizer as the barrier parameter tends to zero [Fiacco & McCormick 1990] (the 1990 SIAM Classics reissue of the 1968 Wiley original). The method fell out of favor through the 1970s because the barrier Hessian becomes severely ill-conditioned as the parameter shrinks, and active-set and SQP methods dominated practical nonlinear programming.

The field was reignited by Narendra Karmarkar's 1984 polynomial-time projective algorithm for linear programming, which was soon understood as a path-following method on a logarithmic barrier; the connection to Fiacco-McCormick barriers was drawn by Margaret Wright, Philip Gill, and collaborators, and the polynomial-complexity theory for the convex case was placed on rigorous self-concordance foundations by Yurii Nesterov and Arkadi Nemirovski at the end of the 1980s. The primal-dual viewpoint that cured the conditioning problem — treating the multipliers as independent variables and relaxing complementarity to — was developed for linear and monotone-complementarity problems and given its standard monograph treatment by Stephen Wright [Wright 1997]. The extension to general nonlinear programming, with slack variables, the fraction-to-the-boundary rule, Hessian regularization, and filter or merit-function globalization, was consolidated in the late 1990s and 2000s; the survey of Anders Forsgren, Philip Gill, and Margaret Wright [Forsgren-Gill-Wright 2002] (SIAM Review 44, 525-597) and the textbook account of Nocedal and Wright [Nocedal & Wright §19] are the standard references, and the filter line-search interior-point solver IPOPT of Wächter and Biegler is the most widely used implementation.

Bibliography Master

@book{nocedalwright2006ip,
  author    = {Nocedal, Jorge and Wright, Stephen J.},
  title     = {Numerical Optimization},
  edition   = {2},
  series    = {Springer Series in Operations Research and Financial Engineering},
  publisher = {Springer},
  year      = {2006}
}

@book{wright1997primaldual,
  author    = {Wright, Stephen J.},
  title     = {Primal-Dual Interior-Point Methods},
  publisher = {SIAM},
  address   = {Philadelphia},
  year      = {1997}
}

@book{fiaccomccormick1990,
  author    = {Fiacco, Anthony V. and McCormick, Garth P.},
  title     = {Nonlinear Programming: Sequential Unconstrained Minimization Techniques},
  series    = {Classics in Applied Mathematics},
  publisher = {SIAM},
  address   = {Philadelphia},
  year      = {1990},
  note      = {Originally published by Wiley, 1968}
}

@article{forsgrengillwright2002,
  author  = {Forsgren, Anders and Gill, Philip E. and Wright, Margaret H.},
  title   = {Interior Methods for Nonlinear Optimization},
  journal = {SIAM Review},
  volume  = {44},
  number  = {4},
  pages   = {525--597},
  year    = {2002}
}

@article{karmarkar1984,
  author  = {Karmarkar, Narendra},
  title   = {A New Polynomial-Time Algorithm for Linear Programming},
  journal = {Combinatorica},
  volume  = {4},
  number  = {4},
  pages   = {373--395},
  year    = {1984}
}

@book{nesterovnemirovski1994,
  author    = {Nesterov, Yurii and Nemirovski, Arkadi},
  title     = {Interior-Point Polynomial Algorithms in Convex Programming},
  series    = {SIAM Studies in Applied Mathematics},
  publisher = {SIAM},
  address   = {Philadelphia},
  year      = {1994}
}

@article{wachterbiegler2006,
  author  = {W\"{a}chter, Andreas and Biegler, Lorenz T.},
  title   = {On the Implementation of an Interior-Point Filter Line-Search Algorithm for Large-Scale Nonlinear Programming},
  journal = {Mathematical Programming},
  volume  = {106},
  number  = {1},
  pages   = {25--57},
  year    = {2006}
}