Professional Documents
Culture Documents
Testing For Optimality
Testing For Optimality
OPERATIONS
RESEARCH
JASSON J. NKONGO 1
4/25/23
TRANSPORTATION
AND
ASSIGNMENTS
JASSON J. NKONGO 2
4/25/23
TESTING FOR
OPTIMALITY
JASSON J. NKONGO 3
4/25/23
Testing for Optimality
Once the first solution, has been obtained, the
next step is to determine whether this solution is
the best (optimal) or least cost solution. The
evaluation procedure involves the examination
of each unused square in the tableau to see
whether it is more desirable to move a shipment
into one of them. The purpose of this evaluation
is to determine whether a better schedule of
shipments can be obtained.
JASSON J. NKONGO 4
4/25/23
Testing for Optimality Cont…
The methods for evaluating the unused squares,
are the Stepping Stone and the Modified
Distribution Method (MODI), and these methods
will be demonstrated.
Stepping Stone Method
(a)Select unused square to be evaluated.
(b)Trace a closed path beginning with unused
square and finally networking back to same
unused square.
JASSON J. NKONGO 5
4/25/23
Stepping Stone Method Cont…
Rules for closed path
(i) Only right-angle turn is allowed.
(ii) Only stepping at stone square is allowed.
(iii) The path may skip over stone square as
well as water square.
(iv) Assign (+) and (-) signs alternatively starting
(+) sign at unused square (either clockwise
or anticlockwise).
JASSON J. NKONGO 6
4/25/23
Stepping Stone Method Cont…
(v) Calculate improvement indices. If all values
are either positive or zero then our solution
is optimal otherwise chose the most
negative valued closed path and make the
following improvements.
(vi) Choose minimum value from cells having (-)
sign. Add this to cells having (+) signs and
subtract from the cells having (-) signs.
(vii) Repeat the above steps for each unused
square.
JASSON J. NKONGO 7
4/25/23
Stepping Stone Method Cont…
NOTE: If all the indices are greater than or
equal to zero, an optimal solution has
been found. Conversely, if any of the
indices is negative, an improved (lower
cost) solution can be achieved.
JASSON J. NKONGO 8
4/25/23
Stepping Stone Method Cont…
Initial Solution (1st Tableau)
Destination
Project A Project B Project C Supply
Plant 𝑊
40 80 80 56
56 X X
Source Plant 𝑋 160 240
16 66 X 160 82
Plant 𝑌 80 160 240
X 36 41 77
Demand 72 102 41 215 /215
JASSON J. NKONGO 9
4/25/23
Stepping Stone Method Cont…
Improvement Indices for the 1st tableau are:
𝑊𝐵 = 80 – 40 + 160 − 240 = −40
𝑊𝐶 = 80 – 40 + 160 – 240 + 160 – 240 = −120
𝑋𝐶 = 160 – 240 + 160 – 240 = −160
𝑌𝐴 = 80 – 160 + 240 – 160 = 0
JASSON J. NKONGO 10
4/25/23
Stepping Stone Method Cont…
This is not optimal solution, since cells (squares)
𝑊𝐵, 𝑊𝐶, and 𝑋𝐶 have negative improvement
indices. Hence, we are supposed to prepare an
improved solution.
JASSON J. NKONGO 12
4/25/23
Stepping Stone Method Cont…
Improvement Indices for the 2nd tableau are:
𝑊𝐵 = 80 – 40 + 160 − 240 = −40
𝑊𝐶 = 80 – 40 + 160 – 160 = 40
𝑌𝐶 = 240 − 160 + 240 − 160 = 160
𝑌𝐴 = 80 – 160 + 240 – 160 = 0
JASSON J. NKONGO 13
4/25/23
Stepping Stone Method Cont…
Initial Solution (3rd Tableau)
Destination
Project A Project B Project C Supply
Plant 𝑊
40 80 80 56
31 25 X
Source Plant 𝑋 160 240
41 X 41 160 82
Plant 𝑌 80 160 240
X 77 X 77
Demand 72 102 41 215 /215
JASSON J. NKONGO 14
4/25/23
Stepping Stone Method Cont…
Improvement Indices for the 3rd tableau are:
𝑊𝐶 = 80 − 80 + 40 − 160 + 160 = 40
𝑋𝐵 = 240 − 80 + 40 − 160 = 40
𝑌𝐶 = 240 − 160 + 160 − 40 + 80 − 160 = 120
𝑌𝐴 = 80 − 160 + 80 − 40 = −40
JASSON J. NKONGO 16
4/25/23
Stepping Stone Method Cont…
Improvement Indices for the 4th tableau are:
𝑊𝐴 = 40 − 80 + 160 − 80 = 40
𝑊𝐶 = 80 − 80 + 160 − 80 + 160 − 160 = 80
𝑋𝐵 = 240 − 160 + 80 − 160 = 0
𝑌𝐶 = 240 − 160 + +160 − 80 = 160
JASSON J. NKONGO 20
4/25/23
Modified Distribution Method
Also, there is a slight difference on the features
of the transportation tableau used under the
stepping stone method and the one used for the
MODI method.
JASSON J. NKONGO 21
4/25/23
MODI Cont…
Initial Tableau
R ! /K" K# = K$ = K% = Supply
Project A Project B Project C
R# = 0 Plant 𝑊 40 80 80
56 56
R$ = Plant 𝑋 160 240 160
16 66 82
R% = Plant 𝑌 80 160 240
36 41 77
Demand 72 102 41 215/215
JASSON J. NKONGO 22
4/25/23
MODI Cont…
In the above table 𝑅 and 𝐾 represent row and
column values.
JASSON J. NKONGO 27
4/25/23
MODI Cont…
Computing the improvement index for any
unused square is accomplished in the following
manner; from the cost of an unused square
subtract the corresponding row and column
values. As a general formula, this can be stated
as follows.
JASSON J. NKONGO 28
4/25/23
MODI Cont…
Improvement index = 𝐶!" – 𝑅! – 𝐾"
𝑊𝐵 = 𝐶#$ = 80 − 0 − 120 = −40
𝑊𝐶 = 𝐶#% = 80 − 0 − 200 = −120
𝑋𝐶 = 𝐶$% = 160 − 120 − 200 = −160
𝑌𝐴 = 𝐶%# = 80 − 40 − 40 = 0
JASSON J. NKONGO 29
4/25/23
MODI Cont…
As with the stepping stone if a result is negative
further improvement is possible. When all the
indices are equal to or greater than zero, the
optimal solution has been obtained. In this case,
the solution is not optimal, and hence, an
improved solution should be prepared following
the normal procedure. Therefore, we need to
improve cell 𝑋𝐶, because it has largest negative
value.
JASSON J. NKONGO 30
4/25/23
MODI Cont…
Initial Tableau
R ! /K" K! = 40 K " = 120 K # = 40 Supply
Project A Project B Project C
R! = 0 Plant 𝑊 40 80 80
56 56
R " = 120 Plant 𝑋 160 240 160
16 25 41 82
𝑊𝐴 = 𝐶## = 40 − 0 − 0 = 40
𝑊𝐶 = 𝐶#% = 80 − 0 − 0 = 40
𝑋𝐵 = 𝐶$$ = 240 − 160 − 80 = 0
𝑌𝐶 = 𝐶%% = 240 − 80 − 0 = 160
Since the values of improved indices are greater
or equal to zero (improved indices ≥ 0). So, we
have optimal solution.
JASSON J. NKONGO 39
4/25/23
MODI Cont…
Transportation cost = 80 56 + 160 41 +
160 41 + 80 31 +
160 46
= 4480 + 6560 + 6560 + 2480 +
7360
= 27,440/=
Hence, the transportation cost is Tsh. 27,440/=
Therefore, both stepping stone and MODI give
the same optimal solution.
JASSON J. NKONGO 40
4/25/23
JASSON J. NKONGO 41
4/25/23
JASSON J. NKONGO 42