Assignment Problem
Definition Assignment Problem is a balanced transportation problem in which all supplies and demand are equal to 1
The Hungarian Method 1.Find the minimum element in each row af the m x m cost matrix. Construct a new matrix by subtracting from each cost the minimum cost in its row. For the new matrix, find the minimum cost in each column. Construct a new matrix (called the reduced cost matrix) by subtracting from each cost the minimum cost in its column
2. Draw the minimum number of lines (horizontal and/or vertical) that are needed to cover all the zero’s in the reduced cost matrix. If m lines are required, an optimal solution is available among the covered zeros in the matrix. If fewewr than m lines are needed, proceed to step 3
3. Find the smallest nonzero element (call its value k) in the reduced cost matrix that is uncovered by lines drawn in step 2. Now subtract k from each uncover element of the reduced cost matrix and add k to each element that is covered by two lines. Return to step 2
Example Machineco has 4 machines and 4 jobs to be completed. Each machine must be assigned to complete one job. The time required to set up each machine for completing each job is shown in the table. Machineno wants to minimize the total setup time needed to complete the four job
Time Job 1Job 2Job 3Job 4 Machine Machine Machine Machine
Solution X ij = 1 if machine i is assgned to meet the demand of job j X ij = 0 if machine I is not assigned to meet the demand of job j
Formulation of the problem Min z = 14 x x x x 14 + …+ 6x x 44 s.T x 11 + x 12 + x 13 + x 14 = 1 (machine constraint) x 21 + x 22 + x 23 + x 24 = 1 x 31 + x 32 + x 33 + x 34 = 1 x 41 + x 42 + x 43 + x 44 = 1 x 11 + x 21 + x 31 + x 41 = 1(job constraint) x 12 + x 22 + x 32 + x 42 = 1 x 13 + x 23 + x 33 + x 43 = 1 x 14 + x 24 + x 34 + x 44 = 1
Table 1minimum row
Table 2 Setelah pengurangan row minimum Min Column
Table 3 Setelah Pengurangan Column minimum K = 1 (nilai terkecil di antara cel yang tidak tertutup garis) Cel yang tidak tertutup garis dikurangi 1, yang ditutup 2 garis ditambah
Table 4 Solusi optimal : x 12 = 1, x 33 = 1, x 41 = 1, x 24 =