Professional Documents
Culture Documents
Assignment Problem
Worker Job
A B C D
1 45 40 51 67
2 57 42 63 55
3 49 52 48 64
4 41 45 60 55
Initial Solution : VAM
Worker Job Supply
A B C D
1 45 [ɛ ] 40 [ɛ ] 51 67 [1] 1
2 57 42 [1] 63 55 1
3 49 [ɛ ] 52 48 [1] 64 1
4 41 [1] 45 60 55 1
Demand 1 1 1 1 4
A B C D
1 45 [ɛ ] 40 [ɛ ] 51 67 [1] 1 0
2 57 42 [1] 63 55 1 2
3 49 [ɛ] 52 48 [1] 64 1 4
4 41 [1] 45 60 55 1 - 4
Demand 1 1 1 1 4
vj 45 40 44 67
Initial Solution : Non-optimal
A B C D
1 45 [ɛ ] 40 [ɛ ] (-7) 51 67 [1] 1 0
Demand 1 1 1 1 4
vj 45 40 44 67
Initial Solution : optimal
Worker Job Supply ui
A B C D
1 45 [ɛ ] 40 [1 ] (-7) 51 ( -14) 67 1 0
Demand 1 1 1 1 4
vj 45 40 44 53
A B C D
1 45 40 51 67
2 57 42 63 55
3 49 52 48 64
4 41 45 60 55
A B C D
1 5 0 11 27
2 15 0 21 13
3 1 4 0 16
4 0 4 19 14
A B C D
1 5 0 11 14
2 15 0 21 0
3 1 4 0 3
4 0 4 19 1
A B C D
1 5 0 11 14
2 15 0 21 0
3 1 4 0 3
4 0 4 19 1
A B C D
1 5 0 11 14
2 15 0 21 0
3 1 4 0 3
4 0 4 19 1
Machinist Job
1 2 3 4 5
A 10 3 3 2 8
B 9 7 8 2 7
C 7 5 6 2 4
D 3 5 8 2 4
E 9 10 9 6 10
Step 1: Obtain row reduction
Machinist Job
1 2 3 4 5
A 8 1 1 0 6
B 7 5 6 0 5
C 5 3 4 0 2
D 1 3 6 0 2
E 3 4 3 0 4
Step 2: Obtain column reduction
Machinist Job
1 2 3 4 5
A 7 0 0 0 4
B 6 4 5 0 3
C 4 2 3 0 0
D 0 2 5 0 0
E 2 3 2 0 2
Since the number of lines covering all zeros is less than the number of
columns/rows, we have to modify the table
The least of the uncovered cell values is 2. this would be subtracted from each of
the uncovered values and added to each value lying at the intersection of lines.
Step 3:Reduced cost table
Machinist Job
1 2 3 4 5
A 7 0 0 2 6
B 4 2 3 0 3
C 2 0 1 0 0
D 0 2 5 2 2
E 0 1 0 0 2
Machinist Job
1 2 3 4 5
A 7 0 0 2 6
B 4 2 3 0 3
C 2 0 1 0 0
D 0 2 5 2 2
E 0 1 0 0 2
Worker Job
1 2 3
A 4 2 7
B 8 5 3
C 4 5 6
Step 1 : Obtain Row reduction
Worker Job
1 2 3
A 2 0 5
B 5 2 0
C 0 1 2
S1 S2 S3 S4 S5
B1 4 6 7 5 11
B2 7 3 6 9 5
B3 8 5 4 6 9
B4 9 12 7 11 10
B5 7 5 9 8 11
S1 S2 S3 S4 S5
B1 0 2 3 1 7
B2 4 0 3 6 2
B3 4 1 0 2 5
B4 2 5 0 4 3
B5 2 0 4 3 6
Step 2: Obtain column reduction
Machinist Setup
S1 S2 S3 S4 S5
B1 0 2 3 0 5
B2 4 0 3 5 0
B3 4 1 0 1 3
B4 2 5 0 3 1
B5 2 0 4 2 4
Since the number of lines covering all zeros is less than the number of
columns/rows, we have to modify the table
The lest of the uncovered cell values is 1. This would be subtracted from each of
the uncovered values and added to each value lying at the intersection of lines.
Step 3: Reduce cost table
Machinist Setup
S1 S2 S3 S4 S5
B1 0 3 4 0 5
B2 4 1 4 5 0
B3 3 1 0 0 2
B4 1 5 0 2 0
B5 2 0 4 1 3
S1 S2 S3 S4 S5
B1 0 3 4 0 5
B2 4 1 4 5 0
B3 3 1 0 0 2
B4 1 5 0 2 0
B5 2 0 4 1 3
J1 J2 J3 J4 J5
P1 27 18 X 20 21
P2 31 24 21 12 17
P3 20 17 20 X 16
P4 22 28 20 16 27
Step 1: Reduce row table
Person Job
J1 J2 J3 J4 J5
P1 27 18 M 20 21
P2 31 24 21 12 17
P3 20 17 20 M 16
P4 22 28 20 16 27
P5
0 0 0 0 0
(Dummy)
Step 1: Reduce row/column table
Person Job
J1 J2 J3 J4 J5
P1 9 0 M 2 3
P2 19 12 9 0 5
P3 4 1 4 M 0
P4 6 12 4 0 11
P5
0 0 0 0 0
(Dummy)
Since the number of lines covering all zeros is not equal to columns/rows, so
solution is not optimal
Step 2: Reduce cost table
Person Job
J1 J2 J3 J4 J5
P1 9 0 M 6 3
P2 15 8 5 0 1
P3 4 1 4 M 0
P4 2 8 0 0 7
P5
0 0 0 4 0
(Dummy)
Person Job
J1 J2 J3 J4 J5
P1 9 0 M 6 3
P2 15 8 5 0 1
P3 4 1 4 M 0
P4 2 8 0 0 7
P5
0 0 0 4 0
(Dummy)
A B C D E
M1 9 11 15 10 11
M2 12 9 -- 10 9
M3 -- 11 14 11 7
M4 14 8 12 7 8
A B C D E
M1 0 2 6 1 2
M2 3 0 M 1 0
M3 M 4 7 4 0
M4 7 1 5 0 1
M5
0 0 0 0 0
(dummy)
A B C D E
M1 0 2 6 1 2
M2 3 0 M 1 0
M3 M 4 7 4 0
M4 7 1 5 0 1
M5
0 0 0 0 0
(dummy)