0e9ff78c200cc24e4c81d340ce88355b.ppt
- Количество слайдов: 18
Network Models u Please carefully study the following examples: Transportation problem - section 3. 11 and 5. 4 Transshipment problem - section 5. 1 Shortest path problem - section 5. 2 Maximal flow problem - section 5. 6 Minimal spanning tree problem - section 5. 8 u Suggested problems: u u u 5 th & 6 th ed: #14, 19, 20, 31 u Int’l ed: # 5, 26, 28, 4 1
Transportation problem statement 2
Transportation problem (recording available – zip…) Supply 275, 000 Demand (processing plants) 21 miles Mt. Dora 1 50 Ocala 4 Capacity 200, 000 40 35 30 Eustis 400, 000 2 Orlando 5 22 600, 000 55 20 Clermont 300, 000 3 25 Leesburg 6 225, 000 3
Transportation Problem Formulation u Objective & decision Variables? u What kinds (sets) of constraints? 4
The Bavarian Motor Company (BMC) (recording available) u u u The Bavarian Motor Company ( BMC) manufactures expensive luxury cars in Hamburg, Germany, and exports cars to sell in the United States. The exported cars are shipped from Hamburg to ports in Newark, New Jersey, and Jacksonville, Florida. From these ports, the cars are transported by rail or truck to distributors located in Boston, Massachusetts; Columbus, Ohio; Atlanta, Georgia; Richmond, Virginia; and Mobile, Alabama. Figure shows the possible shipping routes avail-able to the company along with the transportation cost for shipping each car along the indicated path. Currently, 200 cars are available at the port in Newark and 300 are available in Jacksonville. The numbers of cars needed by the distributors in Boston, Columbus, Atlanta, Richmond, and Mobile are 100, 60, 170, 80, and 70, respectively. BMC wants to determine the least costly way of transporting cars from the ports in Newark and Jacksonville to the cities where they are needed. 5
Transshipment problem u u Network flow problems can be represented as a collection of nodes connected by arcs. There are three types of nodes: +60 u Supply u Demand u Transshipment u u We’ll use negative numbers to represent supplies and positive numbers to represent demand. +100 $50 Columbus 3 $35 Boston 2 Newark 1 -200 $40 Atlanta +170 5 $25 $35 +70 Mobile Exception: Note that in 6 transportation problem both supply & demand figures are positive. $30 Richmond +80 4 $45 $50 J'ville 7 -300 6
Node types & Transshipment Formulation u Node types: Supply, transshipment, demand Consider “inflow” & “outflow” to each node on the network. u Objective & decision Variables? u What kinds (sets) of constraints? u 7
The American Car Association ( ACA) u u The American Car Association ( ACA) provides a variety of travel- related services to its members, including information on vacation destinations, discount hotel reservations, emergency road assistance, and travel route planning. This last service, travel route planning, is one of its most popular services. When members of the ACA are planning to take a driving trip, they call the organizations toll-free 800 number and indicate what cities they will be traveling from and to. The ACA then determines an optimal route for traveling between these cities. The ACAs computer databases of major highways and interstates are kept up-to-date with information on construction delays and detours and estimated travel times along various segments of roadways. Members of the ACA often have different objectives in planning driving trips. Some are interested in identifying routes that minimize travel times. Others, with more leisure time on their hands, want to identify the most scenic route to their desired destination. The ACA wants to develop an automated system for identifying an optimal travel plan for its members. Suppose a travel member who wants to drive from Birmingham, Alabama to Virginia Beach, Virginia. 8
Shortest path problem u u u View it as a special case of transshipment problem Min the shipping costs of one unit from node 1 to node 11 (end node). Node 1 supplies 1 unit, node 11 demands 1 unit, all others have zero demand or supply 9
Shortest path formulation u Objective & decision Variables? u What kinds (sets) of constraints? 10
The Northwest Petroleum Company u u The Northwest Petroleum Company operates an oil field and refinery in Alaska. The crude obtained from the oil field is pumped through the network of pumping sub-stations shown in Figure below to the company’s refinery located 500 miles from the oil field. The amount of oil that can flow through each of the pipelines, represented by the arcs in the network, varies due to differing pipe diameters. The numbers next to the arcs in the network indicate the maximum amount of oil that can flow through the various pipelines ( measured in thousands of barrels per hour). The company wants to determine the maximum number of barrels per hour that can flow from the oil field to the refinery. 11
Maximal flow problem u Determine the max amount of flow that can occur from node 1 to node 6 (end node). u Max oil & gas, H 2 O, etc. flows Max traffic flow (evacuations!) u u Section 5. 6 example; Northwest petroleum co… 12
Minimal spanning tree problem u u u Determine the set of arcs that connects all the nodes at minimum cost. By definition, given a network with n nodes, a spanning tree is a set of n-1 arcs that connects all the nodes and contains no loops. A simple algorithm: 1. Select any node and call it the current subnetwork. 2. Add to the current subnetwork the cheapest arc that connects any node within the current subnetwork to any node not in the current subnetwork (arbitrarily break ties for the cheapest arc) Call this the current subnetwork. 3. Repeat step 2 until all nodes are connected u u Class exercise(s): Omega Airlines Case 5. 4 13
Minimal spanning tree example 5 D A 6 10 12 4 E 15 B 9 8 11 7 C 5 F G 8 14
Another formulation Although nuclear plant safety is at its highest levels, should there be an emergency, communities near nuclear plants depend on the local governments and plant operators for rapid and efficient evacuation of the public to safe areas. Duqe Power is interested in determining the optimal plan for the following network of roads and highways all heading away from the nuclear plant site, which is located at node 1. The directional arcs represent roads or highways and the circles (nodes) represent intersections. During the emergency period people (in cars, buses, etc. ) will only be allowed to travel in the direction of the arrows. The numbers next to the arcs represent the maximum amount of people that can travel between nodes, measured in thousands of people per hour. Nodes 6 and 7 are the final destinations (safe areas). 1 5 5 3 2 6 5 3 4 5 4 6 2 6 4 8 6 7 Develop a formulation for this problem and solve using Solver or Risk. Solver or LINDO. 15
Exercises u u u Suggested problems: 14, 19, 20, 31 Interesting problems: Omega Airlines u Check fig. = 15 u u u Information Consultant travels… Group Exercise: Student assignment case – single objective version 16
Omega Airlines u Omega Airlines has several nonstop flights between Atlanta and Los Angeles every day. The schedules of these flights are shown in the following table. u Omega wants to determine the optimal way of assigning flight crews to these different flights. The company wants to ensure that the crews always return to the city from which they left each day. FAA regulations require at least one hour of rest for flight crews between flights. However, flight crews become irritated if they are forced to wait for extremely long periods of time between flights, so Omega wants to find an assignment of flight schedules that minimizes these waiting periods. Draw a network flow model for this problem & Implement the problem in a spreadsheet and solve it. What is the longest period of time that a flight crew has to wait between flights, according to your solution? u u 17
Information Consultant Travels… 18