Wednesday, November 13, 2013

Lagrange Multiplier

Its a method of Solving optimization problem over Real field with respect to equality constraints.

Let, the problem P is :-
Find max f(x,y)
s.t.  g(x,y) = 0

Now,
1. We will make another function  φ(x,y,λ) = f(x,y) + λ . g(x,y).
2. We can say that  ∀p = (x0, y0) ∈ sp(P) [ sp(P) is Solution Space of problem P ] ∃λ0 s.t. φ(x0, y0, λ0) will be a stationary point.

i.e.  ∀(x0, y0) ∈ sp(P) ∃λ∈  s.t. φ(x0, y0, λ0) will be a stationary point,
→  ∇x,y,λ (φ) | (x0, y0, λ0) = 0.

One Example :-

max ( x + y )
s.t. x2 + y2 = 1

φ(x, y, λ) = x + y + λ ( x2 + y2 - 1 )
x,y,λ (φ) = ( 1 + λ x ; 1 + λ x ; x2 + y2 - 1) = 0 = ( 0 , 0 , 0 ) 
→ λ =  2 , ( x , y ) =  ( 1/ ,1/ )

No comments:

Post a Comment