Jump to content

Klee–Minty cube: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Restore invalid self-closed HTML tags fixes
Line 13: Line 13:
=== Worst case ===
=== Worst case ===
[[File:Simplex description.png|thumb|240px|An illustration of a three-dimensional [[polytope]], which is the feasible region for a linear programming problem. The simplex algorithm traverses the edges between [[vertex (geometry)|vertices]] until it reaches an optimal vertex. The simplex algorithm takes exactly five steps, as shown in the two-dimensional illustration. The simplex algorithm takes exponentially many steps on the Klee–Minty cube.]]
[[File:Simplex description.png|thumb|240px|An illustration of a three-dimensional [[polytope]], which is the feasible region for a linear programming problem. The simplex algorithm traverses the edges between [[vertex (geometry)|vertices]] until it reaches an optimal vertex. The simplex algorithm takes exactly five steps, as shown in the two-dimensional illustration. The simplex algorithm takes exponentially many steps on the Klee–Minty cube.]]
In mathematical optimization, the Klee–Minty cube is an example that shows the [[worst-case complexity|worst-case]] [[Analysis of algorithms|computational]] [[time complexity|complexity]] of many [[algorithm]]s of [[linear optimization]]. It is a deformed [[unit cube|cube]] with exactly &nbsp;2<sup>''D''</sup>&nbsp;corners in [[dimension (vector space)|dimension]]&nbsp;''D''. Klee and Minty showed that the [[George Dantzig|Dantzig's]] [[simplex algorithm]] visits all of a (perturbed) [[unit cube|cube]] in dimension&nbsp;''D'' in the [[worst-case complexity|worst case]].<ref name="KleeMinty" /><ref name="MurtyComplexity">{{harvtxt|Murty|1983|loc=14.2 Worst-case computational complexity, pp. 434–437}}</ref><ref name="TerlakyZhong">{{harvtxt|Terlaky|Zhang|1993}}</ref>
In mathematical optimization, the Klee–Minty cube is an example that shows the [[worst-case complexity|worst-case]] [[Analysis of algorithms|computational]] [[time complexity|complexity]] of many [[algorithm]]s of [[linear optimization]]. It is a deformed [[unit cube|cube]] with exactly &nbsp;2<sup>''D''</sup>&nbsp;corners in [[dimension (vector space)|dimension]]&nbsp;''D''. Klee and Minty showed that [[George Dantzig|Dantzig's]] [[simplex algorithm]] visits all corners of a (perturbed) [[unit cube|cube]] in dimension&nbsp;''D'' in the [[worst-case complexity|worst case]].<ref name="KleeMinty" /><ref name="MurtyComplexity">{{harvtxt|Murty|1983|loc=14.2 Worst-case computational complexity, pp. 434–437}}</ref><ref name="TerlakyZhong">{{harvtxt|Terlaky|Zhang|1993}}</ref>


Modifications of the Klee–Minty construction showed similar exponential [[time complexity]] for other pivoting rules of simplex type, which maintain primal feasibility, such as [[Bland's rule]].<ref name="Bland">{{cite journal|title=New finite pivoting rules for the simplex method|first=Robert G.|last=Bland|journal=Mathematics of Operations Research|volume=2|number=2|date=May 1977|pages=103–107|doi=10.1287/moor.2.2.103|jstor=3689647|mr=459599|ref=harv}}</ref><ref name="MurtyBland">{{harvtxt|Murty|1983|loc=Chapter&nbsp;10.5, pp.&nbsp;331–333; problem&nbsp;14.8, p.&nbsp;439}} describes [[Bland's rule]].</ref><ref name="MurtyBlandComplexity">{{harvtxt|Murty|1983|loc=Problem&nbsp;14.3, p.&nbsp;438; problem&nbsp;14.8, p.&nbsp;439}} describes the worst-case complexity of Bland's rule.</ref> Another modification showed that the [[criss-cross algorithm]], which does not maintain primal feasibility, also visits all the corners of a modified Klee–Minty cube.<ref name="TerlakyZhong" /><ref name="Roos">{{harvtxt|Roos|1990}}</ref><ref name="FukudaTerlaky">{{harvtxt|Fukuda|Terlaky|1997}}</ref> Like the simplex algorithm, the criss-cross algorithm visits all&nbsp;8 corners of the three-dimensional cube in the worst case.
Modifications of the Klee–Minty construction showed similar exponential [[time complexity]] for other pivoting rules of simplex type, which maintain primal feasibility, such as [[Bland's rule]].<ref name="Bland">{{cite journal|title=New finite pivoting rules for the simplex method|first=Robert G.|last=Bland|journal=Mathematics of Operations Research|volume=2|number=2|date=May 1977|pages=103–107|doi=10.1287/moor.2.2.103|jstor=3689647|mr=459599|ref=harv}}</ref><ref name="MurtyBland">{{harvtxt|Murty|1983|loc=Chapter&nbsp;10.5, pp.&nbsp;331–333; problem&nbsp;14.8, p.&nbsp;439}} describes [[Bland's rule]].</ref><ref name="MurtyBlandComplexity">{{harvtxt|Murty|1983|loc=Problem&nbsp;14.3, p.&nbsp;438; problem&nbsp;14.8, p.&nbsp;439}} describes the worst-case complexity of Bland's rule.</ref> Another modification showed that the [[criss-cross algorithm]], which does not maintain primal feasibility, also visits all the corners of a modified Klee–Minty cube.<ref name="TerlakyZhong" /><ref name="Roos">{{harvtxt|Roos|1990}}</ref><ref name="FukudaTerlaky">{{harvtxt|Fukuda|Terlaky|1997}}</ref> Like the simplex algorithm, the criss-cross algorithm visits all&nbsp;8 corners of the three-dimensional cube in the worst case.

Revision as of 20:22, 1 August 2016

A three-dimensional cube
The Klee–Minty cube is a perturbation of the cube shown here. Many linear optimization algorithms behave poorly on the Klee–Minty cube. On the three-dimensional version, the simplex algorithm and the criss-cross algorithm visit all 8 corners in the worst case.

The Klee–Minty cube (named after Victor Klee and George J. Minty) is a unit cube whose corners have been slightly perturbed. Klee and Minty demonstrated that Dantzig's simplex algorithm has poor worst-case performance when initialized at one corner of their "squashed cube".

In particular, many optimization algorithms for linear optimization exhibit poor performance when applied to the Klee–Minty cube. In 1973 Klee and Minty showed that Dantzig's simplex algorithm was not a polynomial-time algorithm when applied to their cube.[1] Later, modifications of the Klee–Minty cube have shown poor behavior both for other basis-exchange pivoting algorithms and also for interior-point algorithms[citation needed].

Description of the cube

The Klee–Minty cube was originally specified with a parameterized system of linear inequalities, with the dimension as the parameter. When the dimension is two, the "cube" is a squashed square. When the dimension is three, the "cube" is a squashed cube. Illustrations of the "cube" have appeared besides algebraic descriptions.[2][3]

Computational complexity

The Klee–Minty cube has been used to analyze the performance of many algorithms, both in the worst case and on average. The time complexity of an algorithm counts the number of arithmetic operations sufficient for the algorithm to solve the problem. For example, Gaussian elimination requires on the order of D3 operations, and so it is said to have polynomial time-complexity, because its complexity is bounded by a cubic polynomial. There are examples of algorithms that do not have polynomial-time complexity. For example, a generalization of Gaussian elimination called Buchberger's algorithm has for its complexity an exponential function of the problem data (the degree of the polynomials and the number of variables of the multivariate polynomials). Because exponential functions eventually grow much faster than polynomial functions, an exponential complexity implies that an algorithm has slow performance on large problems.

Worst case

An illustration of a three-dimensional polytope, which is the feasible region for a linear programming problem. The simplex algorithm traverses the edges between vertices until it reaches an optimal vertex. The simplex algorithm takes exactly five steps, as shown in the two-dimensional illustration. The simplex algorithm takes exponentially many steps on the Klee–Minty cube.

In mathematical optimization, the Klee–Minty cube is an example that shows the worst-case computational complexity of many algorithms of linear optimization. It is a deformed cube with exactly  2D corners in dimension D. Klee and Minty showed that Dantzig's simplex algorithm visits all corners of a (perturbed) cube in dimension D in the worst case.[1][4][5]

Modifications of the Klee–Minty construction showed similar exponential time complexity for other pivoting rules of simplex type, which maintain primal feasibility, such as Bland's rule.[6][7][8] Another modification showed that the criss-cross algorithm, which does not maintain primal feasibility, also visits all the corners of a modified Klee–Minty cube.[5][9][10] Like the simplex algorithm, the criss-cross algorithm visits all 8 corners of the three-dimensional cube in the worst case.

Path-following algorithms

Further modifications of the Klee–Minty cube have shown poor performance of central-path–following algorithms for linear optimization, in that the central path comes arbitrarily close to each of the corners of a cube. This "vertex-stalking" performance is surprising, because such path-following algorithms have polynomial-time complexity for linear optimization.[2][11]

Average case

The Klee–Minty cube has also inspired research on average-case complexity. When eligible pivots are made randomly (and not by the rule of steepest descent), Dantzig's simplex algorithm needs on average quadratically many steps (on the order of O(D2).[3] Standard variants of the simplex algorithm takes on average D steps for a cube.[12] When it is initialized at a random corner of the cube, the criss-cross algorithm visits only D additional corners, however, according to a 1994 paper by Fukuda and Namiki.[13][14] Both the simplex algorithm and the criss-cross algorithm visit exactly 3 additional corners of the three-dimensional cube on average.

See also

Notes

  1. ^ a b Klee & Minty (1972)
  2. ^ a b Deza, Nematollahi & Terlaky (2008) harvtxt error: multiple targets (2×): CITEREFDezaNematollahiTerlaky2008 (help)
  3. ^ a b Gartner & Ziegler (1994) harvtxt error: multiple targets (2×): CITEREFGartnerZiegler1994 (help)
  4. ^ Murty (1983, 14.2 Worst-case computational complexity, pp. 434–437)
  5. ^ a b Terlaky & Zhang (1993)
  6. ^ Bland, Robert G. (May 1977). "New finite pivoting rules for the simplex method". Mathematics of Operations Research. 2 (2): 103–107. doi:10.1287/moor.2.2.103. JSTOR 3689647. MR 0459599. {{cite journal}}: Invalid |ref=harv (help)
  7. ^ Murty (1983, Chapter 10.5, pp. 331–333; problem 14.8, p. 439) describes Bland's rule.
  8. ^ Murty (1983, Problem 14.3, p. 438; problem 14.8, p. 439) describes the worst-case complexity of Bland's rule.
  9. ^ Roos (1990)
  10. ^ Fukuda & Terlaky (1997)
  11. ^ Megiddo & Shub (1989)
  12. ^ More generally, for the simplex algorithm, the expected number of steps is proportional to D for linear-programming problems that are randomly drawn from the Euclidean unit sphere, as proved by Borgwardt and by Smale.

    Borgwardt (1987): Borgwardt, Karl-Heinz (1987). The simplex method: A probabilistic analysis. Algorithms and Combinatorics (Study and Research Texts). Vol. 1. Berlin: Springer-Verlag. pp. xii+268. ISBN 3-540-17096-0. MR 0868467. {{cite book}}: Invalid |ref=harv (help)

  13. ^ Fukuda & Namiki (1994, p. 367)
  14. ^ Fukuda & Terlaky (1997, p. 385)

References

Algebraic description with illustration

The first two links have both an algebraic construction and a picture of a three-dimensional Klee–Minty cube:

System of linear inequalities with no picture

  • Greenberg, Harvey J., Klee-Minty Polytope Shows Exponential Time Complexity of Simplex Method University of Colorado at Denver (1997) PDF download

Pictures with no linear system