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 [math]\displaystyle{ n }[/math] as the number of variables and [math]\displaystyle{ L }[/math] as the number of bits of input to the algorithm, Karmarkar's algorithm requires [math]\displaystyle{ O(n^{3.5} L) }[/math] operations on [math]\displaystyle{ O(L) }[/math]-digit numbers, as compared to [math]\displaystyle{ O(n^6 L) }[/math] such operations for the ellipsoid algorithm. The runtime of Karmarkar's algorithm is thus
- [math]\displaystyle{ O(n^{3.5} L^2 \cdot \log L \cdot \log \log L), }[/math]
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.^{[1]}
The algorithm
Consider a linear programming problem in matrix form:
maximize c^{T}x | |
subject to | Ax ≤ b. |
Karmarkar's algorithm determines the next feasible direction toward optimality and scales back by a factor 0 < γ ≤ 1. It is described in a number of sources.^{[2]}^{[3]}^{[4]}^{[5]}^{[6]}^{[7]} Karmarkar also has extended the method^{[8]}^{[9]}^{[10]}^{[11]} to solve problems with integer constraints and non-convex problems.^{[12]}
Algorithm Affine-Scaling
Since the actual algorithm is rather complicated, researchers looked for a more intuitive version of it, and in 1985 developed affine scaling, a version of Karmarkar's algorithm that uses affine transformations where Karmarkar used projective ones, only to realize four years later that they had rediscovered an algorithm published by Soviet mathematician I. I. Dikin in 1967.^{[13]} The affine-scaling method can be described succinctly as follows.Cite error: Closing </ref>
missing for <ref>
tag After applying the algorithm to optimizing AT&T's telephone network,^{[14]} they realized that his invention could be of practical importance. In April 1985, AT&T promptly applied for a patent on his algorithm.
The patent became more fuel for the ongoing controversy over the issue of software patents.^{[15]} This left many mathematicians uneasy, such as Ronald Rivest (himself one of the holders of the patent on the RSA algorithm), who expressed the opinion that research proceeded on the basis that algorithms should be free. Even before the patent was actually granted, it was argued that there might have been prior art that was applicable.^{[16]} Mathematicians who specialized in numerical analysis, including Philip Gill and others, claimed that Karmarkar's algorithm is equivalent to a projected Newton barrier method with a logarithmic barrier function, if the parameters are chosen suitably.^{[17]} Legal scholar Andrew Chin opines that Gill's argument was flawed, insofar as the method they describe does not constitute an "algorithm", since it requires choices of parameters that don't follow from the internal logic of the method, but rely on external guidance, essentially from Karmarkar's algorithm.^{[18]} Furthermore, Karmarkar's contributions are considered far from obvious in light of all prior work, including Fiacco-McCormick, Gill and others cited by Saltzman.^{[18]}^{[19]}^{[20]} The patent was debated in the U.S. Senate and granted in recognition of the essential originality of Karmarkar's work, as U.S. Patent 4,744,028: "Methods and apparatus for efficient resource allocation" in May 1988.
AT&T designed a vector multi-processor computer system specifically to run Karmarkar's algorithm, calling the resulting combination of hardware and software KORBX,^{[21]} and marketed this system at a price of US$8.9 million.^{[22]}^{[23]} Its first customer was the Pentagon.^{[24]}^{[25]}
Opponents of software patents have further argued that the patents ruined the positive interaction cycles that previously characterized the relationship between researchers in linear programming and industry, and specifically it isolated Karmarkar himself from the network of mathematical researchers in his field.^{[26]}
The patent itself expired in April 2006, and the algorithm is presently in the public domain.
The United States Supreme Court has held that mathematics cannot be patented in Gottschalk v. Benson,^{[27]} In that case, the Court first addressed whether computer algorithms could be patented and it held that they could not because the patent system does not protect ideas and similar abstractions. In Diamond v. Diehr,^{[28]} the Supreme Court stated, "A mathematical formula as such is not accorded the protection of our patent laws, and this principle cannot be circumvented by attempting to limit the use of the formula to a particular technological environment.^{[29]} In Mayo Collaborative Services v. Prometheus Labs., Inc.,^{[30]} the Supreme Court explained further that "simply implementing a mathematical principle on a physical machine, namely a computer, [i]s not a patentable application of that principle."^{[31]}
References
- Adler, Ilan; Karmarkar, Narendra; Resende, Mauricio G.C.; Veiga, Geraldo (1989). "An Implementation of Karmarkar's Algorithm for Linear Programming". Mathematical Programming 44 (1–3): 297–335. doi:10.1007/bf01587095.
- Narendra Karmarkar (1984). "A New Polynomial Time Algorithm for Linear Programming", Combinatorica, Vol 4, nr. 4, p. 373–395.
- ↑ Strang, Gilbert (1 June 1987). "Karmarkar's algorithm and its place in applied mathematics". The Mathematical Intelligencer 9 (2): 4–10. doi:10.1007/BF03025891. ISSN 0343-6993.
- ↑ Karmarkar, N. (1984). "A new polynomial-time algorithm for linear programming". Proceedings of the sixteenth annual ACM symposium on Theory of computing - STOC '84. pp. 302–311. doi:10.1145/800057.808695. ISBN 0897911334. http://dl.acm.org/citation.cfm?id=808695.
- ↑ Karmarkar, N. (1984). "A new polynomial-time algorithm for linear programming". Combinatorica 4 (4): 373–395. doi:10.1007/BF02579150.
- ↑ Karmarkar, Narendra K. (1989). "Power Series Variants of Karmarkar-Type Algorithms". AT&T Technical Journal 68 (3): 20–36. doi:10.1002/j.1538-7305.1989.tb00316.x.
- ↑ Karmarkar, Narendra (1990). "Mathematical developments arising from linear programming (Brunswick, ME, 1988)". 114. Providence, RI: American Mathematical Society. pp. 297–308. doi:10.1090/conm/114/1097880.
- ↑ Karmarkar, Narendra (1990). "Mathematical developments arising from linear programming (Brunswick, ME, 1988)". 114. Providence, RI: American Mathematical Society. pp. 51–75. doi:10.1090/conm/114/1097865.
- ↑ Karmarkar N. K., Lagarias, J.C., Slutsman, L., and Wang, P., Power Series Variants of KarmarkarType Algorithm, AT & T technical Journal 68, No. 3, May/June (1989).
- ↑ Karmarkar, N.K., Interior Point Methods in Optimization, Proceedings of the Second International Conference on Industrial and Applied Mathematics, SIAM, pp. 160181 (1991)
- ↑ Karmarkar, N. K. and Kamath, A. P., A continuous Approach to Deriving Upper Bounds in Quadratic Maximization Problems with Integer Constraints, Recent Advances in Global Optimization, pp. 125140, Princeton University Press (1992).
- ↑ 26. Karmarkar, N. K., Thakur, S. A., An Interior Point Approach to a Tensor Optimisation Problem with Application to Upper Bounds in Integer Quadratic Optimization Problems, Proceedings of Second Conference on Integer Programming and Combinatorial Optimisation, (May 1992).
- ↑ 27. Kamath, A., Karmarkar, N. K., A Continuous Method for Computing Bounds in Integer Quadratic Optimisation Problems, Journal of Global Optimization (1992).
- ↑ Karmarkar, N. K., Beyond Convexity: New Perspectives in Computational Optimization. Springer Lecture Notes in Computer Science LNCS 6457, Dec 2010
- ↑ Vanderbei, R. J.; Lagarias, J. C. (1990). "Mathematical developments arising from linear programming (Brunswick, ME, 1988)". 114. Providence, RI: American Mathematical Society. pp. 109–119. doi:10.1090/conm/114/1097868.
- ↑ Sinha L.P., Freedman, B. A., Karmarkar, N. K., Putcha, A., and Ramakrishnan K.G., Overseas Network Planning, Proceedings of the Third International Network Planning Symposium, NETWORKS' 86, Tarpon Springs, Florida (June 1986).
- ↑ Kolata, Gina (1989-03-12). "IDEAS & TRENDS; Mathematicians Are Troubled by Claims on Their Recipes". The New York Times. https://query.nytimes.com/gst/fullpage.html?res=950DEFD61038F931A25750C0A96F948260.
- ↑ Various posts by Matthew Saltzman, Clemson University
- ↑ Gill, Philip E.; Murray, Walter; Saunders, Michael A.; Tomlin, J. A.; Wright, Margaret H. (1986). "On projected Newton barrier methods for linear programming and an equivalence to Karmarkar's projective method". Mathematical Programming 36 (2): 183–209. doi:10.1007/BF02592025.
- ↑ ^{18.0} ^{18.1} Andrew Chin (2009). "On Abstraction and Equivalence in Software Patent Doctrine: A Response to Bessen, Meurer and Klemens". Journal of Intellectual Property Law 16: 214–223. http://andrewchin.com/chin/scholarship/abstraction-equivalence.pdf.
- ↑ Mark A. Paley (1995). "The Karmarkar Patent: Why Congress Should "Open the Door" to Algorithms as Patentable Subject Matter". 22 Computer L. Rep. 7
- ↑ Margaret H. Wright (2004). "The Interior-Point Revolution in Optimization: History, Recent Developments, and Lasting Consequences". Bulletin of the American Mathematical Society 42: 39–56. doi:10.1090/S0273-0979-04-01040-7. https://www.ams.org/journals/bull/2005-42-01/S0273-0979-04-01040-7/S0273-0979-04-01040-7.pdf.
- ↑ Marc S. Meketon (1989). "The AT&T KORBX System". AT&T Technical Journal 68 (3): 7–19. doi:10.1002/j.1538-7305.1989.tb00315.x.
- ↑ Lowenstein, Roger (15 August 1988). "AT&T markets problem solver, based on math whiz's find, for $8.9 million". Wall Street Journal. http://orfe.princeton.edu/~rvdb/307/lectures/lec19.pdf.
- ↑ Markoff, John (13 August 1988). "Big A.T.&T. Computer for Complexities". https://www.nytimes.com/1988/08/13/business/big-at-t-computer-for-complexities.html.
- ↑ "Military Is First Announced Customer Of AT&T Software". https://apnews.com/8a376783cd62cdf141de700a7c948f61.
- ↑ Kennington, J.L. (1989). "Using KORBX for military airlift applications". Proceedings of the 28th IEEE Conference on Decision and Control. pp. 1603–1605. doi:10.1109/CDC.1989.70419.
- ↑ "今野浩: カーマーカー特許とソフトウェア – 数学は 特許に なるか (Konno Hiroshi: The Kamarkar Patent and Software – Has Mathematics Become Patentable?)". FFII. http://eupat.ffii.org/papers/konno95/index.ja.html.
- ↑ 409 U.S. 63 (1972). The case concerned an algorithm for converting binary-coded decimal numerals to pure binary.
- ↑ 450 U.S. 175 (1981).
- ↑ 450 U.S. at 191. See also Parker v. Flook, 437 U.S. 584, 585 (1978) ("the discovery of a novel and useful mathematical formula may not be patented").
- ↑ 566 U.S. __, 132 S. Ct. 1289 (2012).
- ↑ Accord Alice Corp. v. CLS Bank Int’l, 573 U.S. __, 134 S. Ct. 2347 (2014).
Original source: https://en.wikipedia.org/wiki/Karmarkar's algorithm.
Read more |