OR Ch-4 Ppt-1
OR Ch-4 Ppt-1
ASSIGNMENT PROBLEMS
(MODELS)
12/04/24 [email protected] 1
LEARNING OBJECTIVES
12/04/24 [email protected] 2
4.1. ASSIGNMENT PROBLEMS
ASSIGNMENT PROBLEMS (AP): MEANING
refers to the class of LPPs that involves determining the most
efficient assignment of people to projects, salespeople to
territories, contracts to bidders ,jobs to machines, and
so on
The problem of assignment arises because available
resources such as personnel, machines, etc have varying
degrees of efficiency for performing different activities/jobs.
OBJECTIVE
To assign a number of resources to an equal number of
activities so as to minimize total costs or total time or
maximize total profit of allocation.
ASSUMPTIONS
Number of jobs is equal to the number of machines or
persons or m=n
Each man or machine is loaded with one and only one job.
Each man or machine is independently capable of handling
any of the jobs being presented.
Loading criteria must be clearly specified such as
“minimizing operating time” or “maximizing profit” ,or
“minimizing production cost” or “minimizing
throughout (production cycle) time ” etc.
12/04/24 [email protected] 3
ASSIGNMENT PROBLEMS…
The Assignment Table
Example 1: Service costs of different team assignment ($ in thousands)
Z
Z3
SC Z1 Z2
S1 20 15 31
S2 17 16 33
S3 18 19 27
12/04/24 [email protected] 4
4.2. SOLVING FOR ASSIGNMENT PROBLEMS
1. Hungarian Method/Flood’s
Technique/
works on the principle of reducing the given cost
Example 2
A department has five employees with five
jobs to be performed. The cost (in $ 100)
each employee will incur to perform each
job is given in the following matrix.
Required
How should the jobs be allocated, one per
employee, so as to minimize the total cost?
12/04/24 [email protected] 8
SOLVING FOR ASSIGNMENT PROBLEMS…
Employees
I II III IV V
A 10 5 13 15 16
B 3 9 18 13 6
JOBS C 10 7 2 2 2
D 7 11 9 7 12
E 7 9 10 4 12
12/04/24 [email protected] 9
SOLVING FOR ASSIGNMENT PROBLEMS…
Employees Employees
I II III IV V I II III IV V
A A 5 0 8 10 11
5 0 8 10 11 Jobs
Jobs
B B 0 6 15 10 3
0 6 15 10 3
C C 8 5 0 0 0
8 5 0 0 0
D D 0 4 2 0 5
0 4 2 0 5
E E 3 5 6 0 8
3 5 6 0 8
12/04/24 [email protected] 10
SOLVING FOR ASSIGNMENT PROBLEMS…
Employees
12/04/24 [email protected] 11
SOLVING FOR ASSIGNMENT PROBLEMS…
Step 4.Improve the present opportunity cost table (matrix)
a. Find the smallest entry in the uncovered cells (cells with no lines
through them) and subtract it from all entries in the uncovered cells.
b. Add the same smallest entry to those cells in which the lines
intersect (cells with two lines them)
c. Cells with one line through them are transferred (i.e. unchanged to
the improved table)
Employees
No of Lines (5)
=
I II III IV V
A
No of Rows/Columns (5)
5 0 6 10 9
B 0 6 13 10 1 i.e, the solution is
C
optimal
10 7 0 2 0
D 0 4 0 0 3
E 3 5 4 0 6
Jobs
12/04/24 [email protected] 12
SOLVING FOR ASSIGNMENT PROBLEMS…
Step 5: Make an optimal assignment
An optimal assignment should be made to cells
with a zero entry, maintaining the one-to-one
requirement
If more than one optimal solution exists, a trial-and
–error approach can be used to find all possible
combination assignments in the zero cells.
Employees
I II III IV V
A 5 0 6 10 9
Jobs All rows (Jobs) are
B 0 6 13 10 1 assigned to All
C
columns (Employees)
10 7 0 2 0
D 0 4 0 0 3
E 3 5 4 0 6
12/04/24 [email protected] 13
SOLVING FOR ASSIGNMENT PROBLEMS…
Solution
The optimal assignment schedule
E IV 4
12/04/24 [email protected] 14
4.3 ASSIGNMENT PROBLEMS - Exercises
Example 3
A car rental company has one car at each of five depots a, b, c,
d and e. A customer in each of the five towns A, B, C, D and E
requires a car. The distance in (in kilometers) between the
depots and towns where the customers are, is given in the
following distance matrix:
Required
How should the cars be assigned to the customers so as to
minimize the distance traveled?
I II III IV \V
A 160 130 175 190 200
D 50 50 90 80 110
E 55 35 70 80 105
12/04/24 [email protected] 15
4.4. SPECIAL CASES IN THE ASSIGNMENT PROBLEMS
I. Multiple Optimal Solutions
While making an assignment in the reduced assignment matrix, it is
possible to have two or more ways to strike off a number of zeros.
no unique 0 will exist at some point, resulting in more than one
choice for assignment and hence, more than one optimal solution.
In such cases the more suitable solution may be considered by the
decision-maker.
Example1
Given this final assignment table, identify two optimal solutions.
A 4 0 0
B 0 3 2
C 1 0 0
12/04/24 [email protected] 16
SPECIAL CASES IN THE ASSIGNMENT PROBLEMS…
II. Maximization case in assignment problems
converting the given maximization problem into a minimization problem.
Adjustment
Find the largest profit coefficient in the entire assignment table.
Subtract each entry in the original table from the largest profit
coefficient.
The transformed assignment problem so obtained can be solved by using
the Hungarian method.
Example 2
A company has four territories open, and four salesmen available for an
assignment. Based on the past performance, the following table shows the
annual sales (in $) that can be generated by each salesman in each
territory. Find the optimal assignment and the maximum expected total
sales.
I II III IV
A 42 35 28 21
B 30 25 20 15
C 30 25 20 15
D 24 20 16 12
12/04/24 [email protected] 17
SPECIAL CASES IN THE ASSIGNMENT PROBLEMS…
III. Unbalanced AP(unequal number of rows vs
columns)
In such cases a dummy row(s) or column(s) are added in the
matrix (with zeros as the cost elements) to make it a square
matrix.
After making the given cost matrix a square matrix, the
Hungarian method may be used to solve the problem.
Example 3
MEGA printing press, a publisher headquartered in Addis Ababa,
wants to assign three recently hired college graduates, Marta, Balcha
and Hirut to regional sales districts in Mekelle, Bahir Dar, and Dire
Dawa. But the firm also has an opening in Gambella and would send
one of the three there if it were more economical than a move to
Mekelle, Bahir Dar and Dire Dawa. It will cost Br. 1,000 to relocate
Marta to Gambela, Br. 800 to relocate Baklcha there, and Br. 1,500 to
move Hirut. What is the optimal assignment of personnel to offices?
A B C D E
M1 9 11 15 10 11
Machine
M2 12 9 - 10 9
M3 - 11 14 11 7
12/04/24 M 14
[email protected] 8 12 7 8 19
4