Sc0x w3l2 Clean
Sc0x w3l2 Clean
Sc0x w3l2 Clean
ctl.mit.edu
Networks
Network Representation
Network Terminology
1
6
14
3
8
2
4
11
15
12
Arcs
16
10
13
Nodes:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Chicago
St. Louis
Indianapolis
Louisville
Nashville
Cleveland
Columbus
Cincinnati
Lexington
Knoxville
Morgantown
Charleston
Greensboro
Harrisburg
Washington
15 DC
16 Richmond
Richmond
Washington DC
Harrisburg
Greensboro
Charleston
Morgantown
Knoxville
Lexington
Cincinnati
Columbus
Cleveland
Nashville
Louisville
Indianapolis
St. Louis
Chicago
Distance/Connectivity Matrix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
300 201
362
300
245 263 312
201 245
114
176 112
263 114
175
86
312
175
180
362
142
201 251
332
176
142
105
112
105
95
204
86
95
170
177
180
170
299
201
157
213 209
251
204 177
157
244
318
299
244
205
332
213
120
209
120
318 205
111
111
5
Given: Multiple supply and demand nodes with fixed and/or variable
costs and capacities on nodes and/or arcs
Find: Minimum cost flow of product from origins to destinations
6
Why is it important?
s.t.
5
4
Subject to:
x =1
x - x
x =1
i
ji
ji
ij
xij 0
ij
" j=s
= 0 " j s, j t
" j=t
where:
xij = Number of units flowing from node i to node j
cij = Cost per unit for flow from node i to node j
s = Source node where flow starts
t = terminal node where flow ends
5
4
9
10
Starting from an origin node, find the minimum distance required to visit
each node once and only once and return to the origin.
Why is it important?
11
14
7
11
8
2
4
15
12
9
16
5
10
13
12
14
7
11
8
2
4
15
12
9
16
5
10
13
13
14
Given a network of nodes and arcs, find the minimum cost flow of
product from supply nodes that satisfy demand at destination nodes
Why is it important?
Cost structure: variable and/or fixed on arcs and/or nodes? Concave costs?
Single or multiple commodities? Are products fungible?
Is there any variability of demand, supply or flows considered?
Are there any capacity (min or mx) on arcs or transshipment nodes?
R1
P1
R2
R1
P1
P2
R2
Transshipment Problem
R3
Min
P2
s.t.
Transportation Problem
Min
cij xij
ij
Si
"i S
"j D
xij 0
ij
Dj
cij xij
s.t.
x
x
i
z=
x S "i S
x D "j D
x - x = 0 "j D, S
z=
R3
xij 0
"ij
ij
ij
ij
ji
"ij
i xij
xji
i xji
16
17
0.14
0.12
0.08
0.196
0.06
0.608 m
0.10
0.04
0.02
1.108 m
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
Image CC0 Public Domain from pixabay.com. Problem adapted from Winston (1994)
19
Max z = xy
80x + 20y 160
x0
y0
Max
z = xi
i
s.t.
cx
i
xi 0
B
"i
where:
xi = Number of units of input i to acquire
ci = Cost per unit of input i
B = Budget for input
20
Feasible
Region
Y units of ice
X labor hours
21
Feasible
Region
Y units of ice
z= xy = 1
X labor hours
22
Feasible
Region
Y units of ice
z= xy = 2
z= xy = 1
X labor hours
23
Feasible
Region
Y units of ice
z= xy = 3
z= xy = 2
z= xy = 1
X labor hours
24
Feasible
Region
Y units of ice
Things to Note:
Optimal solution is no
longer in a corner!
NLPs require different
solution techniques and
tools
Shape of objective function
and constraints determine
whether solution is local or
global
Convex Min - Global
Concave Max - Global
z= xy = 4
z= xy = 3
z= xy = 2
z= xy = 1
X labor hours
25
26
Input Data
These are all deterministic models data assumed perfect & unchanging!
Optimization models will do anything for a dollar, yuan, peso, euro, etc.
Run multiple what-if scenarios changing uncertain input values and
testing different conditions.
Models should be used for Decision Support not for the Decision itself
28
29
Non-Linear Programs
30
ctl.mit.edu