Skip to content

Chapter 11: Interior-Point Methods ​

Interior-point methods solve convex optimization problems by reducing them to a sequence of unconstrained (or equality-constrained) problems via barrier functions. They are powerful alternatives to the simplex method for linear programming and extend naturally to general convex optimization.


11.1 Single-Inequality Optimization Problem ​

Consider the simplest constrained convex problem:

minxf(x)s.t.g(x)≤0

where f and g are convex and twice continuously differentiable.

11.1.1 Standard KKT Conditions ​

Let x∗ be the optimal solution. Under Slater's condition, there exists a Lagrange multiplier λ∗ satisfying the KKT conditions:

KKT Conditions (Single Inequality)

  1. Primal feasibility: g(x∗)≤0
  2. Dual feasibility: λ∗≥0
  3. Complementary slackness: λ∗g(x∗)=0
  4. Stationarity: ∇f(x∗)+λ∗∇g(x∗)=0

11.1.2 The KKT(t) Conditions — A Modified System ​

To derive the barrier method, we introduce a parameter t>0 and consider the modified KKT system, denoted KKT(t):

KKT(t) Conditions

  1. g(xt)≤0
  2. λt≥0
  3. λtg(xt)=−t    (perturbed complementary slackness)
  4. ∇f(xt)+λt∇g(xt)=0

From condition 3, we see that λt=−tg(xt) (note g(xt)<0 when t>0 and xt is strictly feasible). Substituting into the stationarity condition yields:

∇f(xt)−tg(xt)∇g(xt)=0

We solve for xt using Newton's method. The key bound is:

Duality Gap Bound (Single Inequality)

f(xt)−p∗≤t

As t→0, the solution xt converges to the true optimum x∗, and the KKT(t) conditions converge to the standard KKT conditions.


11.2 Logarithmic Barrier Function: An Alternative Interpretation ​

11.2.1 Indicator Function Approximation ​

The original constrained problem

minxf(x)s.t.g(x)≤0

is equivalent to the unconstrained problem

minx(f(x)+Ig≤0(x))

where the indicator function is

