Or CH 4
Or CH 4
Transportation Model
(Special cases of LP)
Objective of the chapter
Example
• Fast modes of transport such as airplanes are
very responsive but also more costly.
• Slower modes such as ship and rail are very cost
efficient but not as responsive
Overview of transportation
Distributers
Suppliers Producer 1. Wholesalers Consumers
2. Retailers
Transport
Mode of transport
Origin Destination
Transportation
Assumptions…
9-12
The Transportation Problem
9-13
The Transportation Problem
Network Representation of a Transportation Problem, with
Costs, Demands and Supplies
Executive Furniture Company
Factories Warehouses
Supply (Sources) (Destinations) Demand
$5
100 Units Addis abeba jima 300 Units
$4
$3
$8
300 Units Hawasa $4 Nekemte 200 Units
$3
$9
$7
300 Units bahardar Adama 200 Units
$5
9-14
Linear Programming for the Transportation: Example
9-15
Linear Programming for the Transportation: Example
• si = supply at source i.
• dj = demand at destination j.
9-17
A General LP Model for Transportation Problems
Minimize cost =
Subject to:
i = 1, 2,…, m.
j = 1, 2, …, n.
9-18
The Assignment Problem
• This type of problem determines the most
efficient assignment of people to particular tasks,
etc.
• Objective is typically to minimize total cost or
total task time.
9-19
Linear Program for Assignment: Example
• The Fix-it Shop has just received three new repair
projects that must be repaired quickly: a radio, a toaster
oven, and a coffee table.
• Three workers with different talents are able to do the
jobs.
• The owner estimates the cost in wages if the workers are
assigned to each of the three jobs.
• Objective: minimize total cost.
9-20
Example of an Assignment Problem in a Transportation
Network Format
9-21
Linear Program for Assignment: Example
Let:
– Xij = 1 if person i is assigned to project j, or 0
otherwise.
Where:
– i = 1,2,3 with 1 = Adams, 2 = Brown, and 3 = Cooper
– j = 1,2,3, with 1 = Project 1, 2 = Project 2, and 3 =
Project 3.
9-22
Linear Program for Assignment: Example
Minimize total cost = 11X11 + 14X12 +
6X13 + 8X21 + 10X22 + 11X23 + 9X31
+ 12X32 + 7X33
Subject to:
– X11 + X12 + X13 ≤ 1
– X21 + X22 + X23 ≤ 1
– X31 + X32 + X33 ≤ 1
– X11 + X21 + X31 = 1
– X12 + X22 + X32 = 1
– X13 + X23 + X33 = 1
– Xij = 0 or 1 for all i and j
9-23
The Transportation Algorithm
9-24
Transportation Table for :Executive Furniture Corporation
Addis
Abeba
capacity
constraint
TO WAREHOUSE
WAREHOUSE WAREHOUSE
AT
FROM AT JIMA ADAMA FACTORY
NEKEMTE
CAPACITY
ADDIS ABEBA $5 $4 $3
100
FACTORY
HAWASA $8 $4 $3
300
FACTORY
BAHARDAR $9 $7 $5
300
FACTORY
WAREHOUSE
300 200 200 700
REQUIREMENTS
Cell representing a source-to-
Total supply destination (hawasa to
Cost of shipping 1 unit from ADAMA s Adama ) shipping assignment
and demand
BAHARDAR factory to Nekemte warehouse that could be made
warehouse demand 9-25
Developing an Initial Solution: Northwest Corner Rule
9-26
Developing an Initial Solution: Northwest Corner Rule
TO NEKEMTE
JIMA (J) ADAMA (A) FACTORY
FROM (N)
CAPACITY
$5 $4 $3
ADDIS ABEBA
100 100
(AA)
$8 $4 $3
HAWASA
300
(H)
$9 $7 $5
BAHARDAR (BH) 300
WAREHOUSE
300 200 200 700
REQUIREMENTS
9-28
Developing an Initial Solution: Northwest Corner Rule
$8 $4 $3
Hawasa
200 300
(H)
$9 $7 $5
Ba hardar(BH) 300
WAREHOUSE
300 200 200 700
REQUIREMENTS
9-29
Developing an Initial Solution: Northwest Corner Rule
3. Assign 100 units from HAWASA to NEKEMTE. The HAWASA supply has now
been exhausted but NEKEMTE is still 100 units short. We move down
vertically to the next row in the NEKEMTE column.
TO N ekemte
jima (J) Adama(A) FACTORY
FROM (N)
CAPACITY
$5 $4 $3
Addis Abeba
100 100
(AA)
$8 $4 $3
HAWASA
200 100 300
(H)
$9 $7 $5
BAHARDAR(Bh) 300
WAREHOUSE
300 200 200 700
REQUIREMENTS
9-30
Developing an Initial Solution: Northwest Corner Rule
4. Assign 100 units from BAHARDAR to NEKEMTE . This fulfills
NEKEMTES’ demand and BAHARDAR still has 200 units available.
TO NEKEMTE
JIMA(J) ADAMA (A) FACTORY
FROM (N)
CAPACITY
$5 $4 $3
ADDIS ABEBA
100 100
(AA)
$8 $4 $3
HAWASA
200 100 300
(H)
$9 $7 $5
BAHARDAR(BH) 100 300
WAREHOUSE
300 200 200 700
REQUIREMENTS
9-31
Developing an Initial Solution: Northwest Corner Rule
$8 $4 $3
Hawasa
200 100 300
(H)
$9 $7 $5
Bahardar (BH) 100 200 300
WAREHOUSE
300 200 200 700
REQUIREMENTS
9-32
Developing an Initial Solution: Northwest Corner Rule
H J 200 8 1,600
H N 100 4 400
BH N 100 7 700
BH A 200 5 1,000
4,200
9-33
Stepping-Stone Method: Finding a Least Cost Solution
9-35
Testing the Solution for Possible Improvement
9-36
Five Steps to Test Unused Squares with the Stepping-Stone
Method
1. Select an unused square to evaluate.
2. Beginning at this square, trace a closed path back to the original
square via squares that are currently being used with only
horizontal or vertical moves allowed.
3. Beginning with a plus (+) sign at the unused square, place
alternate minus (–) signs and plus signs on each corner square of
the closed path just traced.
9-37
Five Steps to Test Unused Squares with the
Stepping-Stone Method
9-38
Five Steps to Test Unused Squares with the
Stepping-Stone Method
For the Executive Furniture Corporation data:
Steps 1 and 2. Beginning with Addis Abeba– nekemte route we
trace a closed path using only currently occupied squares,
alternately placing plus and minus signs in the corners of the
path.
9-39
Five Steps to Test Unused Squares with the Stepping-Stone
Method
$5 $4
Nekemte shipping route Factory
AA 100
– +
+ $8 – $4
Factory
H 200 100
TO FACTORY
jima Nekemte Adama
FROM CAPACITY
$5 $4 $3
Addis Abeba 100 100
$8 $4 $3
Hawasa 200 100 300
$9 $7 $5
Bahardar 100 200 300
WAREHOUSE
300 200 200 700
REQUIREMENTS
9-41
Five Steps to Test Unused Squares with the
Stepping-Stone Method
Evaluating the unused Addis Abeba Warehouse J Warehouse N
99 $5 $4
–Nekemte shipping route Factory
AA 100 1
– +
+ $8 – $4
Factory 201 99
H 200 100
TO FACTORY
jima nekemte adama
FROM CAPACITY
$5 $4 $3
Addis Abeba 100 100
$8 $4 $3
Hawasa 200 100 300
$9 $7 $5
Bahardar 100 200 300
WAREHOUSE
300 200 200 700
REQUIREMENTS
9-42
Five Steps to Test Unused Squares with the
Stepping-Stone Method
Evaluating the unused Addis Warehouse J Warehouse N
99 $5 $4
Abeba–nekemte shipping route Factory
AA 100 1
– +
+ $8 – $4
Factory 201 99
H 200 100
TO FACTORY
Jima Nekemte Adama
FROM Result of
CAPACITY Proposed Shift
$5 $4 $3 in Allocation
Addis Abeba 100 100
= 1 x $4
$8 $4 $3
– 1 x $5
Hawasa 200 100 300 + 1 x $8
– 1 x $4 = +$3
$9 $7 $5
Bahardar 100 200 300
WAREHOUSE
REQUIREMENTS
300 200 200 700 Table 9.4
9-43
Five Steps to Test Unused Squares with the
Stepping-Stone Method
9-44
Five Steps to Test Unused Squares with the
Stepping-Stone Method
9-45
Five Steps to Test Unused Squares with the
Stepping-Stone Method
Evaluating the Addis Abeba – Adama Shipping Route
TO FACTORY
Jima Nekemte Adama
FROM CAPACITY
$5 $4 Start $3
Addis Abeba 100 100
– +
$8 $4 $3
Hawasa 200 100 300
+ –
$9 $7 $5
Bahardar 100 200 300
+ –
WAREHOUSE
300 200 200 700
REQUIREMENTS
Table 9.5
Addis Abeba–adama
improvement index = I AAA = + $3 – $5 + $8 – $4 + $7 – $5 = + $4
9-46
Five Steps to Test Unused Squares with the Stepping-Stone Method
Opening the Addis Abeba –Adama route will not lower our total shipping costs.
Evaluating the other two routes we find:
9-47
Obtaining an Improved Solution
9-48
Obtaining an Improved Solution
• To obtain a new solution, that number is added to all squares on
the closed path with plus signs and subtracted from all squares
the closed path with minus signs.
• All other squares are unchanged.
• In this case, the maximum number that can be shipped is 100
desks as this is the smallest value in a box with a negative sign
(BhN route).
• We add 100 units to the BhJ and HN routes and subtract 100 from
BhN and HJ routes.
• This leaves balanced rows and columns and an improved solution.
9-49
Obtaining an Improved Solution
$8 $4 $3
H 200 100 300
– +
$9 $7 $5
Bh 100 200 300
+ –
WAREHOUSE
300 200 200 700
REQUIREMENTS
9-50
Obtaining an Improved Solution
TO FACTORY
J N A
FROM CAPACITY
$5 $4 $3
AA 100 100
$8 $4 $3
H 100 200 300
$9 $7 $5
BH 100 200 300
WAREHOUSE
300 200 200 700
REQUIREMENTS
Total shipping costs have been reduced by (100 units) x ($2 saved per unit) and
now equals $4,000.
9-51
Obtaining an Improved Solution
• This second solution may or may not be optimal.
• To determine whether further improvement is possible, we
return to the first five steps to test each square that is now
unused.
• The four new improvement indices are:
AA to N = IAAN = + $4 – $5 + $8 – $4 = + $3
(closed path: + AAN – AAJ + HJ – HN)
AA to A= IAAA = + $3 – $5 + $9 – $5 = + $2
(closed path: + AAA – AAJ + BhJ – BhA)
H to A = IHA = + $3 – $8 + $9 – $5 = – $1
(closed path: + HA– HJ + BhJ – BhA)
Bh to N = IBhN = + $7 – $4 + $8 – $9 = + $2
(closed path: + BhN – HN + HJ – BhJ)
9-52
Obtaining an Improved Solution
TO FACTORY
J N A
FROM CAPACITY
$5 $4 $3
AA 100 100
H 100
$8
200
$4 Start $3
300
– +
$9 $7 $5
Bh 100 200 300
+ –
WAREHOUSE
300 200 200 700
REQUIREMENTS
AA J 100 5 500
H N 200 4 800
H J 100 3 300
Bh A 200 9 1,800
Bh A 100 5 500
3,900
9-54
Obtaining an Improved Solution
$5 $4 $3
AA 100 100
$8 $4 $3
H 200 100 300
$9 $7 $5
Bh 200 100 300
WAREHOUSE
300 200 200 700
REQUIREMENTS
9-55
Obtaining an Improved Solution
AA to N = IAAN = + $4 – $5 + $9 – $5 + $3 – $4 = + $2
(closed path: + AAN – AAJ + BhJ – BhA + HA – HN)
AA to A = IAAA = + $3 – $5 + $9 – $5 = + $2
(closed path: + AAA– AAJ + BhJ – BhA)
H to J = IHJ = + $8 – $9 + $5 – $3 = + $1
(closed path: + HJ – Bhj + BhA – HA)
Bh to N = IBhN = + $7 – $5 + $3 – $4 = + $1
(closed path: + BhN – BhA + HA – HN)
9-56
Reading
Assignment
9-57
Unbalanced Transportation Problems
9-58
Special Situations with the Transportation
Algorithm
• Unbalanced Transportation Problems
– In either case, shipping cost coefficients of zero are assigned to each
dummy location or route as no goods will actually be shipped.
– Any units assigned to a dummy destination represent excess capacity.
– Any units assigned to a dummy source represent unmet demand.
9-59
Demand Less Than Supply
9-60
Demand Less Than Supply
$8 $4 $3 0
E 50 200 50 300
$9 $7 $5 0
F 150 150 300
WAREHOUSE
300 200 200 150 850
REQUIREMENTS
9-62
Demand Greater than Supply
Unbalanced Transportation Table for Happy Sound Stereo Company
$10 $5 $8
PLANT X 175
$12 $7 $6
PLANT Y 75
Totals do
WAREHOUSE
250 100 150
450 not
DEMAND 500
balance
9-63
Demand Greater than Supply
Initial Solution to an Unbalanced Problem in Which Demand is Greater Than
Supply
$6 $4 $9
PLANT W 200 200
$10 $5 $8
PLANT X 50 100 25 175
$12 $7 $6
PLANT Y 75 75
0 0 0
PLANT Y 50 50
WAREHOUSE
250 100 150 500
DEMAND
9-64
Degeneracy in Transportation Problems
9-65
Degeneracy in Transportation Problems
9-66
• End of Chapter 4
9-67