Lecture 9 - Network Assignment
Lecture 9 - Network Assignment
NETWORK PROBLEM:
1.
Assignment
Assignment Problem
Introduction
Transportation
2
problem
3 Transshipment problem
4 Shortest route problem
5 Maximal flow problem
Assignment Problem
Agents
Tasks
Jobs
Machines
Contract
s
Bidders
Sales
person
Sales territories
`Atiah Abdullah Sidek
Specically,
By default
the objective of
assignment network
problem is to
MINIMISE cost
`Atiah Abdullah Sidek
Characteristic:
One
Agent
One
Task
`Atiah Abdullah Sidek
Case Study:
Assignment Problem
Project
Radio
Toaster
Oven
Coffee Table
3
Azhar
11
14
Syahid
10
11
Majid
12
We want to
assign workers to
projects so the
total labor costs
are at a
minimum.
What do
we want
Comparison of Assignment
Alternatives and Costs
PRODUCT ASSIGNMENT
LABOR
LABOR
COSTS
COSTS ($)
($)
1
1
Azhar
Azhar
Syahid
Syahid
Majid
Majid
What
are
the
2
3
2
3
combination of
Syahid
Majid
11 + 10 + 7
worker
to
Majid
Syahid
11 + 12 + 11
project
possible
Azhar
Majid
8 + 14 + 7
Majid for Azhar
this 8 + 12 + 6
Azhar
Syahid
9 + 14 + 11
problem?
Syahid
Azhar
9 + 10 + 6
TOTAL
TOTAL
COSTS
COSTS ($)
($)
28
34
29
26
34
25
Hungarian Method
Minimisation
Step
1
Step
2
Step
3
Step
4
Revise
Repeat step 2
Project
Radio
1
Azhar
Syahid
Majid
11
8
9
Toaster
Oven
2
Coffee Table
3
14
10
12
6
11
7
CHECK
#worker = #project ?
`Atiah Abdullah Sidek
Case Study:
Hungarian Method
Step 1-a: Row deduction
Worker
Azhar
Syahid
Majid
Project
Radio
1
Toaster
Oven
2
Coffee Table
3
11
5
8
0
9
2
14
8
10
2
12
5
6
0
11
3
7
0
Case Study:
Hungarian Method
Step 1-b: Column deduction
Worker
Worker
Azhar
Azhar
Syahid
Syahid
Majid
Majid
Project
Project
Radio
Radio
1
1
Toaster
Toaster
Oven
Oven
2
2
Coffee
Coffee Table
Table
3
3
5
5
0
0
2
2
6
8
0
2
3
5
0
0
3
3
0
0
Case Study:
Hungarian Method
Is no of lines = no. row/column
Step 2: Find minimum lines
Worker
Azhar
Syahid
Majid
Project
Radio
1
Toaster
Oven
2
Coffee Table
3
5
0
2
6
0
3
0
3
0
Finding the
Minimum Number of Lines
Remember the objective
here is to cover all the
zeros with the minimum
number of lines.
Lines must be horizontal or
vertical only.
Case Study:
Hungarian Method
Step 3: Revise
Worker
Worker
Azhar
Azhar
Syahid
Syahid
Majid
Majid
Project
Project
Radio
Radio
1
1
Toaster
Toaster
Oven
Oven
2
2
Coffee
Coffee Table
Table
3
3
5
3
0
0
2
2
0
6
4
0
0
3
1
0
0
3
3
5
0
0
Case Study:
Hungarian Method
CHECK
YES 3 lines
= 3row/column
OPTIMAL
SOLUTION
Is
no
of
lines
=
no.
row/column?
Repeat Step 2:
Worker
Project
Radio
1
Toaster
Oven
2
Coffee Table
3
Azhar
Syahid
Majid
Case Study:
Hungarian Method
Worker
Project
Radio
1
Toaster
Oven
2
Coffee Table
3
Azhar
Syahid
Majid
Case Study:
Optimal Solution
Worker
Azhar
Syahid
Majid
Project
3
2
1
Total
cost
Wages
$6
$9
$10
$25
1
2
3
Special case 1
Number of agents
number of tasks
Imbalanced
problem
Number of
worker
exceed
number of
tasks
Number of
tasks
exceeds the
number of
worker
Add dummy
column or
task
Add dummy
row or
worker
Case Study:
Unbalanced Assignments
3
WORKER
Azhar
4
Syahid
Majid
New
worker
Din
1
11
8
9
10
PROJECT
2
3
14
6
10
11
12
7
13
8
Solve
as before
`Atiah Abdullah Sidek
DUMMY
0
0
0
0
Special case 2
Maximization objective function
Subtracting every
element in each
column
from
the
Solve as
before
largest element in
the column.
Case Study:
Maximisation Problem
Efficiencies
of Malaysian Ships in
Patrol Sectors
SECTOR
SHIP
1
2
3
4
A
20
60
80
65
B
60
30
100
80
C
50
80
90
75
D
55
75
80
70
Opportunity
SHIP
1
2
3
4
A
60
20
0
15
B
40
70
0
20
C
40
10
0
15
D
25
5
0
10
Row deduction
SECTOR
SECTOR
SHIP
SHIP
35
15
15
35
15
15
15
65
15
65
10
10
Column deduction
SHIP
1
2
3
4
A
35
15
0
5
SECTOR
B
C
15
15
65
5
0
0
10
5
D
0
0
0
0
SHIP
1
2
3
4
A
30
10
0
0
SECTOR
B
C
10
10
60
0
0
0
5
0
D
0
0
5
0
SECTOR
SHIP
1
2
3
4
30
10
0
0
10
60
0
5
10
0
0
0
0
0
5
0
EFFICIENCY
Ship 1 to sector D
55
Ship 2 to sector C
80
Ship 3 to sector B
100
Ship 4 to sector A
65
Total efficiency
`Atiah Abdullah Sidek
300
Special case 3
Unacceptable Assignments
Unacceptable
minimization
assignment
Add
M as value
Unacceptable
maximization
assignment
Add
as value
Project
Project
Radio
Radio
1
1
Azhar
Azhar
Syahid
Syahid
Majid
Majid
11
11
8
M
9
9
Toaster
Toaster
Oven
Oven
2
2
14
14
10
10
12
12
Coffee
Coffee Table
Table
3
3
6
6
11
11
7
Solve as before
Assignment
Due date:
PROFESSO
R
Ergonomics
Engineering
Managemen
t
Workshop
Technology
Engineering
Drawing
Fatini
90
65
95
40
Raihana
70
60
80
75
Arif
85
40
80
60
Luqman
55
80
65
55
To be continued
Announcement
URGENT
Replacement midterm
Day/Date: Monday 9/11/2015
Time:8:00pm-10:30pm
Venue: tbd
Please contact me immediately (last day will be
Thursday) and provide me with letter of
excuse/evidence.
`Atiah Abdullah Sidek