Find the optimal solution for the assignment problem with the following cost matrix. Area 1 2 3 4 P 11 17 8 16 Salesman Q 9 7 12 6 R 13 16 15 12 S 14 10 12 11
Advertisements
Question
Find the optimal solution for the assignment problem with the following cost matrix.
| Area | |||||
| 1 | 2 | 3 | 4 | ||
| P | 11 | 17 | 8 | 16 | |
| Salesman | Q | 9 | 7 | 12 | 6 |
| R | 13 | 16 | 15 | 12 | |
| S | 14 | 10 | 12 | 11 | |
Advertisements
Solution
Here the number of rows and columns are equal.
∴ The given assignment problem is balanced.
Step 1: Select the smallest element in each row and subtract this from all the elements in its row.
| Area | |||||
| 1 | 2 | 3 | 4 | ||
| P | 3 | 9 | 0 | 8 | |
| Salesman | Q | 3 | 1 | 6 | 0 |
| R | 1 | 4 | 3 | 0 | |
| S | 4 | 0 | 2 | 1 | |
Step 2: Select the smallest element in each column and subtract this from all the elements in its column.
| Area | |||||
| 1 | 2 | 3 | 4 | ||
| P | 2 | 9 | 0 | 8 | |
| Salesman | Q | 2 | 1 | 6 | 0 |
| R | 0 | 4 | 3 | 0 | |
| S | 3 | 0 | 2 | 1 | |
Step 3: (Assignment)
Examine the rows with exactly one zero. Mark the zero by □ Mark other zeros in its column by X
| Area | |||||
| 1 | 2 | 3 | 4 | ||
| P | 2 | 9 | 0 | 8 | |
| Salesman | Q | 2 | 1 | 6 | 0 |
| R | 0 | 4 | 3 | 0 | |
| S | 3 | 0 | 2 | 1 | |
Thus all the four assignments have been made.
The optimal assignment schedule and total cost.
| Salesman | Area | Cost |
| P | 3 | 8 |
| Q | 4 | 6 |
| R | 1 | 13 |
| S | 2 | 10 |
| Total | 37 | |
The Optimum cost (minimum) = ₹ 37
APPEARS IN
RELATED QUESTIONS
A job production unit has four jobs A, B, C, D which can be manufactured on each of the four machines P, Q, R and S. The processing cost of each job is given in the following table:
|
Jobs
|
Machines |
|||
|
P |
Q |
R |
S |
|
|
Processing Cost (Rs.)
|
||||
|
A |
31 |
25 |
33 |
29 |
|
B |
25 |
24 |
23 |
21 |
|
C |
19 |
21 |
23 |
24 |
|
D |
38 |
36 |
34 |
40 |
How should the jobs be assigned to the four machines so that the total processing cost is minimum?
Solve the following minimal assignment problem :
| Machines | A | B | C | D | E |
| M1 | 27 | 18 | ∞ | 20 | 21 |
| M2 | 31 | 24 | 21 | 12 | 17 |
| M3 | 20 | 17 | 20 | ∞ | 16 |
| M4 | 21 | 28 | 20 | 16 | 27 |
A departmental head has three jobs and four subordinates. The subordinates differ in their capabilities and the jobs differ in their work
contents. With the help of the performance matrix given below, find out which of the four subordinates should be assigned which jobs ?
| Subordinates | Jobs | ||
| I | II | III | |
| A | 7 | 3 | 5 |
| B | 2 | 7 | 4 |
| C | 6 | 5 | 3 |
| D | 3 | 4 | 7 |
Choose the correct alternative:
Assignment Problem is special case of ______
State whether the following statement is True or False:
In assignment problem, if number of columns is greater than number of rows, then a dummy row is added
What is the difference between Assignment Problem and Transportation Problem?
Assign four trucks 1, 2, 3 and 4 to vacant spaces A, B, C, D, E and F so that distance travelled is minimized. The matrix below shows the distance.
| 1 | 2 | 3 | 4 | |
| A | 4 | 7 | 3 | 7 |
| B | 8 | 2 | 5 | 5 |
| C | 4 | 9 | 6 | 9 |
| D | 7 | 5 | 4 | 8 |
| E | 6 | 3 | 5 | 4 |
| F | 6 | 8 | 7 | 3 |
A car hire company has one car at each of five depots a, b, c, d and e. A customer in each of the fine towers A, B, C, D and E requires a car. The distance (in miles) between the depots (origins) and the towers(destinations) where the customers are given in the following distance matrix.
| a | b | c | d | e | |
| A | 160 | 130 | 175 | 190 | 200 |
| B | 135 | 120 | 130 | 160 | 175 |
| C | 140 | 110 | 155 | 170 | 185 |
| D | 50 | 50 | 80 | 80 | 110 |
| E | 55 | 35 | 70 | 80 | 105 |
How should the cars be assigned to the customers so as to minimize the distance travelled?
A natural truck-rental service has a surplus of one truck in each of the cities 1, 2, 3, 4, 5 and 6 and a deficit of one truck in each of the cities 7, 8, 9, 10, 11 and 12. The distance(in kilometers) between the cities with a surplus and the cities with a deficit are displayed below:
| To | |||||||
| 7 | 8 | 9 | 10 | 11 | 12 | ||
| From | 1 | 31 | 62 | 29 | 42 | 15 | 41 |
| 2 | 12 | 19 | 39 | 55 | 71 | 40 | |
| 3 | 17 | 29 | 50 | 41 | 22 | 22 | |
| 4 | 35 | 40 | 38 | 42 | 27 | 33 | |
| 5 | 19 | 30 | 29 | 16 | 20 | 33 | |
| 6 | 72 | 30 | 30 | 50 | 41 | 20 | |
How should the truck be dispersed so as to minimize the total distance travelled?
A job production unit has four jobs P, Q, R, S which can be manufactured on each of the four machines I, II, III and IV. The processing cost of each job for each machine is given in the following table :
| Job | Machines (Processing cost in ₹) |
|||
| I | II | III | IV | |
| P | 31 | 25 | 33 | 29 |
| Q | 25 | 24 | 23 | 21 |
| R | 19 | 21 | 23 | 24 |
| S | 38 | 36 | 34 | 40 |
Complete the following activity to find the optimal assignment to minimize the total processing cost.
Solution:
Step 1: Subtract the smallest element in each row from every element of it. New assignment matrix is obtained as follows :
| Job | Machines (Processing cost in ₹) |
|||
| I | II | III | IV | |
| P | 6 | 0 | 8 | 4 |
| Q | 4 | 3 | 2 | 0 |
| R | 0 | 2 | 4 | 5 |
| S | 4 | 2 | 0 | 6 |
Step 2: Subtract the smallest element in each column from every element of it. New assignment matrix is obtained as above, because each column in it contains one zero.
Step 3: Draw minimum number of vertical and horizontal lines to cover all zeros:
| Job | Machines (Processing cost in ₹) |
|||
| I | II | III | IV | |
| P | 6 | 0 | 8 | 4 |
| Q | 4 | 3 | 2 | 0 |
| R | 0 | 2 | 4 | 5 |
| S | 4 | 2 | 0 | 6 |
Step 4: From step 3, as the minimum number of straight lines required to cover all zeros in the assignment matrix equals the number of rows/columns. Optimal solution has reached.
Examine the rows one by one starting with the first row with exactly one zero is found. Mark the zero by enclosing it in (`square`), indicating assignment of the job. Cross all the zeros in the same column. This step is shown in the following table :
| Job | Machines (Processing cost in ₹) |
|||
| I | II | III | IV | |
| P | 6 | 0 | 8 | 4 |
| Q | 4 | 3 | 2 | 0 |
| R | 0 | 2 | 4 | 5 |
| S | 4 | 2 | 0 | 6 |
Step 5: It is observed that all the zeros are assigned and each row and each column contains exactly one assignment. Hence, the optimal (minimum) assignment schedule is :
| Job | Machine | Min.cost |
| P | II | `square` |
| Q | `square` | 21 |
| R | I | `square` |
| S | III | 34 |
Hence, total (minimum) processing cost = 25 + 21 + 19 + 34 = ₹`square`
