Assumptions in Assignment Problem
Assumptions in Assignment Problem
The assignment problem is a special type of transportation problem, where the objective is to minimize the cost or time of completing a number of jobs by a number of persons. Assumptions in Assignment problem Number of jobs is equal to the number of machines or persons. q Each man or machine is assigned only one job. q Each man or machine is independently capable of handling any job to be done. q Assigning criteria is clearly specified (minimizing cost or maximizing profit).
q
8/2/12
1 1
Hungarian Method It is an efficient method for solving assignment problems . This method is based on the following principle: If a constant is added to, or subtracted from, every element of a row and/or a column of the given cost matrix of an assignment problem, the resulting assignment problem has the same optimal solution as the original problem.
8/2/12
2 2
Steps
1.
Identify the minimum element in each row and subtract it from every element of that row. Identify the minimum element in each column and subtract it from every element of that column. Make the assignments for the reduced matrix obtained from steps 1 and 2 in the following way: i. For each row or column with a single zero value cell that has not be assigned or eliminated, box that zero value as an assigned cell. ii. For every zero that becomes assigned, cross out (X) all other zeros in the same row and the same column. iii. The above process may be continued until every zero cell is either assigned or crossed (X).
8/2/12 3 3
1.
1.
5.
Draw the minimum number of vertical and horizontal lines necessary to cover all the zeros in the reduced matrix. Select the smallest element from all the uncovered elements. Subtract this smallest element from all the uncovered elements and add it to the elements, which lie at the intersection of two lines. Thus, we obtain another reduced matrix for fresh assignment.
5.
Go to step 3 and repeat the procedure until you arrive at an optimal assignment.
8/2/12
4 4
Example
Following table shows required number of minutes for five persons to complete four jobs. Assign each job to a person working simultaneously. So that total time is minimum.
Person 1 2 3 4 5
8/2/12
5 5
Dummy activity will be added to equate the number of jobs to the number of persons.
Subtract minimum value of the row from that row. Subtract minimum value of column from that column. Check weather optimal solution is possible.
2 0 2 1
62 6 0 6 2 6 1
5 6 0 0
2 7
3 1 0 5
5 8 5 6 5 5 6 0
0 0 0 0
0 0 0 0
3 7 4 2 3 9
2 8 2 2 2 2
8/2/12
6 6
Cover zero with minimum lines Select minimum valued uncovered element Deduct that element from all uncovered elements Add the element to all crossing points
2 0 2 1
62 6 0 6 2 6 1
5 6 0 0
2 7
3 1 0 5
5 8 5 6 5 5 6 0
0 0 0 0
0 0 0 0
3 7 4 2 3 9
2 8 2 2 2 2
8/2/12
7 7
Perso n 1 2 3 4 5
1 0 2 1
62 6 0 6 2 6 8/2/12 1
4 6 0 0
2 7
2 1 0 5
5 8 5 6 5 5 6 0
0 1 1 1
0 0 0 0
3 7 4 2 3 9
2 8 2 2 2 2
8 8
3 8
1
0
62 6 0 6 2 6 1
4 6 0
0
2 7
2 1
0
5 8 5 6 5 5 6 0
0 1 1 1
0 0 0 0
0 5 2
3 7 4 2 3 9
2 8 2 2 2 2
2 1
For each row or column with a single zero value cell that has not be assigned or eliminated, box that zero value as an assigned cell. For every zero that becomes assigned, cross out (X) all other zeros in the same row and the same column. 8/2/12 9
9
Person 1 2 3 4 5
8/2/12
10 10