













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














GEM 805 1
2010-2011 ©
ij
2
3
11
12
nn
n
1 2 3 4 1 10 9 8 7 Assignees 2 4 - 5 6 3 2 1 8 - Tasks
1 2 3 4 1 10 9 8 7 Assignees 2 4 M 5 6 3 2 1 8 M 4 0 0 0 0 Tasks
ij ij n i 1 ij n j 1 ij m i 1 n j 1 ij ij
Assignees 2 0 10 4 3 3 4 5 0 6 4 0 2 4 8 Column Min
Summary of Hungarian Method: Step 1 – Find the minimum element in each row. Construct a new matrix by subtracting from each cost the minimum cost in its row. For this new matrix, find the minimum cost in each column. Construct a new matrix by subtracting from each cost the minimum cost in its column. Step 2 – Draw the minimum number of lines (horizontal or vertical) that are needed to cover all the zeros in the reduced cost matrix. If n lines are required, an optimal solutions is available among the covered zeros in the matrix. If fewer than n lines are needed, proceed to step 3. Step 3 – Find the smallest nonzero element (call its value k ) in the reduced cost matrix that is uncovered by the lines drawn in Step 2. Now subtract k from each uncovered element of the reduced cost matrix and add k to each element that is covered by two lines. Return to step 2.
EXAMPLE CASE: SUPPLY = DEMAND
- Job 1 Job 2 Job 3 Job Example: Step 2 (again) Job 1 Job 2 Job 3 Job 4 Machine 1 10 0 3 0 Machine 2 0 9 3 0 Machine 3 5 5 0 4 Machine 4 0 1 3 5