How to Calculate Reduced Costs in the Big-M Method
At a glance
- 1. Choose a convention
For a maximization problem, use reduced cost equal to the objective coefficient minus the current basis contribution.
- 2. Assign Big-M costs
Give each artificial variable a large negative objective coefficient in a maximization problem.
- 3. Compute each value
Calculate the basis contribution for a column, then subtract it from that variable’s objective coefficient.
- 4. Interpret the sign
A positive reduced cost can improve a maximization objective; the entering choice also depends on the simplex convention.
In the Big-M method, an artificial variable is assigned a large penalty so the simplex method has an incentive to drive it out of the basis. That penalty affects not only the objective value but also the reduced costs of other variables. The key is to include the costs of the current basic variables when calculating those reduced costs.
This example uses a maximization problem and the common tableau convention . With this convention, a positive reduced cost indicates a possible objective improvement.
Reduced cost in a simplex tableau
For a variable in column , the reduced cost is
where is its objective coefficient, contains the objective coefficients of the current basic variables, and is the column’s current tableau column. In a tableau, you can calculate by multiplying each basic variable’s objective coefficient by its entry in column and adding the results.
Some textbooks use the opposite sign, . Under that convention, the signs and entering-variable rule reverse. The arithmetic is the same, so check which convention your tableau uses before interpreting a sign.
Worked Big-M example
Consider
The first constraint is a “greater than or equal to” constraint, so subtract a surplus variable and add an artificial variable . The equality constraint needs an artificial variable :
For a maximization problem, penalize each artificial variable with coefficient . The objective used by the Big-M method is therefore
where is understood to be sufficiently large and positive. The initial basis is , so the basic-cost vector is .
The constraint coefficients and objective coefficients are:
| Variable | RHS | |||||
|---|---|---|---|---|---|---|
| Row for | 1 | 1 | -1 | 1 | 0 | 4 |
| Row for | 1 | 2 | 0 | 0 | 1 | 6 |
| Objective coefficient | 3 | 2 | 0 |
Calculate by weighting each column entry by its row’s basic cost. For , the column is , so
and its reduced cost is .
For , the column is :
so its reduced cost is .
For the surplus variable , the column is :
so its reduced cost is .
The artificial variables are basic, so each has reduced cost zero: for example, and . The initial reduced-cost row is therefore
| Variable | |||||
|---|---|---|---|---|---|
| 0 | 0 |
The initial objective value is , because the initial basic artificial-variable values are 4 and 6. With the convention, both original decision variables have positive reduced costs. If , has the larger one, , so it is selected as the entering variable under the largest-positive-reduced-cost rule. The ratio test then compares and , so leaves the basis.
Why the artificial-variable costs matter
The reduced cost of is not just its original objective coefficient, 2. It is because the two current basic artificial variables contribute to . Omitting their costs would give the wrong reduced-cost row and could lead to a wrong pivot choice.
As simplex pivots proceed, the basis changes. Recalculate and the tableau columns at each step; reduced costs from the initial tableau cannot simply be reused. A valid final solution to the original problem must have every artificial variable equal to zero. At an optimal solution of the Big-M problem, if the penalty is known to be sufficiently large (or treated symbolically), a positive artificial variable indicates that the original constraints are infeasible. With an arbitrary finite numerical , a positive artificial variable may instead reflect an inadequate penalty. If an artificial variable remains basic at value zero, it may be possible to remove it from the basis or leave it there as a degenerate basic variable.
Common mistakes
- Using in a maximization objective: Under the convention used here, artificial variables receive coefficient in a maximization problem. For minimization, the usual penalty is .
- Forgetting the basic costs: Compute using the objective coefficients of the current basis, including artificial variables still in it.
- Mixing sign conventions: If a tableau lists , a positive entry does not mean the same thing as a positive entry in a row.
- Treating as an ordinary small constant: The method assumes a sufficiently large penalty. In computations, an arbitrary numeric value for can cause numerical difficulties or fail to represent the intended priority; two-phase simplex avoids this issue by separating feasibility from optimization.
References
- Introduction to Operations Research, Frederick S. Hillier and Gerald J. Lieberman
- Operations Research: An Introduction, Hamdy A. Taha
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.