Column Generation: The Master/Subproblem Pattern
Introduces the column-generation decomposition for path-based multi-commodity flow: the Restricted Master Problem produces dual prices that drive a shortest-path pricing subproblem, which returns new columns until no negative-reduced-cost path remains.
Tutorial
The Master/Subproblem Pattern
In the path-based formulation of multi-commodity flow, every – path is a candidate variable For realistic networks the number of paths is astronomical — far too many to enumerate.
Column generation sidesteps this by maintaining only a small subset of paths at a time and adding new ones on demand. The procedure alternates between two LPs.
Restricted Master Problem (RMP). The original LP restricted to the current working set of path variables. Solving the RMP returns a primal flow and a set of optimal dual prices:
- on each commodity 's demand constraint — the marginal value of one more unit of demand for commodity
- on each edge 's capacity constraint — the shadow price of capacity on edge
Pricing subproblem. Search outside the working set for a path with negative reduced cost. For a path
If adding to the RMP can improve the objective, so enters as a new column. If no path anywhere has the current RMP solution is already optimal for the full LP.
This is the master/subproblem pattern: the master sends prices down to the subproblem; the subproblem returns a column.