written 8.4 years ago by | • modified 2.8 years ago |
I | II | III | IV | V | |
---|---|---|---|---|---|
1 | 6 | 2 | 5 | 2 | 6 |
2 | 2 | 5 | 8 | 7 | 7 |
3 | 7 | 8 | 6 | 9 | 8 |
4 | 6 | 2 | 3 | 4 | 5 |
5 | 9 | 3 | 8 | 9 | 10 |
6 | 4 | 7 | 5 | 6 | 8 |
written 8.4 years ago by | • modified 2.8 years ago |
I | II | III | IV | V | |
---|---|---|---|---|---|
1 | 6 | 2 | 5 | 2 | 6 |
2 | 2 | 5 | 8 | 7 | 7 |
3 | 7 | 8 | 6 | 9 | 8 |
4 | 6 | 2 | 3 | 4 | 5 |
5 | 9 | 3 | 8 | 9 | 10 |
6 | 4 | 7 | 5 | 6 | 8 |
written 8.4 years ago by | • modified 8.4 years ago |
(NOTE: The question does not specify whether to maximize or minimize the allocations. So we assume it’s a minimization problem while solving)
Consider the matrix:
Number of lines = 3 < order of matrix = 5
Allocation can be made as shown. However, each row and column do not have one allocation. Drawing minimum number of lines through the zeroes:
Allocation can be made as shown above. Each row and column still do not have one allocation. Drawing minimum number of lines through the zeroes:
The remaining zeroes can be allocated in 2 possible ways (alternate solution):
Making the same allocations in the original matrix:
Minimum = 11 + 7 + 17 + 12 + 13 = 60
AND
Minimum = 11 + 10 + 17 + 6 + 16 = 60
written 2.8 years ago by |
Joy taxi has four taxi,1,2,3,4 & there are four coustmers,P,Q,R,S requring taxi. The distance between the taxi and the costomer are given in the table below, in kilometers. The Taxi company wish to assginthe taxis tocustomers so that the distance traveled is aminimum through Hungaian Model.
P Q R S
1 10 8 4 6
Taxi 2 6 4 12 8 3 14 10 8 2 4 4 14 10 8