Nepedia
Back to Discover
Advanced Reader
🔢

Maximum flow problem

math Maturity 11-13 Next article →

The maximum flow problem is a central challenge in optimization theory. It involves finding the highest possible rate of flow through a network. A flow network is a collection of connected points, called nodes, and the links between them, called edges. Think of this like a system of water pipes or a web of roads. Each edge has a specific capacity. This capacity is the maximum amount of flow that can pass through that specific link.

Simpe flow network
Simpe flow network

To solve this problem, a mathematical flow must follow two strict rules. The first rule is the capacity constraint. This means the flow on any edge cannot exceed its assigned capacity. The second rule is the conservation of flows. This rule states that for every node in the network, the total flow entering must equal the total flow exiting. The only exceptions to this rule are the source node, where flow begins, and the sink node, where flow ends.

Maxflow imagesegmentation network
Maxflow imagesegmentation network

Finding the maximum flow is deeply connected to a concept called a cut. An s-t cut is a way of severing the network to separate the source from the sink. The capacity of a cut is the sum of the capacities of the edges that cross the cut. The max-flow min-cut theorem provides a vital link between these two ideas. It states that the maximum value of an s-t flow is exactly equal to the minimum capacity of an s-t cut. This theorem helps identify the bottleneck that limits the entire system.

Maxflow imagesegmentation result
Maxflow imagesegmentation result

The history of this problem began with a practical need to manage transportation. In 1954, T. E. Harris and F. S. Ross formulated the problem as a model for Soviet railway traffic. They wanted to understand how much traffic could move through a rail network connecting two cities via intermediate cities. In 1955, Lester R. Ford, Jr. and Delbert R. Fulkerson created the first known solution. Their method, the Ford–Fulkerson algorithm, works by finding paths through a residual graph that still have available capacity.

Baseball Elimination Problem
Baseball Elimination Problem

Over many decades, mathematicians have developed increasingly efficient algorithms to solve these networks. In 1969, Edmonds and Karp introduced a specialization that uses breadth-first search to find augmenting paths. In 1970, Dinic developed an algorithm that uses layered subgraphs and finds a blocking flow. Other significant methods include the push-relabel algorithm by Goldberg and Tarjan. This method maintains a preflow and uses a height function to move excess flow toward the sink.

Multi-source multi-sink flow problem
Multi-source multi-sink flow problem

Recent breakthroughs have focused on making these calculations even faster for massive networks. In 2013, James B. Orlin published an algorithm that improved upon previous bounds. In 2022, a large team including Li Chen and Rasmus Kyng published an almost-linear time algorithm. This new method solves both the maximum flow and the minimum-cost flow problems. Their work was recognized as a best paper at the 2022 Symposium on Foundations of Computer Science.

Maxflow imagesegmentation network
Maxflow imagesegmentation network

The maximum flow problem is a special case of the more complex circulation problem. It can also be used to solve the minimum-cost flow problem. These mathematical tools allow us to solve real-world matching problems. For example, we can use flow networks to match humans with pets they are willing to adopt.

Pets flow
Pets flow

By treating humans and pets as nodes in a network, we can find a matching that maximizes the number of adoptions. This ability to organize complex connections is why the maximum flow problem remains essential to modern science.

577 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (9)
File:Pets flow.svg
Pets flow.svg
File:Simpe_flow_network.svg
Simpe_flow_network.svg
File:Multi-source multi-sink flow problem.svg
Multi-source multi-sink flow problem.svg
File:Maximum bipartite matching to max flow.svg
Maximum bipartite matching to max flow.svg
File:Node splitting.svg
Node splitting.svg
File:Baseball Elimination Problem.png
Baseball Elimination Problem.png
File:Maxflow imagesegmentation image.png
Maxflow imagesegmentation image.png
File:Maxflow imagesegmentation network.png
Maxflow imagesegmentation network.png
File:Maxflow imagesegmentation result.png
Maxflow imagesegmentation result.png
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.