Adding a New Variable to an Optimal LP
When a new decision variable is added to an LP that has already been solved to optimality, the reduced cost — computed from the new variable's profit coefficient and constraint column together with the current shadow prices — determines whether the existing optimal basis remains optimal or whether the new variable should enter the basis. The same calculation gives the break-even profit at which the new variable becomes worth introducing.
Tutorial
Introduction
After an LP has been solved to optimality, suppose a new decision variable is added — for instance, a new product or activity becomes available. We ask whether the current optimal basis is still optimal, or whether the new variable should enter the basis.
The test uses the shadow prices (dual values) of the original optimal solution. Let the LP be a maximization with constraints having shadow prices , and let the new variable have profit coefficient and constraint column
The reduced cost of is
Optimality test (maximization).
- If : the current solution is still optimal — do not introduce .
- If : introducing improves the objective — should enter the basis.
For example, suppose an LP has shadow prices and , and a new variable is proposed with and Then
so should enter the basis.