ECEG-6311 Power System Optimization and AI: Contd.. Yoseph Mekonnen (PH.D.)
ECEG-6311 Power System Optimization and AI: Contd.. Yoseph Mekonnen (PH.D.)
Page 1
Outlines
Multivariable Optimization with No Constraints
Multivariable Optimization with Equality Constraints
Direct substitution
constrained variation
Lagrange multipliers
Page 2
…Contd..
Necessary Condition
If f(X) has an extreme point (maximum or minimum) at X =
X∗ and if the first partial derivatives of f (X) exist at X∗ ,
then:
Sufficient Condition
A sufficient condition for a stationary point X∗ to be an
extreme point is that the matrix of second partial
derivatives (Hessian matrix) of f(X) evaluated at X∗ is
(i) positive definite when X∗ is a relative minimum point
(ii) negative definite when X∗ is a relative maximum point.
Page 3
..Contd..
A matrix A will be positive definite if all its eigen values
are positive; that is, all the values of λ that satisfy the
determinantal equation should be positive. Similarly, the
matrix [A] will be negative definite if its eigenvalues are
negative.
Page 4
..Contd..
The matrix A will be positive definite if and only if all the
values A1, A2, A3, . . . , An are positive.
The matrix A will be negative definite if and only if the
sign of Aj is (–1)j for j = 1, 2, . . . , n.
If some of the Aj are positive and the remaining Aj are
zero, the matrix A will be positive semidefinite.
Page 5
..Contd..
Example: Equilibrium
Necessary Condition
Page 6
..Contd..
The sufficiency conditions for the minimum at (x∗1 , x∗2 )
can also be verified by testing the positive definiteness of
the Hessian matrix of U.
The Hessian matrix of U evaluated at (x∗1 , x∗2 ) is:
Page 7
Reading Assignment
Semidefinite Case
Saddle Point
Page 8
MULTIVARIABLE OPTIMIZATION WITH
EQUALITY CONSTRAINTS
Definition
Page 9
Solution by Direct Substitution
For a problem with n variables and m equality constraints,
it is theoretically possible to solve simultaneously the m
equality constraints and express any set of m variables in
terms of the remaining n − m variables.
Page 10
..Contd..
Example
Maximize
Subject to
Page 11
..Contd..
Thus the objective function becomes
simplified to obtain
Page 12
..Contd..
From which it follows that x∗1 = x∗2 = 1/√3 and hence x∗3 =
1/√3. This solution gives the maximum volume of the box as:
Page 13
..Contd..
Hessian Matrix
Page 14
Solution by the Method of Lagrange Multipliers
Problem with Two Variables and One Constraint
Consider the problem
Page 15
..Contd..
Since g(x∗1 , x∗ 2 ) = 0 at the minimum point, any variations
dx1 and dx2 taken about the point (x∗1 , x∗2 ) are called
admissible variations provided that the new point lies on the
constraint:
Page 16
..Contd..
Assuming that ∂g/∂x2≠0, it can be rewritten as:
Page 17
..Contd..
The expression on the left-hand side is called the
constrained variation of f . Note that the last eqn has to be
satisfied for all values of dx1. Since dx1 can be chosen
arbitrarily and leads to
Page 18
..Contd..
By defining a quantity λ, called the Lagrange multiplier, as
Becomes
Page 19
..Contd..
The constraint equation has to be satisfied at the extreme
point, that is
Page 20
..Contd..
Notice that the partial derivative (∂g/∂x2)|(x∗1 , x∗2 ) has
to be nonzero to be able to define λ by:
Page 22
..Contd..
Sufficient Condition (General Case)
The following determinantal equation, be positive
(negative):
Page 23
..Contd..
Example
Necessary Condition
Page 24
..Contd..
Gives
Page 25
..Contd..
Sufficient Condition
Page 26
Reading Assignment
Multivariable Optimization With Inequality Constraints
Page 27
Thank You!
Page 28