Assignment Problem
Assignment Problem
Operational Research
UNIT II
Assignment Problem
ASSIGNMENT PROBLEM
….. O.R. Produces an integrated solution for the good of entire organization and not
just to effect local environment…..
INTRODUCTION
• The assignment problem is a special case of transportation in which
the objective is to assign a number of resources to the equal number
of activities at a minimum cost.(or maximum profit).
• The GOAL of a general assignment problem is to find an optimal
assignment of machines (laborers) to jobs without assigning an agent
more than once and ensuring that all jobs are completed. The
objective might be to minimize the total time to complete a set of
jobs, or to maximize skill ratings, maximize the total satisfaction of the
group or to minimize the cost of the assignments.
STRUCTURE OF ASSIGNMENT PROBLEM.
As mentioned earlier, assignment problem is a special type of
transportation problem in which
1. Number of supply and demand nodes are equal.
2. Supply from every supply node is one.
3. Every demand node has a demand of one.
4. Solution is required to be all integers.
HUNGARIAN METHOD
• Also known as ,reduced matrix method
• And efficient method for solving assignment problem
• based on Concept of opportunity cost.
• opportunity cost shows the relative penalties associated with
assignment of resources to an activity as opposed to making the best
or leat cost assignment
• We reduce the cost matrix to the extent of of having atleast one
zeroin each row and each column,then it will be possible to make
optimal assignment. (opportunity cost are all zero.)
METHOD OF SOLVING
(MINMIZATION CASE)
• Step 1 :
• Determine the cost table from the given problem
• if , number of sources= number of destinations ; go to step 3
• if , number of sources not equal number of destinations ; go to step 2
If the number of assignment is less than the order of the cost matrix go to
step8.
• Step -7
• Draw the min number of horizontal / vertical to cover of all the zeroes of
the reduced matrix. How?
Procedure :
mark ( tick) rows that do not have any assigned zeroes .
mark ( tick) cols that have zeroes in the marked rows.
mark ( tick) rows that have any assigned zeroes in the marked cols.
Repeat the steps ,until chain of marking is complete.
Draw lines through ,all the unmarked rows and marked cols.this gives us
desired minimum number of lines .
• STEP -8
• Develop the new revised cost matrix as :
a) Find the smallest element of the reduced matrix not covered by any of
the lines.
b) Subtract the elements from all uncovered elements and add the same to
all elements lying at the intersection of any two lines .
• STEP- 9
• Go to step 6 and repeat until an optimum sol is attained.
ILLUSTRATION
Example: A construction company has four large bulldozers located at four different
garages. The bulldozers are to be moved to four different construction sites. The distances
in miles between the bulldozers and the construction sites are given below.
1 90 75 75 80
2 35 85 55 65
3 125 95 90 105
4 45 110 95 115
Step 1. Subtract 75 from Row 1, 35 from Row 2, 90 from Row 3, and 45 from Row 4.
STEP -2
Select 0 from col 1,0 from col 2,0 from col 3,5
from col 4
Step 4.:Since the minimal number of lines is less than 4, we have to return to Step 5.
Step 5 :
20 is the smallest entry not covered by line. Subtract 20 from each uncovered row.
• RESULT
• So we should send Bulldozer 1 to Site D, Bulldozer 2 to Site C, Bulldozer 3 to
Site B, and Bulldozer 4 to Site A.
THANK YOU!