Home > Operation Research calculators > Transportation Problem example

8. Heuristic method-2 example ( Enter your problem )
Algorithm and examples
  1. Algorithm & Example-1
  2. Example-2
  3. Unbalanced supply and demand example
Other related methods
  1. north-west corner method
  2. least cost method
  3. vogel's approximation method
  4. Row minima method
  5. Column minima method
  6. Russell's approximation method
  7. Heuristic method-1
  8. Heuristic method-2
  9. modi method (optimal solution)
  10. stepping stone method (optimal solution)

7. Heuristic method-1
(Previous method)
2. Example-2
(Next example)

1. Algorithm & Example-1





Algorithm
Heuristic Method-2: (This alternate method is developed with little modification to VAM)
Step-1: Determine the penalty cost i.e. the difference between the lowest and highest cost element of that row/column.
Step-2: Identify the row/column having highest penalty and choose the variable having lowest cost in this selected row/column. Allocate as much as possible to this variable.
Step-3: Cross out the row or column which ever is satisfied and adjust the variable and required quantities.
Step-4: Compute the penalties and repeat procedure till all rows and columns are satisfied.

Example-1
Find Solution using Heuristic method-2
D1D2D3D4Supply
S1193050107
S2703040609
S3408702018
Demand58714


Solution:
TOTAL number of supply constraints : 3
TOTAL number of demand constraints : 4
Problem Table is
`D_1``D_2``D_3``D_4`Supply
`S_1`193050107
`S_2`703040609
`S_3`408702018
Demand58714


Table-1
`D_1``D_2``D_3``D_4`SupplyRow Penalty
`S_1`193050107`40=50-10`
`S_2`703040609`40=70-30`
`S_3`408702018`62=70-8`
Demand58714
Column
Penalty
`51=70-19``22=30-8``30=70-40``50=60-10`


The maximum penalty, 62, occurs in row `S_3`.

The minimum `c_(ij)` in this row is `c_32` = 8.

The maximum allocation in this cell is min(18,8) = 8.
It satisfy demand of `D_2` and adjust the supply of `S_3` from 18 to 10 (18 - 8 = 10).

Table-2
`D_1``D_2``D_3``D_4`SupplyRow Penalty
`S_1`193050107`40=50-10`
`S_2`703040609`30=70-40`
`S_3`408(8)702010`50=70-20`
Demand50714
Column
Penalty
`51=70-19`--`30=70-40``50=60-10`


The maximum penalty, 51, occurs in column `D_1`.

The minimum `c_(ij)` in this column is `c_11` = 19.

The maximum allocation in this cell is min(7,5) = 5.
It satisfy demand of `D_1` and adjust the supply of `S_1` from 7 to 2 (7 - 5 = 2).

Table-3
`D_1``D_2``D_3``D_4`SupplyRow Penalty
`S_1`19(5)3050102`40=50-10`
`S_2`703040609`20=60-40`
`S_3`408(8)702010`50=70-20`
Demand00714
Column
Penalty
----`30=70-40``50=60-10`


The maximum penalty, 50, occurs in column `D_4`.

The minimum `c_(ij)` in this column is `c_14` = 10.

The maximum allocation in this cell is min(2,14) = 2.
It satisfy supply of `S_1` and adjust the demand of `D_4` from 14 to 12 (14 - 2 = 12).

Table-4
`D_1``D_2``D_3``D_4`SupplyRow Penalty
`S_1`19(5)305010(2)0--
`S_2`703040609`20=60-40`
`S_3`408(8)702010`50=70-20`
Demand00712
Column
Penalty
----`30=70-40``40=60-20`


The maximum penalty, 50, occurs in row `S_3`.

The minimum `c_(ij)` in this row is `c_34` = 20.

The maximum allocation in this cell is min(10,12) = 10.
It satisfy supply of `S_3` and adjust the demand of `D_4` from 12 to 2 (12 - 10 = 2).

Table-5
`D_1``D_2``D_3``D_4`SupplyRow Penalty
`S_1`19(5)305010(2)0--
`S_2`703040609`20=60-40`
`S_3`408(8)7020(10)0--
Demand0072
Column
Penalty
----`0=40-40``0=60-60`


The maximum penalty, 20, occurs in row `S_2`.

The minimum `c_(ij)` in this row is `c_23` = 40.

The maximum allocation in this cell is min(9,7) = 7.
It satisfy demand of `D_3` and adjust the supply of `S_2` from 9 to 2 (9 - 7 = 2).

Table-6
`D_1``D_2``D_3``D_4`SupplyRow Penalty
`S_1`19(5)305010(2)0--
`S_2`703040(7)602`0=60-60`
`S_3`408(8)7020(10)0--
Demand0002
Column
Penalty
------`0=60-60`


The maximum penalty, 0, occurs in row `S_2`.

The minimum `c_(ij)` in this row is `c_24` = 60.

The maximum allocation in this cell is min(2,2) = 2.
It satisfy supply of `S_2` and demand of `D_4`.


Initial feasible solution is
`D_1``D_2``D_3``D_4`SupplyRow Penalty
`S_1`19(5)305010(2)740 | 40 | 40 | -- | -- | -- |
`S_2`703040(7)60(2)940 | 30 | 20 | 20 | 20 |  0 |
`S_3`408(8)7020(10)1862 | 50 | 50 | 50 | -- | -- |
Demand58714
Column
Penalty
51
51
--
--
--
--
22
--
--
--
--
--
30
30
30
30
0
--
50
50
50
40
0
0


The minimum total transportation cost `= 19 xx 5 + 10 xx 2 + 40 xx 7 + 60 xx 2 + 8 xx 8 + 20 xx 10 = 779`

Here, the number of allocated cells = 6 is equal to m + n - 1 = 3 + 4 - 1 = 6
`:.` This solution is non-degenerate


This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here



7. Heuristic method-1
(Previous method)
2. Example-2
(Next example)





Share this solution or page with your friends.


 
Copyright © 2023. All rights reserved. Terms, Privacy
 
 

.