Assignment Problem
Assignment Problem
Prof. Vikram H
Meaning of OR
Application of Quantitative Methods
Scientific Method
Solve practical problems in business
Session 1 Research on Operations
Review OR History
Applications / Scope of OR
Marketing and Sales
Production Management
Finance, Investment & Budgeting
HR
R&D
Case Study - GM
OR Books
OR Books
Assignment Concepts- What is Assignment Problem?
Formulation of Assignment Model
After Completing Methods of Assignment Problem
Session Hungarian Method to solve Assignment Problem
You Categories of assignment Problems
will Minimization Assignment Problem
Understand Maximization Assignment Problem
Balanced Assignment Problem
Unbalanced Assignment Problem
Prohibited / Constrained Assignment Problem
Deals with the allocation of the various resources to the various activities
What is on one to one basis.
Assignment Assignment of n different facilities to n different tasks
Problem? It does it in such a way that the cost or time involved in the process is
minimum and profit or sale is maximum
Formulation For all i, Resource available
of
Assignment
Problem For all j, Activity Requirement
A- Bldg.1 A- Bldg. 2
B- Bldg. 2 B- Bldg.1
Total = 53+ 87 =140 Total = 96+ 47 = 143
Three air conditioners need to be installed in the same week by
three different companies
Bids for each job are solicited from each company
To which company should each job be assigned?
Understanding
Assignment
Understanding
Assignment
From /To D F G
Assignment Problem A 2500 4000 3500
1 B 4000 6000 3500
C 2000 4000 2500
Where should you send each of your sales people in order to minimize
air fare?
Step 1
Subtract the smallest entry in each row from all the entries of its
row
Assignment Problem Subtract 2500 from Row1, 3500 from Row 2 and 2000 from Row 3
1
Solution From/To D F G
A 0 1500 1000
B 500 2500 0
C 0 2000 500
Step 2
Subtract the smallest entry in each column from all the entries of its
column
Subtract 0 from Column1, 1500 from Column2, & 0 from
Assignment Problem Column3.
1 From / To D F G
Solution A 0 0 1000
B 500 1000 0
C 0 500 500
Assignment Problem Step 3
Draw minimum number of horizontal & vertical lines to cover all zeros at least one
1 From / To D F G
Solution A 0 0 1000
B 500 1000 0
C 0 500 500
Contractor
Assignment Building 1 2 3 4
Problem A
B
48
56
48
60
50
60
44
68
C 96 94 90 85
D 42 44 54 46
Step 1
Subtract the smallest entry in each row from all the entries of its
row
Assignment
Contractor
Problem Building 1 2 3 4
A 4 4 6 0
B 0 4 4 12
C 11 9 5 0
D 0 2 12 4
Step 2
Subtract the smallest entry in each column from all the entries of its
column
Assignment Contractor
Problem Building 1 2 3 4
A 4 2 2 0
B 0 2 0 12
C 11 7 1 0
D 0 0 8 4
Make sure that in the matrix each row and each column has at
least one zero element.
Step 3
Draw minimum number of horizontal & vertical lines to cover all
zeros at least one
Assignment Contractor
Problem Building 1 2 3 4
A 4 2 2 0
B 0 2 0 12
C 11 7 1 0
D 0 0 8 4
Step 4
Select the smallest number that does not have a line through it, Subtract
this number from each uncovered row & add it to every element at the
intersection of the two lines.
In this example we have 1, as the minimum element, subtract the same
from all the elements that do not have a line through them and add this
smallest element at the intersection of two lines
Assignment Contractor
Problem Building 1 2 3 4
A 4 2 2 0
B 0 2 0 12
C 11 7 1 0
D 0 0 8 4
Contractor
Building 1 2 3 4
A 3 1 1 0
Assignment B 0 2 0 13
Problem C 0 6 0 0
D 0 0 8 5
Contractor
Assign
Building 1 2 3 4
A 3 1 1 0
B 0 2 0 13
C 0 6 0 0
Assignment D 0 0 8 5
Problem
A- 4 (44)
B- 1 (56)
C- 3 (90)
D -2 (44)
Total = 234 Thousand
Construction Site
Crane 1 2 3 4
A 90 75 75 80
B 35 85 55 65
Solve C 125 95 90 105
D 45 110 95 115
Step 1 tep 4
S
Subtract the smallest entry in each row from all the entries of its row Crane 1 2 3 4
Construction Site A 35 0 0 0
Crane 1 2 3 4
B 0 30 0 5
A 15 0 0 5
B 0 50 20 30
C 55 5 0 10
C 35 5 0 15 D 0 45 30 45
D 0 65 50 70
Step 2
Subtract the smallest entry in each column from all the entries of its column tep 4
S
Solution Crane 1
Construction Site
2 3 4
Crane
A
1
40
2
0
3
5
4
0
A 15 0 0 0
B 0 25 0 0
B 0 50 20 25
C 35 5 0 10 C 55 0 0 5
D 0 65 50 65 D 0 40 30 40
Step 3
Draw minimum number of horizontal & vertical lines to cover all zeros at least one tep 4
S
Crane 1 2 3 4 Crane 1 2 3 4
A 15 0 0 0 A 40 0 5 0
B 0 50 20 25
B 0 25 0 0
C 35 5 0 10
C 55 0 0 5
D 0 65 50 65
D 0 40 30 40
A ssignment ssignment
A
Crane 1 2 3 4 Crane 1 2 3 4
A 40 0 5 0 A 40 0 5 0
B 0 25 0 0 B 0 25 0 0
C 55 0 0 5
C 55 0 0 5
D 0 40 30 40
D 0 40 30 40
Maximization A B C D E
1 9 3 1 13 1
Problem 2 1 17 13 20 5
3 0 14 8 11 4
4 19 3 0 15 5
5 12 8 1 6 2
Step 2
Subtract the smallest entry in each row from all the entries of its row
Maximization A B C D E
Problem 1 8 2 0 12 0
2 0 16 12 19 4
3 0 14 8 11 4
4 19 3 0 15 5
5 11 7 0 5 1
Step 3
Subtract the smallest entry in each column from all the entries of its
column
Maximization A B C D E
1 8 0 0 7 0
Problem 2 0 14 12 14 4
3 0 12 8 6 4
4 19 1 0 10 5
5 11 5 0 0 1
Step 4
Draw minimum number of horizontal & vertical lines to cover all
zeros at least one
Maximization
Problem
A B C D E
1 8 0 0 7 0
2 0 14 12 14 4
3 0 12 8 6 4
4 19 1 0 10 5
5 11 5 0 0 1
Step 5
Select the smallest number that does not have a line through it,
Subtract this number from each uncovered row & add it to every
element at the intersection of the two lines.
In this example we have 1, as the minimum element, subtract the
same from all the elements that do not have a line through them and
add this smallest element at the intersection of two lines
Maximization
Problem 1
A
8
B
0
C
0
D
7
E
0
2 0 14 12 14 4
3 0 12 8 6 4
4 19 1 0 10 5
5 11 5 0 0 1
A B C D E
1 9 0 1 7 0
2 0 13 12 13 3
Maximization 3 0 11 8 5 3
Problem 4
5
19
12
0
5
0
1
9
0
4
1
No of lines = 4
Minimum element is 3. subtract the same from all the elements that do
not have a line through them and add this smallest element at the
intersection of two lines
A B C D E
1 12 0 1 7 0
Maximization 2 0 10 9 10 0
Problem 3 0 8 5 2 0
4 22 0 0 9 4
5 15 5 1 0 1
Assign as below:
A B C D E
Maximization 1 12 0 1 7 0
2 0 10 9 10 0
Problem 3 0 8 5 2 0
4 22 0 0 9 4
5 15 5 1 0 1
1- B 38
2- A 40
3- E 37
4- C 41
5- D 35
Total = 191
A company has 5 jobs to be done. Assign 5 jobs to 5 machines so as to
maximize the total expected profit
A B C D E
Maximization 1 5 11 10 12 4
Problem 2 2 4 6 3 5
3 3 12 5 14 6
4 6 14 4 11 7
5 7 9 8 12 5
Balanced Assignment Problem-
No. of rows & columns in the problem are equal
Balanced
& Unbalanced Assignment Problem-( Non Square Matrix)
Unbalanced No. of rows & columns in the problem are not equal
Assignment
Add row / column to make the square matrix
Problem
ABC Company Decided to organize training program for employees. A
careful study indicates that no. of employees who cannot attend a
seminar topic A,B,C &D on special day is as follows:
Solution
to
Unbalanced
Assignment Problem