Interior-point methods practice
Original practice questions (PDF)
Use the primal LP and its dual . Write and . In the Newton systems, is the symmetric quadratic objective matrix, which is zero for an LP.
1. Complementarity and duality gap
Show how the complementarity residual controls the duality gap when and are primal and dual feasible, respectively.
Solution to exercise 1
Dual feasibility gives . Therefore by primal feasibility.
2. A stopping certificate
If feasible primal and dual iterates satisfy , what can you say about the duality gap at this iterate?
Solution to exercise 2
It is by Exercise 1 and lies in . Weak duality then places the optimal value between and .
3. The log-barrier conditions
Write the KKT conditions for the primal log-barrier problem where .
Solution to exercise 3
With equality term , stationarity is . With , the conditions become , , and , with . The web problem states a primal barrier explicitly because the PDF formula mixes the primal objective with a logarithm of the dual slack.
4. Feasibility of a full Newton step
Start at a feasible point with . The interior-point Newton direction satisfies Is the full Newton step always feasible? Explain.
Solution to exercise 4
The first two equations preserve the affine feasibility equalities. Positivity of the new coordinates requires a separate step-length check. For example, take , , , , and , with , , and . The direction has and , which makes the first new slack negative. A shorter step keeps .
5. The augmented Newton system
Consider with , , and . Eliminate . What are the advantages and disadvantages of solving the augmented system?
Solution to exercise 5
Since is invertible, . Substituting gives the augmented equations The system is smaller and symmetric, and is recovered with a diagonal solve. The augmented matrix is generally indefinite, which can require pivoting, and widely varying entries of can cause scaling difficulties near the solution.
6. The normal equations
Suppose the augmented system is where and . Eliminate and compare the normal equations with the augmented system.
Solution to exercise 6
Use to get This system has dimension equal to the number of equality rows. For full row rank and , it is positive definite and allows Cholesky factorization. Forming the product can add fill and square the condition number of the scaled constraint matrix .
7. The central-path duality gap
State the KKT conditions for the standard-form primal LP. Show that at any point on the central path with , , , and , the duality gap is .
Solution to exercise 7
The LP KKT conditions are primal feasibility, dual feasibility, and for each . The central path replaces complementary products by . Feasibility gives , and summing the complementary products gives .
8. A numerical point on the central path
For , , , and , find with satisfying the central-path equations. Verify the gap .
Solution to exercise 8
Let . Then and . The equation simplifies to , so . Thus Each product is , giving the gap .
9. Recovering the perturbed KKT equations
Let for and . Compute . With , show that stationarity together with is equivalent to the perturbed KKT system.
Solution to exercise 9
The gradient is . At stationarity, , and the definition of gives and . Conversely, these complementarity equations with force , which gives the same stationarity equation.
10. Residuals and centrality
Let , , , , and . Compute , , and , where . State and .
Solution to exercise 10
There are variables. The two products are , so . The residuals with the signs in the question are , , and .
11. Step lengths for positivity
Let , , , and .
- Find the largest primal and dual step lengths in that keep and .
- Multiply both maxima by . Compute the resulting and .
Solution to exercise 11
The only decreasing coordinates would reach zero at lengths 5 and 2, respectively, so both capped maxima are 1. Using both safe steps of gives and . The average product is .