Definition · Degenerate basic feasible solutionA basic feasible solution is degenerate when some basic variable has value zero. Equivalently, more than n of the constraint boundaries of an n-variable problem pass through the point, so two or more different bases name it. A pivot from a degenerate basis may have step zero.
Take maximise 3x₁ + 9x₂ subject to x₁ + 4x₂ ≤ 8 and x₁ + 2x₂ ≤ 4. Both boundaries pass through (0, 2), and so does the axis x₁ = 0: three lines, one point, two variables. The ratio test on the entering column x₂ gives 8 ÷ 4 = 2 and 4 ÷ 2 = 2, a tie.
x1 x2 s1 s2 | rhs
s1 1 4 1 0 | 8 ratio 8/4 = 2
s2 1 2 0 1 | 4 ratio 4/2 = 2 tie
z -3 -9 0 0 | 0
pivot 1: x2 in, row 1 leaves (lowest row index on the tie)
x2 1/4 1 1/4 0 | 2
s2 1/2 0 -1/2 1 | 0 s2 basic AT ZERO
z -3/4 0 9/4 0 | 18
pivot 2: x1 in. ratios 2 / (1/4) = 8 and 0 / (1/2) = 0
the step is 0, row 2 leaves, and the point does not move
x2 0 1 1/2 -1/2 | 2
x1 1 0 -1 2 | 0 x1 basic at zero
z 0 0 3/2 3/2 | 18 optimal
Two pivots, one of which moved nothing. The point was (0, 2) after the first pivot and (0, 2) after the second; the objective was 18 both times. What changed was the basis, from {x₂, s₂} to {x₂, x₁}, and the second of those is the one whose objective row certifies optimality. The zero-length pivot was not wasted: it was the step that produced the certificate.
Cycling
If zero-length pivots can go on for a while, can they go round? They can. The standard example is due to Beale, and it is worth stating in full because the claim about it is exact:
maximise (3/4)x1 - 150x2 + (1/50)x3 - 6x4
(1/4)x1 - 60x2 - (1/25)x3 + 9x4 <= 0
(1/2)x1 - 90x2 - (1/50)x3 + 3x4 <= 0
x3 <= 1
all x >= 0. Under the most-negative rule, with ties on the ratio
test broken by lowest row index, from the slack basis:
pivot in out row step z after
1 x1 s1 1 0 0
2 x2 s2 2 0 0
3 x3 x1 1 0 0
4 x4 x2 2 0 0
5 s1 x3 1 0 0
6 s2 x4 2 0 0
basis after pivot 6 = {s1, s2, s3} = the basis it started from,
and the whole tableau is identical - entry for entry, objective
row included. z = 0 at all seven tableaux; every step has length 0.
The right-hand sides of the first two rows are zero, so the starting basic feasible solution is already degenerate, and every pivot after that has step zero. Six pivots later the method is exactly where it began, with the same tableau and therefore the same choices ahead of it. Left alone it runs for ever at z = 0, and the true optimum of the programme is 1/20.
That the sixth tableau equals the first is a claim about equality of numbers, and it is the reason this course carries exact fractions. The entries include 1/50 and -1/25; in floating point the sixth tableau would come back nearly equal to the first and the lesson would be a story about what nearly means. The comparison the lab makes has no tolerance in it: four rows by eight columns plus the objective row, entry for entry, and a difference of one millionth in one entry is a difference.
Bland's rule
Definition · Bland's ruleAmong the columns with z_j < 0, enter the one with the lowest index. Among the rows achieving the minimum ratio, leave from the one whose basic variable has the lowest index. Neither choice looks at the size of a coefficient.
Theorem · Bland's rule terminatesThe simplex method with Bland’s rule, started from a basic feasible solution, reaches an optimal basis or a certificate of unboundedness after finitely many pivots. On the programme above it takes six pivots and stops at 1/20.
There are at most n choose m bases, which is a finite number. Each pivot moves to a different basis, and no basis under Bland’s rule is ever visited twice — that is the rule’s content, and it is a case analysis on the lowest-indexed column that leaves and re-enters, which this course states and does not carry out.
Granting it, termination follows immediately: a walk through a finite set that never repeats a member must stop, and it can only stop where the method stops, which is at an optimal tableau or at a column with no positive entry. Note what this does not claim — nothing about how many of those finitely many bases get visited, which is the subject of “Termination and the Klee–Minty Cube”.
□
On Beale’s programme the two rules agree for four pivots and then part company. Bland’s fifth pivot brings x₁ back in leaving row 3 — a step of 2/125, the first pivot of the run that moves the point at all — and its sixth reaches x = (1/25, 0, 1, 0) with z = 1/20. Six pivots either way: the same count, a different ending, and that contrast is the lesson. Greatest improvement and the largest-index rule both reach 1/20 in two.
What degeneracy is not
It is not rounding, and it is not a symptom of arithmetic trouble. Every number in the cycle above is an exact fraction and the cycle is still there; degeneracy is three constraint boundaries through one corner, which is a geometric fact about the constraints you wrote down. It is also extremely common in practice — any model with redundant rows or coincident boundaries has it — while cycling itself is rare enough that many implementations do not defend against it until a problem turns out to need it.