Transportation and Assignment Model
Transportation and Assignment Model
ASSIGNMENT MODEL
1
Chapter 6, Part A
Distribution and Network Models
Transportation Problem
• Network Representation
• General LP Formulation
Assignment Problem
• Network Representation
• General LP Formulation
Transshipment Problem
• Network Representation
• General LP Formulation
2
Transportation, Assignment, and
Transshipment Problems
3
Transportation Problem
4
Transportation Problem
Network Representation
1 d1
c11
s1 1 c12
c13
2 d2
c21
s2 2 c22
c23
3 d3
Sources Destinations
5
Transportation Problem: Example #1
6
Transportation Problem: Example #1
8
Transportation Problem: Example #2
= Constraints
Define the Constraints
Supply constraints:
(1) x11 + x12 + x13 = 50
(2) x21 + x22 + x23 = 50
Demand constraints:
(4) x11 + x21 = 25
(5) x12 + x22 = 45
(6) x13 + x23 = 10
Non-negativity of variables:
xij > 0, i = 1, 2 and j = 1, 2, 3
9
Transportation Problem: Example #2
≤ and ≥ Constraints
Define the Constraints
Supply constraints:
(1) x11 + x12 + x13 ≤ 50
(2) x21 + x22 + x23 ≤ 50
Demand constraints:
(4) x11 + x21 ≥ 25
(5) x12 + x22 ≥ 45
(6) x13 + x23 ≥ 10
Non-negativity of variables:
xij > 0, i = 1, 2 and j = 1, 2, 3
10
Assignment Problem
11
Assignment Problem
Network Representation
c11
1 1
c12
c13
Agents Tasks
c21
c22
2 2
c23
c31
c32
3 c33 3
12
Assignment Problem: Example
13
Assignment Problem: Example
Network Representation
50
West. A
36
Subcontractors 16 Projects
28
Fed.
30 B
18
35 32
Gol. C
20
25 25
Univ.
14
14
Assignment Problem: Example
Min 50x11+36x12+16x13+28x21+30x22+18x23
+35x31+32x32+20x33+25x41+25x42+14x43
s.t. x11+x12+x13 < 1
x21+x22+x23 < 1
Agents
x31+x32+x33 < 1
x41+x42+x43 < 1
x11+x21+x31+x41 = 1
x12+x22+x32+x42 = 1 Tasks
x13+x23+x33+x43 = 1
xij = 0 or 1 for all i and j
15
Assignment Problem: Example
Min 50x11+36x12+16x13+28x21+30x22+18x23
+35x31+32x32+20x33+25x41+25x42+14x43
s.t. x11+x12+x13 < 1
x21+x22+x23 < 1
Agents
x31+x32+x33 < 1
x41+x42+x43 < 1
x11+x21+x31+x41 ≥ 1
x12+x22+x32+x42 ≥ 1 Tasks
x13+x23+x33+x43 ≥ 1
xij = 0 or 1 for all i and j
16