4 Assignment Problem
4 Assignment Problem
4 Assignment Problem
Problem 1.
Let us consider an example where 4 jobs have to be
assigned to four persons. The cost of assigning job j to
resource i is given in following table .
Persons
1 2 3 4
Jobs
J1 5 9 3 6
J2 8 7 8 2
J3 6 10 12 7
J4 3 10 8 6
Persons
1 2 3 4 5
Jobs
J1 11 7 10 17 10
J2 13 21 7 11 13
J3 13 13 15 13 14
J4 18 10 13 16 14
J5 12 8 16 19 10
We define procedure that helps us verify whether we have
reached the maximum number of assignments possible
for the given non negative cost matrix with at least one
zero in every row and column having assignments
Persons
1 2 3 4
Jobs
J1 3 1 1 4
J2 4 2 2 5
J3 5 3 4 8
J4 4 2 5 9
Problem 3. (Solution)
Optimum assignment Alternate Optimum assignment
1 J4 4 1 J3 1
2 J3 2 2 J4 5
3 J2 3 3 J1 5
4 J1 4 4 J2 2
Optimum (Minimum) cost Alternate Optimum (Minimum) cost
= 4 + 2 + 3 + 4 = Rs. 13/- = 1 + 5 + 5 + 2 = Rs. 13/-
Problem 4.
A car hire company has one car at each of five depots a,
b, c, d and e. A customer requires a car in each town,
namely A, B, C, D and E. Distance (in kms) between
depots(origins) and towns (destinations) are given in the
following distance matrix:
a b c d e
A 160 130 175 190 200
B 135 120 130 160 175
C 140 110 155 170 185
D 50 50 80 80 110
E 55 35 70 80 105
How should car be assigned to customers so as to
minimize the distance travelled?
Problem 4. (Solution)
• Optimum solution is obtained as:
• From original matrix table the minimum
distance assignment is given by
Total
Route A-e B-c C-b D-a E-d Distance
Travelled
Distance
200 130 110 50 80 570 Kms.
(Kms.)
Unbalanced Assignment
Problems
Problem 5.
A city corporation has decided to carry out road repairs on main four arteries of the
city. The government has agreed to make a special grant of Rs. 50 lakhs towards the
cost with a condition that the repairs must be done at the lowest cost and quickest
time. If conditions warrant, then a supplementary token grant will also be
considered favourably. The corporation has floated tenders and 5 contractors have
sent in their bids. In order to expedite work, one road will be awarded to only one
contractor
COST OF REPAIRS (RS. LAKHS)
R1 R2 R3 R4
C1 9 14 19 15
C2 7 17 20 19
Contractors / Road C3 9 18 21 18
C4 10 12 18 19
C5 10 15 21 16
(i) Find the best way of assignment the repair work to the contractors and the costs.
(ii) If it is necessary to seek supplementary grants, then what should be amount
sought?
(iii) Which of the five contractors will be unsuccessful in his bid?
Problem 5. (Solution)
(i)
Contractors / Total
R1C2 R2C4 R3C1 R4C5 R5C3
Road cost
COST OF REPAIRS
7 12 19 16 0 54
(RS. LAKHS)
Territory I II III IV
Annual sales (Rs.) 60,000 50,000 40,000 30,000
Four salesmen are also considered to differ in their ability : it is estimated that,
working under the same conditions, their yearly-sales would be proportionately as
follows
Salesman A B C D
Proportion 7 5 5 4
If the criterion is maximum expected total sales, then intuitive answer is to assign
the best salesman to the richest territory, the next best salesman to the second
richest, and so on. Verify this answer by the assignment technique.
Problem 8. (Solution)
Sales matrix for maximization is obtained as follows:
Sales in 10 thousand of rupees
6 5 4 3
Sales proportion I II III IV
7 A 42 35 28 21
5 B 30 25 20 15
5 C 30 25 20 15
4 D 24 20 16 12
A B C D E
A ∞ 2 15 7 4
B 4 ∞ 3 8 2
C 6 7 ∞ 4 9
D 8 9 8 ∞ 6
E 4 3 2 8 ∞
Problem 9. (Solution)
Optimum assignment
A B 2
B E 2
E C 2
C D 4
D A 8
Optimum cost = 2 + 2 + 2 + 4 + 8 = Rs 18/-
Problem 10.
Solve the following travelling salesman problem given the
following data: c12=20, c13=4, c14=10, c23=5, c24=6, c25=10,
c35=6 and c45=20 where cij=cji and there is no route
between cities i and j if a value of cij is not given
1 2 3 4 5
1 ∞ 20 4 10 ∞
2 20 ∞ 5 6 10
3 4 5 ∞ ∞ 6
4 10 6 ∞ ∞ 20
5 ∞ 10 6 20 ∞
Problem 10. (Solution)
Optimum assignment Alternate Optimum assignment
1 3 4 1 4 10
3 5 6 4 2 6
5 2 10 2 5 10
2 4 6 5 3 6
4 1 10 3 1 4
Optimum (Minimum) cost Alternate Optimum (Minimum) cost
= 4 + 6 + 10 + 6 + 10 = Rs. 36/- = 10 + 6 + 10 + 6 + 4 = Rs. 36/-
Problem 11.
A machine operator processes 5 jobs each week and
must choose a sequence for them. The table gives the
changeover cost. Suggest the best sequence which
minimizes the total change over cost.
A B C D E
A ∞ 2 5 7 1
B 6 ∞ 3 8 2
C 8 7 ∞ 4 7
D 12 4 6 ∞ 5
E 1 3 2 5 ∞
Problem 11. (Solution)
Optimum assignment
A B 2
B C 3
C D 4
D E 5
E A 1
Optimum cost = 2 + 3 + 4 + 5 + 1 = Rs 15/-