One Iteration of the Simplex Method
A simplex iteration moves from one basic feasible solution to an adjacent one. A nonbasic variable with negative reduced cost enters the basis; the minimum ratio test decides how far it can increase before a basic variable reaches zero, and that variable leaves. The test is what keeps the new point feasible.
Definition
Given a basis
Formal statement
With
Assumptions and scope
Only components with
enter the ratio test. A basic variable whose component is zero or negative does not fall as the entering variable increases, so it never limits the step.If every component of
is nonpositive, the entering variable can increase without limit while feasibility holds, and the program is unbounded. No leaving variable exists. A tie in the minimum ratio means more than one basic variable reaches zero together. Either may leave, and the resulting basic feasible solution is degenerate.
When the minimum ratio is zero the step is zero: the basis changes but the point does not. This is stalling, and repeated stalling can cycle without an anti-cycling rule.
Worked material
Contrast
Which rows enter the ratio test
The ratio test looks like "divide and take the smallest", and applying it to every row is the most common way an iteration goes wrong. The restriction to
Take a basis with
Incorrect. Compute both ratios:
Correct. Only the first row qualifies, because
Why the second row cannot limit anything. As the entering variable rises to
It rises. It moves away from zero, never toward it, so no value of
Taking it as the minimum would set
A row with
The reliable phrasing. The ratio test asks which basic variable hits zero first. Only variables that are falling can hit zero, and
Common errors
Common misconception
The minimum ratio test compares the ratio in every row, so a row whose direction component is zero or negative competes for the minimum like any other.
Related units
Requires
- Reduced Costs and the Optimality Test
- Extreme Points and Basic Feasible Solutions
- Linear Independence, Rank, and Bases
- Adjacent Basic Solutions
- Degenerate Basic Feasible Solutions