
























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























































© Daniel Kirschen
© Daniel Kirschen Cost Curve
© Daniel Kirschen
© Daniel Kirschen Objective
© Daniel Kirschen Minimisation and Maximisation x f(x) x* f(x) If x = x maximises f(x) then it minimises - f(x) -f(x) -f(x*) Minimisation and Maximisation
© Daniel Kirschen Necessary Condition for Optimality x f(x) x* f(x*) If x = x
maximises f ( x ) then: f ( x ) < f ( x *^ ) for x < x *^ ⇒ df dx
0 for x < x * f ( x ) < f ( x
) for x > x
⇒ df dx < 0 for x > x
df dx
df dx
Necessary Condition for Optimality x f(x) x* If x = x
maximises f ( x ) then df dx = 0 for x = x
df dx
© Daniel Kirschen How can we distinguish minima and maxima? x f(x) A B C D For x = A and x = D , we have: d 2 f dx
The objective function is concave around a maximum How can we distinguish minima and maxima? x f(x) A B C D For x = B we have: d^2 f dx
The objective function is convex around a minimum
© Daniel Kirschen How can we distinguish minima and maxima? x f(x) A B C D For x = C , we have: d 2 f dx
The objective function is flat around an inflexion point Necessary and Sufficient Conditions of Optimality
d^2 f dx
d^2 f dx
© Daniel Kirschen Feasible Set x f(x) xMIN A D (^) xMAX Feasible Set The values of the objective function outside the feasible set do not matter x f(x) xMIN^ A B D E xMAX Interior and Boundary Solutions
© Daniel Kirschen Two-Dimensional Case x 1 x 2 f(x 1 ,x 2 ) x 2 * x 1 * f(x 1 ,x 2 ) is minimum for x 1 *, x 2 * Necessary Conditions for Optimality x 1 x 2 f(x 1 ,x 2 ) x 2 * x 1 *
x 1
x 1
© Daniel Kirschen Sufficient Conditions for Optimality x 1 x 2 f(x 1 ,x 2 ) Saddle point Sufficient Conditions for Optimality ∂ 2 f ∂ x (^) 1 2 ∂ 2 f ∂ x (^) 1 ∂ x (^) 2
∂ 2 f ∂ x (^) 1 ∂ x (^) n ∂ 2 f ∂ x (^) 2 ∂ x (^) 1 ∂ 2 f ∂ x (^) 22
∂ 2 f ∂ x (^) 2 ∂ x (^) n M M O M ∂ 2 f ∂ x (^) n ∂ x 1 ∂ 2 f ∂ x (^) n ∂ x (^) 2
∂ 2 f ∂ x (^) n^2
Calculate the Hessian matrix at the stationary point:
© Daniel Kirschen Sufficient Conditions for Optimality
n The stationary point is a saddle point Contours x 1 x 2 f(x 1 ,x 2 ) F 1 F 2
© Daniel Kirschen Example 1 Sufficient conditions for optimality: Hessian Matrix:
∂ x (^) 12
∂ x 1 ∂ x (^) 2 ∂ 2 C ∂ x (^) 2 ∂ x (^) 1
∂ x (^) 22
must be positive definite (i.e. all eigenvalues must be positive) λ − 2 2 2 λ − 8 = 0 ⇒ λ 2 − 10 λ + 12 = 0 ⇒ λ =
The stationary point is a minimum Example 1 x 1 x 2 C= C= C= Minimum: C=
© Daniel Kirschen Example 2 Minimise C = − x 12 + 3 x (^) 22 + 2 x 1 x (^) 2 Necessary conditions for optimality: ∂ C ∂ x 1 = − 2 x 1 + 2 x (^) 2 = 0 ∂ C ∂ x (^) 2 = 2 x 1 + 6 x (^) 2 = 0 x 1 = 0 x (^) 2 = 0
is a stationary point Example 2 Sufficient conditions for optimality: Hessian Matrix:
∂ x (^) 12
∂ x 1 ∂ x (^) 2 ∂ 2 C ∂ x (^) 2 ∂ x (^) 1
∂ x (^) 22
λ + 2 − 2 − 2 λ − 6 = 0 ⇒ λ^2 − 4 λ − 8 = 0 ⇒ λ =
or λ =
The stationary point is a saddle point