The Simplex Algorithm is extremely efficient in practice, but to guarantee that it always reaches the optimal solution (convergence), we must understand what happens when the algorithm encounters geometric and mathematical obstacles.
The Problem of Degeneracy
A basic feasible solution is considered degenerate if at least one of the basic variables has a value of zero.
-
Geometric cause: It occurs when more constraints than necessary intersect at a vertex, making multiple bases yield the same point. This causes the vertex to have more than one representation as a basic solution.
-
Consequence: The main danger of degeneracy is cycling. If a tie occurs in the leaving variable, one of the basic variables will have a value 0. This can cause the algorithm to enter an infinite loop, revisiting the same bases repeatedly without progressing toward the optimum.
Cycles, therefore, must be considered when solving linear optimization problems. The first example was proposed by Alan Hoffman in (Hoffman, 1953) with an 11-variable problem where a cycle occurs and Simplex does not converge. Shortly after, Martin Beale proposed an example (Beale, 1955) with 7 variables, shown below:
\[\begin{aligned} \min\;\; & z = -(3/4) x_4 + 20 x_5 -(1/2) x_6 + 6 x_7 \\ \textrm{s. t.}\;\; & x_1 + (1/4)x_4 - 8x_5 - x_6 + 9x_7 = 0 \\ & x_2 + (1/2)x_4 - 12x_5 - (1/2)x_6 + 3x_7 = 0 \\ & x_3 + x_6 = 1 \\ & x_1, x_2, x_3, x_4, x_5, x_6, x_7 \geqslant 0 \end{aligned}\]Ensuring Convergence: Bland’s and Lexicographic Rules
To prevent the algorithm from getting trapped in a cycle, variable selection rules are used:
- Lexicographic Rule: Proposed by Abraham Charnes in (Charnes, 1952) and George Dantzig, Alexander Orden, and Philip Wolfe in (Dantzig et al., 1955). If a tie occurs in the leaving variable, the elements of candidate rows are divided by the pivot and compared column by column (starting from the first) to break the tie based on the smallest ratio.
- Bland’s Rule: Proposed by Robert Bland in (Bland, 1977). It is simpler: always select the variable with the lowest index to enter or leave the basis when multiple candidates exist. This guarantees mathematically that there will be no cycles and the algorithm will converge.
Algorithmic Complexity and Klee-Minty Cubes
Although Simplex is very fast in real problems (computational experience shows that the number of iterations usually grows roughly linearly with the number of constraints $m$, typically between $2m$ and $3m$), its theoretical complexity is exponential.
The Klee-Minty Example
In 1972, Victor Klee and George Minty designed an example (Klee & Minty, 1972) (the “Klee-Minty cubes”) to show Simplex’s worst-case scenario. This example illustrates that in the worst case, Simplex may literally traverse every vertex of the polyhedron before finding the optimal solution, something that rarely occurs in real-world problems.
General formulation:
\[\begin{array}{lrcrcrcrcrcr} \max & 2^{n-1} x_1 &+& 2^{n-2} x_2 &+& \ldots &+& 2 x_{n-1} &+& x_n \\ \textrm{s. t.} & x_1 & & & & & & & & & \leqslant & 5 \\ & 2^2 x_1 &+& x_2 & & & & & & & \leqslant & 5^2 \\ & 2^3 x_1 &+& 2^2 x_2 &+& x_3 & & & & & \leqslant & 5^3 \\ & \vdots & & & & & & & & & & \vdots \\ & 2^n x_1 &+& 2^{n-1} x_2 &+& \ldots &+& 2^2 x_{n-1} &+& x_n & \leqslant & 5^n \\ & x_1 &,& x_2 &,& \ldots &,& x_{n-1} &,& x_n & \geqslant & 0 \end{array}\]Why is it special?
With the standard entering rule, Simplex is forced to visit all vertices. For $n$ variables, this requires $2^n - 1$ iterations.
For $n=2$ (a “deformed” square), the algorithm visits points A(0,0) → B(5,0) → C(5,5) → D(0,25), which is the optimum. For $n=3$ (a “deformed” cube), all vertices are similarly traversed:
Summary of Simplex Efficiency
-
Theoretical Complexity: Exponential (Klee-Minty cases).
-
Empirical Complexity: Very efficient (in practice, the number of iterations grows roughly linearly with $m$).
-
Alternative: Interior Point Methods, introduced by Narendra Karmarkar in (Karmarkar, 1984), solve linear optimization in polynomial time, making them a viable option for large-scale problems where Simplex might face convergence challenges.
Ultimately, exploring the dark side of the Simplex method does not diminish its extraordinary everyday effectiveness; rather, it clearly defines its boundaries: resolving degeneracy through anti-cycling rules and acknowledging its theoretical vulnerability to exponential cases is what allowed a great geometric intuition to become the starting point of modern optimization.
References
- Technical report · 1953Cycling in the Simplex AlgorithmReport No. 2974, National Bureau of Standards, Washington, D.C.
@report{hoffman1953, title = {Cycling in the Simplex Algorithm}, publisher = {Report No. 2974, National Bureau of Standards, Washington, D.C.}, author = {Hoffman, Alan J.}, year = {1953} } - Article · 1955Cycling in the dual simplex algorithmNaval Research Logistics Quarterly
@article{beale1955, title = {Cycling in the dual simplex algorithm}, volume = {2}, issn = {1931-9193}, url = {http://dx.doi.org/10.1002/nav.3800020406}, doi = {10.1002/nav.3800020406}, number = {4}, journal = {Naval Research Logistics Quarterly}, publisher = {Wiley}, author = {Beale, E. Martin L.}, year = {1955}, month = dec, pages = {269-275} } - Article · 1952Optimality and Degeneracy in Linear ProgrammingEconometrica
@article{charnes1952, title = {Optimality and Degeneracy in Linear Programming}, volume = {20}, issn = {0012-9682}, url = {http://dx.doi.org/10.2307/1907845}, doi = {10.2307/1907845}, number = {2}, journal = {Econometrica}, publisher = {JSTOR}, author = {Charnes, Abraham}, year = {1952}, month = apr, pages = {160-170} } - Article · 1955The generalized simplex method for minimizing a linear form under linear inequality restraintsPacific Journal of Mathematics
@article{dantzigordenwolfe1955, title = {The generalized simplex method for minimizing a linear form under linear inequality restraints}, volume = {5}, issn = {0030-8730}, url = {http://dx.doi.org/10.2140/pjm.1955.5.183}, doi = {10.2140/pjm.1955.5.183}, number = {2}, journal = {Pacific Journal of Mathematics}, publisher = {Mathematical Sciences Publishers}, author = {Dantzig, George B. and Orden, Alexander and Wolfe, Philip}, year = {1955}, month = jun, pages = {183-195} } - Article · 1977New Finite Pivoting Rules for the Simplex MethodMathematics of Operations Research
@article{bland1977, title = {New Finite Pivoting Rules for the Simplex Method}, volume = {2}, issn = {1526-5471}, url = {http://dx.doi.org/10.1287/moor.2.2.103}, doi = {10.1287/moor.2.2.103}, number = {2}, journal = {Mathematics of Operations Research}, publisher = {Institute for Operations Research and the Management Sciences (INFORMS)}, author = {Bland, Robert G.}, year = {1977}, month = may, pages = {103-107} } - Conference paper · 1972How good is the simplex algorithm?Proceedings of the Third Symposium on Inequalities held at the University of California, Los Angeles, Calif., September 1-9, 1969, dedicated to the memory of Theodore S. Motzkin
@inproceedings{kleeminty1972, author = {Klee, Victor L. and Minty, George J.}, booktitle = {Proceedings of the Third Symposium on Inequalities held at the University of California, Los Angeles, Calif., September 1-9, 1969, dedicated to the memory of Theodore S. Motzkin}, pages = {159-175}, title = {How good is the simplex algorithm?}, year = {1972} } - Article · 1984A new polynomial-time algorithm for linear programmingCombinatorica
@article{karmarkar1984, title = {A new polynomial-time algorithm for linear programming}, volume = {4}, issn = {1439-6912}, url = {http://dx.doi.org/10.1007/BF02579150}, doi = {10.1007/bf02579150}, number = {4}, journal = {Combinatorica}, publisher = {Springer Science and Business Media LLC}, author = {Karmarkar, N.}, year = {1984}, month = dec, pages = {373-395} }
Keep following the series
How to cite
Cite this post
Martín-Campo, F. Javier (2026). Convergence, Degeneracy, and the "Dark Side" of the Simplex. https://www.fjmartincampo.com/blog/2026/simplexconvergence/
As a BibTeX entry:
@misc{martín-campo2026convergence-degeneracy-and-the-dark-side-of-the-simplex,
title = {Convergence, Degeneracy, and the "Dark Side" of the Simplex},
author = {Martín-Campo, F. Javier},
year = {2026},
month = {mar},
url = {https://www.fjmartincampo.com/blog/2026/simplexconvergence/}
}
This post is published under a CC BY-NC-SA 4.0 license.