Presentation is loading. Please wait.

Presentation is loading. Please wait.

Assignment Problem. Definition Assignment Problem is a balanced transportation problem in which all supplies and demand are equal to 1.

Similar presentations


Presentation on theme: "Assignment Problem. Definition Assignment Problem is a balanced transportation problem in which all supplies and demand are equal to 1."— Presentation transcript:

1 Assignment Problem

2 Definition Assignment Problem is a balanced transportation problem in which all supplies and demand are equal to 1

3 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

4 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

5 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

6 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

7 Time Job 1Job 2Job 3Job 4 Machine 114587 Machine 221265 Machine 37839 Machine 424610

8 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

9 Formulation of the problem Min z = 14 x 11 + 5 x 12 + 8x 13 + 7x 14 + …+ 6x 43 + 10x 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

10 Table 1minimum row 14587 21265 7839 24610 5 2 3 2

11 Table 2 Setelah pengurangan row minimum Min Column 9032 01043 4506 0248 0002

12 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 1 9030 01041 4504 0246

13 Table 4 Solusi optimal : x 12 = 1, x 33 = 1, x 41 = 1, x 24 = 1 10030 0930 5504 0135


Download ppt "Assignment Problem. Definition Assignment Problem is a balanced transportation problem in which all supplies and demand are equal to 1."

Similar presentations


Ads by Google