Ig≤0(x)={0,g(x)≤0,+∞,g(x)>0.

The interior-point approach approximates the non-smooth indicator with a smooth function. For t>0, we define:

Logarithmic Barrier Approximation

Ig≤0(x)≈−tln⁡(−g(x))

This yields the approximate problem:

minxf(x)−tln⁡(−g(x))

11.2.2 Properties of the Barrier ​

  • The term −tln⁡(−g(x)) acts as a barrier: it approaches +∞ as g(x)→0 from below, keeping iterates strictly inside the feasible region (g(x)<0).
  • As t→0, the barrier effect diminishes, and the solution approaches the true optimum.
  • The optimality condition for the barrier problem is precisely the KKT(t) stationarity condition:
∇f(xt)−tg(xt)∇g(xt)=0
  • The duality gap bound is f(xt)−p∗≤t.

Key Insight

The barrier method can be viewed as solving a sequence of modified KKT systems. Each subproblem (the "centering step") is solved by Newton's method. When t is small enough, the solution is near-optimal for the original problem.


11.3 General Barrier Problem ​

11.3.1 Problem Statement ​

Consider the general convex optimization problem:

minxf(x)s.t.gi(x)≤0,i=1,…,mAx=b

We assume f,g1,…,gm are convex and twice continuously differentiable, and Slater's condition holds.

Definition (Logarithmic Barrier Function)

ϕ(x)=−∑i=1mln⁡(−gi(x))

The domain of ϕ is {x∣gi(x)<0,i=1,…,m}.

Definition (Barrier Problem / Centering Problem)

For a given parameter t>0, solve:

minxf(x)+tϕ(x)s.t.Ax=b

Equivalently:

minxf(x)−t∑i=1mln⁡(−gi(x))s.t.Ax=b

11.3.2 Duality Gap Bound ​

Let xt be the solution of the barrier problem (the minimizer for a given t).

Theorem (Duality Gap for m Inequalities)

f(xt)−p∗≤mt

Proof sketch: The KKT(t) conditions give λt,i=−t/gi(xt) so λt,i≥0 (dual feasible). The Lagrangian is

L(xt,λt)=f(xt)+∑iλt,igi(xt)=f(xt)−mt

By weak duality, p∗≥minxL(x,λt)≥L(xt,λt) (since the barrier problem returns the exact minimizer under equality constraints), yielding

p∗≥f(xt)−mt⟹f(xt)−p∗≤mt.

Interpretation

When mt<ϵ, the solution xt is guaranteed to be ϵ-suboptimal for the original problem. This is the stopping criterion for the barrier method.


11.4 The Barrier Method Algorithm ​

11.4.1 Algorithm ​

Algorithm: Barrier Method

Input: strictly feasible x(0), t(0)>0, μ∈(0,1), tolerance ϵ>0.

Repeat:

  1. Centering Step: Compute xt by solving the barrier problem

    minxf(x)−t∑i=1mln⁡(−gi(x))s.t.Ax=b

    using Newton's method, initialized at x(0).

  2. Update: x(0):=xt

  3. Stopping Criterion: Quit if mt<ϵ.

  4. Parameter Update: t:=μt

11.4.2 Key Parameters ​

  • Initial t(0): Chosen to balance the influence of the objective and the barrier. Typically t(0)≈f(x(0))−p∗ if an estimate of p∗ is available, or a moderate value like t(0)=1 is used.
  • μ: The decreasing factor for t. Typical values: μ∈[10,20] for linear programming (aggressive), μ∈[2,5] for general nonlinear problems (conservative).
  • Centering tolerance: Each centering step is solved to sufficient accuracy (not full convergence). A typical Newton method stops when the Newton decrement λ(x)2/2≤10−5.

11.4.3 Convergence Properties ​

  • Outer iterations: Each iteration reduces t by factor μ, so O(log⁡(1/ϵ)) outer iterations are needed.
  • Inner iterations (Newton): Since each centering step is warm-started from the previous solution, only a few Newton steps per outer iteration are required in practice.
  • The method is polynomial-time for linear programming and converges superlinearly or quadratically in practice.

11.4.4 Relation to KKT Conditions ​

As t→0, the barrier problem solution xt approaches a KKT point of the original problem:

  • The modified complementary slackness λt,igi(xt)=−t becomes λi∗gi(x∗)=0.
  • The central path {xt∣t>0} converges to the optimal solution x∗.
  • Each centering step computes a point on the central path, which is a smooth trajectory of solutions parameterized by t.

11.5 Exercises ​

Exercise 1 — Barrier Formulation ​

Consider the problem

minxx12+x22s.t.x1>0,x2>0,x1+x2<1.

1. Logarithmic barrier function ϕ(x):

Rewrite each strict inequality into the standard form gi(x)≤0:

g1(x)=−x1≤0g2(x)=−x2≤0g3(x)=x1+x2−1≤0

Barrier Function

ϕ(x)=−ln⁡(x1)−ln⁡(x2)−ln⁡(1−x1−x2)

2. Barrier problem for parameter t>0:

minxx12+x22−t(ln⁡(x1)+ln⁡(x2)+ln⁡(1−x1−x2))

3. Behavior of the minimizer as t decreases:

As t→0, the barrier term weakens, and the minimizer approaches the unconstrained minimum of x12+x22 within the simplex. The unconstrained minimizer of f(x)=∥x∥2 within the feasible polytope is the origin projected onto the simplex, i.e., the point closest to the origin inside the triangle. By symmetry, this is (1/3,1/3). As t decreases, the minimizer xt moves along the central path toward x∗=(1/3,1/3).

Exercise 2 — Centering Step with Equality Constraint ​

Consider

minxx12+x22s.t.x1+x2=1,x1>0,x2>0.

1. Barrier problem for parameter t:

Rewrite inequalities: g1(x)=−x1, g2(x)=−x2. The barrier problem is:

minxx12+x22−t(ln⁡(x1)+ln⁡(x2))s.t.x1+x2=1.

2. KKT conditions of the centering step:

The Lagrangian for the barrier problem is

L(x,ν)=x12+x22−tln⁡(x1)−tln⁡(x2)+ν(x1+x2−1).

KKT Conditions

∂L∂x1=2x1−tx1+ν=0∂L∂x2=2x2−tx2+ν=0x1+x2=1

3. Analytical solution for xt:

From symmetry (x1=x2), and the equality constraint x1+x2=1, we obtain:

xt,1=xt,2=12

This solution is independent of t, because the problem is symmetric and the barrier respects that symmetry. (For non-symmetric problems, xt depends on t and converges to the constrained optimum as t→0.)

Exercise 3 — Barrier Method for Linear Programs ​

Consider the linear program in inequality form:

minxc⊤xs.t.ai⊤x≤bi,i=1,…,m.

(Write Ax⪯b for the vector of inequalities.)

1. Logarithmic barrier objective:

Barrier Objective

Bt(x)=c⊤x−t∑i=1mln⁡(bi−ai⊤x)

The barrier problem is an unconstrained minimization: minxBt(x).

2. Gradient and Hessian:

Define the slack variables si=bi−ai⊤x (strictly positive in the barrier domain). Then:

Gradient

∇Bt(x)=c+t∑i=1maisi=c+tA⊤S−11

where S=diag(s1,…,sm) and 1=(1,…,1)⊤.

Hessian

∇2Bt(x)=t∑i=1maiai⊤si2=tA⊤S−2A

Note that the Hessian is positive definite when A has full column rank (or more generally when the ai span Rn), guaranteeing that the barrier objective is strictly convex.

3. Newton step:

The Newton direction Δxnt is obtained by solving the linear system:

∇2Bt(x)Δxnt=−∇Bt(x)

Substituting the gradient and Hessian:

tA⊤S−2AΔxnt=−c−tA⊤S−11

This is a symmetric positive definite system that can be solved efficiently.

Exercise 4 — Duality Gap and Stopping Rule ​

Let xt be the solution of the barrier problem with m inequality constraints.

1. Show that the duality gap is bounded by mt:

From the KKT(t) conditions, set λt,i=−tgi(xt). Since gi(xt)<0, we have λt,i>0 (dual feasible). Define the dual function:

q(λt)=minxL(x,λt)=minx(f(x)+∑i=1mλt,igi(xt))

By weak duality, p∗≥q(λt). The barrier solution satisfies the stationarity condition ∇f(xt)+∑iλt,i∇gi(xt)=0, so xt minimizes the Lagrangian. Hence q(λt)=f(xt)+∑iλt,igi(xt)=f(xt)−mt.

Therefore p∗≥f(xt)−mt, which implies:

f(xt)−p∗≤mt

2. Explain the stopping criterion mt<ϵ:

When mt<ϵ, the duality gap bound guarantees that f(xt)−p∗≤ϵ. The current iterate xt is ϵ-suboptimal, and the algorithm can terminate.

3. Theoretical interpretation:

This bound provides a certificate of near-optimality: the algorithm always maintains a provably feasible dual solution, and the duality gap shrinks geometrically (by factor μ per outer iteration). The number of outer iterations to achieve ϵ-suboptimality is:

K=⌈log⁡(mt(0)/ϵ)log⁡(1/μ)⌉

11.6 Summary: The Central Path ​

The sequence of minimizers {xt∣t>0} of the barrier problems forms a smooth curve called the central path. Key properties:

  • Every point on the central path is strictly feasible (gi(xt)<0).
  • As t→∞, xt converges to the analytic center of the feasible set (the minimizer of −∑ln⁡(−gi(x))).
  • As t→0, xt converges to the optimal solution x∗.

Central Path Equations

∇f(xt)+∑i=1mλt,i∇gi(xt)+A⊤νt=0λt,igi(xt)=−t,i=1,…,mAxt=b

The barrier method follows this central path approximately, using Newton's method within each centering step and decreasing t to march toward optimality. The relationship between the barrier method, KKT conditions, and duality theory provides a unified framework for understanding interior-point methods in convex optimization.