Node-Arc Formulation of Multi-Commodity Flow
Translates a multi-commodity flow problem into a linear program with one decision variable per (arc, commodity) pair, subject to flow conservation at every node for every commodity and a shared bundle constraint on every arc.
Step 1 of 157%
Tutorial
Decision Variables and the Objective
The node-arc formulation models a multi-commodity flow problem as a linear program with one decision variable for each (arc, commodity) pair.
Let be a directed graph carrying commodities. For each arc and each commodity , define
Each has an associated per-unit cost , and the objective is to minimize total shipping cost across all commodities and arcs:
For example, with commodities on arcs and , suppose
and the flows are Then the objective evaluates to