NLP 2
NLP 2
PROBLEM
(NLP)
Contents
– Unconstrained optimization
– Constrained optimization
X=x* and if the first order partial derivatives of f(x) exist at x*then,
Multi variable unconstrained problems
Sufficient condition for optimality:
multiplier.
Method of Direct Substitution
• Transforming the constrained optimization to an
unconstrained one using substitution.
Minimize f(x)
Step- 2
• Thus the original optimization model takes its
equivalent form which is an unconstrained problem
with n-m variables.
Example - Method of Direct Substitution
Minimize:
Where,
Therefore,
Example - Method of Direct Substitution
( 2, 2, 4)
Sufficient condition for optimality:
multiplier.
At extreme point:
Method of Lagrangian Multiplier
Step- 1
• Take derivative of L(x1, x2, λ) w.r.t. xi and λ, setthem
equal to zero.
Method of Lagrangian Multiplier
Note
• If there are n variables (i.e., x1, x2,………., xn) then you will get
(n+1) equations with (n+1) unknowns ( i.e., n variables and
one lagrangian multiplier, λ)
Step- 2
Express all xi’s in terms of λ.
Step- 3
Plug xi’s in terms of ‘λ’ in constraint g(x1, x2)=b and solve for λ .
Step- 4
Calculate all Express all xi’s using the value of λ.
Example 1 - Method of Lagrangian Multiplier
Minimize:
STC,
Necessary condition,
Example 1- Method of Lagrangian Multiplier
Solving the equations, we get:
At optimal point
STC,
Necessary condition,
Example 2- Method of Lagrangian Multiplier
Solving the equations, we get:
At optimal point
Example 2- Method of Lagrangian Multiplier
Solving the equations, we get:
At optimal point