LP Lecture
LP Lecture
Method
Special method.
• Transportation
Problems and
Method to solve such
problems
Transportation Problem Cases
Destination (Warehouse)
12 . . n
1 a1
2 a2 Cij
. . Pij
.
nigirO
m am
b1 b2 . . bn
• Cij = Cost of shipping unit item from
ith Origin to j Destination
th
Categories of Transportation
Problems
A. Balanced Minimization → with
Cij
B. Unbalanced Minimization → with
Cij
C. Balanced Maximization → with
Pij
D. Unbalanced Maximization → with
Pij
A. Balanced Minimization Problem
Destinations(Warehouses)
1 2 . . n a1
1
2 a2
tnalP(snigirO
. .
. am
m
b1 b2 . . bn
• Xij = No. ofth items shipped from ith Origin
to j Destination
Formulation of Transportation Problem
as LPP
Methods to get IBFS (Initial Basic Feasible
Solution)
1. NWCM: North West Corner Method
2. RMM: Row Minima Method
3. CMM: Column Minima Method
4. MMM: Matrix Minima Method
(Least Cost Entry Method)
5. VAM: Vogel’s Approximate
NWC
M
1 2 3 4 5
1 3 2 5 2
2 2 6 5 13 11 5
3 2 10 12 10
3
10 2 4 6 7 30
2
Therefore NWCM solution is :
1 2 3 4 5
1 3 2 5
2 2 6 5 13
3 2 10 12
10 3 4 6 7 30
Z=
148
RM
M 1 2 3 4 5
1 5 5
2 1 2 10 13 3 1
3 3 3 6 12 6 3
10 3 4 6 7 30
3 2 Z=
85
Therefore RMM solution is :
1 2 3 4 5
1 5 5
2 1 2 10 13
3 3 3 6 12
10 3 4 6 7 30
Z=
85
CM
M 1 2 3 4 5
1 3 2 5 2
2 2 7 4 13 11 4
3 6 6 12 6
3
10 24 6 7 30
6 Z=
108
Therefore CMM solution is :
1 2 3 4 5
1 3 2 5
2 2 7 4 13
3 6 6 12
10 3 4 6 7 30
Z=
108
MM
M 1 2 3 4 5
1 5 5
2 1 2 10 13 3 1
3 3 3 6 12 6 3
10 3 4 6 7 30
3 2 Z=
85
Therefore MMM solution is :
1 2 3 4 5
1 5 5
2 1 2 10 13
3 3 3 6 12
10 3 4 6 7 30
Z=
85
VA Penalt
M 1 2 3 4 5 y
Numb
er
1 5 0
2 10 13 3 1
3 12 1
3 4 6 7 10
Penalt 1 2 1 0 5 30
y
Numb
er
VA
M 1 2 3 4
1 4 51 0
2 3 2
3 12 1
3 4 6 7
1 2 1 0 20
VA
M 1 3 4
1 1 1
2 3 3 3
3 12 2
3 6 47 16
1 1 0
VA
M 1 3 4
1 1 1 1
3 3 6 3 12 63 2
3 6 34 13 12 6 3
2 1 5
VAM solution is :
1 2 3 4 5
1 4 1 5
2 3 10 13
3 3 6 3 12
10 3 4 6 7 30
Z=
89
VAM solution (All Computations on one matrix)
1 2 3 4 5
1 4 1 5/1 [0,0,1,1]
2 3 10 13/3 [1,2,3]
3 3 6 3 12/6/3 [1,1,2,2]
3 4 6 7/4/3
10
[1,1,1,2] [2,2] [1,1,1,1] [0,0,0,5] [5]
30
Z=
89
Optimality Test on
IBFS
Methods : 1. Stepping Stone
Method
2. MODI Method
MODI Method Of Checking
alityCondition To Be
Satis ed :
Filled Cells = m + n -
1Where m = No. of Rows
n = No. of
columns
MODI Method for Optimality
Test
Get all ui & vj starting with any ui or vj as
zero,
such that ui + vj = cij in lled cells.
Get vacant cell Evaluation of all vacant
cells.
(VCE)ij = cij – (ui + vj)
MODI method to test Z = 89
optimality on VAM
solutions ui
+3 4 4 +4 3 1 +5 6 2
5 4
+4 +2 +6 53 1 2
3 -2 6 3 +1 7 7
5 0
vj -1 0 0 -1
-3
As (VCE)32 = -2, the solution under
test is not optimal.
For modi cation of existing ui
solution
44 : 31 6 2
5 4 53 1 2
3 -2 5 6 3 0 7 7
vj -1 0 0 -1
4 -3
1 1 4
- +
+ -
3 3
Hence, improved solution will be :
1 4
3 1
3 3 65 0
Z = 83
This solution is to be checked by MODI
Method for optimality.
Improved solution ui
: +1 4 1 + 3 4 + 6 -3
5
+ + 4 + 5 3 1
2 5 - 3
2 2 5 4
3 3 6 +2 +3 7 0 7 0
vj 6 5 5 4
4
As all vacant cell evaluations are
positive, the solution is optimal,
giving Z = 83.
MMM Solution
Z = 85
ui
4 2 03 5 2 6
-10 5 -3 4 5 2 2 1 1 -1
6
3 3 6 1 5 4 7 0 7 -1
vj 6 5 4 3 2 0
For modi cation of existing ui
solution
4 : 3 6
0 5
-10 5 -3 4 5 2 1 -1
3 3 61 5 0 7 -1
vj 6 5 4 3 2 0
5 1 4
1 2 3
Hence, improved solution will be :
1 4
3 1
3 3 6 5 0
Z = 85 – 2
Z = 83
This solution is to be checked by MODI
Method for optimality.
Improved solution ui
: 4 1 34 6 -3
5 4 53 1 -3
3 3 6 5 7 0 7 0
vj 6 5 5 4
4
As all vacant cell evaluations are
positive, the solution is optimal,
giving Z = 83.
For cases when closed gure is not
Equal or Rectangle :
1 - 3 4
+
7_ + 4 5
2
-
5 + 2 3
Degeneracy
Problem
The :
following table gives minimization transportation
problem with given allocation, check whether given solution
is optimal. If not, get the optimal solution.
X Y Z Supply
2 20 10 22
A 5 25
B 24 28 1 10 10
0
C 27 25 1 18
15
5
D 10 2 20 15 20
0
Deman 25 20 25
d
2
25 0 ∈ 10 22 5
-1 24 2 10 10 10
8
-6 27 25 18
15 18
-2 10 2
2 0 ∈ 15 15
0 0
15 5 0
Z = 1270
25 ∈ 5 20
20 20
Hence, improved solution will
be :
2
5 0 2 10 22
-3 25
24 0 2 10 10 10
8
27 25 15 18 18
2 10 2 15 15
0 0 ∈
-5 -15 0
Z = 1270 – (20 X 20) =
5 5 ∈
20 ∈ 20
O2 9 3 5 5
3 8
Z = 45
Transshipment
OProblem
1 O 2 : D1 D2
O1 0 11 2 7 3 6 11 + 6
O2 2 0 11 9 3 5 11 + 5
D1 7 8 0 11 4 11
D2 2 2 2 3 0 8 11
11 11 11 + 3 11 + 8
Z = 39
O1 O2
6 5
D1 D2
3
Home Assignments :
[1]
O1 O2 D1 D2
O1 0 1 3 4 5
O2 1 0 2 4 25
D1 3 2 0 1
D2 4 4 1 0
2 10
0
[2]
O1 O2 D1 D2
O1 0 2 2 1 8
O2 1 0 2 3 3
D1 2 2 0 2
D2 1 3 2 0
7 4
[3]
O1 O2 O3 O4 D1 D2
O1 4
0 20 5 25 12
O2
10 6 10 5
O3 0 20
10 7
O4 15 0 8 45
D1 10 6
20 25 0 30
D2 18 15 10
20 60 0
10 4