Mehrotra predictor–corrector method
Mehrotra's predictor–corrector method in optimization is a specific interior point method for linear programming. It was proposed in 1989 by Sanjay Mehrotra.[1]
The method is based on the fact that at each iteration of an interior point algorithm it is necessary to compute the Cholesky decomposition (factorization) of a large matrix to find the search direction. The factorization step is the most computationally expensive step in the algorithm. Therefore, it makes sense to use the same decomposition more than once before recomputing it.
At each iteration of the algorithm, Mehrotra's predictor–corrector method uses the same Cholesky decomposition to find two different directions: a predictor and a corrector.
The idea is to first compute an optimizing search direction based on a first order term (predictor). The step size that can be taken in this direction is used to evaluate how much centrality correction is needed. Then, a corrector term is computed: this contains both a centrality term and a second order term.
The complete search direction is the sum of the predictor direction and the corrector direction.
Although there is no theoretical complexity bound on it yet, Mehrotra's predictor–corrector method is widely used in practice.[2] Its corrector step uses the same Cholesky decomposition found during the predictor step in an effective way, and thus it is only marginally more expensive than a standard interior point algorithm. However, the additional overhead per iteration is usually paid off by a reduction in the number of iterations needed to reach an optimal solution. It also appears to converge very fast when close to the optimum.
Derivation
The derivation of this section follows the outline by Nocedal and Wright.[3]
Predictor step - Affine scaling direction
A linear program can always be formulated in the standard form
where and define the problem with constraints and equations while is a vector of variables.
The Karush-Kuhn-Tucker (KKT) conditions for the problem are
where and whence .
These conditions can be reformulated as a mapping as follows
The predictor-corrector method then works by using Newton's method to obtain the affine scaling direction. This is achieved by solving the following system of linear equations
where , defined as
is the Jacobian of F.
Thus, the system becomes
Centering step
The average value of the products constitute an important measure of the desirability of a certain set (the superscripts denote the value of the iteration number, , of the method). This is called the duality measure and is defined by
For a value of the centering parameter, the centering step can be computed as the solution to
Corrector step
Considering the system used to compute the affine scaling direction defined in the above, one can note that taking a full step in the affine scaling direction results in the complementarity condition not being satisfied:
As such, a system can be defined to compute a step that attempts to correct for this error. This system relies on the previous computation of the affine scaling direction.
Aggregated system - Center-corrector direction
The predictor, corrector and centering contributions to the system right hand side can be aggregated into a single system. This system will depend on the previous computation of the affine scaling direction, however, the system matrix will be identical to that of the predictor step such that its factorization can be reused.
The aggregated system is
The predictor-corrector algorithm then first computes the affine scaling direction. Secondly, it solves the aggregated system to obtain the search direction of the current iteration.
Adaptive selection of centering parameter
The affine scaling direction can be used to define a heuristic to adaptively choose the centering parameter as
where
Here, is the duality measure of the affine step and is the duality measure of the previous iteration.[3]
Step lengths
In practical implementations, a version of line search is performed to obtain the maximal step length that can be taken in the search direction without violating nonnegativity, .[3]
Adaptation to Quadratic Programming
Although the modifications presented by Mehrotra were intended for interior point algorithms for linear programming, the ideas have been extended and successfully applied to quadratic programming as well.[3]
References
- ^ Mehrotra, S. (1992). "On the implementation of a primal–dual interior point method". SIAM Journal on Optimization. 2 (4): 575–601. doi:10.1137/0802028.
- ^ "In 1989, Mehrotra described a practical algorithm for linear programming that remains the basis of most current software; his work appeared in 1992."Potra, Florian A.; Stephen J. Wright (2000). "Interior-point methods". Journal of Computational and Applied Mathematics. 124 (1–2): 281–302. Bibcode:2000JCoAM.124..281P. doi:10.1016/S0377-0427(00)00433-7.
- ^ a b c d Nocedal, Jorge; Wright, Stephen J. (2006). Numerical Optimisation. United States of America: Springer. pp. 392–417, 448–496. ISBN 978-0387-30303-1.