Or - Assignment
Or - Assignment
I II III IV
I II III IV
A 8 26 17 11
B 13 28 4 26
C 38 19 18 15
D 19 26 24 10
Row operation: Subtract the minimum value in
each row from all the other values of the same
row and repeat the same for all the other rows
0 18 9 3
9 24 0 22
23 4 3 0
9 16 14 0
Column operation: Subtract the minimum value in
each column from all the other values of the same
column and repeat the same for all the other columns
0 14 9 3
9 20 0 22
23 0 3 0
9 12 14 0
Solution for example 1:
I II III IV
A 15 25 35 20
B 21 27 33 17
C 17 25 37 15
D 14 31 39 21
Row operation:
I II III IV
A 0 10 20 5
B 4 10 16 0
C 2 10 22 0
D 0 17 25 7
Column operation:
I II III IV
A 0 0 4 5
B 4 0 0 0
C 2 0 6 0
D 0 7 9 7
Solution for example 2:
A - II 25
B - III 33
C - IV 15
D-I 14
Total cost 87
Example 3:
Example 3:
Going to next iteration
We need to go to the next iteration when we are not able to
get the required number of assignments initially and no
zeros are present among all unstriked elements
P Q R S T
A 6 2 5 2 6
B 2 4 7 8 8
C 7 8 6 9 8
D 6 2 3 4 5
E 9 3 8 9 7
F 4 7 4 6 8
Unbalanced Assignment problem example
Unbalanced Assignment problem example
SOLUTION
Pair of Cost
assignments
A-S 2
B-P 2
C-DUMMY 0
D-T 5
E-Q 3
F-R 4
Total 16
Special cases of AP
• Unbalanced AP
• Restrictive AP
• Profit maximisation in AP
Unbalanced Assignment problem
P Q R S T
A 6 2 5 2 6
B 2 4 7 8 8
C 7 8 6 9 8
D 6 2 3 4 5
E 9 3 8 9 7
F 4 7 4 6 8
Unbalanced Assignment problem example
Unbalanced Assignment problem example
SOLUTION
Pair of Cost
assignments
A-S 2
B-P 2
C-DUMMY 0
D-T 5
E-Q 3
F-R 4
Total 16
Restrictive AP
A job shop has purchased three new machines of different
specification. The job shop has four location available for installing
these three new machines. The estimated installation cost matrix is as
given below. Determine the best pair of assignment of machines to the
locations so as to minimise the total cost of installation by using
Hungarian technique
1 2 3 4
A 13 10 12 11
B 15 - 13 20
C 5 7 10 6
Restrictive AP
Profit maximisation problem in AP
• Profit matrix:
P Q R S
A 42 35 28 21
B 30 25 20 15
C 30 25 20 15
D 24 20 16 12
Profit maximisation problem in AP:
Equivalent cost matrix
I II III IV
A - 35 28 21
B 30 - 20 15
C 30 25 - 15
D 24 20 16 -