Network flow problem
In combinatorial optimization, network flow problems are a class of computational problems in which the input is a flow network, and the goal is to construct a flow, numerical values on each edge that respect the capacity constraints and that have incoming flow equal to outgoing flow at all vertices except for certain designated terminals.
Specific types of network flow problems include:
- The maximum flow problem, in which the goal is to maximize the total amount of flow out of the source terminals and into the sink terminals
- The minimum-cost flow problem, in which the edges have costs as well as capacities and the goal is to achieve a given amount of flow that has the minimum possible cost
- The multi-commodity flow problem, in which one must construct multiple flows for different commodities whose total flow amounts together respect the capacities
- Nowhere-zero flow, a type of flow studied in combinatorics in which the flow amounts are restricted to a finite set of nonzero values
Algorithms for constructing flows include
- Dinic's algorithm, a strongly polynomial algorithm for maximum flow
- The Edmonds–Karp algorithm, a faster strongly polynomial algorithm for maximum flow
- The Ford–Fulkerson algorithm, a greedy algorithm for maximum flow that is not in general strongly polynomial
- The network simplex algorithm, a method based on linear programming but specialized for network flow
- The out-of-kilter algorithm for minimum-cost flow
- The push–relabel maximum flow algorithm, one of the most efficient known techniques for maximum flow