Nepedia
Back to Discover
Advanced Reader
🔢

Flow network

math Maturity 11-13 Next article →

A flow network is a mathematical model used to study how units move through a system. In graph theory, it is a directed graph where every edge has a specific capacity. This capacity represents the maximum amount of flow an edge can carry. Each edge also receives a flow, which is the actual amount being moved. The amount of flow on any given edge can never exceed its capacity. These networks are essential in operations research for modeling complex movement. They help us understand how things like traffic, electricity, or fluids travel through a system of nodes and arcs.

Network Flow Cropped2 - revised
Network Flow Cropped2 - revised

To function correctly, a flow network must follow specific mathematical rules. The first is the capacity constraint, which ensures flow does not exceed edge limits. The second is the flow conservation constraint. This rule states that for every node in the network, the total incoming flow must equal the total outgoing flow. There are two important exceptions to this rule: the source and the sink. The source is a deficient node that produces flow. The sink is an active node that consumes flow. All other nodes are considered conserving nodes because they do not produce or consume units.

Mathematicians categorize different types of flow functions to describe these movements. A pseudo-flow is a function that satisfies two specific constraints. First, it follows skew symmetry, meaning the flow from one node to another is the negative of the flow in the opposite direction. Second, it must respect the capacity constraint. A pre-flow is a more specific type of pseudo-flow. In a pre-flow, the net flow entering a node must be non-negative, except at the source. Finally, a feasible flow, often called just a "flow," must satisfy flow conservation. This means the net flow at every node, except the source and the sink, is exactly zero.

Flow decomposition
Flow decomposition

Understanding the capacity of a network often requires looking at residual networks. A residual network shows the remaining available capacity on each edge. This is calculated as the difference between the edge's capacity and its current flow. This concept is central to the Ford-Fulkerson algorithm. This algorithm searches for an augmenting path, which is a route from the source to the sink with available capacity. Within an augmenting path, there is always a bottleneck. The bottleneck is the minimum residual capacity among all edges in that specific path. To augment the flow, you increase the flow along the path by the value of the bottleneck.

A network reaches its maximum flow when no more augmenting paths exist in the residual network. This state is also linked to the max-flow min-cut theorem. This theorem states that finding the maximum flow is equivalent to finding a cut of minimum capacity. A cut is a division of vertices that separates the source from the sink. If any augmenting path exists with a bottleneck greater than zero, the network is not yet at maximum flow. When the bottleneck value of all possible paths reaches zero, the maximum flow has been achieved.

Network flow residual PNG
Network flow residual PNG

History has provided several efficient algorithms to solve these complex problems. In 1970, Dinic developed a fast algorithm for finding maximum flow. In 1972, Edmonds and Karp introduced another method. In 1978, the MPM algorithm was created by Malhotra, Pramodh-Kumar, and Maheshwari. Later, in 1988, Goldberg and Tarjan developed the push-relabel algorithm. More recent advancements include work by James B. Orlin in 2013. In 2022, a group of researchers including Li Chen and Rasmus Kyng published further developments. These algorithms allow scientists to solve problems in polynomial time, making them practical for large-scale systems.

Flow networks have many practical applications across different scientific fields. In physics and engineering, they model fluids in pipes or currents in electrical circuits. This is similar to Kirchhoff's current law, where flow into a junction must equal flow out. In ecology, researchers like Robert Ulanowicz use these concepts to study food webs. They analyze how nutrients and energy flow between different organisms. Flow networks can also solve business problems, such as airline scheduling, bipartite matching, and the assignment problem. They even help in image segmentation and survey design, proving that these mathematical structures are vital to understanding the modern world.

708 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
File:Network Flow Cropped2 - revised.png
Network Flow Cropped2 - revised.png
File:Flow decomposition.svg
Flow decomposition.svg
File:Network flow residual PNG.png
Network flow residual PNG.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.