Single-Commodity Network Flow
Introduces flow networks for routing a single commodity (such as passengers) through a capacitated directed graph. Covers the definition of a flow, the capacity and conservation constraints, the value of a flow, and how to increase it by augmenting along an s-t path.
Tutorial
Flow Networks and Valid Flows
A flow network is a directed graph together with a nonnegative capacity on each edge, and two distinguished vertices: a source and a sink . We interpret as the maximum amount that can travel along edge . In a routing context, is the number of seats available on the flight from airport to airport .
A flow is a function assigning a value to every edge so that two rules hold:
- Capacity constraint: for every edge .
- Conservation: for every vertex ,
Conservation says that no internal airport accumulates passengers — everyone who arrives must depart.
For a small illustration, take the two-edge network with and . Setting gives a valid flow: on each edge, and vertex has units in and units out.