Chapter 4 Assignment Model
Chapter 4 Assignment Model
March. 2023
Assignment
model
• The assignment model is a special form of a linear programming model that is
similar to the transportation model.
• One-to-one pairing.
2. Column reductions: subtracting the minimum value in each column from all column values.
3. Checking for optimality: the solution is optimum when all zeros in the table can be covered
with minimum number of vertical/horizontal lines equal to number of row or column. If the
solution is optimum make assignment.
4. If the solution is not optimum, select the minimum value and subtract from all uncovered
values and add to values at the intersection of lines in the table.
5. If m lines are required, the tableau contains the optimal solution and m unique assignments
can be made. If fewer than m lines are required, repeat step 4.
Employees
A B C D
1 ETB 15 20 18 24
Job 2 12 17 16 15
3 14 15 19 17
4 11 14 12 13
Employees
A B C D
• The solution is not optimum, because
1
4 2 7
0 the number of row or column are not
Job 2
0 4 3 1
equal to the covered i.e. 3≠ 4
3
0 0 4 1
4
0 2 0 0
Optimum?
The minimum number of
Further Reduction lines used to cover zeros
are equal to number of
Employees rows/columns
A B C D
1 0 4 2 7
Job 2 0 4 3 1 Employees
1 A B C D
3 0 0 4 1
1 00 3 1 6
4 0 2 0 0
Job 2 0 3 2 00
3 1 00 3 1
4 1 2 00 0
Opti m!
mu
Make
assignment Job-employee assignment
Employees
A B C D 1 A birr 15
1 0 3 1 6 2 D 15
Job 2 0 3 2 0 3 15
4 B 12
3 1 0 3 1
C ETB57
4 1 2 0 0
Example
2
• The Ethiopian basketball association has four basketball games on a particular
night. The association office wants to assign four teams of officials to the four
games in a way that will minimize the total distance traveled by the officials. The
distances in meters for each team of officials to each game location are shown in
Table 34.
Table 34. The Travel Distances to Each Game for Each Team of Officials
Game Sites
• by first subtracting the minimum value in each row from every value in the row.
• In other words, the best course of action is determined for each row, and the
penalty or "lost opportunity" is developed for all other row values.
• The row reductions for this example are shown in Table 35.
Table 35. The Assignment Tableau with Row Reductions
Game Sites
Officials RALEIGH ATLANTA DURHAM CLEMSON
A 120 0 90 70
B 30 0 60 130
C 70 0 35 65
D 15 0 40 55
Next, column reductions and are shown in Table 36. It represents the completed
opportunity cost table for our example.
Assignments can be made in this table wherever a zero is present. For example, team A
can be assigned to LIDETA. An optimal solution results when each of the four teams can
be uniquely assigned to a different game.
Table 36. The Tableau with Column Reductions
Game Sites
• Once this assignment is made, the zero in row B is infeasible, which indicates
that there is not a unique optimal assignment for team B. Therefore, Table 36
minimum number of horizontal or vertical lines necessary to cross out all zeros
Game Sites
• (NB even if the three lines could have been drawn differently, the
subsequent solution method would not be affected.)
• Next, subtract the minimum value that is not crossed out from all values
not crossed out.
• Add this minimum value to those cells where two lines intersect.
• The second iteration for this model with the appropriate changes is shown
in
Table 38.
Table 38. The Second
Iteration
Game Sites
Officials RALEIGH ATLANTA DURHAM CLEMSON
A 90 0 40 0
B 0 0 10 60
C 55 15 0 10
D 0 15 5 0
out all the zeros. This indicates that four unique assignments can be made and
that an optimal solution has been reached. Now let us make the assignments
• In a line test, all zeros are crossed out by horizontal and vertical lines; the
minimum uncrossed value is subtracted from all uncrossed values and added to
•
• First, team A can be assigned to either the LIDETA game or the YEKA game.
• This means that team A cannot be assigned to any other game, and no other team
can be assigned to LIDETA.
• The third assignment is of team C to the ARADA game. This leaves team D for
the YEKA game.
Table 38
Assignment Distance
Team A Lideta 90
Team B Bole 100
Team C Arada 140
Team D Yeka 120
450 meters
Now let us go back and make the initial assignment of team A to YEKA
(the alternative assignment we did not initially make).
This will result in the following set of assignments.
Table 39
Assignment Distance
Team A Yeka 160
Team B Lideta 70
Team C Arada 140
Team D Bole 80
450 Meters
• Assignment problem algorithm is to be true iff number of rows and columns are equal.
Jobs
Machines 1 2 3 4 Column reduction
A 3 7 0 4 • We don’t do column reduction because
B 6 4 1 0
the least number in all columns is
C 9 5 0 8
zero, means number minus zero = no
DR 0 0 0 0
change
• Check optimality: the above table is not optimal because the minimum lines
used to cover zeros are less than the number of rows/ columns
• Further reduction
• By identifying the largest value in each column then subtract each value from the
largest number in that column.
Exampl
e
jobs
Machine 1 2 3 Find the optimum
assignment
A 14 22 30
B 20 18 40
C 11 12 50
• Sometime some machines or employees are/can not allowed/do some jobs due to
handicap, capacity, skills etc.
jobs
Machine 1 2 3
A 4 2 0
B 0 0 M
C 6 3 0
Check
optimality
jobs
Machine 1 2 3
A 2 0 0
B 0 0 M Optimum!
C 4 1 0
Assignment
B=====1 1
C=====3 3
A=====2 7
11
Solve the following linear programming
problem.
• Minimize
18X11+30X12+20X13+18X14+25X21+18X14+25X21+27X22+22X23+16X24+30X31+26X32++19X33
+32X34+40X41+36X42+27X43+29X44+30X51+26X52+18X53+24X54
subject to
X11+X12+X13+X14=1
Supply constraint
X21+X22+X23+X24=1
X31+X32+X33+X34=1
X11+X21+X31+X41=1
X41+X42+X43+X44=1
X12+X22+X32+X42=1 Demand constraint
X13+X23+X33+X43=1
X14+X24+X34+X44=1
Solve the following linear programming
problem.
Minimize 18X +30X +20X +18X +25X +18X +25X +27X +22X +16X +30X
11 12 13 14 21 14 21 22 23 24 31 +26X32+
+19X33+32X34+40X41+3
6X42+27X43+29X44+30X51+26X52+18X53+24X54
subject to
X11+X12+X13+X14≤ 1
X21+X22+X23+X24≤ 1
X31+X32+X33+X34 ≤1
X41+X42+X43+X44 ≤1
X51+X52+X53+X54 ≤1
X11+X21+X31+X41+X51=1
X12+X22+X32+X42+X52=1
X13+X23+X33+X43+X53=1
X14+X24+X34+X44+X54=1
• Xij ≥0