Artificial Variable¶
Definition¶
An artificial variable is introduced temporarily into an equality or a converted constraint to construct an initial basis. It is added with coefficient and initially takes the nonnegative right-hand-side value while the other variables in that row are zero.
Interpretation¶
An artificial variable is a temporary device for starting the simplex method. It gives a constraint row a ready starting value when neither a slack nor a surplus variable can provide one. It has no practical interpretation and must be driven to zero before the original equations hold.
The figure shows why the surplus alone is not enough. After subtracting , setting in the first row would give , which violates , and the equation has no added variable at all. Adding and with coefficient gives both rows a nonnegative starting value.
A solution with does not satisfy the original row: it gives . The original constraints hold exactly when every artificial variable is zero. This is why Phase I of the two-phase method pushes their sum down to zero, and why a positive minimum shows that the original problem is infeasible. A row with a nonnegative right-hand side needs no artificial variable, because its slack already starts at the right-hand side.
Unlike a slack or surplus, which measures a real amount and may stay positive in the final solution, an artificial variable measures nothing and must be zero in any solution of the original problem.
Key Results¶
- They differ from slack and surplus variables, which record genuine inequalities.
- The first phase of the two-phase method maximizes the negative sum of artificial variables.
- The original constraints are recovered when every artificial variable is zero.
Examples¶
In the figure, setting gives the initial artificial basis . Minimizing is equivalent to maximizing its negative, as used in Phase I.
- becomes .
- becomes .
Prerequisites¶
Related Concepts¶
Sources¶
- OR Modelling · Week 2
Last updated: 20 October 2026 03:02
Artificial VariableTwo-Phase MethodAugmented FormSurplus VariableInfeasible Linear Program