Assignment Solution
Assignment Solution
Assignment Solution
Assignment problems
• Asignee:
• Employee, machine, vehicle, etc.
[1]
• JOB SHOP COMPANY bought 3 new machines. There are 4 available locations in the shop
where a machine could be installed. Some of locations are more desirable than others for
particular machines because of their proximity to work centers that will have a heavy
work flow to and from these machines.
• Objective: To assign each machine to the available location to minimize the total cost of
material handling.
Location
1 2 3 4
1 13 16 12 11
Machine
2 15 - 13 20
3 5 7 10 6
• Objective: To assign each machine to the available location to minimize the total cost of
material handling.
Task (Location)
1 2 3 4
Assignee 1 13 16 12 11
(Machine)
2 15 M 13 20
3 5 7 10 6
4(D) 0 0 0 0
• Decision variables:
1 if assignee 𝑖 performs task 𝑗
𝑥𝑖𝑗 = ቊ binary variables
0 if not
for 𝑖 = 1,2, … 𝑛 and 𝑗 = 1,2, … , 𝑛
[1]
[1]
• We can see a lot of degenerate basic variables (𝑥𝑖𝑗 = 0) and the assignment to
a dummy location
• JOB SHOP COMPANY bought 3 new machines. There are 4 available locations in the shop
where a machine could be installed. Some of locations are more desirable than others for
particular machines because of their proximity to work centers that will have a heavy
work flow to and from these machines.
• Objective: To assign each machine to the available location to minimize the total cost of
material handling.
Task (Location)
1 2 3 4
Assignee 1 13 16 12 11
(Machine)
2 15 M 13 20
3 5 7 10 6
4(D) 0 0 0 0 [1]
• It converts the original cost table into a series of equivalent cost tables [1]
• Final equivalent cost table is one consisting of only positive or zero elements
where all assignments can be mate to the zero element positions.
• The key step of method:
• Beginning:
• We will subtract the smallest value in each row from each value in the row
[1]
• Optimal solution:
• Machine 1 to location 4, Machine 2 to location 3, Machine 3 to location 1 [1]
• We will get negative values in some columns and rows. To restore the previous zero
elements and eliminate negative ones, we will add 30 to each row or column with a
line covering it – row 3 and columns 2 and 5
1 2 3 4 5 1 2 3 4 5
1 50 -30 0 90 -30 1 50 0 0 90 0
2 50 -30 0 90 -30 2 50 0 0 90 0
3 30 30 M 50 -30 3 30 60 M 50 0
4 30 30 M 50 -30 4 30 60 M 50 0
• The shortcut:
• Subtract value 30 from elements without a line through them and add 30 to [1]
every element liying at the intersection of two lines
1 2 3 4 5 1 2 3 4 5
1 50 0 0 90 0 1 50 0 0 90 30
2 50 0 0 90 0 2 50 0 0 90 30
3 30 60 M 50 0 3 0 30 M 20 0
4 30 60 M 50 0 4 0 30 M 20 0
5 0 120 0 0 M 5 0 120 0 0 M
Operations research I
• Description
• Management question:
1. Permit product splitting – the same product is produced by more than 1 plant
• Transportation problem
[1]
• Optimal solution:
[1]
Transportation problem
Assignment problem
• In the assignment problem the cost 𝑐𝑖𝑗 is the total cost associated with
assignee 𝑖 to perform the task 𝑗 → we must calculate them and to change
the table
[1]
Assignment problem
• In the assignment problem the cost 𝑐𝑖𝑗 is the total cost associated with assignee 𝑖
to perform the task 𝑗 → we must calculate them and to change the table
Assignment problem
[1]
Assignment problem
• Plant 1 will produce products 2 and 3 • Plant 1 will produce products 2 and 3
• Plant 1 will produce products 2 and 3 • Plant 1 will produce products 2 and 3
• Plant 2 will produce product 4 • Plant 2 will produce product 1
• Plant 3 will produce product 4 and • Plant 3 will produce product 4
product 1
Hidden costs associated with splitting of the product – they are not included in
the objective function → management must take into consideration the factors,
which cannot be included in the objective function
[1]
[1] Hillier and Lieberman: Introduction to Operations Research, 8th edition, 2005