Maximum Flow Linear Program¶
Definition¶
For the course network with only outgoing source edges and only incoming sink edges, the maximum flow LP (linear program) uses continuous variables and solves
Here is the edge capacity and sums run over existing edges.
Interpretation¶
The maximum flow LP writes the maximum flow problem as an ordinary linear program: one continuous decision variable per edge, the capacities and the flow balances as linear constraints, and the flow leaving the source as the objective.
Each edge label in the figure is one capacity constraint, such as . Together with and one balance equation for each of , , and , these constraints form the whole model. The two edges into have capacities and , so no feasible flow can deliver more than ; the Examples report that is attained.
Each part has its own role. The balance equations say that intermediate vertices pass flow on without creating or losing any. They are not imposed at the source and the sink: the source has only outgoing edges, so balance there would force all its edges to carry zero flow. The objective counts only the flow leaving the source, which equals the flow arriving at the sink once all balances hold.
Because the model is an LP, the simplex method or Excel Solver can solve it, as an alternative to the augmenting path algorithm. The same pattern of conservation equations returns in the shortest path formulation, where one unit of flow is sent from origin to destination.
Key Results¶
- Source outflow equals sink inflow by summing conservation equations.
- No binary selection variable is needed: an edge may carry any feasible flow amount.
- The formulation combines the capacity and flow-conservation conditions of the maximum flow problem.
Examples¶
In the figure, maximize with the displayed edge capacities. The intermediate balances are
The optimum is 8. For a maximum-flow formulation with integer capacities, an integral optimal flow exists; this is a property of this network formulation, not of arbitrary LPs with integer data.
- In the course example network with source , the objective is .
- At vertex of that network, conservation is .
Prerequisites¶
Related Concepts¶
Sources¶
- OR Modelling · Week 5
Aliases: maximum flow LP, max-flow LP Symbols: sum
Last updated: 22 October 2026 19:04
Maximum Flow Linear ProgramMaximum Flow ProblemLinear ProgrammingAugmenting Path AlgorithmShortest Path Binary Formulation