Professional Documents
Culture Documents
The maximal flow problem involves determining the maximum amount of material that can flow from one point (the source) to another (the sink) in a network.
Example of this type of problem include determining the maximum number of cars that can flow through hi system, the maximum amount of a liquid that can flow through series of pipes, and the maximum amount of that can flow through a computer network.
Chapter 7 - Network Flow Models 1
An example of a maximal flow problem is illustrated by the network of a railway system between Omaha and St.Louis shown in figure 7.18. The Scott Tractor Company ships tractor parts from Omaha and St.Louis by railroad. However, a contract limits the number of railroad cars the company secure on each branch during a week. The number of railroad cars available to the tractor company on each rail branches indicated by the number on the branch to the immediate right of each node (which represents a rail junction).
2 Chapter 7 - Network Flow Models
From the figure 7.18, from node 1 (Omaha) to node 2 six cars are available. 8 cars are available from node 2 to node 5, 5 cars are available from node 4 to node 6 (St. Louis), and so forth. The number on each branch to immediate left of each node is the number of cars available for shipping in the opposite direction. For example, no cars are available from node 2 to node 1. The branch from node 1 to node 2 is referred to as a directed branch because flow is possible in only one direction (from node 1 to node 2, but not from 2 to 1)
Notice that flow is possible in both direction on the branches between nodes 2 and 4 and nodes 3 and 4. These are 3referred to as undirected branches. Chapter 7 - Network Flow Models
Notice that the remaining capacities of the branches from node 1 to node 2 and from node 2 to node 5 are 2 and 4 cars, respectively and no cars available from node 5 to node 6.
These values were computed by subtracting the flow of four (4) cars from the original number available. The actual flow of four (4) cars along each branch is shown enclosed in a box. Chapter 7 - Network Flow Models
5
Notice that the present input of four (4) cars node 1 and ouput of four cars from node 6 are also designated.
The final adjustment on this path is to add the designated flow of four cars to the values at the immediate left of each node on paths, 1-25-6. These are the flows in the opposite direction. Thus the value 4 is added to the zeros nodes 2, 5, and 6.
The maximum flow along this path is four Chapter 7 - Network Flow Models 6 which cars, is subtracted at each of the nodes.
Figure 7.20
The maximal flow for path 1-4-6 is eight cars, because of the flow four along path 1-4-6 is added to the flow previously determined in figure 7.19.
The figure 7.21 is the maximal flow for path 1-3-6 within maximum possible flow of six cars. This flow of six is subtracted from the branches along path 1-3-6 and added to the branches in the opposite direction as shown in figure 7.21. This flow of 6 for this path is added to the previous flow of 8, which results in a total flow of 14 railroad cars.
10 Chapter 7 - Network Flow Models
Figure 7.22
The figure 7.22 is the maximal flow for path 1-3-4-6. These path the available flow capacity along the path is one car. This increase the total flow from 14 cars to 15 cars. Close observation of the network in figure 7.23 which shown there are no more paths with available flow capacity. All paths out of nodes 3,4 and 5 shows zero available capacity which prohibits any further paths Chapter 7 - Network Flow Models through the network. 12