Skip to content

Surplus Variable

Definition

A surplus variable Si≥0S_i\ge0 transforms a lower-bound constraint into an equality:

∑jaijxj≥bi⟺∑jaijxj−Si=bi,Si≥0.\sum_ja_{ij}x_j\ge b_i \Longleftrightarrow \sum_ja_{ij}x_j-S_i=b_i,\quad S_i\ge0.

It measures the excess of the left-hand side over the required minimum.


Interpretation

A surplus variable measures by how much a minimum requirement is exceeded: the amount ∑jaijxj\displaystyle \sum_ja_{ij}x_j achieved minus the required bib_i. Subtracting it turns a ≥\ge constraint into an equation, just as an added slack does for a ≤\le constraint.

A feasible region above the line x A + 2x B = 6, with a point above the line that has surplus 4, a point on the line with surplus 0, and a point below it that is infeasible.

The figure shows xA+2xB≥6x_A+2x_B\ge6 written as xA+2xB−S=6x_A+2x_B-S=6. The point (4,3)(4,3) gives 1010, so S=4S=4; the point (2,2)(2,2) lies on the line with S=0S=0; the point (1,1)(1,1) gives only 33 and would need S=−3S=-3, which the sign restriction forbids, so it is infeasible.

The minus sign follows from what is measured, and the nonnegativity constraint Si≥0S_i\ge0 carries the original direction; writing +Si+S_i by mistake gives the opposite requirement ∑jaijxj≤bi\displaystyle \sum_ja_{ij}x_j\le b_i. Unlike a slack, a surplus cannot start the simplex method, since at the origin it would be −bi<0-b_i<0; such rows therefore also receive an artificial variable.


Key Results

  • The course uses capital SiS_i for surplus and lower-case sis_i for slack.
  • A surplus variable alone generally does not produce an initial feasible slack-style basis.
  • An artificial variable may be added for the first simplex phase.

Examples

  • 2x1+x2≥42x_1+x_2\ge4 becomes 2x1+x2−S1=42x_1+x_2-S_1=4.
  • At (x1,x2)=(3,0)(x_1,x_2)=(3,0), this surplus is 2.

Prerequisites

Sources

Aliases: excess variable Symbols: sum

Last updated: 22 October 2026 19:04