Transportation and Assignment Problems KA
Transportation and Assignment Problems KA
Chicago
Eugene
supply = 500
demand = 300 Salt Lake City
supply = 400
Distribution Centers
Costs.
The cost of shipping units from any particular source of
supply to any particular source of demand is directly
proportional to the number of units shipped. Therefore,
this cost is the unit cost times the number of units
shipped.
Optimization criterion.
The goal is to minimize the total shipping cost between
the sources of demand and the sources of supply.
Badania Operacyjne 7
Parameter Table
Demand source
Supply D1 D2 D3 Supply
source
S1 c11 c12 c13
s1
The number of x11 x12 x13
sources of
supply = the S2 c21 c22 c23
number of rows
x21 x22 x23 s2
=m
Demand d1 d2 d3
The number of
sources of demand =
the number of
columns = n
x13 D2 [d2]
c21
x22
c22
x23
[s2] S2 c23 D3 [d3]
m n
Min Z cij xij total shipping cost
i 1 j 1
subject to
n
Total quantity
x
j 1
ij si for i 1,..., m available si must be
shipped out.
m
x
i 1
ij d j for j 1,..., n
Total demand dj must
be received.
and xij 0.
Badania Operacyjne 10
Important Properties
Badania Operacyjne 11
Table (Matrix) of Coefficients
S1 x11 x12 x13 400
S2 x21 x22 x23 500
D1 x11 x21 200
D2 x12 x22 400
x11 x12 x13 x21 x22 x23 D3 x13 x23 300
1 1 1 Supply
constraints
1 1 1
(factories)
A 1 1
= Demand
1 1 constraints
(distribution
1 1 centers)
POPYT=
Transportation Problem.xls
P1 P2 P3 P4
Amy 8 6 2 4
Ben 6 7 11 10
Chris 3 5 7 6
Don 5 10 12 9
1 2 3 4 1 2 3 4
Badania Operacyjne 20
The Assignment Problem
1, if assignee i performs task j,
xij
0, if not
n n
Min Z cij xij
i 1 j 1
subject to
n
Each assignee is to be
x
j 1
ij 1 for i 1,..., n assigned to exactly one
task.
n
x
i 1
ij 1 for j 1,..., n
Each task is to be
performed by exactly one
assignee.
xij 0 xij binary
Badania Operacyjne 21
A Network Model
assignees tasks
c11 x11 t1
a1
c12
x31
x12
c13
a2 t2
x13
c31
x32
c32
x33
a3 t3
c33
Badania Operacyjne 22
Important Properties
Assignment Problem.xls