Assignment Minimization Example
Assignment Minimization Example
Engineering
Faculty of Engineering Analysis of Prod. Systems, (PRE5411)
Prod. & Mech. Design Eng. Dept. Mid-Term Exam, Dec. 2017
Time: 2hr.
Marks: 20
Question 2: Consider the problem of assigning four operators to four machines. The assignment
costs (in dollars per day) are given in the Table below. Operator A cannot be assigned to machine
1; and operator B cannot be assigned to machine 3.
Assignment Machine
cost ($/day) 1 2 3 4
A 10 15 6 15
Operator
B 15 27 8 9
C 6 21 9 12
D 18 21 21 6
Since operator A can’t be assigned to machine 1; and operator B can’t be assigned to machine 3, a high
penalty of (M) is assigned to these cells, where ‘M’ is a large number (Table 2-1)
𝐴 𝑀 15 6 15 6
Operator
B 15 27 𝑀 9 9
C 6 21 9 12 6
D 18 21 21 6 6
Decision Variables:
Constrains:
Row Constrains: Column Constrains:
4 4
∑ 𝑥𝑖𝑗 = 1, 𝑗 = 1, … ,4 ∑ 𝑥𝑖𝑗 = 1, 𝑖 = 1, … ,4
𝑖=1 𝑗=1
Objective Function:
4 4
Non–negative Variables:
𝑥𝑖,𝑗 ≥ 0 ∀ 𝑖, 𝑗
Row reduction
To reduce the matrix, the minimum element of each row is determined (see the Table 2-1) and then
subtracted from each element in the row. The results are shown in Table 2-2.
B 6 18 𝑀 0
C 0 15 3 6
D 12 15 15 0
Min. Value 0 9 0 0
Column reduction
The minimum element of each column is determined (see the Table 2-2) and then subtracted from each
element in the row. The results are shown in Table 2-3.
B 6 9 𝑀 0
C 0 6 3 6
D 12 6 15 0
In Table 2-3, the minimum number of lines required to cover all the zero values is determined (denoted
𝑥) and then compared to the matrix size (denoted 𝑛).
∵𝑥=3<𝑛=4
The next step is finding the minimum uncovered element in Table 2-2 (𝑘 = 3), then subtracting it
from each uncovered cell and adding it to each twice–covered cell. This produces Table 2-4.
Operator
B 6 6 𝑀 0
C 0 3 0 6
D 12 3 12 0
∵𝑥=3<𝑛=4
In Table 2-4 (𝑘 = 3); subtracting 𝑘 from each uncovered cell and adding it to each twice–covered cell
produces Table 2-5.
B 3 3 𝑀 0
C 0 3 0 9
D 9 0 9 0
∵𝑥=𝑛=4
∴ An optimal solution has been reached. The optimal allocation is shown in Table 2-6.
B 3 3 𝑀 0
C 0 3 0 9
D 9 0 9 0
∴ The problem is now unbalanced. A dummy row must be added to balance the problem.
C 6 21 9 12 3 3
D 18 21 21 6 24 6
dummy 0 0 0 0 0 0
Row reduction
To reduce the matrix, the minimum element of each row is determined (see the Table 2-8) and then
subtracted from each element in the row. The results are shown in Table 2-9.
Column reduction
Since in Table 2-9, each column has at least one zero, then column reduction steps can be skipped.
C 3 18 6 9 0
D 12 15 15 0 18
dummy 0 0 0 0 0
First Optimality Test (Table 2-9)
C 0 15 6 6 0
D 12 15 12 0 15
dummy 0 0 3 0 3
C 0 15 6 6 0
D 12 15 12 0 15
dummy 0 0 3 0 3
Based on the allocation in Table 2-11, the new optimal assignment of operators to machines and the
associated costs is listed in Table 2-12.
Table 2-12. New optimal Assignment.
Operator A B C D dummy
Σ
Machine M3 M5 M1 M4 M2
Cost ($) 6 6 6 6 0 $24