Skip to content

Simplex Optimality Test

Proposition

For a maximization LP with a feasible canonical tableau written as z+∑j∈Nqjxj=z0\displaystyle z+\sum_{j\in N}q_jx_j=z_0, if qj≥0q_j\ge0 for every nonbasic variable, the current basic feasible solution is optimal. Here NN is the nonbasic index set and every variable is nonnegative.


Interpretation

The optimality test tells the simplex method when to stop. It checks whether increasing any nonbasic variable from zero could raise zz; if none could, the current basic feasible solution is optimal, and the tableau itself is the proof.

An optimal simplex tableau with the objective-row coefficients of the nonbasic variables s1 and s2 highlighted; both are nonnegative, so no increase can improve z.

In the final Giapetto tableau the nonbasic variables are the slacks s1s_1 and s2s_2, both with objective-row coefficient 11. Read as an equation, the row says z=180−s1−s2z=180-s_1-s_2. Since slacks are nonnegative, no feasible solution has z>180z>180, and the current solution with s1=s2=0s_1=s_2=0 reaches this bound.

Each condition has a role. The objective row comes from the original equations by row operations, so it holds for every feasible solution, not only the current one; this turns a sign check into a proof. Canonical form makes the row express zz through the nonbasic variables only, so z0z_0 is the current value and qjq_j is the effect of increasing xjx_j alone. Feasibility is needed because the row only gives the bound z≤z0z\le z_0, and this bound is the optimum only because a feasible point attains it.

With the objective on the left, z+qjxj=…z+q_jx_j=\ldots means that zz falls by qjq_j per unit of xjx_j. A negative qjq_j therefore signals possible improvement, which is why the entering variable rule looks for the most negative coefficient. A coefficient qj=0q_j=0 means xjx_j could increase without changing zz, which often points to multiple optimal solutions.


Key Results

  • The sign test depends on the course objective-row convention.
  • Feasibility and canonical form are required before applying the test.
  • A negative coefficient calls for further simplex analysis; degeneracy means it does not alone prove that a strictly better feasible vector exists.

Examples

In the figure, z=180−s1−s2z=180-s_1-s_2 and s1,s2≥0s_1,s_2\ge0 certify z≤180z\le180. Setting both nonbasic slacks to zero gives xs=20x_s=20, xt=60x_t=60, s3=20s_3=20, attaining 180. A zero nonbasic objective coefficient can indicate an alternative optimum, but a distinct solution requires a positive feasible movement; a degenerate zero-length pivot is insufficient.

  • z+(7/5)s1+(1/5)s2=17z+(7/5)s_1+(1/5)s_2=17 proves z≤17z\le17.
  • z−(1/2)x2+(3/2)s1=15z-(1/2)x_2+(3/2)s_1=15 still has a negative coefficient to investigate.

Prerequisites

Sources

Aliases: optimality test Symbols: element of, sum

Last updated: 20 October 2026 03:02