Path-Based Formulation of Multi-Commodity Flow
Reformulate the multi-commodity flow LP using one decision variable per source-to-sink path instead of one per arc. Write the objective as a sum of per-unit path costs times path flows, impose demand constraints (one per commodity) and bundle/capacity constraints (one per arc using path-arc indicators), and evaluate the objective on a given path-flow solution.
Tutorial
Path-Flow Variables and Path Costs
In the path-based formulation of multi-commodity flow, the decision variables represent flow along entire paths rather than along individual arcs. For each commodity let denote the set of directed paths from source to sink For each path we introduce
The per-unit cost of routing commodity along path is the sum of per-unit arc costs along that path:
For example, suppose a commodity is routed along with per-unit arc costs Then