Transportation Problem in Operation Research
Transportation Problem in Operation Research
Transportation Problem in Operation Research
(to p2) 1
Here, we attempt to firstly define what are them and then studying their solution (to p3) methods:
Transportation Problem
We have seen a sample of transportation (to p4) problem on slide 29 in lecture 2 Here, we study its alternative solution method
2- Atlanta
3- Pittsburgh total
200
200 700
B - Dallas
C - Detroit total
250
200 600
From Warehouse 1 2 3
To Store A $16 14 13
(to p5)
B $18 12 15
C $11 13 17
LP formulation
subject to x1A + x1B+ x1 300 x2A+ x2B + x2C 200 x3A+ x3B + x3C 200
Transportation Tableau
Here, we study its solution by firstly attempting to determine its initial tableau (to p7)
Just like the first simplex tableau!
6
(to p23)
(to p43)
initial tableau
Three different ways:
Northwest corner method (to p12) The Minimum cell cost method Vogels approximation method (VAM)
(to p9) (to p16)
Now, are these initial tableaus given us an (to p7) Optimal solution?
8
Example
(to p10)
Northeast corner
Step 1 Step 2
Max (150,200)
150 --
--
150 --
--
0 125
50
--
(to p11)
0 150
10
(to p8)
Ensure that all columns and rows added up to its respective totals.
11
Example:
(to p13)
12
Step 1 Find the cell that has the least cost Step 2: Assign as much as allocation to this cell
Step 1: Step 2:
200
Step 3: Block those cells that cannot be allocated Step 4: Repeat above steps until all allocation have been assigned.
Step 3: Second iteration, step 4
--(to p15)
200
75
14
Stop. The above tableau is an initial tableau because all allocations have been assigned
(to p8) 15
(8-6)
(11-7) (5-4)
(to p18)
(6-4)
(8-5)
(11-10)
17
Steps 2 & 3
Step 2: Highest penalty cost
(to p19)
Step 4
(to p20)
---
---
19
--(to p21)
---
---
20
---
----(to p22)
---
21
(to p8)
22
Optimal solution?
Initial solution from: Northeast cost, total cost =$5,925 The min cost, total cost =$4,550 VAM, total cost = $5,125
(note: here, we are not saying the second one always better!)
It shows that the second one has the min (to p24) cost, but is it the optimal solution?
23
Solution methods
We need a method, like the simplex method, to check and obtain the optimal solution Two methods: 1. Stepping-stone method 2. Modified distributed method (MODI)
(to p25)
(to p30)
(to p7) 24
Stepping-stone method
Let consider the following initial tableau from the Min Cost algorithm
(to p26)
25
Then we have
let consider this non basic variable
(to p27)
26
Stepping stone
(to p28)
The above saying that, we add min value of all ve cells into cell that has + sign, and subtracts the same value to the -ve cells Thus, max ve is min (200,25) = 25, and we add 25 to cell A1 and A3, and subtract it from B1 and A3
27
Stepping stone
The above tableaus give min cost = 25*6 + 120*10 + 175*11 175*4 + 100* 5 = $4525 We can repeat this process to all possible non-basic cells in that above tableau until one has the min cost! NOT a Good solution method
(to p29)
28
29
30
Procedure (MODI)
Step 0: let ui, v , cij variables represent rows, columns, and cost in the
transportation tableau, respectively
Step 1: (a) form a set of equations that uses to represent all basic variables
ui + vj = cij
(b) solve variables by assign one variable = 0 Step2: (a) form a set of equations use to represent non-basic variable (or empty cell) as such
cij ui vj = kij
(b) solve variables by using step 1b information Step 3: Select the cell that has the most ve value in 2b Step 4: Use stepping-stone method to allocate resource to cell in step 3 Step 5: Repeat the above steps until all cells in 2a has no negative value
Example
(to p32)
(to p24) 31
MODI
Consider to this initial tableau:
Step 0: let ui, v , cij variables represent rows, columns, and cost in the transportation tableau, respectively (to p33)
32
Step 0
C3A
Step 1: (a) form a set of equations that uses to represent all basic variables ui + vj = cij
(to p34)
33
ui + vj = cij
(to p35)
34
(to p36)
Step2: (a & b)
35
Step2: (a & b)
Note this may look difficult and complicated, however, we can add these V=values into the above tableau as well (to p37)
36
6-0-7
Step 3: Select the cell that has the most ve value in 2b
(to p38)
37
Step3
-1 -1 +2 +5
(to p39)
Select either one, (Why?) These cells mean, introduce it will reduce the min z to -1 cost unit
38
(to p40) 39
(to p41)
Step 5: we repeat steps 1-4 again for the above tableau, we have
40
Step 5
(to p42)
41
Step 5 cont
(to p31) 42
Important Notes
When start solving a transportation problem using algorithm, we need to ensure the following: (to p44) Alternative solution (to p45) Total demand total supply (to p48) Degeneracy others (to p52)
(to p7) 43
1. 2. 3. 4.
Alternative solution
When on the following k = 0 cij ui vj = kij Why?
(to p43) 44
Note that, total demand=650, and total supply = 600 How to solve it? We need to add a dummy row and assign o cost to each cell as such ..
(to p46) 45
Ddss
Ddss
(to p43) 47
Degeneracy
Example ..
(to p49)
48
Degeneracy
m rows + n column 1 = the number of cells with allocations 3 + 3 - 1 = 5 (five basic variables, and above It satisfied. If failed? considering .. (to p50)
has 5 as well!)
49
Degeneracy
If not matched, then we select an non-basic variable with least cheapest cost and considered it as a new basic variable with assigned 0 allocation to it
(to p51) 50
Degeneracy
Added this Note: we pick this over others because it has the least cost for the Min Z problem!
(to p43) 51
others
1. When one route cannot be used
Assign a big M cost to its cell
If 10 changed to Cannot delivered Then we assigned M value here
(to p43) 52
Tutorials
Module B
1, 5, 8, 13, 21, 34 these questions are attached in the following slides
53
54
55
56
57
58
59
60