Why a barrier method
The penalty and augmented Lagrangian methods treat a constraint by punishing its violation, so their iterates are generally infeasible. An interior-point method does the opposite: every iterate is strictly feasible, and a barrier term that tends to at the boundary keeps the iterates away from it. The barrier is slowly switched off by a parameter , and the resulting curve of minimizers, the central path, converges to a solution. A short argument based on the Lagrangian and weak duality, from the Lagrange and KKT unit, turns each point of the path into a certified bound on how far the objective is from optimal. We also use Newton's method with line search, from the unit on line search and Newton's method, to compute the points.
Definitions
Consider the problem
where are convex and continuously differentiable. Let denote the optimal value.
Definition 12.1.1
(Strict feasibility and the logarithmic barrier)
The problem is strictly feasible if the set
is nonempty. On the logarithmic barrier is
The barrier is convex on : the function is convex and decreasing, and is concave and positive, so each term is convex. It is differentiable with , and as approaches a point where some from within . Note that depends on the functions , not only on the feasible set they describe; this matters below.
Definition 12.1.2
(Centering problem, central path and central multipliers)
For , the centering problem is
When it has a minimizer for each , the set is the central path, and the central multipliers are for .
We assume that a minimizer exists for each . This holds, for example, when the feasible set is bounded, because the objective is continuous on and tends to at the boundary of . Since is open and the objective is differentiable, is characterized by the stationarity condition
Because the centering objective is convex, this condition is also sufficient for a minimizer. The central multipliers are strictly positive because .
Concept lensAlgebraic
The central path as a perturbed KKT system
The pair is exactly a solution of the KKT system with complementary slackness relaxed to the same positive level:
Dividing the stationarity condition by shows that satisfies these equations. Conversely, if satisfies them, then , and multiplying the first equation by gives the centering stationarity condition, so minimizes the centering problem. As the products are driven to zero, which is the KKT complementarity condition. This description is the one Newton-type primal–dual methods linearize.
The duality gap on the central path
The perturbed complementarity is what produces a computable gap.
Theorem 12.1.3
(Duality gap on the central path)
Under the standing assumptions, for every ,
Proof
(Evaluate the dual function at the central multipliers)
The point is feasible, so . Dividing the stationarity condition by gives
This says that is a stationary point of the Lagrangian with . For fixed the Lagrangian is convex in , so a stationary point is a global minimizer over . Hence the dual function satisfies
because for each of the constraints. Weak duality gives for every .
Proof X-ray
Three hypotheses, three separate jobs
Feasibility of gives the upper bound and nothing else. Strict feasibility is what makes the central multipliers well defined and positive, so that is an admissible dual point. Convexity has one job: it promotes a stationary point of to a global minimizer, which is what identifies with the dual value . The number then comes from a bookkeeping identity, each constraint contributing exactly , and the argument closes with weak duality. No uniqueness of or of a solution of the original problem is used, and no value of is needed.
Thus is -suboptimal, and a stopping rule is available without knowing . The convexity requirement concerns the functions , and it cannot be weakened to convexity of the feasible set.
Counterexample mode
A nonconvex description of a convex set
Claim: if the feasible set is convex, the gap bound holds for any smooth description of it. Describe by , which is not convex on , and minimize , so and . Then , the centering objective has stationarity , and . The bound would give , which is false. The proof breaks at the convexity step: , and is unbounded below, so its stationary point is not a minimizer. With the convex description , the same problem gives and a gap of exactly . The repaired statement keeps the hypothesis that every is convex.
The quantity is also nonincreasing in , by an argument that uses minimality alone.
Proposition 12.1.4
(The objective decreases along the central path)
If , then .
Proof
(Add the two minimality inequalities)
Write and . Minimality gives and . Adding the two inequalities cancels and leaves . Since , .
History of an idea
A barrier older than its fame
David Shanno's chapter "Who invented the interior-point method?" in the 2012 volume Optimization Stories (Documenta Mathematica, Extra Volume ISMP) describes how the barrier idea of this page entered optimization. Adding to the objective a term that penalizes close approaches to the boundary was first suggested, according to Shanno, in 1955 in an unpublished memorandum by K. Frisch of the University Institute of Economics in Oslo, The logarithmic potential method of convex programming. It was developed in theoretical and computational detail by Anthony V. Fiacco and Garth McCormick in their 1968 book Nonlinear Programming: Sequential Unconstrained Minimization Techniques. Shanno also credits a 1961 paper by C. Carroll with suggesting a different penalty function that keeps iterates inside the feasible region, while noting that only Fiacco and McCormick developed a complete theory, including convergence results.
The idea returned to prominence with N. Karmarkar's 1984 paper on a new polynomial-time algorithm for linear programming. Shanno records that at the 1985 International Symposium on Mathematical Programming in Boston, Margaret Wright presented work of Gill, Murray, Saunders, Tomlin and Wright showing that, for suitable parameter values, Karmarkar's algorithm is a special case of the logarithmic barrier method of Fiacco and McCormick. The algorithm below, which centers by Newton's method for an increasing sequence of parameters , is a barrier method in this sense; reading its stopping rule through the duality-gap bound is the modern certificate developed on this page.
The algorithm
Given a strictly feasible , an initial , a factor and a tolerance :
- Set .
- Centering. Starting from the current point, minimize over by Newton's method with backtracking line search. The line search is kept inside : a trial step is reduced until it is strictly feasible and gives sufficient decrease. Let be the (approximately) centered point .
- Stop if ; by the duality-gap theorem, .
- Set and ; return to step 2.
Invariant. Every iterate lies in , so is finite and the stationarity condition makes sense at each centering stage. Termination of the outer loop. Since , the test first holds at
(taken to be if the quantity inside is nonpositive), so exactly centering problems are solved. The inner Newton iterations are not counted by this formula. For general convex data their number cannot be bounded by a formula of this kind without further structure on the barrier (self-concordance), which we do not develop here; the choice of trades fewer outer steps against harder centering problems.
Worked examples
Worked example 12.1.5
(One constraint: the gap bound is attained)
Minimize subject to , i.e. , , . Then and . The centering problem is to minimize . Stationarity gives , so . Here : the bound of the duality-gap theorem holds with equality. The central multiplier is , which is the true multiplier of the constraint. For example, to certify a gap of it suffices to take , giving .
Worked example 12.1.6
(Two constraints, one of them inactive)
Minimize subject to , with , , , . Here on . Writing , stationarity is
Multiplying by gives , that is , with roots . The root with plus sign exceeds (it is at least ), so it is outside and
For : , . Check of stationarity: and , so . The multipliers are and , and is the Lagrangian stationarity condition. The certified bounds are
consistent with . For : , so and the bounds are ; the true gap is smaller than . The inactive constraint still costs in the bound. Both the gap theorem and the monotonicity proposition are visible: .
Worked example 12.1.7
(A warm-started Newton step that leaves the domain)
In the one-constraint problem, suppose centering at has produced and the parameter is raised to . The new objective has and , so at the Newton direction is . The full step reaches . Halving the step gives trial points , and , all outside , and then . There , below , and the Armijo test with requires only . The step is accepted on the way to . The edge case shows why the line search must test membership in before evaluating : the Newton formula itself proposed a point where the barrier is undefined.
Common mistakes and subtle points
Common mistake
(Starting from a point that is not strictly feasible)
The method needs a strictly feasible starting point. A problem with an empty interior, such as one containing an equality written as two inequalities, has ; equalities must be handled as affine constraints in the centering problem, not as barrier terms. Finding a first point of is a separate phase-one problem.
Common mistake
(Quoting m/t at a point that is not centered)
The bound is for an exactly centered point. In the one-constraint problem with , the strictly feasible point would give the false bound . A point only approximately on the path has a gap bound that includes an extra term depending on how far the stationarity condition fails.
Common mistake
(Letting the line search leave the interior)
The line search must reject steps that leave : the barrier is (undefined) there, and the formula for the Newton step knows nothing about the domain, as the warm-start example shows.
Three further points are easy to overlook.
- The central path is a curve of minimizers of a changing problem, not a path of the iterates; the iterates follow it only approximately.
- Increasing makes the centering problem more ill conditioned: its Hessian contains terms of size that blow up near the boundary. This is why a moderate and warm starts are used instead of solving once with a huge .
- The duality-gap theorem does not require the minimizer or the solution of the original problem to be unique; it uses only that is a minimizer of the centering problem.
Exercises
Quick check
(Minimize subject to . Find and the smallest for which the duality-gap theorem certifies .)
Use and solve the centering stationarity condition.
Solution
With , the centering objective is , with stationarity , so and with . The theorem certifies a gap of for , so we need , i.e. ; the smallest such is .
Quick check
(With , , and , how many centering problems does the barrier method solve, and at which values of ?)
Find the first with .
Solution
The test requires . Since , the first such is . The formula gives . So centering problems are solved, at .
Quick check
(Minimize subject to . Compute , the central multipliers at , and the resulting certified lower bound on .)
Clear denominators in the stationarity condition and keep the root in .
Solution
Here , , and . Stationarity at is . Multiplying by gives , i.e. , whose root in is . The multipliers are and ; they satisfy . The lower bound is , which equals the dual value and is at most . (The true gap is .)
Quick check
(Minimize subject to and . Find , the central multipliers, and the exact gap .)
The centering objective separates into one-variable problems.
Solution
The centering objective is , so and . With and , the central multipliers are and , which satisfy . Since , the gap is exactly: when every constraint is active at the solution of a linear problem, the bound can be attained.
Quick check
(In the two-constraint worked example, give the certified interval for obtained from and verify it contains .)
Use with .
Solution · Answer
At , and with (using ). The interval is , which contains .