Professional Documents
Culture Documents
ASSIGNMENT PROBLEMS
Transportation problem
Example
P&T Company produces canned peas.
Peas are prepared at three canneries (Bellingham,
Eugene and Albert Lea).
Shipped by truck to four distributing warehouses
(Sacramento, Salt Lake City, Rapid City and
Albuquerque). 300 truckloads to be shipped.
Problem: minimize the total shipping cost.
107
108
Cannery
Allocation
Output
464
513
654
867
75
352
416
690
791
125
995
682
388
685
100
80
65
70
85
300
109
Network representation
110
464 x11 513 x12 654 x13 867 x14 352 x21 416 x22
690 x23 791x24 995 x31 682 x32 388 x33 685 x34
subject to
and xij
x34 100
x31 80
x32 65
x33 70
x14
1
x21
x22
x23
x24
1
1
x32
x34
1
Warehouse
constraints
1
1
x33
Cannery
constraints
1
1
1
1
x31
1
1
112
General problem
Units of a commodity
Three canneries
m sources
Four warehouses
n destinations
Allocation to warehouse j
Demand dj at destination j
113
114
si
i 1
dj
j 1
116
Source
Demand
1
c11
Destination
2
c12
n
c1n
Supply
s1
c21
cm1
c22
cm2
c2n
cmn
s2
d1
d2
dn
sm
117
118
Network representation
119
minimize Z
cij xij ,
i 1 j 1
subject to
n
xij
si , for i 1, 2,
, m,
xij
d j , for j 1,2,
, n,
j 1
m
i 1
and
xij
120
Coefficient constraints
Coefficient of:
x12 ... x1n
x11
1
x21
xm 2
... xmn
1
1
x22
1
Supply
constraints
1
1
1
1
1
1
1
1
Demand
constraints
1
121
122
123
124
Source
c11
c12
c21
c22
cm1
cm2
d1
d2
m
Demand
Supply
c1n
s1
c2n
s2
cmn
sn
dn
Z=
ui
vj
Additional
information to be
added to each cell:
If xij is a basic
variable:
cij
xij
If xij is a nonbasic
variable:
cij
cij-ui-vj
125
10
126
127
11
128
129
12
130
Assignment problem
Special type of linear programming where assignees
are being assigned to perform tasks.
Example: employees to be given work assignments
Assignees can be machines, vehicles, plants or even
time slots to be assigned tasks.
131
13
132
Prototype example
Job Shop Company has purchased three new
machines of different types, and there are four
different locations in the shop where a machine can be
installed.
Objective: assign machines to locations.
Cost per hour of material handling (in )
Location
1
2
3
4
1
13
16
12
11
Machine
2
15
13
20
3
5
7
10
6
133
14
Assignee
(Machine)
1
2
3
4(D)
Location
2
3
13
15
5
0
16
M
7
0
12
13
10
0
4
11
20
6
0
if not.
n
minimize Z
cij xij ,
i 1 j 1
subject to
n
xij
1, for i 1,2,
, n,
xij
1, for j 1,2,
, n,
j 1
n
i 1
and
xij
15
136
Network representation
137
16
Source
1
2
m=n
Demand
1
c11
c21
2
c12
c22
n
c1n
c2n
Supply
1
1
cn1
1
cn2
1
cnn
1
138
Concluding remarks
A special algorithm for the assignment problem is the
Hungarian algorithm (more efficient).
Therefore streamlined algorithms were developed to
explore the special structure of some linear
programming problems: transportation or assignment
problems.
Transportation and assignment problems are special
cases of minimum cost flow problems.
Network simplex method solves this type of problems.
139
17