Skip to content

Minimum-Ratio Test

Definition

For a feasible canonical tableau and an entering variable with constraint-column coefficients aika_{ik} and right-hand sides bi≥0b_i\ge0, the minimum-ratio test selects

θ=min⁡i ⁣:aik>0biaik.\theta=\min_{i\colon a_{ik}>0}\frac{b_i}{a_{ik}}.

A row attaining the minimum supplies the leaving basic variable. Zero ratios are eligible; only the denominator must be strictly positive.


Interpretation

Once the entering variable is chosen, the ratio test decides how far it may increase: as far as possible while every basic variable stays nonnegative. The test finds the first basic variable that reaches zero; a larger step would violate nonnegativity, so that variable leaves.

An initial simplex tableau with a ratio column for the entering column x s; the smallest ratio, 40, is in the row of s3, which leaves the basis.

In the figure, each right-hand side is divided by the positive entry of the xsx_s column. The smallest ratio, 40 in the s3s_3 row, is the step length: at xs=40x_s=40 the slack s3s_3 reaches zero while s1=20s_1=20 and s2=40s_2=40 are still positive. In the graph of the Giapetto model, moving from the origin along the xsx_s-axis, the boundary xs=40x_s=40 is the first one met, at the corner (40,0)(40,0).

In row ii the basic variable equals bi−aiktb_i-a_{ik}t when the entering variable is raised to tt, so it reaches zero at t=bi/aikt=b_i/a_{ik} if aik>0a_{ik}>0. Rows with aik≤0a_{ik}\le0 are skipped because their basic variable stays the same or grows. Taking the minimum guarantees that no basic variable becomes negative. If no row has aik>0a_{ik}>0, nothing limits the increase, and an improving column then shows that the LP is unbounded.

A common slip is to compute ratios for rows with negative entries: a negative "ratio" would then win the minimum and pick a wrong leaving variable. A ratio of zero, by contrast, is eligible and gives a step of length zero.


Key Results

  • Rows with zero or negative pivot-column coefficients do not restrict the increase.
  • A tie may be broken arbitrarily in the course procedure and can lead to degeneracy.
  • If there is no positive coefficient and the objective improves along this column, the objective is unbounded.

Examples

In the illustrated tableau, increasing xsx_s gives s1=100−2xss_1=100-2x_s, s2=80−xss_2=80-x_s and s3=40−xss_3=40-x_s. The limits 50,80,4050,80,40 give step length 40, so s3s_3 leaves.

  • The initial ratios 10/2=510/2=5 and 15/1=1515/1=15 make s1s_1 leave.
  • The next ratios are 5/(1/2)=105/(1/2)=10 and 10/(5/2)=410/(5/2)=4, so s2s_2 leaves.

Prerequisites

Sources

Aliases: minimum ratio rule, leaving variable rule Keywords: ratio test Symbols: theta

Last updated: 20 October 2026 03:02