e01.org

Karmarkar's algorithm

Karmarkar's algorithm is an algorithm introduced by Narendra Karmarkar in 1984 for solving linear programming problems. It was the first reasonably efficient algorithm that solves these problems in polynomial time. The ellipsoid method is also polynomial time but proved to be inefficient in practice. Denoting by n the number of variables, m the number of inequality constraints, and L the number of bits of input to the algorithm, Karmarkar's algorithm requires O(m^{1.5 n^{2 L) operations on O(L) -digit numbers, as compared to O(n^3(n+m) L) such operations for the ellipsoid algorithm. In "square" problems, when m is in O(n), Karmarkar's algorithm requires O(n^{3.5 L) operations on O(L) -digit... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

Karmarkar's algorithm is an algorithm introduced by Narendra Karmarkar in 1984 for solving linear programming problems. It was the first reasonably efficient algorithm that solves these problems in polynomial time. The ellipsoid method is also polynomial time but proved to be inefficient in practice. Denoting by n the number of variables, m the number of inequality constraints, and L the number of bits of input to the algorithm, Karmarkar's algorithm requires O(m^{1.5} n^{2} L) operations on O(L) -digit numbers, as compared to O(n^3(n+m) L) such operations for the ellipsoid algorithm. In "square" problems, when m is in O(n), Karmarkar's algorithm requires O(n^{3.5} L) operations on O(L) -digit numbers, as compared to O(n^4 L) such operations for the ellipsoid algorithm. The runtime of Karmarkar's algorithm is thus O(n^{3.5} L^2 \cdot \log L \cdot \log \log L), using FFT-based multiplication (see Big O notation). Karmarkar's algorithm falls within the class of interior-point methods: the current guess for the solution does not follow the boundary of the feasible set as in the simplex method, but moves through the interior of the feasible region, improving the approximation of the optimal solution by a definite fraction with every iteration and converging to an optimal solution with rational data. \begin{array}{lrclr} \text{maximize} & x_1 + x_2 \\ \text{subject to} & 2p x_1 + x_2 & \leq & p^2+1, & p=0.0, 0.1, 0.2,\ldots, 0.9, 1.0. \end{array} That is, there are 2 variables x_1, x_2 and 11 constraints associated with varying values of p . This figure shows each iteration of the algorithm as red circle points. The constraints are shown as blue lines.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Karmarkar's algorithm". 1753018543. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1301578148

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·