Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. In Linear programming a surplus variable is a variable which is subtracted from a constraint to turn the inequality into an equation.This is required to turn an inequality into an equality where a linear combination of variables is greater than or equal to a given constant in the former. As with the other variables in the augmented constraints, the surplus variable cannot take on negative values, as the Simplex algorithm requires them to be positive or zero.