ETHZ Lecture9
ETHZ Lecture9
f h x2
f
0T
x x h
Meaning: h
f h
//
x x f
x1
Gradients parallel
tangents parallel h tangent to isolines
WB1440 Engineering Optimization – Concepts and Applications
Summary
x2
● First order optimality f
condition for equality h
constrained problem: h
– Zero reduced gradient:
1 f
f f h h x1
0T
d s s d
– Equivalent: stationary
Lagrangian: L T
x 0
L f ( x) λ T h ( x) L
0T
λ
WB1440 Engineering Optimization – Concepts and Applications
Contents
● Constrained Optimization: Optimality Criteria
– Reduced gradient
– Lagrangian
– Sufficiency conditions
– Inequality constraints
2 (Constrained Hessian
0T and d T
d 0 positive definite)
d d 2
2 2
L 2L 2 f 2
h
d T
2
d x
T
2
x with
x 2
2 λ
x
T
x 2
d x
Perturbations only in
tangent subspace of h!
WB1440 Engineering Optimization – Concepts and Applications
Summary
● Optimality conditions for equality constrained problem:
L 0
x
on tangent subspace.
2 2
L(x) x1 x2 x1 2 x2 1 2 2
T
dL 2 x1 (1 ) dL 2 2
, x1 2 x 2 1
dx 2 x2 (1 2 ) d
1. Necessary condition: stationary point when L 0
x1 0, x2 1 / 2 , 1 / 2
x2 0, x1 1, 1
– Reduced gradient
– Lagrangian
– Sufficiency conditions
– Inequality constraints
min f ( x) x n
x
s. t. g i ( x) 0 i 1 m
● At optimum, only active constraints matter:
min f ( x) x n
x
s. t. g j ( x) 0 j 1 k m
f T g f T g
μ 0T x μ x 0
x x x x
0 0
(boundary optimum) (feasible perturbation)
WB1440 Engineering Optimization – Concepts and Applications
Optimality condition
● Multipliers must be non-negative:
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
WB1440 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
g 2 g 2
g 2
f -f -f
g1
g1 g1
-f 1 0 f 1 0 1 0
f
2 0 2 0 2 0
● Active constraints: g j 0, j 0
Inactive constraints: gi 0
● Formulation including all inequality constraints:
L ( x) f ( x) μ T g ( x)
L f T g ii ggii 00 i 1 m
Complementarity
μ 0T and
x x x μi 0 0
condition
i 1 m
L( x1 , x2 ) m g x2 L(1 cos x1 ) x2 m x2
T
L L sin x1 T
0
x m g
mg
m gL sin x1 0 x1 0
x2 0
WB1440 Engineering Optimization – Concepts and Applications
Mechanical application: contact
● Lagrange multipliers also used in:
– Reduced gradient
– Lagrangian
– Sufficiency conditions
– Inequality constraints
– Reduced gradient
– Lagrangian
– Sufficiency conditions
– Inequality constraints
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
WB1440 Engineering Optimization – Concepts and Applications
Significance of multipliers (2)
T T T
df f f dx f h
Looking for: KKT:
da a x da x x
T
df f h dx
da a x da
T
h dx h h h dx
h ( x, a ) 0 0
x da a a x da
df f h
da a a
WB1440 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