Bite 2.4.4 · Simplex Algorithm

Convergence, Degeneracy, and the "Dark Side" of the Simplex

Analysis of Simplex convergence with examples of cycles and full vertex traversals.

Image by Lucas Gallone · Unsplash

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:

  • 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

  1. Technical report · 1953
    Cycling in the Simplex Algorithm
    Alan J. Hoffman
    Report No. 2974, National Bureau of Standards, Washington, D.C.
  2. Article · 1955
    Cycling in the dual simplex algorithm
    E. Martin L. Beale
    Naval Research Logistics Quarterly
    DOI
  3. Article · 1952
    Optimality and Degeneracy in Linear Programming
    Abraham Charnes
    Econometrica
    DOI
  4. Article · 1955
    The generalized simplex method for minimizing a linear form under linear inequality restraints
    George B. Dantzig, Alexander Orden, Philip Wolfe
    Pacific Journal of Mathematics
    DOI
  5. Article · 1977
    New Finite Pivoting Rules for the Simplex Method
    Robert G. Bland
    Mathematics of Operations Research
    DOI
  6. Conference paper · 1972
    How good is the simplex algorithm?
    Victor L. Klee, George J. Minty
    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
  7. Article · 1984
    A new polynomial-time algorithm for linear programming
    N. Karmarkar
    Combinatorica
    DOI

Keep following the series

2.4 · Simplex Algorithm
2.4.1The Simplex Algorithm 2.4.2Simplex Initialization 2.4.3Numerical Examples 2.4.4Simplex Convergence
← Previous · 2.4.3Numerical Examples Chapter 2 Next · 2.5.1 →Introduction to Duality

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.