Upload
gerald-ross
View
235
Download
0
Tags:
Embed Size (px)
Citation preview
Transportation and Transshipment Models
Chapter 11 Supplement
Supplement 10-2
Just how do you make decisions?
• Emotional direction• Intuition• Analytic thinking• Are you an intuit, an analytic, what???• How many of you use models to make
decisions??
42
• Arise whenever there is a perceived difference between what is desired and what is in actuality.
• Problems serve as motivators for doing something
• Problems lead to decisions
Problems
Copyright 2011 John Wiley & Sons, Inc.
How many of you have used a model before?
• Any kind of model??
Supplement 11-4
All of you have!!!
All of the time!!!
Supplement 10-5
Supplement 10-6
Model Classification Criteria
• Purpose• Perspective
– Use the perspective of the targeted decision-maker
• Degree of Abstraction• Content and Form• Decision Environment• {This is what you should start any modeling
facilitation meeting with}
Supplement 10-7
Purpose
• Planning• Forecasting• Training• Behavioral research
Supplement 10-8
Perspective
• Descriptive– “Telling it like it is”– Most simulation models are of this type
• Prescriptive– “Telling it like it should be”– Most optimization models are of this type
Supplement 10-9
Degree of Abstraction
• Isomorphic– One-to-one
• Homomorphic– One-to-many
Supplement 10-10
Content and Form
• verbal descriptions• mathematical constructs• simulations• mental models• physical prototypes
Supplement 10-11
Decision Environment
• Decision Making Under Certainty– TOOL: all of mathematical programming—
supplements to Chapters 11 and 14
• Decision Making under Risk and Uncertainty– TOOL: Decision analysis--tables, trees, Bayesian
revision—supplement to Chapter 1
• Decision Making Under Change and Complexity– TOOL: Structural models, simulation models—
supplement to Chapter 13
Copyright 2011 John Wiley & Sons, Inc.
We will cover parts of….
• The supplements to Chapters 11, 14 and 13• In that order• Network programming—suppl to Chap 11 today• Linear programming—suppl to Chap 14
tomorrow• Simulation—suppl to Chap 13 Friday
• And test you on this on July 30
Supplement 11-12
Supplement 10-13
Mathematical Programming
• Linear programming• Integer linear programming
– some or all of the variables are integer variables
• Network programming (produces all integer solutions)
• Nonlinear programming• Dynamic programming• Goal programming• The list goes on and on
– Geometric Programming
Copyright 2011 John Wiley & Sons, Inc.
Network Programming
• Transportation model• Transhipment model• Shortest Route model (not covered)• Minimal Spanning Tree (not covered)• Maximal Flow model (not covered)• Assignment model (not covered)• Many other models
Supplement 11-14
Supplement 10-15
A Model of this class
• What would we include in it?
Supplement 10-16
Management Science Models: A Definition
• A QUANTITATIVE REPRESENTATION OF A PROCESS THAT CONSISTS OF THOSE COMPONENTS THAT ARE SIGNIFICANT FOR
THE ________ BEING CONSIDEREDPurpose
Supplement 10-17
Mathematical programming models covered in Ch 11, Supplement
• Transportation Model• Transshipment Model
Not included are:Shortest RouteMinimal Spanning TreeMaximal flowAssignment problemmany others
Copyright 2011 John Wiley & Sons, Inc.
Transportation Model
• A model formulated for a class of problems with the following characteristics• items are transported from a number of sources to
a number of destinations at minimum cost• each source supplies a fixed number of units• each destination has a fixed demand for units
• Solution Methods• stepping-stone (by hand—a heuristic algorithm)• modified distribution• Excel’s Solver (uses Dantzig’s Simplex
optimization algorithm)
Supplement 11-18
Copyright 2011 John Wiley & Sons, Inc. Supplement 11-19
Transportation Method Example
Copyright 2011 John Wiley & Sons, Inc. Supplement 11-20
Transportation Method
Copyright 2011 John Wiley & Sons, Inc.
Problem Formulation with Excel
Supplement 11-21
1. Click on “Data”
Total cost formula for all potato shipments in cell C10
=E5+E6+E7
=C5+D5+E5
2. Solver
Copyright 2011 John Wiley & Sons, Inc.
Solver Parameters
Supplement 11-22
Total cost
Decision variablesrepresenting
shipment routes
Constraints specifyingthat supply at the distribution centers
equals demandat the plants
Click to “solve”
Click on “Options”to activate “Assume
Linear Models”
Copyright 2011 John Wiley & Sons, Inc.
Solution
Supplement 11-23
Copyright 2006 John Wiley & Sons, Inc. Supplement 10-24
The Underlying Network
Copyright 2011 John Wiley & Sons, Inc.
Modified Problem Solution
Supplement 11-25
High cost prohibitsroute C5
Column “H” addedfor excess supply
Copyright 2011 John Wiley & Sons, Inc.
Modified Problem Settings
Supplement 11-26
Constraint changedto ≤ to reflect
supply > demand
Copyright 2011 John Wiley & Sons, Inc.
OM Tools
Supplement 11-27
Copyright 2011 John Wiley & Sons, Inc.
Transshipment Model
Supplement 11-28
Copyright 2011 John Wiley & Sons, Inc.
Transshipment Model Solution
Supplement 11-29
=SUM(B6:B7) =SUM(B6:D6)
=SUM(C13:C15)
=SUM(C13:E13)
=C8-F14= B8-F13, the amount shipped
into KC equals the amountshipped out
Copyright 2011 John Wiley & Sons, Inc.
Transshipment Settings
Supplement 11-30
Transshipment constraints
Supplement 10-31
For problems in which there is an underlying network:
• There are easy (fast) solutions– An exception is the traveling salesman problem
• The solutions are always integer ones• {How about solving a 50,000 node problem in
less than a minute on a laptop??}
Supplement 10-32
CARLTON PHARMACEUTICALS
• Carlton Pharmaceuticals supplies drugs and other medical supplies.
• It has three plants in: Cleveland, Detroit, Greensboro.
• It has four distribution centers in: Boston, Richmond, Atlanta, St. Louis.
• Management at Carlton would like to ship cases of a certain vaccine as economically as possible.
Supplement 10-33
• Data– Unit shipping cost, supply, and demand
• Assumptions– Unit shipping cost is constant.– All the shipping occurs simultaneously.– The only transportation considered is between sources
and destinations.– Total supply equals total demand.
To From Boston Richmond Atlanta St. Louis Supply Cleveland $35 30 40 32 1200 Detroit 37 40 42 25 1000 Greensboro 40 15 20 28 800 Demand 1100 400 750 750
To From Boston Richmond Atlanta St. Louis Supply Cleveland $35 30 40 32 1200 Detroit 37 40 42 25 1000 Greensboro 40 15 20 28 800 Demand 1100 400 750 750
Supplement 10-34
NETWORK
REPRESENTATION Boston
Richmond
Atlanta
St.Louis
Destinations
Sources
Cleveland
Detroit
Greensboro
S1=1200
S2=1000
S3= 800
D1=1100
D2=400
D3=750
D4=750
37
40
42
32
35
40
30
25
3515
20
28
Supplement 10-35
• The Associated Linear Programming Model
– The structure of the model is:
Minimize <Total Shipping Cost>
ST
[Amount shipped from a source] = [Supply at that source]
[Amount received at a destination] = [Demand at that destination]
– Decision variables
Xij = amount shipped from source i to destination j.
where: i=1 (Cleveland), 2 (Detroit), 3 (Greensboro)
j=1 (Boston), 2 (Richmond), 3 (Atlanta), 4(St.Louis)
Supplement 10-36
Boston
Richmond
Atlanta
St.Louis
D1=1100
D2=400
D3=750
D4=750
The supply constraints
Cleveland S1=1200
X11
X12
X13
X14
Supply from Cleveland X11+X12+X13+X14 = 1200
DetroitS2=1000
X21
X22
X23
X24
Supply from Detroit X21+X22+X23+X24 = 1000
GreensboroS3= 800
X31
X32
X33
X34
Supply from Greensboro X31+X32+X33+X34 = 800
Supplement 10-37
• The complete mathematical programming model
Minimize 35X11+30X12+40X13+ 32X14 +37X21+40X22+42X23+25X24+ 40X31+15X32+20X33+38X34
ST
Supply constrraints:X11+ X12+ X13+ X14 1200
X21+ X22+ X23+ X24 1000X31+ X32+ X33+ X34 800
Demand constraints: X11+ X21+ X31 1000
X12+ X22+ X32 400X13+ X23+ X33 750
X14+ X24+ X34 750
All Xij are nonnegative
===
====
Supplement 10-38
Excel Optimal Solution
CARLTON PHARMACEUTICALS
UNIT COSTSBOSTON RICHMOND ATLANTA ST.LOUIS SUPPLIES
CLEVELAND 35.00$ 30.00$ 40.00$ 32.00$ 1200DETROIT 37.00$ 40.00$ 42.00$ 25.00$ 1000GREENSBORO 40.00$ 15.00$ 20.00$ 28.00$ 800
DEMANDS 1100 400 750 750
SHIPMENTS (CASES)BOSTON RICHMOND ATLANTA ST.LOUIS TOTAL
CLEVELAND 850 350 0 0 1200DETROIT 250 0 0 750 1000GREENSBORO 0 50 750 0 800
TOTAL 1100 400 750 750 TOTAL COST = 84000
Supplement 10-39
Range of optimality
WINQSB Sensitivity AnalysisWINQSB Sensitivity Analysis
If this path is used, the total cost will increase by $5 per unit shipped along it
Supplement 10-40
Range of feasibility
Shadow prices for warehouses - the cost resulting from 1 extra case of vaccine demanded at the warehouse
Shadow prices for plants - the savings incurred for each extra case of vaccine available at the plant
Supplement 10-41
Transshipment Model
Supplement 10-42
Transshipment Model: Solution
Supplement 10-43
DEPOT MAX
A General Network Problem
• Depot Max has six stores.– Stores 5 and 6 are running low on the model
65A Arcadia workstation, and need a total of 25 additional units.
– Stores 1 and 2 are ordered to ship a total of 25 units to stores 5 and 6.
– Stores 3 and 4 are transshipment nodes with no demand or supply of their own.
Supplement 10-44
• Other restrictions– There is a maximum limit for quantities shipped on
various routes.– There are different unit transportation costs for
different routes.
• Depot Max wishes to transport the available workstations at minimum total cost.
Copyright 2006 John Wiley & Sons, Inc. Supplement 10-45
1
2 4
3 5
6
5
10
20
6
15
12
7
15
117
Transportation unit cost
• DATA:
Network presentation–Supply nodes: Net flow out of the node] = [Supply at the node]X12 + X13 + X15 - X21 = 10 (Node 1)X21 + X24 - X12 = 15 (Node 2)
–Intermediate transshipment nodes: [Total flow out of the node] = [Total flow into the node]X34+X35 = X13 (Node 3)X46 = X24 + X34 (Node 4)
–Demand nodes:[Net flow into the node] = [Demand for the node]X15 + X35 +X65 - X56 = 12 (Node 5)X46 +X56 - X65 = 13 (Node 6)
Arcs: Upper bound and lower bound constraints:
0 X Uij ij
Supplement 10-46
• The Complete mathematical model
Minimize X X X X X X X X X XST
5 12 10 13 20 15 6 21 15 24 12 34 7 35 15 46 11 56 7 65
X12 + X13 + X15 - X21 = 10
- X12 + X21 + X24 = 15
- X13 + X34 + X35 = 0
- X24 - X34 + X46 = 0
- X15 - X35 + X56 - X65 = -12
- X46 - X56 + X65 = -13
0 X12 3; 0 X13 12; 0 X15 6; 0 X21 7; 0 X24 10; 0 X34 8; 0 X35 8;
0 X46 17; 0 X56 7; 0 X65 5
Copyright 2006 John Wiley & Sons, Inc. Supplement 10-47
WINQSB Input DataWINQSB Input Data
Copyright 2006 John Wiley & Sons, Inc. Supplement 10-48
WINQSB Optimal SolutionWINQSB Optimal Solution
Supplement 10-49
MONTPELIER SKI COMPANY Using a Transportation model for production scheduling
– Montpelier is planning its production of skis for the months of July, August, and September.
– Production capacity and unit production cost will change from month to month.
– The company can use both regular time and overtime to produce skis.
– Production levels should meet both demand forecasts and end-of-quarter inventory requirement.
– Management would like to schedule production to minimize its costs for the quarter.
Supplement 10-50
• Data:– Initial inventory = 200 pairs– Ending inventory required =1200 pairs– Production capacity for the next quarter = 400 pairs in
regular time.
= 200 pairs in overtime.
– Holding cost rate is 3% per month per ski.
– Production capacity, and forecasted demand for this quarter (in pairs of skis), and production cost per unit (by months)
Forecasted Production Production Costs Month Demand Capacity Regular Time OvertimeJuly 400 1000 25 30August 600 800 26 32September 1000 400 29 37
Forecasted Production Production Costs Month Demand Capacity Regular Time OvertimeJuly 400 1000 25 30August 600 800 26 32September 1000 400 29 37
Supplement 10-51
• Analysis of demand:– Net demand to satisfy in July = 400 - 200 = 200 pairs
– Net demand in August = 600– Net demand in September = 1000 + 1200 = 2200 pairs
• Analysis of Supplies:– Production capacities are thought of as supplies.– There are two sets of “supplies”:
• Set 1- Regular time supply (production capacity)• Set 2 - Overtime supply
Initial inventory
Forecasted demand In house inventory
• Analysis of Unit costs Unit cost = [Unit production cost] +
[Unit holding cost per month][the number of months stays in inventory] Example: A unit produced in July in Regular time and sold in
September costs 25+ (3%)(25)(2 months) = $26.50
Supplement 10-52
Network representation
2525.7526.50 0 30
30.9031.80
0
+M
26
26.78
0
+M
32
32.96
0
+M
+M
29
0
+M
+M
37
0
ProductionMonth/period
Monthsold
JulyR/T
July O/T
Aug.R/T
Aug.O/T
Sept.R/T
Sept.O/T
July
Aug.
Sept.
Dummy
1000
500
800
400
400
200
200
600
300
2200
Demand
Prod
uctio
n Ca
pacit
y
July R/T
Copyright 2006 John Wiley & Sons, Inc. Supplement 10-53
Source: July production in R/TDestination: July‘s demand.
Source: Aug. production in O/TDestination: Sept.’s demand
32+(.03)(32)=$32.96Unit cost= $25 (production)Unit cost =Production+one month holding cost
Copyright 2006 John Wiley & Sons, Inc. Supplement 10-54
Supplement 10-55
• Summary of the optimal solution– In July produce at capacity (1000 pairs in R/T, and 500
pairs in O/T). Store 1500-200 = 1300 at the end of July.
– In August, produce 800 pairs in R/T, and 300 in O/T.
Store additional 800 + 300 - 600 = 500 pairs.
– In September, produce 400 pairs (clearly in R/T). With
1000 pairs
retail demand, there will be
(1300 + 500) + 400 - 1000 = 1200 pairs available for
shipment to
Ski Chalet.Inventory + Production -
Demand
Copyright 2006 John Wiley & Sons, Inc. Supplement 10-56
Problem 4-25
Copyright 2006 John Wiley & Sons, Inc. Supplement 10-57
Copyright 2006 John Wiley & Sons, Inc. Supplement 10-58
Copyright 2006 John Wiley & Sons, Inc. Supplement 10-59
Copyright 2006 John Wiley & Sons, Inc. Supplement 10-60
Supplement 10-61
6.3 The Assignment Problem
• Problem definition– m workers are to be assigned to m jobs
– A unit cost (or profit) Cij is associated with worker i performing job j.
– Minimize the total cost (or maximize the total profit) of assigning workers to job so that each worker is assigned a job, and each job is performed.
Supplement 10-62
BALLSTON ELECTRONICS
• Five different electrical devices produced on five production lines, are needed to be inspected.
• The travel time of finished goods to inspection areas depends on both the production line and the inspection area.
• Management wishes to designate a separate inspection area to inspect the products such that the total travel time is minimized.
Supplement 10-63
• Data: Travel time in minutes from assembly lines to inspection areas.
Inspection AreaA B C D E
1 10 4 6 10 12Assembly 2 11 7 7 9 14 Lines 3 13 8 12 14 15
4 14 16 13 17 175 19 17 11 20 19
Inspection AreaA B C D E
1 10 4 6 10 12Assembly 2 11 7 7 9 14 Lines 3 13 8 12 14 15
4 14 16 13 17 175 19 17 11 20 19
Supplement 10-64
NETWORK REPRESENTATION
1
2
3
4
5
Assembly Line Inspection AreasA
B
C
D
E
S1=1
S2=1
S3=1
S4=1
S5=1
D1=1
D2=1
D3=1
D4=1
D5=1
Supplement 10-65
• Assumptions and restrictions
– The number of workers equals the number of jobs.
– Given a balanced problem, each worker is assigned exactly once, and each job is performed by exactly one worker.
– For an unbalanced problem “dummy” workers (in case there are more jobs than workers), or “dummy” jobs (in case there are more workers than jobs) are added to balance the problem.
Supplement 10-66
• Computer solutions– A complete enumeration is not efficient even for
moderately large problems (with m=8, m! > 40,000 is the number of assignments to enumerate).
– The Hungarian method provides an efficient solution procedure.
• Special cases– A worker is unable to perform a particular job.– A worker can be assigned to more than one job.– A maximization assignment problem.
Supplement 10-67
6.5 The Shortest Path Problem
• For a given network find the path of minimum distance, time, or cost from a starting point,the start node, to a destination, the terminal node.
• Problem definition– There are n nodes, beginning with start node 1 and
ending with terminal node n.– Bi-directional arcs connect connected nodes i and j
with nonnegative distances, d i j.
– Find the path of minimum total distance that connects node 1 to node n.
Supplement 10-68
Fairway Van Lines Determine the shortest route from Seattle to El Paso
over the following network highways.
Supplement 10-69
Salt Lake City
1 2
3 4
56
7 8
9
1011
1213 14
15
16
17 18 19
El Paso
Seattle
Boise
Portland
Butte
Cheyenne
Reno
Sac.
Bakersfield
Las VegasDenver
Albuque.
KingmanBarstow
Los Angeles
San Diego Tucson
Phoenix
599
691497180
432 345
440
102
452
621
420
526
138
291
280
432
108
469207
155114
386403
118
425 314
Supplement 10-70
• Solution - a linear programming approach
Decision variables
X ij
10 if a truck travels on the highway from city i to city j otherwise
Objective = Minimize S dijXij
Supplement 10-71
7
2
Salt Lake City
1
3 4
Seattle
Boise
Portland
599
497180
432 345
Butte
[The number of highways traveled out of Seattle (the start node)] = 1X12 + X13 + X14 = 1
In a similar manner:[The number of highways traveled into El Paso (terminal node)] = 1X12,19 + X16,19 + X18,19 = 1
[The number of highways used to travel into a city] = [The number of highways traveled leaving the city]. For example, in Boise (City 4):X14 + X34 +X74 = X41 + X43 + X47.
Subject to the following constraints:
Nonnegativity constraints
Copyright 2006 John Wiley & Sons, Inc. Supplement 10-72
WINQSB Optimal SolutionWINQSB Optimal Solution
Supplement 10-73
• Solution - a network approach
The Dijkstra’s algorithm:– Find the shortest distance from the “START” node to every
other node in the network, in the order of the closet nodes to the “START”.
– Once the shortest route to the m closest node is determined, the shortest route to the (m+1) closest node can be easily determined.
– This algorithm finds the shortest route from the start to all the nodes in the network.
Supplement 10-74
SEA.Salt Lake City
1 2
3 4
56
7 8
9
1011
1213 14
15
16
17 18 19
El Paso
Seattle
Boise
Portland
Butte
Cheyene
Reno
Sac.
Bakersfield
Las VegasDenver
Albuque.
KingmanBarstow
Los Angeles
San Diego Tucson
Pheonix
599
691497180
432 345
440
102
452
621
420
526
138
291
280
432
108
469207
155114
386403
118
425 314
BUT599
POR
180
497BOI
599
180
497POR.
BOI432
SAC602
+
+
=
=
612
782
BOI
BOIBOI.
345SLC+ =
842
BUT.
SLC
420
CHY.691
+
+
=
=
1119
1290
SLC.
SLCSLC.
SAC.
An illustration of the Dijkstra’s algorithm
… and so on until the whole network is covered.
Supplement 10-75
6.6 The Minimal Spanning Tree
• This problem arises when all the nodes of a given network must be connected to one another, without any loop.
• The minimal spanning tree approach is appropriate for problems for which redundancy is expensive, or the flow along the arcs is considered instantaneous.
Supplement 10-76
THE METROPOLITAN TRANSIT DISTRICT
• The City of Vancouver is planning the development of a
new light rail transportation system.
• The system should link 8 residential and commercialcenters.
• The Metropolitan transit district needs to select the set of lines that will connect all the centers at a minimum total cost.
• The network describes:– feasible lines that have been drafted,– minimum possible cost for taxpayers per line.
Supplement 10-77
5
2 6
4
7
81
3
West Side
North Side University
BusinessDistrict
East SideShoppingCenter
South Side
City Center
33
50
30
55
34
28
32
35
39
45
38
43
44
41
3736
40
SPANNING TREE NETWORK PRESENTATION
Supplement 10-78
• Solution - a network approach– The algorithm that solves this problem is a very easy
(“trivial”) procedure.– It belongs to a class of “greedy” algorithms.– The algorithm:
• Start by selecting the arc with the smallest arc length.
• At each iteration, add the next smallest arc length to the set of arcs already selected (provided no loop is constructed).
• Finish when all nodes are connected.
• Computer solution – Input consists of the number of nodes, the arc length,
and the network description.
Copyright 2006 John Wiley & Sons, Inc. Supplement 10-79
WINQSB Optimal Solution
Supplement 10-80
ShoppingCenter
Loop
5
2 6
4
7
81
3
West Side
North Side
University
BusinessDistrict
East Side
South Side
City Center
33
50
30
55
34
28
32
35
39
45
38
43
44
41
3736
40
Total Cost = $236 million
OPTIMAL SOLUTIONNETWORKREPRESENTATION
Copyright 2011 John Wiley & Sons, Inc. Supplement 11-81
Copyright 2011 John Wiley & Sons, Inc.All rights reserved. Reproduction or translation of this work beyond that permitted in section 117 of the 1976 United States Copyright Act without express permission of the copyright owner is unlawful. Request for further information should be addressed to the Permission Department, John Wiley & Sons, Inc. The purchaser may make back-up copies for his/her own use only and not for distribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages caused by the use of these programs or from the use of the information herein.