Professional Documents
Culture Documents
• Optimal solution
100 units from Des Moines to Albuquerque
200 units from Evansville to Boston
100 units from Evansville to Cleveland
200 units from Ft. Lauderdale to Albuquerque
100 units from Ft. Lauderdale to Cleveland
Total cost = $3,900
Linear Program for Transportation
FIGURE 1 – Network Representation of a Transportation Problem
Source Destination
Supply Demand
$8
Evansville $4 Boston
300 200
(Source 2) (Destination 2)
$3
$9
$7 Cleveland
300 Fort Lauderdale 200
(Source 3) $5 (Destination 3)
Using Excel QM
PROGRAM 1 – Executive Furniture Corporation Solution in Excel 2013 Using Excel QM
A General LP Model for Transportation
Problems
Let
Xij =number of units shipped from source i to
destination j
cij = cost of one unit from source i to destination j
si = supply at source i
dj = demand at destination j
A General LP Model for Transportation
Problems
n m
Minimize cost = åå cij xij
j=1 i-1
Subject to:
n
åx ij £ si i = 1,2,...,m
j=1
m
åx ij = dj j = 1,2...,n
i=1
MONTHLY COST TO
DEMAND PRODUCTION MONTHLY PRODUCE
WAREHOUSE (UNITS) PLANT SUPPLY ONE UNIT ($)
Detroit 10,000 Cincinnati 15,000 48
Dallas 12,000 Salt Lake City 6,000 50
New York 15,000 Pittsburgh 14,000 52
Los Angeles 9,000 35,000
46,000
Supply needed from a new plant = 46,000 – 35,000 = 11,000 units per month
TO LOS
FROM DETROIT DALLAS NEW YORK ANGELES
CINCINNATI $25 $55 $40 $60
SALT LAKE CITY 35 30 50 40
PITTSBURGH 36 45 26 66
SEATTLE 60 38 65 27
BIRMINGHAM 35 30 41 50
Where
i = 1, 2, 3, 4 with 1 = Cincinnati, 2 = Salt Lake City, 3 =
Pittsburgh, and 4 = Seattle
j = 1, 2, 3, 4 with 1 = Detroit, 2 = Dallas, 3 = New York, and 4 =
Los Angeles
Facility Location Analysis
Minimize total cost = 73X11 + 103X12 + 88X13 + 108X14 + 85X21 + 80X22 +
100X23 + 90X24 + 88X31 + 97X32 + 78X33
+ 118X34 + 113X41 + 91X42 + 118X43 + 80X44
Subject to:
X11 + X21 + X31 + X41 = 10,000 Detroit demand
X12 + X22 + X32 + X42 = 12,000 Dallas demand
X13 + X23 + X33 + X43 = 15,000 New York demand
X14 + X24 + X34 + X44 = 9,000 Los Angeles demand
X11 + X12 + X13 + X14 ≤ 15,000 Cincinnati supply
X21 + X22 + X23 + X24 ≤ 6,000 Salt Lake City supply
X31 + X32 + X33 + X34 ≤ 14,000 Pittsburgh supply
X41 + X42 + X43 + X44 ≤ 11,000 Seattle supply
All variables Xij ≥ 0
Facility Location Analysis
The total cost for the Seattle
alternative = $3,704,000
Minimize total cost = 73X11 + 103X12 + 88X13 + 108X14 + 85X21 + 80X22 +
100X23 + 90X24 + 88X31 + 97X32 + 78X33
+ 118X34 + 113X41 + 91X42 + 118X43 + 80X44
Subject to:
X11 + X21 + X31 + X41 = 10,000 Detroit demand
X12 + X22 + X32 + X42 = 12,000 Dallas demand
X13 + X23 + X33 + X43 = 15,000 New York demand
X14 + X24 + X34 + X44 = 9,000 Los Angeles demand
X11 + X12 + X13 + X14 ≤ 15,000 Cincinnati supply
X21 + X22 + X23 + X24 ≤ 6,000 Salt Lake City supply
X31 + X32 + X33 + X34 ≤ 14,000 Pittsburgh supply
X41 + X42 + X43 + X44 ≤ 11,000 Seattle supply
All variables Xij ≥ 0
Facility Location Analysis
The total cost for the Seattle
alternative = $3,704,000
Minimize total cost = 73X11 + 103X12 + 88X13 + 108X14 + 85X21 + 80X22 +
100X23 + 90X24 + 88X31 + 97X32 + 78X33
+ 118X34 + 113X41 + 91X42 + 118X43 + 80X44
Reformulating the problem for
Subject to:
the Birmingham alternative and
X11 + X21 + X31 + X41 = 10,000 Detroit demand
solving, the total cost =
X12 + X22 + X32 + X42 = 12,000 Dallas demand
$3,741,000
X13 + X23 + X33 + X43 = 15,000 New York demand
X14 + X24 + X34 + X44 = 9,000 Los Angeles demand
X11 + X12 + X13 + X14 ≤ 15,000 Cincinnati supply
X21 + X22 + X23 + X24 ≤ 6,000 Salt Lake City supply
X31 + X32 + X33 + X34 ≤ 14,000 Pittsburgh supply
X41 + X42 + X43 + X44 ≤ 11,000 Seattle supply
All variables Xij ≥ 0
Using Excel QM
PROGRAM 2 – Facility Location (Seattle) Solution in Excel 2013 Using Excel QM
Using Excel QM
PROGRAM 3 – Facility Location (Birmingham) Solution in Excel 2013 Using Excel QM
The Assignment Problem
• This class of problem determines the most efficient
assignment of people or equipment to particular
tasks
• Objective is typically to minimize total cost or
total task time
Linear Program for
Assignment Example
• The Fix-it shop has just received three new repair
projects that must be repaired quickly
1. A radio
2. A toaster oven
3. A coffee table
• Three workers with different talents are able to do
the jobs
• Owner estimates wage cost for workers on projects
• Objective – minimize total cost
Linear Program for
Assignment Example
FIGURE 2 – Assignment Problem in a Transportation Network Format
Person Project
Supply Demand
$8
Brown $10 Project 2
1 1
(Source 2) (Destination 2)
$11
$9
$12 Project 3
1 Cooper 1
(Source 3) $7 (Destination 3)
Linear Program for
Assignment Example
Let
ìï 1 if person i is assigned to project j
X ij = í
ïî 0 otherwise
where
JOB MACHINE
W X Y Z
A 10 14 16 13
B 12 13 15 12
C 9 12 12 11
D 14 16 18 16
The Transshipment Problem
• Items are being moved from a source to a destination
through an intermediate point (a transshipment point)
Example
• Frosty Machines manufactures snow blowers in Toronto
and Detroit
• Shipped to regional distribution centers in Chicago and
Buffalo
• Then shipped to supply houses in New York, Philadelphia,
and St. Louis
• Shipping costs vary by location and destination
• Snow blowers cannot be shipped directly from the factories
to the supply houses
The Transshipment Problem
FIGURE 3 – Network Representation of Transshipment Example
Philadelphia 350
(Node 6)
St. Louis
(Node 7) 300
The Transshipment Problem
TO
NEW YORK ST.
FROM CHICAGO BUFFALO CITY PHILADELPHIA LOUIS SUPPLY
Toronto $4 $7 — — — 800
Detroit $5 $7 — — — 700
Chicago — — $6 $4 $5 —
Buffalo — — $2 $3 $4 —
Demand — — 450 350 300
i = 1, 2, 3, 4
j = 3, 4, 5, 6, 7
The Transshipment Problem
Minimize cost = 4X13 + 7X14 + 5X23 + 7X24 + 6X35 + 4X36 + 5X37
+ 2X45 + 3X46 + 4X47
subject to
X13 + X14 ≤ 800 (Supply at Toronto [node 1])
X23 + X24 ≤ 700 (Supply at Detroit [node 2])
X35 + X45 = 450 (Demand at New York [node 5])
X36 + X46 = 350 (Demand at Philadelphia [node 6])
X37 + X47 = 300 (Demand at St. Louis [node 7])
X13 + X23 = X35 + X36 + X37 (Shipping through Chicago [node 3])
X14 + X24 = X45 + X46 + X47 (Shipping through Buffalo [node 4])
Xij ≥ 0 for all i and j (nonnegativity)
The Transshipment Problem
Minimize cost = 4X13 + 7X14 + 5X23 + 7X24 + 6X35 + 4X36 + 5X37
+ 2X45 + 3X46 + 4X47
subject to
X13 + X14 ≤ 800 (Supply at Toronto [node 1])
X23 + X24 ≤ 700 (Supply at Detroit [node 2])
X35 + X45 = 450 (Demand
Ship 650 units fromatToronto
New York [node 5])
to Chicago
X36 + X46 = 350 (Demand
Ship 150 units fromatToronto
Philadelphia [node 6])
to Buffalo
X37 + X47 = 300 Ship 300 units fromatDetroit
(Demand to Buffalo
St. Louis [node 7])
X13 + X23 = X35 + X36Ship
+ X350
37
units from through
(Shipping ChicagoChicago
to Philadelphia
[node 3])
X14 + X24 = X45 + X46Ship
+ X300
47
units form through
(Shipping ChicagoBuffalo
to St. Louis
[node 4])
Ship 450 units from Buffalo to New York
Xij ≥ 0 for all i and j (nonnegativity)
Total cost = $9,550
Using Excel QM
PROGRAM 5 – Excel QM Solution to Frosty Machine Transshipment Problem