In mathematical optimization, affine scaling is an algorithm for solving linear programming problems. Specifically, it is an interior point method, discovered by Soviet mathematician I. I. Dikin in 1967 and reinvented in the U.S. in the mid-1980s.
Affine scaling has a history of multiple discovery. It was first published by I. I. Dikin at Energy Systems Institute of Russian Academy of Sciences (Siberian Energy Institute, USSR Academy of Sc. at that time) in the 1967 Doklady Akademii Nauk SSSR, followed by a proof of its convergence in 1974. Dikin's work went largely unnoticed until the 1984 discovery of Karmarkar's algorithm, the first practical polynomial time algorithm for linear programming. The importance and complexity of Karmarkar's method prompted mathematicians to search for a simpler version.
Several groups then independently came up with a variant of Karmarkar's algorithm. E. R. Barnes at IBM,[1] a team led by R. J. Vanderbei at AT&T,[2] and several others replaced the projective transformations that Karmarkar used by affine ones. After a few years, it was realized that the "new" affine scaling algorithms were in fact reinventions of the decades-old results of Dikin.[3] [4] Of the re-discoverers, only Barnes and Vanderbei et al. managed to produce an analysis of affine scaling's convergence properties. Karmarkar, who had also came with affine scaling in this timeframe, mistakenly believed that it converged as quickly as his own algorithm.[5]
Affine scaling works in two phases, the first of which finds a feasible point from which to start optimizing, while the second does the actual optimization while staying strictly inside the feasible region.
Both phases solve linear programs in equality form, viz.
minimize
subject to, .
These problems are solved using an iterative method, which conceptually proceeds by plotting a trajectory of points strictly inside the feasible region of a problem, computing projected gradient descent steps in a re-scaled version of the problem, then scaling the step back to the original problem. The scaling ensures that the algorithm can continue to do large steps even when the point under consideration is close to the feasible region's boundary.
Formally, the iterative method at the heart of affine scaling takes as inputs,,, an initial guess that is strictly feasible (i.e.,), a tolerance and a stepsize . It then proceeds by iterating
wk=(A
2 | |
D | |
k |
A\operatorname{T})-1A
2 | |
D | |
k |
c.
rk=c-A\operatorname{T}wk.
rk>0
1\operatorname{T}Dkrk<\varepsilon
-Dkrk\ge0
xk+1=xk-\beta
| ||||||||||
\|Dkrk\| |
Phase I, the initialization, solves an auxiliary problem with an additional variable and uses the result to derive an initial point for the original problem. Let be an arbitrary, strictly positive point; it need not be feasible for the original problem. The infeasibility of is measured by the vector
v=b-Ax0
If, is feasible. If it is not, phase I solves the auxiliary problem
minimize
subject to,, .
This problem has the right form for solution by the above iterative algorithm, and
\begin{pmatrix}x0\ 1\end{pmatrix}
is a feasible initial point for it. Solving the auxiliary problem gives
\begin{pmatrix}x*\ u*\end{pmatrix}
If, then is feasible in the original problem (though not necessarily strictly interior), while if, the original problem is infeasible.
While easy to state, affine scaling was found hard to analyze. Its convergence depends on the step size, . For step sizes, Vanderbei's variant of affine scaling has been proven to converge, while for, an example problem is known that converges to a suboptimal value. Other variants of the algorithm have been shown to exhibit chaotic behavior even on small problems when .[6] [7]