Assignment Problem
Assignment Problem
ASSIGNMENT PROBLEM
Introduction to Assignment Problem
Let cij be the cost of assigning the i th resource to the j th task. We define
the cost matrix to be the n × n matrix.
Step 1. Subtract the smallest entry in each row from all the entries of its
row.
Step 2. Subtract the smallest entry in each column from all the entries of
its column.
Step 3. Draw lines through appropriate rows and columns so that all
the zero entries of the cost matrix are covered and the minimum
number of such lines is used.
Step 4. Test for Optimality: (i) If the minimum number of covering lines is
n, an optimal assignment of zeros is possible and we are finished. (ii) If
the minimum number of covering lines is less than n, an optimal
assignment of zeros is not yet possible. In that case, proceed to Step 5.
Step 5. Determine the smallest entry not covered by any line. Subtract
this entry from each uncovered row, and then add it to each covered
column. Return to Step 3.
Example 1
You work as a sales manager for a toy manufacturer, and you
currently have three salespeople on the road meeting buyers. Your
salespeople are in Austin, TX; Boston, MA; and Chicago, IL. You want
them to fly to three other cities: Denver, CO; Edmonton, Alberta; and
Fargo, ND. The table below shows the cost of airplane tickets in dollars
between these cities.
IV 6 13 9 7
ANOTHER ASSESSMENT:
A cab company gets
(3.) four calls from four Customer
customers 1 2 3 4
simultaneously
Four cabs are out in A 9 7.5 7.5 8
the field at varying
distance from each C B 3.5 8.5 5.5 6.5
customer a C 12.5 9.5 9.0 10.5
Whichcab should be b
sent where to D 4.5 11.0 9.5 11.5
minimize total (or
average) waiting
time?