Column Generation (Dantzig-Wolfe)

Decision Sciences
Introduced by
George B. Dantzig and Philip Wolfe
Year
1960
Type
algorithm
Family
Optimization

What does it do?

Column generation is closely associated with the Dantzig-Wolfe decomposition principle, introduced by George B. Dantzig and Philip Wolfe in 1960.

It solves a large linear program by working with a master problem restricted to a subset of columns (variables) and a pricing subproblem that proposes new columns. The two parts are solved in turn, and columns that improve the restricted master are added until no further improvement is found.

The intuition behind the method

Many large optimization problems have special structure: they contain a very large number of variables, but only a small subset is likely to matter, or they split naturally into subproblems. Rather than building the full model with every possible variable, column generation keeps a small working set of columns. The pricing problem uses the dual information from the current restricted master, through reduced costs, to search for a column that would improve the solution. Adding such columns one at a time builds up the solution without ever handling all columns at once.

History

Dantzig and Wolfe introduced the decomposition principle for linear programs in 1960. Gilmore and Gomory (1961) applied a linear programming approach to the cutting-stock problem, using a technique that always computes with a matrix having no more columns than rows. Branch-and-price, which integrates column generation with branch-and-bound, extended the method to integer programming. Modern applications include airline crew scheduling and large-scale logistics optimization.

When to use it

Choose column generation when a linear program has a very large number of variables, too many to enumerate, and only a small subset is expected to be active at the optimum. It is most useful when the pricing subproblem can be solved efficiently by exploiting problem structure, and when the problem consists of parts linked by coupling constraints. The applications listed below (cutting stock, vehicle routing, crew scheduling, bin packing) are typical settings. For problems small enough that all columns can be included directly, a standard LP solver is usually simpler and often sufficient, so the extra complexity of column generation is justified mainly when enumerating the columns is impractical or the structure can be exploited.

Limitations and considerations

  • Requires a problem structure that allows an efficient pricing subproblem solution
  • Convergence can be slow near optimality (the tailing-off effect), where many iterations add columns with little improvement. It appears as a long run of very small decreases in the master objective, and stabilization techniques are the usual remedy.
  • Efficiency gains are lost if the pricing subproblem solution is unreliable or slow
  • Implementation is more complex than using a standard LP method
  • Numerical stability can suffer when dual values and reduced costs become large

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Solves large-scale problems that are hard to handle with standard methods because of the number of columns
  • Exploits problem structure to generate only the columns that are relevant
  • Each iteration solves a restricted master problem with far fewer columns than the full model
  • Naturally suited to problems with separable parts linked by coupling constraints, the setting of the Dantzig-Wolfe decomposition
  • Can be combined with branch-and-bound for integer programs (branch-and-price)

Applications

  • Cutting stock problem: minimizing waste when cutting material into required sizes
  • Vehicle routing: optimizing routes for delivery and transportation with time windows and capacity constraints
  • Crew scheduling: assigning crew members to flights or shifts minimizing total cost
  • Bin packing: efficiently packing items into containers to minimize waste and number of containers
  • Rostering: scheduling workers across shifts respecting availability and preference constraints
  • Airline planning: flight scheduling, crew assignments, and aircraft maintenance coordination

How it works

How it works

1

Start with a restricted master problem containing a subset of columns. If these columns cannot yet satisfy all constraints, add artificial variables with a high penalty cost so that the master is feasible from the start. The method can only conclude once these artificial variables are zero.

2

Solve the restricted master problem and read its dual values (prices) from the optimal simplex tableau. These dual values define the reduced cost of each candidate column, and the pricing subproblem uses them to search for columns with negative reduced cost (for minimization).

3

Solve the pricing subproblem, exploiting its structure. If it yields a column with negative reduced cost, add that column to the master problem and repeat the cycle. If no column with negative reduced cost exists, the current solution of the restricted master is optimal for the full linear program.

Common pitfalls

  • Selecting an inefficient pricing subproblem algorithm, which negates the efficiency gains from column generation
  • Failing to recognize a problem structure amenable to decomposition, which leads to poor performance
  • Using inadequate convergence detection or an overly strict tolerance, which wastes iterations
  • Not implementing stabilization techniques to address the tailing-off effect
  • Overlooking degeneracy in the restricted master problem, which can cause stalling; the simplex implementation should use standard anti-degeneracy rules

Frequently asked questions

What is the pricing problem in column generation and how does it relate to reduced costs?

The pricing problem identifies new variables (columns) with negative reduced cost that improve the master solution. Reduced cost values come from the dual of the restricted master problem and guide the search in the pricing subproblem.

Why is column generation better than solving the full problem with all columns?

In many problems the number of potential columns is very large, sometimes exponential, which makes enumerating all of them impractical. Column generation generates only the necessary columns on demand. This can greatly reduce the computational burden, but only when the pricing subproblem can be solved efficiently.

What is the tailing-off effect and how can it be mitigated?

Tailing-off occurs when column generation makes slow progress near optimality, generating many columns with minimal improvement. Stabilization techniques (dual smoothing, trust region methods, cutoff strategies) reduce its impact.

How does branch-and-price extend column generation to integer programming?

Branch-and-price combines column generation with branch-and-bound: at each node, column generation solves the LP relaxation, and branching decisions further restrict the problem when LP solutions are fractional.

Related methods

Sources

  1. Dantzig, G. B., & Wolfe, P. (1960). Decomposition principle for linear programs. Operations Research, 8(1), 101-111.

    Open DOI reference
  2. Gilmore, P. C., & Gomory, R. E. (1961). A linear programming approach to the cutting-stock problem. Operations Research, 9(6), 849-859.

    Open DOI reference