Professional Documents
Culture Documents
optimization
Lagrange function
Necessary and sufficient conditions for
equality constraints
Necessary and sufficient conditions for
inequality constraints
Necessary and sufficient conditions for
equality and inequality constraints
A general form for constrained
optimization problem
Minimize f(x)
Subject to hi(x) = 0 i = 1,,m
gj(x) 0 j = 1,,r
xT = [x1 x2 x3 xn] Rn
L
hi ( x) 0 i 1,2,..., m
wi
Remarks:
1. If x* satisfies the conditions, then L(x*, w*) = f(x*) L gives the same
optimal solutions
2. x* is a stationary point for L. It is generally different from the stationary
point for f(x)
3. wi can be positive or negative
4. As necessary conditions require first order derivatives, they are also called
first order conditions (FOC)
Sufficient conditions of optimality
HL(x*,w*) is positive definite x* is a local minimum
HL(x*,w*) is negative definite x* is a local maximum
where HL(x*,w*) is second order derivatives over x and w.
2 h j
f wi hi nn
2
xi nm
H L ( x*, w*) T
j
h
0
x
i mn ( n m )( m n )
i 1,2,..., n
j 1,2,..., m
Let L f ( x) ui ( g i ( x) si2 )
i
Lx f ( x) ui g i ( x) 0
i
Ls ui si 0
Lu g i ( x) si2 0
i 1,2,..., r
Relation between ui and gi(x)
Consider gi(x) + si2 = 0
If si=0, then gi(x) = 0 gi(x) is a binding (active) constraint
If si0, then gi(x) < 0 gi(x) is not binding (inactive)
m r
L( x, w, u ) f ( x) wi hi ( x) u j g j ( x)
i 1 j 1
General Karush-Kuhn-Tucker (KKT)
conditions (necessary)
1. Linear dependence of f, h, g
m r
f ( x) wi hi ( x) u j g j ( x) 0
i 1 j 1
2. Complementary conditions
uigj(x) = 0 j=1,,r
uj 0
3. Constraint feasibility
hi(x) = 0 i=1,,m
gj(x) 0 j=1,,r
Sufficient Conditions of Optimality
(SOC)
HL(x*, w*, u*) is positive definite x* is a
local minimum
HL(x*, w*, u*) is negative definite x* is a
local maximum