Assignment Problems
Assignment problems in linear programming involve assigning a number of tasks or jobs to a number of individuals, machines, or resources in the most optimal way possible. These problems are usually solved using the Hungarian algorithm, which is a popular algorithm for solving assignment problems. The goal is to minimize the total cost or time required to complete all the tasks. The video lecture above would further explain and apply these concepts in solving problem of assignments problems.
There are two types of problems in the assignment problems - Minimization and Maximization. The following steps of each are as follows:
Create a matrix representing the cost of assigning each job to each worker.
Subtract the smallest value in each row from all the values in that row.
Subtract the smallest value in each column from all the values in that column.
Draw the minimum number of horizontal and vertical lines to cover all the zeros in the matrix.
If the number of lines equals the number of rows (or columns), an optimal solution has been found. If not, proceed to step 6.
Determine the smallest uncovered value in the matrix.
Subtract that value from all uncovered values, and add it to all values at the intersection of two lines.
Repeat steps 4-7 until an optimal solution is found.
Subtract the smallest number in each row from all the numbers in that row.
Subtract the smallest number in each column from all the numbers in that column.
Draw the minimum number of horizontal and vertical lines to cover all the zeros in the matrix.
If the number of lines drawn equals the number of rows, then an optimal solution has been found. If not, continue to step 5.
Determine the smallest uncovered number in the matrix and subtract it from every uncovered number. Then add it to every number that is covered by two lines. Go back to step 3.
Create a matrix representing the cost of assigning each job to each worker.
Subtract the smallest value in each row from all the values in that row.
Subtract the smallest value in each column from all the values in that column.
Draw the minimum number of horizontal and vertical lines to cover all the zeros in the matrix.
If the number of lines equals the number of rows (or columns), an optimal solution has been found. If not, proceed to step 6.
Determine the smallest uncovered value in the matrix.
Subtract that value from all uncovered values, and add it to all values at the intersection of two lines.
Repeat steps 4-7 until an optimal solution is found.
You have finished the video! You may click the right button to proceed to "Test Yourself."