3 Assignment Problem - For Students 1684053857546
3 Assignment Problem - For Students 1684053857546
• 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
ASSIGNMENT ALGORITHM (The
Hungarian Method)
• In order to find the proper assignment it is essential for
us to know the Hungarian method. This method is
dependent upon two vital theorems, stated as below.
Theorem 1: If a constant is added (or subtracted) to
every element of any row (or column) of the cost
matrix [cij] in an assingment problem then an
assingment which minimises the total cost for the new
matrix will also minimize the total cost matrix.
ASSIGNMENT ALGORITHM (The Hungarian Method)
• Theorem 2