LP Assignment Method
LP Assignment Method
12 ◦ Management Science
MODULE G ALS FLEX Course Material
Linear Programming
Assignment Method
CORA DEBBIE
ALICE
BETTY
Illustrative example:
Alice, Betty, Cora, and Debbie plan to enter as a team in a competition. Each of the four will
participate in
a one of the legs of competition which includes running, swimming, bicycling, and canoeing. Based
upon
past performances, their expected times to complete any of the four events (in minutes) are as follows;
Running Swimming Bicycling Canoeing
Alice 44 32 40 28
Betty 24 20 12 32
Cora 16 32 40 36
Debbie 44 40 20 28
1. Determine which woman is to participate in each event so that the total time required for the team
is minimized.
2. What total time will the team expect to take for the contest?
Given:
Running Swimming Bicycling Canoeing
Alice 44 32 40 28
Betty 24 20 12 32
Cora 16 32 40 36
Step 1: (Rows) Debbie 44 40 20 28
Since each woman is to participate in only one event, we use the Hungarian method or the
Assignment method to find the shortest time that they can finish the 4 events. We begin by
reducing the row by subtracting the smallest number in each row from all numbers in the
row;
Alice: 44 – 28 = 16; 32 – 28 = 4; 40 – 28 = 12; 28 – 28 = 0
Betty: 24 – 12 = 12; 20 – 12 = 8; 12 – 2 = 0; 32 – 12 = 20
Cora: 16 – 16 = 0; 32 – 16 = 16; 40 – 16 = 24; 36 – 16 = 20
Debbie: 44 – 20 = 24; 40 – 20 = 20; 20 – 20 = 0; 28 – 20 = 8
Initial Table: Runnin Swimmin Bicyclin Canoeing Alice Canoeing
g g g
Alice 16 4 12 0
Betty Bicycling ?
Betty 12 8 0 20
Cora 0 16 24 20
Debbie 24 20 0 8 Cora Running
Debbie Bicycling
Not one to one ?
correspondence
Step 2 (Columns)
Now we reduce each column by subtracting the smallest number in each column from
all numbers in the column.
Running Swimming Bicycling Canoeing
Alice: 16 – 0 = 16 4–4=0 12 – 0 = 12 0–0=0
Betty 12 – 0 = 12 8–4=4 0–0=0 20 – 0 = 20
Cora 0–0=0 16 – 4 = 12 24 – 0 = 24 20 – 0 = 20
Debbie 24 – 0 = 24 20 – 4 = 16 0–0=0 8–0=8
Table II
Running Swimmin Bicycling Canoeing
g Alice Swimming, Canoeing
Alice 16 0 12 0
Betty Bicycling ?
Betty 12 4 0 20
Cora 0 12 24 20 Cora Running
Debbie 24 16 0 8 Debbie Bicycling ?
Step 2 (Columns) Not one to one correspondence
Now we reduce each column by subtracting the smallest number in each column from
all numbers in the column.
Running Swimming Bicycling Canoeing
Alice: 16 – 0 = 16 4–4=0 12 – 0 = 12 0–0=0
Betty 12 – 0 = 12 8–4=4 0–0=0 20 – 0 = 20
Cora 0–0=0 16 – 4 = 12 24 – 0 = 24 20 – 0 = 20
Debbie 24 – 0 = 24 20 – 4 = 16 0–0=0 8–0=8
Runnin Swimming Bicycling Canoeing
g
Alice 16 0 12 0
Betty 12 4 0 20
Cora 0 12 24 20
Debbie 24 16 0 8
Step 3
Cover the zero entries by vertical or horizontal lines using the least number of
lines possible (This can be done by covering first row or column having the most
number of zeros). Subtract the smallest uncovered cost from each uncovered cost but
add it to the entry found at the intersection of the lines. If an assignment is already
possible an optimal solution is reached if not repeat step 3.
Since we only have three lines to cover all the zeros in our problem, we cannot get the
optimum solution. Taking the smallest number not covered by the line which is 4. Then
subtract 4 from all the uncovered numbers and add 4 to each element at the
intersection of two lines, just copy the number which were covered by the lines.
1. Determine which engineer is to be assigned in each project so that the total cost of constructing the
project is minimized.
2. What is total cost of the entire project?
KEEP SAFE EVERYONE
END