Docsity

Constrained Optimization - Nonlinear Programming - Lecture Slides, Slides of Computer Science

Toggle sidebar
bg1
NONLINEAR PROGRAMMING
LECTURE 11
CONSTRAINED OPTIMIZATION;
LAGRANGE MULTIPLIERS
LECTURE OUTLINE
• Equality Constrained Problems
• Basic Lagrange Multiplier Theorem
• Proof 1: Elimination Approach
• Proof 2: Penalty Approach
Equality constrained problem
minimize f (x)
subject to hi(x)=0, i =1,...,m.
where f : n →, hi : n →, i =1,...,m, are con-
tinuously differentiable functions. (Theory also
applies to case where f and hi are cont. differ-
entiable in a neighborhood of a local minimum.)
Docsity.com
pf3
pf4
pf5
pf8

Partial preview of the text

Download Constrained Optimization - Nonlinear Programming - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

NONLINEAR PROGRAMMING

LECTURE 11

CONSTRAINED OPTIMIZATION;

LAGRANGE MULTIPLIERS

LECTURE OUTLINE

• Equality Constrained Problems

• Basic Lagrange Multiplier Theorem

• Proof 1: Elimination Approach

• Proof 2: Penalty Approach

Equality constrained problem

minimize f (x)

subject to hi(x) = 0, i = 1,... , m.

where f : 

n 

→ , hi : 

n 

→ , i = 1,... , m, are con-

tinuously differentiable functions. (Theory also

applies to case where f and hi are cont. differ-

entiable in a neighborhood of a local minimum.)Docsity.com

′

LAGRANGE MULTIPLIER THEOREM

• Let x

∗

be a local min and a regular point [∇hi(x

∗

linearly independent]. Then there exist unique

scalars λ

∗ 1 ,... , λ

∗

m such that

∗ ) +

m

i=

∇f (x λ

∗ i ∇hi(x

∗ ) = 0.

If in addition f and h are twice cont. differentiable,

y

∗ ∇

2 f (x ) +

m

i=

λ y ≥ 0 , ∀ y s.t. ∇h(x

∗ ∗ i ∇

2 hi(x )

∗ )

′ y = 0

x (^1)

x 2

x *^ = (-1,-1)

∇h(x *^ ) = (-2,-2)

∇f(x *^ ) = (1,1) 0

2

2

h(x) = 0

x 1

x 2

∇f(x^ ) = (1,1) ∇h 1 (x^ ) = (-2,0)

∇h 2 (x*^ ) = (-4,0)

h 1 (x) = 0

h 2 (x) = 0

1 2

minimize x 1 + x 2

subject to x

2 2 1 +^ x 2 = 2.

The Lagrange multiplier is

λ = 1/2.

minimize x 1 + x 2

2 s. t. (x 1 − 1)

2

  • x 2 − 1 = 0

2 (x 1 − 2)

2

  • x 2 − 4 = 0

′

ELIMINATION APPROACH - CONTINUED

• Second order condition: For all d ∈ 

n−m

∗ 0 ≤ d

′ ∇

2 F (xR)d = d

′ ∇

2 f B

− 1 (b − RxR), xR d. (2)

• After calculation we obtain

∗

2

F (xR) = R

′

(B

′

− 1

2

BB f^ (x

∗

)B

− 1

R

− R

′

(B

′

− 1

2

BRf^ (x

∗

2

RB f^ (x

∗

)B

− 1

R + ∇

2

RRf^ (x

∗

• Eq. (2) and the linearity of the constraints [im-

plying that ∇

2 hi(x

∗

) = 0], yields for all d ∈ 

n−m

∗ 0 ≤ d

′ ∇

2 F (x

∗ R)d^ =^ y^

′ ∇

2 f (x )y

∗ ∇

2 f (x ) + y,

m

i=

λ

∗ ∗ i ∇

2 = y hi(x )

where y = ( yB yR )

′ = ( −B

− 1 Rd d )

′ .

• y has this form iff

0 = ByB + RyR = ∇h(x

∗ )

′ y.

PROOF VIA PENALTY APPROACH

• Introduce, for k = 1, 2 ,.. ., the cost function

k α F

k (x) = f (x) + 2

||h(x)||

2

2

||x − x

∗ ||

2 ,

where α > 0 and x

∗

is a local minimum.

• Let � > 0 be such that f (x

∗

) ≤ f (x) for all feasible

x in the closed sphere S = x | ||x − x∗|| ≤ � , and let

x

k = arg minx∈S F

k

(x). Have

k α F

k (x

k ) = f (x

k )+ 2

||h(x

k )||

2

2

||x

k −x

∗ ||

2 ≤ F

k (x

∗ ) = f (x

∗ )

Hence, limk→∞ ||h(xk^ )|| = 0, so for every limit point

x of {x

k

}, h(x) = 0.

• Furthermore, f (x

k ) + (α/2)||x

k − x

∗ ||

2 ≤ f (x

∗

) for

all k, so by taking lim,

α f (x) + 2

||x −^ x

∗ ||

2 ≤ f (x

∗ ).

Combine with f (x∗) ≤ f (x) [since x ∈ S and h(x) = 0]

to obtain ||x−x∗|| = 0 so that x = x∗^. Thus {xk^ } → x∗^.

LAGRANGIAN FUNCTION

• Define the Lagrangian function

m

L(x, λ) = f (x) + λihi(x).

i=

Then, if x

∗

is a local minimum which is regular, the

Lagrange multiplier conditions are written

∗ ∗ ∗ ∗ ∇xL(x , λ ) = 0, ∇λL(x , λ ) = 0,

System of n + m equations with n + m unknowns.

∗ ∗ ∗ y

′ ∇

2

xxL(x , λ^ )y^ ≥^0 ,^ ∀^ y^ s.t.^ ∇h(x^ )

′ y = 0.

• Example

2 2 2

minimize 12 x 1 + x 2 + x 3

subject to x 1 + x 2 + x 3 = 3.

Necessary conditions

∗ ∗ x 1 + λ = 0,

∗ ∗ x 3 + λ = 0,

∗ ∗ x 2 + λ = 0,

∗ ∗ ∗ x 1 + x 2 + x 3 = 3.

[ ]

σ

EXAMPLE - PORTFOLIO SELECTION

• Investment of 1 unit of wealth among n assets

with random rates of return ei, and given means

ei, and covariance matrix Q = E{(ei − ei)(ej − ej )}.

• If xi: amount invested in asset i, we want to

minimize Variance of return y = eixi = x

′ Qx

i

subject to i

xi = 1, and given mean eixi = m

i

• Let λ 1 and λ 2 be the L-multipliers. Have 2 Qx∗^ +

λ 1 u+λ 2 e = 0, where u = (1,... , 1)

′

and e = (e 1 ,... , en)

′

This yields

∗ x = mv + w, σ

2 = (αm + β)

2

  • γ,

where v and w are vectors, and α, β, and γ are

some scalars that depend on Q and e.

m

If riskless asset exists, γ =

  1. Efficient frontier is a

e (^) f line (CAPM model).

Efficient Frontier σ = αm + β