Professional Documents
Culture Documents
Transportation Problem Transshipment Problem Assignment Problem Network Flow Problem Min Cost Flow model Spanning Trees Shortest Path
1
High Plains Electronics manufactures MP3 players at three separate overseas plants. It ships finished products to three US distribution centers. Shipping costs are shown below, as are the production capacities of each plant and the demand from each distribution center (units per week):
Distribution Center LA Boston Denver 4 10 6 8 16 6 14 18 10 200 300 200
Supply = Demand
Capacity 100 300 300 700
2
Minimize total shipping cost of products from source to destinations Supply equals demand Product measured in discrete units Integrality assured Linear costs assumed
General LP Form
Subject to
ij
x
j 1 m
si dj
Supply constraints
x
i 1
ij
Demand constraints
xij 0
Non-negativity constraints
4
Objective function
Supply constraints
Demand constraints
Prohibited Routes
What if some routes are infeasible or prohibited? Create allocation cost that is so large that it will be immediately forced from the basis Big M Example
Supply Demand
What if supply does not equal demand? Feasible solutions exist only if total supply equals total demand
s d
i 1 i j 1
Catering Example
The University is planning six catered events for homecoming day. Caterers Bon Apetit, Custom, and University can each handle two events, the others only one. MSU wants to minimize costs. (Costs shown in $1000s)
Alumni Brunch 12.60 14.50 13.00 11.50 10.80 13.50 12.50 Parent's Brunch 10.30 13.00 14.00 12.60 11.90 13.50 14.30 Booster Lunch 14.00 16.50 17.60 13.00 12.90 15.50 16.00 Postgame Letterman's Sponsor's Party Dinner Dinner 19.50 25.00 30.00 17.00 22.50 32.00 21.50 23.00 35.00 18.70 26.20 33.50 17.50 21.90 28.50 22.30 24.50 36.00 22.00 26.70 34.00
Binford Access manufacturers telephone switches for private telephone carriers using inventory, overtime, and subcontracting to absorb demand fluctuations. Regular production cost is $200 per unit, overtime production is $250, subcontracting costs $270, and inventory carrying costs are $20 per unit per quarter. Binford currently has 300 units in inventory.
Regular Overtime Subcontract Capacity Capacity Capacity 900 100 300 1,000 150 300 1,200 200 300 1,200 200 300
9
Quarter 1 2 3 4
Transshipment Problem
Example
10
Transshipment Example
Upon investigation, High Plains Electronics discovers that it can ship its products to intermediate warehouses in either New Orleans or Seattle. Either location can handle up to 500 units per week. HPE wants to determine if shipping costs can be reduced by using these transshipment points.
COSTS Plant Singapore Spain Argentina Miami Seattle Demand Distribution Center Transship LA Boston Denver Miami Seattle Capacity 4 10 6 15 3 100 8 16 6 3 12 300 14 18 10 2 16 300 8 4 9 12 500 2 7 4 12 500 200 300 200 500 500 1700
11
Assignment Problem
Assign discrete resources (people, machines, vehicles, ) to tasks (jobs, routes, ) Number of resources and tasks are equal Each resource is assigned to one task Each task is assigned to one resource Integrality assured Linear costs assumed Highly degenerate (many alternative solutions)
12
Assignment Problem
Eldorado Distributors has four sales territories, each of which must be assigned a sales representative. From past experience, the firms sales manager knows which reps do best in which territories and has scored each of four reps in the four territories (low scores mean better performance). How should reps be assigned?
Rep Wilson Benson Fredrick Hodson Arvada 44 60 36 52 Territory Boulder Golden 80 52 56 40 60 48 76 36 Denver 60 72 48 40
13
Assignment Solutions
General LP Form
s.t.
Subject to
Supply constraints
x
j 1 m i 1
ij
xij 1
0 xij 1
Demand constraints
If i is not assigned to j
If i is assigned to j
15
Prohibited assignments
Use large allocation cost Big M
Maximization Problems
Create opportunity loss matrix by finding difference between largest element in each column and other column elements Solve as minimization problem Example
16
Next suppose the company has a policy that no attendant should spend more than 10 days away from home. Modifications?
17
Western Pipeline wishes to determine the maximum flow of gas that can be delivered to Denver from its Texas wells through its network of gas pipelines. 3 6 Texas (source) 2 3 2 5
2 6
1 2
5 Denver (sink)
18
Max Z = Xdt subject to: Xta 6 Xab 3 capacity constraints Xac 2 Xta Xab Xac = 0 Xab Xbd Xbc = 0 conservation constraints
a
Texas (source) t [6] Xta
Xab [2]
[3] [2]
b [5]
Xac [3] e
c [6] [1]
[2] [2]
Xdt
19
35
15 14
22
20
3
2
3 7
21
12 6 8
15
11
18
16 5
22
Undirected and connected network Distance (cost) same in both directions between two nodes Find the shortest (distance, cost) route from one to a number of other points given a network with know arc penalties (distance, cost) Solve using shortest path algorithm
24
12 6 8
15
11
18
16 5
25
Undirected and connected network Distance (cost) same in both directions between two nodes Minimize (cost, distance) of connecting all nodes in the network Connection costs are independent Solve using Minimum Spanning Tree Algorithm
26
A new Colorado state park is being planned with roads required to proposed park facilities. Minimize total road mileage (and thus environmental impact).
4 2 2 4 2 5 5 3
3
2
3 7
27
35
15 14
22
28
Directed and connected network Find the maximum flow between a source and sink (e.g., supply and demand) through a network of branches with known flow capacities Linear costs assumed Augmenting Path Algorithm
29
Western Pipeline wishes to determine the maximum flow of gas that can be delivered to Denver from its Texas wells through its network of gas pipelines. 3 6 Texas (source) 2 3 2 5
2 6
1 2
5 Denver (sink)
30
Midwest Grain ships railcars of grain from its St. Louis barge terminal to its ship terminal in LA. During the fall harvest, shipping capacity is tight. How much can Midwest ship? (Amounts shown in 10s of railcars daily.)
Salt Lake 8
0 6 0 3 0 4 6 5 6
Des Moines
4 0 0 0
St. Louis
2 Denver
LA
Phoenix
2 6
Dallas
31
Transportation Problem
Shipping products from production plants to consumer centers Minimize shipping cost Deal with unbalance between production and demand when it exists
32
Transportation Problem
High Plains Electronics manufactures MP3 players at three separate overseas plants. It ships finished products to three US distribution centers. Shipping costs are shown below, as are the production capacities of each plant and the demand from each distribution center (units per week):
Distribution Center Boston 10 16 18 300 Denver 6 6 10 200 Capacity 100 300 300 700
33
General LP formulation
34
E 1 [80] [-60]
3
C
Network Flow Optimization for Load Balancing Used (or suggested) in core networks, as superior to shortest-path optimization for network traffic engineering
Similar to MinimumCostFlow problem with only one source and one sink. Same constraints but different metric: Minimize Z = Max(xij / cij) Easily extensible to cases when we have many sources and one sink or many sinks and one source
Conservation constraints apply to each flow separately, therefore we have a decision variable per link per flow Capacity constraints and economic function apply to the total flow over each link