Professional Documents
Culture Documents
ETHZ Lecture10
ETHZ Lecture10
● Linear programming
min f ( x) x n g2
x
x2
s. t. g i ( x) 0 i 1 m f g1
f T g g2
x μ x 0 x2
x x f g1
0 0
0
k m
f j g j 0
j 1
g 2 -f
g1 x1
f j g j
● Interpretation: negative gradient (descent direction) -f
lies in cone spanned by positive constraint gradients
Engineering Optimization – Concepts and Applications
Optimality condition (2)
f g j
g
j
2
x2 Feasible cone
● Feasible direction:
f g g1
g s 0 j 1 k m
j
T g1 2
g s 0
T
j
f s 0
T
min f ( x)
x Lagrangian:
s. t. g ( x) 0 L f ( x) μ T g ( x) λ T h ( x)
h ( x) 0
L f g i hi
i i 0
x x x x
g 0, h 0
λ 0, μ 0, k g k 0
s. t. h(x; a ) 0
Lagrangian: L(x, λ; a ) f ( x; a) T h( x; a)
T T
L f T h f h
KKT: 0
x x x x x
T
df f f dx
Looking for:
da a x da
Engineering Optimization – Concepts and Applications
Significance of multipliers (3)
● Lagrange multipliers describe the sensitivity of the
objective to changes in the constraints:
df f h
da a a
● Similar equations can be derived for multiple
constraints and inequalities
● Linear Programming
~
f f pmax(0, g )
2
● Disadvantages:
L f i h i p hi
2
– Augmented Lagrangian
– Approximation methods
– SQP
● Linear Programming
● Basic idea:
s f A AA T
T 1
Af
I A AA T
A f P f
T 1 Projection
matrix
1
h
T
h h T
h
P I
x f
● Nonlinear case:
x x x
T
h
● Correction in normal space: s' c
x
s. t. g(x) 0 s. t. g(x) y 0
h ( x) 0 h( x) 0
xxx xxx
0 y Large number
● Disadvantages: all constraints considered all the time,
+ increased number of design variables
Engineering Optimization – Concepts and Applications
2. Zoutendijk’s feasible directions
● Basic idea:
– move along steepest descent direction f
until constraints are encountered
– at constraint surface, solve subproblem to find
descending feasible direction
– repeat until KKT point is found
● Subproblem: min
s ,
T
Descending: f s 0 s.t. f T s ,
T
Feasible: g i s 0 i g i T s
1 si 1
Engineering Optimization – Concepts and Applications
Zoutendijk’s method
● Subproblem linear: efficiently solved
– Augmented Lagrangian
– Approximation methods
– SQP
● Linear Programming
reduced gradient x1
– Augmented Lagrangian
– Approximation methods
– SQP
● Linear Programming
s. t. g ( x) 3( x 1)( x 4) 0 g
dg
6 x 15
dx
g ( x)1 12 15 x 0
x = 0.8
g ( x) 2 1.92 10.2 x 0 x = 0.988
x2
x1
f f
min f (x k ) x x k min f (xk ) x xk k
x x k x, x k
g g
s. t. g (x k ) x x k 0 s. t. g(x k ) x xk 1 0
x k x k
f
x2
x1
Engineering Optimization – Concepts and Applications
Method of Moving Asymptotes
● First order method, by Svanberg (1987)
● RS dampens noise
● Versatile
Design domain
Optimum
Sub-optimal point
Response surface Trust region
– Augmented Lagrangian
– Approximation methods
– SQP
● Linear Programming
min f ( x) L f T h
x KKT points: λ 0T
x x x
s. t. h ( x) 0
Newton: 2 L 2L L
x 2 xλ x x
2
L L λ
2
L
λx λ 2 λ
Engineering Optimization – Concepts and Applications
SQP (2)
● Newton: 2 L 2 L L T
x 2 xλ x
x
2 T
L L λ
2
L
λx λ 2 λ
2 f 2
T h h
T
T T
2 λ f h
x x 2
x x λ
x x
h λ
0 h
x
W AT x f AT λ
A 0 λ h
Engineering Optimization – Concepts and Applications
SQP (3)
W AT x f AT λ λ k 1 λ k λ k
A 0 λ h x k 1 x k s k
T
Wk A k s k f k
T
f k Wk s k A k λ k 1 0
Ak 0 λ k 1 h k Ak sk hk 0
λ A 0 b
Engineering Optimization – Concepts and Applications
Basic SQP algorithm
4. Set xk+1 = xk + sk
Finished
● Linear programming
min c1 x1 c2 x2 cn xn cT x
x
T
s.t. hi a i x bi 0 i 1 m1
j m1 1 m2
T
g j a j x bj 0
T a1T b1
min c x T b
x
a 2 2
s.t. h A1x b1 0 A1 , b1
g A2x b2 0 T
a m1 bm1
Engineering Optimization – Concepts and Applications
Feasible domain
● Linear constraints divide design space into two convex
half-spaces: x2 X1 T
g1 a1 x b1 0
x1
● Feasible domain = intersection of convex half-spaces:
X X 1 X 2 X m
● Result: X = convex polyhedron
Engineering Optimization – Concepts and Applications
Global optimality
● Convex objective function min cT x
x
on convex feasible domain: s.t. h A1x b1 0
KKT point = unique global g A 2x b2 0
optimum
● KKT conditions: L cT x λ T A1x b1 μT A 2 x b 2
A1x b1 0, A 2 x b 2 0
T T T T
c λ A 1 μ A 2 0
T
μ A 2 x b 2 0
λ 0, μ 0
Engineering Optimization – Concepts and Applications