Professional Documents
Culture Documents
ASSIGNMENT MODEL
7.1 INTRODUCTION:
. The simplex and transportation models used for solving linear programmmg
problems (LPP) usually involve tedious calculations and hence consume a lot of
time.
. In some special cases, the LPP can be solved using special techniques. One of such
special techniques is the assignment model.
. The assignment problem is a special type of allocation problem. That is, each
resource should be allocated (assigned) to only one job and each job requires only
on resource.
. Hence, the assignment problem is defined as follows..If there are n facilities and n
jobs with details related to the effectiveness of each facility for each job known,
the problem is to assign one facility to one and only one job so that the given
measure of effectiveness is optimised.
If m < n Add dummy rows accordingly so that m = n. The cell values are
take as zero.
If m > n ..... Add dummy columns accordingly so that m = n. The cell values are
take as zero.
. The assignment model is represented in a matrix form as follows:
MAcmNES
1 2 3 4 J n
1 CJI CJ2 CJ3 CI4
... Cln al=l
2 C21 C22 023 C24
.... C2n a2 =1
JOBS 3 C31 C32 C33 C34
.... C3n a3 =1
bJ =1 b2 =1 b3 =1 b4 =1 b.=l
J bn =1
ASSIGNMENT MODEL 7.3
STEP 1: Check whether the number of rows are equal to the number of columns in the
problem. If the number of rows are not equal to the number of columns, add a row or
column with cell entries taken as zero.
STEP 3: Perform row wise reduction. That is, select the minimum element In
the first row. Subtract this minimum element from the elements of the first row. Do this
STEP 8: After step 7, go on applying step 5, step 6 and step 7 until the problem is over,
'that is, until each row and each column contains one and only one allocation.
PROBLEM: There are 5 jobs and 5 machines. The associated cost of allocating a job
to the machines is given in the table.
MACHINES
Ml M2 M3 M4 M5
Jt 11 17 8 16 20
J2 9 7 12 6 15
JOBS J3 13 16 15 12 16
J4 21 24 17 28 26
J5 14 10 12 11 15
It is required to assign one job to each of the 5 machines. Determine the optimal
assignment of jobs so that the total cost to process all the jobs is minimised.
7.6 OPEARA nONS RESEARCH
SOLUTION:
STEP 1: The number of rows and columns of the table should be equal. Since the number
of row and"columns are equal, we can proceed to step 2.
STEP 2: As the problem involves cost data, it is a minimisation problem and hence we
can proceed to step 3.
. Subtract this minimum element from each and every element of the first row we get
the row as (3,9,0,8, 12).
. Now select the minimum element of the second row, which equals 6.
. Subtract this minimum element from each and every element of the second row we
get the row as (3, 1,6,0, 9)
. Do this row wise reduction for each row, we get the table as shown.
MACHINES
Ml M2 M3 M4 M5
Jl 3 9 0 8 12
J2 I 3 1 6 0 9
JOBS J3 1 4 3 0 4
J4 4 7 0 11 9
J5 4 0 2 1 5
8
Subtract this minimum element fTomeach and every element of the second column
we get the column as (9, 1,4, 7, 0)
8
Do this column wise reduction for each column, we get the table as shown. Then
allocate (see procedure to solve assignment problems for steps 5 & 6).
M5
:11 8 I
Example of element at
inter section
J2 I 2 I I b 1m I 5 V Example of covered
JOBS I I I 1 I I I 1 -
.F
1 element
J
ILJ I I I I I I I I
Example of uncovered
J4 3 1 5 ...1 element
J5 3 1
LEAST
NOTE: ALLOCATING.
0ee row wise - Allocate if a single zero exi~ts - cancel the column containing the
allocated zero.
8? column wise - Allocate if a single zero exists - cancel the row containing the
allocated zero.
~en a compulsory allocation is made, cancel both the rowan? column containing
the allocatedzero. I
We see that in the (5 x 5) table, only 4 allocations are present (But there should be 5
allocations). Hence we have to adopt step 7 (the procedure to get more zeros).
7.8 OPEARA nONS RESEARCH
The following table is obtained and allocations (steps 5 & 6) are shown.
MACHINES
M1 M2 ~b M5
LEAST
J1 1 9 7
J2 I 1 1 4
JOBS
:4 l' 2 7 111 4
Again we see that in a (5 x 5) table, only 4 allocations are present (But there should be
5 - allocations). Hence we have to adopt step 7 (the procedure to get more zeros.
STEP 7 (APPLIED AGAIN): GETTING MORE ZEROS:
. Least uncovered element in the table = 1
MACHINES
I
3
J1
rrl=;-rt-rt
J2
JOBS
J3
W--+--+---+--+-
J4 I 111
J
Now we see that in the (5 x 5) table, 5 allocations are present. That is, each row and each
column contains one and only one allocation. Hence the solution is optimal, that is, the
optimal assignment of assigning jobs to the machine has been obtained.
The optimal assignment and the corresponding minimum total cost is shown in table.
Assign To Cost
Job Machine (Rs)
J1 Ml 11
J2 M4 6
13 M5 16
J4 M3 17
J5 M2 10
Minimum total Cost Rs.60
PROBLEM: In a small machine shop, there are 4 operators avai~able to assign jobs
for the day. There are 5 jobs and the profit in rupees for each operator on each job is
represented in the table.
-
JOBS
Jl J2 J3 J4 J5
01 6.30 5.90 6.80
10.20 I 7.40
OPERATORS 02 8.00 10.10 9.00 8.50 7.30
03 8.70 8.80 9.10 7.60 6.50
04 7.30 8.30 6.40 7.70 8.00
SOLUTION:
STEP 1: The number of rows and columns in the table should be equal. In the given
problem, number of rows is 4 and number of columns is 5. Hence add one dummy row
(dummy operator - 05) with profit elements taken as zero. This has been shown in the
table. Also multiply each element by 10 to avoid working with decimal places.
JOBS
Jl J2 J3 J4 J5
01 63 59 68 102 74
HIGHEST
OPERATORS 02 80 101 90 85 73
03 87 88 91 76 65
04 73 83 64 77 80
Dummy -05 0 0 0 0 0
To covert the given problem to a minimisation problem, subtract each and every
element of the table from the highest element (102) of the table. The following table is
I
obtained by doing so.
J
ASSIGNMENT MODEL 7.11
JOBS
Jl J2 J3 J4 J5
01 39 43 J4 e 28
OPERATORS 02 22 1 12 17 29
03 15 14 11 26 37
04 29 19 38 25 22
Dummy -05 102 102 102 102 102
STEP 3: Row wise reduction: After performing row wise reduction, the following
table is obtained.
JOBS
J1 J5
-
01 28
02 21 28
OPERATORS
03 26
04 10 3
LEAST
DUMMY-
STEP 4. 5 & 6: Column wise reduction and allocating: Since each column has a zero,
the result of column wise reduction will be the same table. Hence we can start allocating
which has been shown in the previous table itself.
After allocating we see that in the (5 x 5) table, only 4-allocations are present (but
there should be 5 allocations). Hence we have to adopt step 7 (the procedure to get more
zeros ).
STEP 7: Getting more zeros.
. Least uncovered element in the previous table =3
. Add this element 3 to elements at intersections.
7. 12 OPEARA nONS RESEARCH
01
I
02
OPERATORS
03
04
DUMMY - 05
Now we see that in the (5 x 5) table, 5 allocations are present. That is each row and
each column contains one and only one allocation. Hence the solution is optimal.
The optimal assignment and the corresponding total profit is shown in table.
ASSIGN TO JOB PROFIT
OPERATOR (Rs)
01 J4 10.20
02 J2 10.10
03 13 9.10
04 . J5 8.00
DUMMY -05 JI 0.00
MAXIMUM TOTAL PROFIT Rs.37.4
KI 0 Kz K3
0 0 Ks K6 K7
0 Kg 0 K9 0
0 KIO 0 KII 0
K12 K13 0 0 0
KJ K4
* Compulsory
Ka K7 allocation
" -
8 9
10 K11
0*-
12 J
ALTERNATE OPTIMALASSIGNMENT
2 KJ
Compulsory
Ks * allocation
*
8 9
10 K11
12 J
7.14 OPEARA TIONS RESEARCH
I
--
Sales revenue
in thousands of rupees
Production cost in
thousands of rupees
PRODUCT PRODUCT
P Q R S P Q R S
PLANTW 70 60 66 75 PLANTW 62 58 60 71
PLANT X 73 63 68 72 PLANTX 71 58 62 71
PLANT Y 55 58 60 62 PLANTY 50 51 53 59
PLANT Z 63 68 71 76 PLANTZ 61 66 65 70
SOLUTION:
The sales revenue and production cost have been given.
Hence, profit = (Sales revenue - Production cost).
For cell (WP), Profit = 70 - 62 = 8
For cell (WQ), Profit = 60 - 58 = 2 etc.,...
All profit values of cells are calculated and put in a table as shown.
PROFIT IN THOUSANDS OF RUPEES:
PRODUCT
P Q R S
w 8 2 6 4
HIGHEST
PLANT X 2 5 6 1
Y 5 7 7 3
z 2 2 6 6
ASSIGNMENT MODEL 7. 15
STEP 1: The number of row and columns in the table should be equal. Since the number
of rows and columns are equal, we can proceed to step 2.
STEP 2: As the problem involves profit data, it is a maximisation problem.
To covert the given problem to a minimisation problem, subtract each and every
element of the table from the highest element (8) of the table. The following table is
obtained by doing so.
PRODUCT
P Q R S
W 0 6 2 4
PLANT X 6 3 2 7
y 3 I I 5
Z 6 6 2 2
STEP 3: Row wise reduction: After performing row wise reduction, the following
table is obtained.
PRODUCT
PLANT x
STEP 4. 5 & 6: Column wise reduction and allocating: Since each column has a zero,
the result of column wise reduction will be the same table. Hence we can start allocating
which has been shown in the previous table itself.
We see that in the (4 x 4) table, 4 allocations are present. That is, each row and each
column contains one and only one allocation. Hence the solution is optimal.
7.16 OPEARATIONS RESEARCH
The optimal assignment and the corresponding total profit is shown in table.
OFFICES
01 02 03 04 05 06
Ml 4 2 5 1 3 6
M2 2 3 5 1 4 6
Managers M3 3. 5 6 2 1 4
M4 2 4 6 1 3 5
M5 5 2. 6 4 1 3
M6 2 6 3 5 1 4
STEP 1: The number of rows and columns in the table should be equal. As the number of
rows are equal to the number of columns, we can proceed to step 2.
'--------
01 02 03 04 05 06
Ml 2 4 1 5 3 0
M2 4 3 1 5 2 0
Managers M3 3 1 0 4 5 2
M4 4 2 0 5 3 1
M5 1 4 0 2 5 3 Ii.
M6 4 0 3 I 5 2
STEP 3: RQwwise reduction: Since each row has a zero, the result of row wise reduction
will be the same table.
OFFICES
1 02 C3 04 (5 6
M1 4 4
I
M2 3 4
[
M3 1
.--
MANAGERS 3
'--
M4 2 4
M5 4 1
,
'
..
L.:.J
After allocating we see that in the (6 x 6) table, only 5 -allocations are present (but
there should be 6 allocations). Hence we have to adopt step 7 (the procedure to get more
zeros.)'
7. 18 OPEARA nONS RESEARCH
OFFICES
1 0
M1
It
M2
MANAGERS M3
M4
M5
M6
Now we see that in the (6x6) table, 6 allocations are present. That is each row and each
column contains one and only one allocation. Hence the solution is optimal. The optimal
assignment has been shown.
ASSIGNMENT MODEL 7. 19
PROBLEM: A marketing agency has taken up the marketing of four products. The
agency plans to enter them in four markets such that once it has entered one product in a
market, another product will not be entered in the same market. How should the agency
enter the products in the markets so that the total expected amount is as great as possible.
Use the flood technique to solve the problem. Data related tq the probability of making in
the market is given in table.
SOLUTION: As the probability of making in the market and the amount has been
given, the profit can be determined.