In the shortest route problem we determined the shortest truck route from the origin (Los Angeles) to six destinations. In the minimal spanning tree problem we found the shortest connected network for television cable. In neither of these problems was the capacity of a branch limited to a specific number of items. However, there are network problems in which the branches of the network have limited flow capacities . The objective of these networks is to maximize the total amount of flow from an origin to a destination. These problems are referred to as maximal flow problems . The maximal flow problem is to maximize the amount of flow of items from an origin to a destination. Maximal flow problems can involve the flow of water, gas, or oil through a network of pipelines; the flow of forms through a paper processing system (such as a government agency); the flow of traffic through a road network; or the flow of products through a production line system. In each of these examples, the branches of the network have limited and often different flow capacities. Given these conditions, the decision maker wants to determine the maximum flow that can be obtained through the system. 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 to St. Louis by railroad. However, a contract limits the number of railroad cars the company can secure on each branch during a week. ## Figure 7.18. Network of railway system
Given these limiting conditions, the company wants to know the maximum number of railroad cars containing tractor parts that can be shipped from Omaha to St. Louis during a week. The number of railroad cars available to the tractor company on each rail branch is indicated by the number on the branch to the immediate right of each node (which represents a rail junction). For example, six cars are available from node 1 (Omaha) to node 2, eight cars are available from node 2 to node 5, five cars are available from node 4 to node 6 (St. Louis), and so forth. The number on each branch to the 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 directions on the branches between nodes 2 and 4 and nodes 3 and 4. These are referred to as For a directed branch, flow is possible in only one direction . ## The Maximal Flow Solution ApproachThe first step in determining the maximum possible flow of railroad cars through the rail system is to choose any path arbitrarily from origin to destination and ship as much as possible on that path. In Figure 7.19 we will arbitrarily select the path 1256. The maximum number of railroad cars that can be sent through this route is four. We are limited to four cars because that is the maximum amount available on the branch between nodes 5 and 6. This path is shown in Figure 7.19. ## Figure 7.19. Maximal flow for path 1256
Arbitrarily choose any path through the network from origin to destination and ship as much as possible .
Notice that the remaining capacities of the branches from node 1 to node 2 and from node 2 to node 5 are two and four cars, respectively, and that no cars are available from node 5 to node 6. These values were computed by subtracting the flow of four cars from the number available. The actual flow of four cars along each branch is shown enclosed in a box. Notice that the present input of four cars into node 1 and output of four cars from node 6 are also designated. Recompute branch flow in both directions . 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 our path, 1256. These are the flows in the opposite direction. Thus, the value 4 is added to the zeros at nodes 2, 5, and 6. It may seem incongruous to designate flow in a direction that is not possible; however, it is the means used in this solution approach to compute the net flow along a branch. (If, for example, a later iteration showed a flow of one car from node 5 to node 2, then the net flow in the correct direction would be computed by subtracting this flow of one in the wrong direction from the previous flow of four in the correct direction. The result would be a net flow of three in the correct direction.) We have now completed one iteration of the solution process and must repeat the preceding steps. Again, we arbitrarily select a path. This time we will select path 146, as shown in Figure 7.20. The maximum flow along this path is four cars, which is subtracted at each of the nodes. This increases the total flow through the network to eight cars (because the flow of four along path 146 is added to the flow previously determined in Figure 7.19). ## Figure 7.20. Maximal flow for path 146## (This item is displayed on page 288 in the print version)
Select other feasible paths arbitrarily and determine maximum flow along the paths until flow is no longer possible. As a final step, the flow of four cars is added to the flow along the path in the opposite direction at nodes 4 and 6. Now we arbitrarily select another path. This time we will choose path 136, with a maximum possible flow of six cars. This flow of six is subtracted from the branches along path 136 and added to the branches in the opposite direction, as shown in Figure 7.21. The flow of 6 for this path is added to the previous flow of 8, which results in a total flow of 14 railroad cars. ## Figure 7.21. Maximal flow for path 136## (This item is displayed on page 288 in the print version)
Notice that at this point the number of paths we can take is restricted. For example, we cannot take the branch from node 3 to node 6 because zero flow capacity is available. Likewise, no path that includes the branch from node 1 to node 4 is possible. The available flow capacity along the path 1346 is one car, as shown in Figure 7.22. This increases the total flow from 14 cars to 15 cars. The resulting network is shown in Figure 7.23. Close observation of the network in Figure 7.23 shows that there are no more paths with available flow capacity. All paths out of nodes 3, 4, and 5 show zero available capacity, which prohibits any further paths through the network. ## Figure 7.22. Maximal flow for path 1346
## Figure 7.23. Maximal flow for railway network
This completes the maximal flow solution for our example problem. The maximum flow is 15 railroad cars. The flows that will occur along each branch appear in boxes in Figure 7.23. In summary, the steps of the maximal flow solution method are as follows : -
Arbitrarily select any path in the network from origin to destination. -
Adjust the capacities at each node by subtracting the maximal flow for the path selected in step 1. -
Add the maximal flow along the path in the opposite direction at each node. -
Repeat steps 1, 2, and 3 until there are no more paths with available flow capacity.
Steps of the maximal flow solution method . ## Computer Solution of the Maximal Flow Problem with QM for WindowsThe program input and maximal flow solution for the Scott Tractor Company example using QM for Windows is shown in Exhibit 7.7. (Note that this problem has multiple optimal solutions, and the branch flows are slightly different for this solution.) ## Exhibit 7.7.## Computer Solution of the Maximal Flow Problem with ExcelThe maximal flow problem can also be solved with Excel, much the same way as we solved the shortest route problem, by formulating it as an integer linear programming model and solving it by using the "Solver" option from the "Tools" menu. The decision variables represent the flow along each branch, as follows: x To reduce the size and complexity of the model formulation, we will also eliminate flow along a branch in the opposite direction (e.g., flow from 4 to 2 is zero). Before proceeding with the model formulation and developing the objective function, we must alter the network slightly to be able to solve it as a linear programming problem. We will create a new branch from node 6 back to node 1, x maximize Z = x The constraints follow the same premise as the shortest route problem; that is, whatever flows into a node must flow out. Thus, at node 1 we have the following constraint, showing that the amount flowing from 61 must flow out through branches 12, 13, and 14: x This constraint can be rewritten as x Similarly, the constraint at node 2 is written as x We must also develop a set of constraints reflecting the capacities along each branch, as follows:
The capacity for x The complete linear programming model for our Scott Tractor Company example is summarized as follows:
The Excel spreadsheet set up to solve this integer linear programming model for the Scott Tractor Company example is shown in Exhibit 7.8. The decision variables, x ## Exhibit 7.8.Exhibit 7.9 shows the Solver Parameters screen for this model. ## Exhibit 7.9.The Excel solution is shown in Exhibit 7.10. Notice that the flows along each branch are shown in cells C6:C15 and the total network flow is 15 in cell C16. ## Exhibit 7.10. |

Introduction to Management Science (10th Edition)

ISBN: 0136064361

EAN: 2147483647

EAN: 2147483647

Year: 2006

Pages: 358

Pages: 358

Authors: Bernard W. Taylor

Similar book on Amazon

flylib.com © 2008-2017.

If you may any questions please contact us: flylib@qtcs.net

If you may any questions please contact us: flylib@qtcs.net