written 8.4 years ago by | • modified 4.0 years ago |
1 | 2 | 3 | 4 | 5 | Available | |
---|---|---|---|---|---|---|
A | 7 | 6 | 4 | 5 | 9 | 40 |
B | 8 | 5 | 6 | 7 | 8 | 30 |
C | 6 | 8 | 9 | 6 | 5 | 20 |
D | 5 | 7 | 7 | 8 | 6 | 10 |
Required | 30 | 30 | 15 | 20 | 5 | 100 (total) |
written 8.4 years ago by | • modified 4.0 years ago |
1 | 2 | 3 | 4 | 5 | Available | |
---|---|---|---|---|---|---|
A | 7 | 6 | 4 | 5 | 9 | 40 |
B | 8 | 5 | 6 | 7 | 8 | 30 |
C | 6 | 8 | 9 | 6 | 5 | 20 |
D | 5 | 7 | 7 | 8 | 6 | 10 |
Required | 30 | 30 | 15 | 20 | 5 | 100 (total) |
written 8.4 years ago by |
(NOTE: This problem is exactly the same as the previous one, except that in the May 13 paper, it was asked to find the basic feasible solution by north-west rule. Here, we’ll do so by using Vogel’s approximation, also called the Penalty method, which leads to a final optimal solution in fewer steps.)
Using Penalty Method:
We assign the maximum possible, to the minimum cost, in whichever row or column has the maximum penalty. Right now, the maximum penalty is 2, and in that column the minimum cost is 4. So we assign the maximum possible there. As evident, no more allocations can be made in that column.
Similarly, the penalty is then calculated again, and assignments are carried out as follows:
The allocations made are as follows:
The solution is degenerate (no. of allocations < m + n – 1). So we add an infinitesimal value ‘ε’ in a cell which has the least cost among all the unallocated cells.
The minimum cost in the unallocated cells is 6, in the cells 2A, 3B, 4C and 5D. ‘ε’ cannot be added in 4C and 5D, since it would form a loop with ‘4A,1A,1C’ and ‘5C,1C,1D’ respectively.
Either of 2A or 3B can be chosen. Let’s choose 3B:
(NOTE: it is evident that we have already got the solution that was obtained in the previous problem. However, we have to still prove it is optimal.)
Checking for optimality by UV rule:
Starting the loop from the ‘-1’:
As can be seen, θ = ε; so all that happens is that ‘ε’ moves from 3B to 1B.
Checking for optimality again:
No negative numbers are present, which shows we have obtained the optimal solution.
(NOTE: We could have obtained the solution in one less if we had put ‘ε’ in 2A instead of 3B in the 1st step, like how it is done in the previous problem. However, by choosing 3B, we have shown that it does not matter where the ‘ε’ is allocated. The solution still turns out to be the same.)
Optimal solution:
Minimum cost = 5×7 + 15×6 + 10×5 + 30×5 +15×4 + 20×5 + 5×5 = Rs. 510