SlideShare a Scribd company logo
1 of 33
Download to read offline
Advanced Optimization Theory
MED573
Multi Variable Optimization Algorithms
Dr. Aditi Sengupta
Department of Mechanical Engineering
IIT (ISM) Dhanbad
Email: aditi@iitism.ac.in
1
Introduction
2
โ€ข Methods used to optimize functions having multiple design variables.
โ€ข Some single variable optimization algorithms are used to perform
unidirectional search along desired direction.
โ€ข Broadly classified into two categories:
(i) Direct search methods
(ii) Gradient-based methods
โ€ข Optimality criteria differ from single-variable optimization.
โ€ข In multi-variable optimization, the gradient of a function is not a scalar quantity โ€“ it
is a vector quantity.
โ€ข Let us assume that the objective function is a function of N variables represented by
x1, x2, โ€ฆ, xN.
โ€ข The gradient at any point x(t) is represented by โˆ‡๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก
which is N-dimensional
vector given by
โˆ‡๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก =
๐œ•๐œ•๐œ•๐œ•
๐œ•๐œ•๐‘ฅ๐‘ฅ1
,
๐œ•๐œ•๐œ•๐œ•
๐œ•๐œ•๐‘ฅ๐‘ฅ2
, โ€ฆ ,
๐œ•๐œ•๐œ•๐œ•
๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘๐‘
๐‘‡๐‘‡
at x(t)
3
Optimality Criteria
โ€ข The second-order derivatives form a matrix, โˆ‡2๐‘“๐‘“(๐‘ฅ๐‘ฅ(๐‘ก๐‘ก)) known as Hessian matrix given by
โˆ‡2๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก =
๐œ•๐œ•2๐‘“๐‘“
๐œ•๐œ•๐‘ฅ๐‘ฅ1
2
๐œ•๐œ•2๐‘“๐‘“
๐œ•๐œ•๐‘ฅ๐‘ฅ1๐œ•๐œ•๐‘ฅ๐‘ฅ2
โ‹ฏ
๐œ•๐œ•2๐‘“๐‘“
๐œ•๐œ•๐‘ฅ๐‘ฅ1๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘๐‘
๐œ•๐œ•2๐‘“๐‘“
๐œ•๐œ•๐‘ฅ๐‘ฅ1๐œ•๐œ•๐‘ฅ๐‘ฅ2
๐œ•๐œ•2๐‘“๐‘“
๐œ•๐œ•๐‘ฅ๐‘ฅ2
2 โ‹ฏ
๐œ•๐œ•2๐‘“๐‘“
๐œ•๐œ•๐‘ฅ๐‘ฅ2๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘๐‘
โ‹ฎ โ‹ฎ โ‹ฑ โ‹ฎ
๐œ•๐œ•2๐‘“๐‘“
๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘๐‘๐œ•๐œ•๐‘ฅ๐‘ฅ1
๐œ•๐œ•2๐‘“๐‘“
๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘๐‘๐œ•๐œ•๐‘ฅ๐‘ฅ2
โ‹ฏ
๐œ•๐œ•2๐‘“๐‘“
๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘๐‘
2
โ€ข Now that we have the derivatives, we are ready to define the optimality criteria.
โ€ข A point ฬ…
๐‘ฅ๐‘ฅ is a stationary point if โˆ‡๐‘“๐‘“ ฬ…
๐‘ฅ๐‘ฅ = 0.
โ€ข The point is a minimum, a maximum or an inflection point if โˆ‡2
๐‘“๐‘“ ฬ…
๐‘ฅ๐‘ฅ is positive definite,
negative definite or otherwise.
4
Optimality Criteria
โ€ข The matrix โˆ‡2๐‘“๐‘“(๐‘ฅ๐‘ฅ(๐‘ก๐‘ก)) is defined to be positive definite if for any point y in the
search space the quantity ๐‘ฆ๐‘ฆ๐‘‡๐‘‡โˆ‡2๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก ๐‘ฆ๐‘ฆ โ‰ฅ 0.
โ€ข The matrix โˆ‡2๐‘“๐‘“(๐‘ฅ๐‘ฅ(๐‘ก๐‘ก)) is defined to be negative definite if for any point y in the
search space the quantity ๐‘ฆ๐‘ฆ๐‘‡๐‘‡
โˆ‡2
๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก
๐‘ฆ๐‘ฆ โ‰ค 0.
โ€ข If at some point y+ in the search space ๐‘ฆ๐‘ฆ+๐‘‡๐‘‡
โˆ‡2
๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก
๐‘ฆ๐‘ฆ+
โ‰ฅ 0 and for some other
point y-, ๐‘ฆ๐‘ฆโˆ’๐‘‡๐‘‡โˆ‡2๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก ๐‘ฆ๐‘ฆโˆ’ โ‰ค 0 then the matrix is neither positive definite nor
negative definite.
โ€ข Other test for positive definiteness โ€“ all eigenvalues are positive or if all principal
determinants are positive.
5
Optimality Criteria
โ€ข Successive unidirectional search techniques are used to find minimum along a search
direction.
โ€ข Unidirectional search is a one-dimensional search performed by comparing function
values only along a specified direction.
โ€ข Points that lie on a line (in N-dimensional space) passing through x(t) and oriented
along s(t) are considered in the search, expressed as
๐‘ฅ๐‘ฅ ๐›ผ๐›ผ = ๐‘ฅ๐‘ฅ(๐‘ก๐‘ก)
+ ๐›ผ๐›ผ๐‘ ๐‘ (๐‘ก๐‘ก)
Eq. (1)
where ฮฑ is a scalar quantity.
6
Unidirectional Search
โ€ข We can rewrite the multivariable objective function in terms of a single
variable ฮฑ by substituting x by x(ฮฑ).
โ€ข Then, using a single variable search method, minimum is found.
โ€ข Once optimum value ฮฑ* is obtained, its corresponding point can also be
found.
7
Unidirectional Search
Minimize f(x1, x2) = (x1 โ€“ 10)2 + (x2 โ€“ 10)2
The minimum lies at point (10, 10)T from the contour plot of
the function. Here, function value = 0.
Let the point of interest be x(t) = (2, 1)T and we are interested
in finding minimum and corresponding function value in
search direction s(t) = (2, 5)T.
From right-angled triangle shown in dotted line, the optimal
point obtained is x* = (6.207, 11.517)T.
Let us see if we can obtain the solution by performing
unidirectional search along s(t).
8
Unidirectional Search: Example
9
Unidirectional Search: Example
We will use a bracketing algorithm to enclose optimum
point and then use a single-variable optimization method.
First, let us use bounding phase method. Assume initial
guess of x(0) = 0 and increment ฮ” = 0.5.
The bounds for ฮฑ are obtained as (0.5, 3.5) with 6 function
evaluations. The bracketing points are then evaluated as
(3, 3.5)T and (9, 18.5)T.
Next, we use golden section search method to find
optimum point. Let us use a = 0.5 and b = 3.5. We obtain
ฮฑ* = 2.103 as minimum.
Substituting ฮฑ* = 2.1035, x(t) = (2, 1)T and s(t) = (2, 5)T in
Eq. (1), we obtain x* = (6.207, 11.517)T
10
Unidirectional Search: Example
โ€ข In single-variable optimization, there are only two search directions a point
can be modified โ€“ either in positive x-direction or negative x-direction.
โ€ข In multi-objective optimization, each variable can be modified either in
positive or negative directions leading to 2N ways of modification.
โ€ข One-variable-at-a-time algorithms cannot usually solve functions having
nonlinear interactions between design variables.
โ€ข Thus, we need to completely eliminate concept of search direction, and
instead manipulate a set of points to create a better set of points (eg.
Simplex search method).
11
Direct Search Methods
12
Simplex Search Method
โ€ข For N variables, (N+1) points are to be used in the
initial simplex.
โ€ข To avoid a zero-volume hypercube for a N-variable
function, (N+1) points in the simplex should not lie
along the same line.
โ€ข At each iteration, the worst point in the simplex (xh)
is found first.
โ€ข Then, a new simplex is formed from the old simplex
by some fixed rules that โ€œsteerโ€ the search away
from the worst point in the simplex.
Four situations may arise depending on function
values of the simplex.
1. First, the centroid (xc) of all but the worst point
is determined.
2. The worst point in the simplex is reflected about
xc and a new point xr is found.
3. If function value at xr is better than best point of
initial simplex, reflection is considered to have
taken simplex to a โ€œgood regionโ€ in search space.
13
Simplex Search Method
4. An expansion along the line joining xc to xr is
performed, which is controlled by factor ฮณ.
5. If function value at xr is worse than worst point
of initial simplex, reflection is considered to have
taken simplex to a โ€œbad regionโ€ in search space.
6. Thus, a contraction along the line joining xc to xr is made, controlled by factor ฮฒ.
7. Finally, if function value at xr is better than the worst point and worse than the next-to-worst
point in the simplex, contraction is made with ฮฒ > 0.
14
Simplex Search Method: Algorithm
15
Simplex Search Method: Example
16
Simplex Search Method: Example
17
Simplex Search Method: Example
18
Simplex Search Method: Example
19
Simplex Search Method: Example
20
Simplex Search Method: Example
21
Simplex Search Method: Example
22
Simplex Search Method: Example
23
Simplex Search Method: Example
24
Simplex Search Method: Example
25
Simplex Search Method: Example
26
Simplex Search Method: Example
First, we need to calculate the first and second-order derivatives for gradient-based methods. This is done using central
difference techniques as:
๏ฟฝ
๐œ•๐œ•๐‘“๐‘“(๐‘ฅ๐‘ฅ)
๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ฅ๐‘ฅ(๐‘ก๐‘ก)
= (f ๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
+ โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
โˆ’ f(๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
โˆ’ โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘–
(๐‘ก๐‘ก)
))/(2โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘–
(๐‘ก๐‘ก)
)
๏ฟฝ
๐œ•๐œ•2
๐‘“๐‘“(๐‘ฅ๐‘ฅ)
๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘–๐‘–
2
๐‘ฅ๐‘ฅ(๐‘ก๐‘ก)
= (f ๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
+ โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
โˆ’ 2f(๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
) + f(๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
โˆ’ โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘–
(๐‘ก๐‘ก)
))/(โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘–
(๐‘ก๐‘ก)
)2
๏ฟฝ
๐œ•๐œ•2
๐‘“๐‘“(๐‘ฅ๐‘ฅ)
๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘–๐‘– ๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘—๐‘—
๐‘ฅ๐‘ฅ(๐‘ก๐‘ก)
=
f ๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
+ โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
, ๐‘ฅ๐‘ฅ๐‘—๐‘—
๐‘ก๐‘ก
+ โˆ†๐‘ฅ๐‘ฅ๐‘—๐‘—
๐‘ก๐‘ก
โˆ’ f ๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
+ โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
, ๐‘ฅ๐‘ฅ๐‘—๐‘—
๐‘ก๐‘ก
โˆ’ โˆ†๐‘ฅ๐‘ฅ๐‘—๐‘—
๐‘ก๐‘ก
+ f ๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
โˆ’ โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
, ๐‘ฅ๐‘ฅ๐‘—๐‘—
๐‘ก๐‘ก
โˆ’ โˆ†๐‘ฅ๐‘ฅ๐‘—๐‘—
๐‘ก๐‘ก
โˆ’ f ๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
โˆ’ โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
, ๐‘ฅ๐‘ฅ๐‘—๐‘—
๐‘ก๐‘ก
+ โˆ†๐‘ฅ๐‘ฅ๐‘—๐‘—
๐‘ก๐‘ก
4โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘–
๐‘ก๐‘ก
โˆ†๐‘ฅ๐‘ฅ๐‘—๐‘—
๐‘ก๐‘ก
For the complete first derivative vector of a N-variable function, 2N function evaluations are needed.
For the complete second derivative vector of a N-variable function, 3N function evaluations are needed.
For the complete mixed derivative vector of a N-variable function, 4N function evaluations are needed.
Thus, (2N2 +1) computations are needed for the Hessian matrix.
27
Gradient-Based Methods
โ€ข By definition, the first derivative represents direction
of the maximum increase of the function value.
โ€ข To get the minimum, we should be searching along
opposite to first derivative function.
28
Gradient-Based Methods
โ€ข Any search direction d(t) would have smaller function value than that at the current
point x(t).
โ€ข Thus, a search direction d(t) that satisfies the following relation is descent direction.
29
Descent Direction
A search direction d(t) is a descent direction at point x(t) if the condition โˆ‡๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก . ๐‘‘๐‘‘(๐‘ก๐‘ก) โ‰ค 0 is
satisfied in the vicinity of the point x(t).
30
Cauchyโ€™s Steepest Descent Method
โ€ข The search direction used in Cauchyโ€™s method is the negative of the gradient at any
particular point x(k):
๐‘ ๐‘ (๐‘˜๐‘˜)
= โˆ’โˆ‡๐‘“๐‘“(๐‘ฅ๐‘ฅ ๐‘˜๐‘˜
)
โ€ข Since this direction gives maximum descent in function values, it is known as steepest
descent method.
โ€ข At every iteration, derivative is calculated at current point and unidirectional search is
performed in direction which is negative to the derivative direction to find minimum
along that direction.
โ€ข The minimum point becomes current point and search is continued from this point.
โ€ข Algorithm continues till gradient converges to sufficiently small quantity.
31
Cauchyโ€™s Steepest Descent Method: Algorithm
32
Cauchyโ€™s Steepest Descent Method: Example
(See AOT2)
33
Cauchyโ€™s Steepest Descent Method: Example

More Related Content

Similar to AOT3 Multivariable Optimization Algorithms.pdf

4-Unconstrained Single Variable Optimization-Methods and Application.pdf
4-Unconstrained Single Variable Optimization-Methods and Application.pdf4-Unconstrained Single Variable Optimization-Methods and Application.pdf
4-Unconstrained Single Variable Optimization-Methods and Application.pdfkhadijabutt34
ย 
Algorithms
AlgorithmsAlgorithms
AlgorithmsWaqarzadAa
ย 
clustering tendency
clustering tendencyclustering tendency
clustering tendencyAmir Shokri
ย 
Heuristic or informed search
Heuristic or informed searchHeuristic or informed search
Heuristic or informed searchHamzaJaved64
ย 
Curve fitting
Curve fittingCurve fitting
Curve fittingaashikareliya
ย 
Curve fitting
Curve fittingCurve fitting
Curve fittingaashikareliya
ย 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical MethodsESUG
ย 
Optimum Engineering Design - Day 2b. Classical Optimization methods
Optimum Engineering Design - Day 2b. Classical Optimization methodsOptimum Engineering Design - Day 2b. Classical Optimization methods
Optimum Engineering Design - Day 2b. Classical Optimization methodsSantiagoGarridoBulln
ย 
Perform brute force
Perform brute forcePerform brute force
Perform brute forceSHC
ย 
Reaction Path Optimization
Reaction Path OptimizationReaction Path Optimization
Reaction Path OptimizationRUDRA PRASAD SAHU
ย 
Reaction path optimization
Reaction path optimizationReaction path optimization
Reaction path optimizationRUDRA PRASAD SAHU
ย 
Optimum engineering design - Day 5. Clasical optimization methods
Optimum engineering design - Day 5. Clasical optimization methodsOptimum engineering design - Day 5. Clasical optimization methods
Optimum engineering design - Day 5. Clasical optimization methodsSantiagoGarridoBulln
ย 
Curve Fitting - Linear Algebra
Curve Fitting - Linear AlgebraCurve Fitting - Linear Algebra
Curve Fitting - Linear AlgebraGowtham Cr
ย 
Unit 4 jwfiles
Unit 4 jwfilesUnit 4 jwfiles
Unit 4 jwfilesNv Thejaswini
ย 
algorithm Unit 4
algorithm Unit 4 algorithm Unit 4
algorithm Unit 4 Monika Choudhery
ย 
Final slide (bsc csit) chapter 5
Final slide (bsc csit) chapter 5Final slide (bsc csit) chapter 5
Final slide (bsc csit) chapter 5Subash Chandra Pakhrin
ย 

Similar to AOT3 Multivariable Optimization Algorithms.pdf (20)

Chapter two
Chapter twoChapter two
Chapter two
ย 
4-Unconstrained Single Variable Optimization-Methods and Application.pdf
4-Unconstrained Single Variable Optimization-Methods and Application.pdf4-Unconstrained Single Variable Optimization-Methods and Application.pdf
4-Unconstrained Single Variable Optimization-Methods and Application.pdf
ย 
Heuristic search
Heuristic searchHeuristic search
Heuristic search
ย 
Algorithms
AlgorithmsAlgorithms
Algorithms
ย 
clustering tendency
clustering tendencyclustering tendency
clustering tendency
ย 
Heuristic or informed search
Heuristic or informed searchHeuristic or informed search
Heuristic or informed search
ย 
Curve fitting
Curve fittingCurve fitting
Curve fitting
ย 
Curve fitting
Curve fittingCurve fitting
Curve fitting
ย 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
ย 
Optimum Engineering Design - Day 2b. Classical Optimization methods
Optimum Engineering Design - Day 2b. Classical Optimization methodsOptimum Engineering Design - Day 2b. Classical Optimization methods
Optimum Engineering Design - Day 2b. Classical Optimization methods
ย 
Perform brute force
Perform brute forcePerform brute force
Perform brute force
ย 
Reaction Path Optimization
Reaction Path OptimizationReaction Path Optimization
Reaction Path Optimization
ย 
Reaction path optimization
Reaction path optimizationReaction path optimization
Reaction path optimization
ย 
Optimum engineering design - Day 5. Clasical optimization methods
Optimum engineering design - Day 5. Clasical optimization methodsOptimum engineering design - Day 5. Clasical optimization methods
Optimum engineering design - Day 5. Clasical optimization methods
ย 
Curve Fitting - Linear Algebra
Curve Fitting - Linear AlgebraCurve Fitting - Linear Algebra
Curve Fitting - Linear Algebra
ย 
Unit 4 jwfiles
Unit 4 jwfilesUnit 4 jwfiles
Unit 4 jwfiles
ย 
algorithm Unit 4
algorithm Unit 4 algorithm Unit 4
algorithm Unit 4
ย 
Final slide (bsc csit) chapter 5
Final slide (bsc csit) chapter 5Final slide (bsc csit) chapter 5
Final slide (bsc csit) chapter 5
ย 
Brute force
Brute forceBrute force
Brute force
ย 
Optim_methods.pdf
Optim_methods.pdfOptim_methods.pdf
Optim_methods.pdf
ย 

Recently uploaded

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
ย 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
ย 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
ย 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
ย 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
ย 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
ย 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
ย 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
ย 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
ย 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
ย 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
ย 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
ย 
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...Call Girls in Nagpur High Profile
ย 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
ย 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
ย 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
ย 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
ย 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
ย 

Recently uploaded (20)

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
ย 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
ย 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
ย 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
ย 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
ย 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
ย 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
ย 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
ย 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
ย 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
ย 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
ย 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
ย 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
ย 
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
ย 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
ย 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
ย 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
ย 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
ย 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
ย 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
ย 

AOT3 Multivariable Optimization Algorithms.pdf

  • 1. Advanced Optimization Theory MED573 Multi Variable Optimization Algorithms Dr. Aditi Sengupta Department of Mechanical Engineering IIT (ISM) Dhanbad Email: aditi@iitism.ac.in 1
  • 2. Introduction 2 โ€ข Methods used to optimize functions having multiple design variables. โ€ข Some single variable optimization algorithms are used to perform unidirectional search along desired direction. โ€ข Broadly classified into two categories: (i) Direct search methods (ii) Gradient-based methods
  • 3. โ€ข Optimality criteria differ from single-variable optimization. โ€ข In multi-variable optimization, the gradient of a function is not a scalar quantity โ€“ it is a vector quantity. โ€ข Let us assume that the objective function is a function of N variables represented by x1, x2, โ€ฆ, xN. โ€ข The gradient at any point x(t) is represented by โˆ‡๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก which is N-dimensional vector given by โˆ‡๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก = ๐œ•๐œ•๐œ•๐œ• ๐œ•๐œ•๐‘ฅ๐‘ฅ1 , ๐œ•๐œ•๐œ•๐œ• ๐œ•๐œ•๐‘ฅ๐‘ฅ2 , โ€ฆ , ๐œ•๐œ•๐œ•๐œ• ๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘๐‘ ๐‘‡๐‘‡ at x(t) 3 Optimality Criteria
  • 4. โ€ข The second-order derivatives form a matrix, โˆ‡2๐‘“๐‘“(๐‘ฅ๐‘ฅ(๐‘ก๐‘ก)) known as Hessian matrix given by โˆ‡2๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก = ๐œ•๐œ•2๐‘“๐‘“ ๐œ•๐œ•๐‘ฅ๐‘ฅ1 2 ๐œ•๐œ•2๐‘“๐‘“ ๐œ•๐œ•๐‘ฅ๐‘ฅ1๐œ•๐œ•๐‘ฅ๐‘ฅ2 โ‹ฏ ๐œ•๐œ•2๐‘“๐‘“ ๐œ•๐œ•๐‘ฅ๐‘ฅ1๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘๐‘ ๐œ•๐œ•2๐‘“๐‘“ ๐œ•๐œ•๐‘ฅ๐‘ฅ1๐œ•๐œ•๐‘ฅ๐‘ฅ2 ๐œ•๐œ•2๐‘“๐‘“ ๐œ•๐œ•๐‘ฅ๐‘ฅ2 2 โ‹ฏ ๐œ•๐œ•2๐‘“๐‘“ ๐œ•๐œ•๐‘ฅ๐‘ฅ2๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘๐‘ โ‹ฎ โ‹ฎ โ‹ฑ โ‹ฎ ๐œ•๐œ•2๐‘“๐‘“ ๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘๐‘๐œ•๐œ•๐‘ฅ๐‘ฅ1 ๐œ•๐œ•2๐‘“๐‘“ ๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘๐‘๐œ•๐œ•๐‘ฅ๐‘ฅ2 โ‹ฏ ๐œ•๐œ•2๐‘“๐‘“ ๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘๐‘ 2 โ€ข Now that we have the derivatives, we are ready to define the optimality criteria. โ€ข A point ฬ… ๐‘ฅ๐‘ฅ is a stationary point if โˆ‡๐‘“๐‘“ ฬ… ๐‘ฅ๐‘ฅ = 0. โ€ข The point is a minimum, a maximum or an inflection point if โˆ‡2 ๐‘“๐‘“ ฬ… ๐‘ฅ๐‘ฅ is positive definite, negative definite or otherwise. 4 Optimality Criteria
  • 5. โ€ข The matrix โˆ‡2๐‘“๐‘“(๐‘ฅ๐‘ฅ(๐‘ก๐‘ก)) is defined to be positive definite if for any point y in the search space the quantity ๐‘ฆ๐‘ฆ๐‘‡๐‘‡โˆ‡2๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก ๐‘ฆ๐‘ฆ โ‰ฅ 0. โ€ข The matrix โˆ‡2๐‘“๐‘“(๐‘ฅ๐‘ฅ(๐‘ก๐‘ก)) is defined to be negative definite if for any point y in the search space the quantity ๐‘ฆ๐‘ฆ๐‘‡๐‘‡ โˆ‡2 ๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก ๐‘ฆ๐‘ฆ โ‰ค 0. โ€ข If at some point y+ in the search space ๐‘ฆ๐‘ฆ+๐‘‡๐‘‡ โˆ‡2 ๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก ๐‘ฆ๐‘ฆ+ โ‰ฅ 0 and for some other point y-, ๐‘ฆ๐‘ฆโˆ’๐‘‡๐‘‡โˆ‡2๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก ๐‘ฆ๐‘ฆโˆ’ โ‰ค 0 then the matrix is neither positive definite nor negative definite. โ€ข Other test for positive definiteness โ€“ all eigenvalues are positive or if all principal determinants are positive. 5 Optimality Criteria
  • 6. โ€ข Successive unidirectional search techniques are used to find minimum along a search direction. โ€ข Unidirectional search is a one-dimensional search performed by comparing function values only along a specified direction. โ€ข Points that lie on a line (in N-dimensional space) passing through x(t) and oriented along s(t) are considered in the search, expressed as ๐‘ฅ๐‘ฅ ๐›ผ๐›ผ = ๐‘ฅ๐‘ฅ(๐‘ก๐‘ก) + ๐›ผ๐›ผ๐‘ ๐‘ (๐‘ก๐‘ก) Eq. (1) where ฮฑ is a scalar quantity. 6 Unidirectional Search
  • 7. โ€ข We can rewrite the multivariable objective function in terms of a single variable ฮฑ by substituting x by x(ฮฑ). โ€ข Then, using a single variable search method, minimum is found. โ€ข Once optimum value ฮฑ* is obtained, its corresponding point can also be found. 7 Unidirectional Search
  • 8. Minimize f(x1, x2) = (x1 โ€“ 10)2 + (x2 โ€“ 10)2 The minimum lies at point (10, 10)T from the contour plot of the function. Here, function value = 0. Let the point of interest be x(t) = (2, 1)T and we are interested in finding minimum and corresponding function value in search direction s(t) = (2, 5)T. From right-angled triangle shown in dotted line, the optimal point obtained is x* = (6.207, 11.517)T. Let us see if we can obtain the solution by performing unidirectional search along s(t). 8 Unidirectional Search: Example
  • 10. We will use a bracketing algorithm to enclose optimum point and then use a single-variable optimization method. First, let us use bounding phase method. Assume initial guess of x(0) = 0 and increment ฮ” = 0.5. The bounds for ฮฑ are obtained as (0.5, 3.5) with 6 function evaluations. The bracketing points are then evaluated as (3, 3.5)T and (9, 18.5)T. Next, we use golden section search method to find optimum point. Let us use a = 0.5 and b = 3.5. We obtain ฮฑ* = 2.103 as minimum. Substituting ฮฑ* = 2.1035, x(t) = (2, 1)T and s(t) = (2, 5)T in Eq. (1), we obtain x* = (6.207, 11.517)T 10 Unidirectional Search: Example
  • 11. โ€ข In single-variable optimization, there are only two search directions a point can be modified โ€“ either in positive x-direction or negative x-direction. โ€ข In multi-objective optimization, each variable can be modified either in positive or negative directions leading to 2N ways of modification. โ€ข One-variable-at-a-time algorithms cannot usually solve functions having nonlinear interactions between design variables. โ€ข Thus, we need to completely eliminate concept of search direction, and instead manipulate a set of points to create a better set of points (eg. Simplex search method). 11 Direct Search Methods
  • 12. 12 Simplex Search Method โ€ข For N variables, (N+1) points are to be used in the initial simplex. โ€ข To avoid a zero-volume hypercube for a N-variable function, (N+1) points in the simplex should not lie along the same line. โ€ข At each iteration, the worst point in the simplex (xh) is found first. โ€ข Then, a new simplex is formed from the old simplex by some fixed rules that โ€œsteerโ€ the search away from the worst point in the simplex. Four situations may arise depending on function values of the simplex. 1. First, the centroid (xc) of all but the worst point is determined. 2. The worst point in the simplex is reflected about xc and a new point xr is found. 3. If function value at xr is better than best point of initial simplex, reflection is considered to have taken simplex to a โ€œgood regionโ€ in search space.
  • 13. 13 Simplex Search Method 4. An expansion along the line joining xc to xr is performed, which is controlled by factor ฮณ. 5. If function value at xr is worse than worst point of initial simplex, reflection is considered to have taken simplex to a โ€œbad regionโ€ in search space. 6. Thus, a contraction along the line joining xc to xr is made, controlled by factor ฮฒ. 7. Finally, if function value at xr is better than the worst point and worse than the next-to-worst point in the simplex, contraction is made with ฮฒ > 0.
  • 27. First, we need to calculate the first and second-order derivatives for gradient-based methods. This is done using central difference techniques as: ๏ฟฝ ๐œ•๐œ•๐‘“๐‘“(๐‘ฅ๐‘ฅ) ๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ฅ๐‘ฅ(๐‘ก๐‘ก) = (f ๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก + โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก โˆ’ f(๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก โˆ’ โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘– (๐‘ก๐‘ก) ))/(2โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘– (๐‘ก๐‘ก) ) ๏ฟฝ ๐œ•๐œ•2 ๐‘“๐‘“(๐‘ฅ๐‘ฅ) ๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘–๐‘– 2 ๐‘ฅ๐‘ฅ(๐‘ก๐‘ก) = (f ๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก + โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก โˆ’ 2f(๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก ) + f(๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก โˆ’ โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘– (๐‘ก๐‘ก) ))/(โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘– (๐‘ก๐‘ก) )2 ๏ฟฝ ๐œ•๐œ•2 ๐‘“๐‘“(๐‘ฅ๐‘ฅ) ๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘–๐‘– ๐œ•๐œ•๐‘ฅ๐‘ฅ๐‘—๐‘— ๐‘ฅ๐‘ฅ(๐‘ก๐‘ก) = f ๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก + โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก , ๐‘ฅ๐‘ฅ๐‘—๐‘— ๐‘ก๐‘ก + โˆ†๐‘ฅ๐‘ฅ๐‘—๐‘— ๐‘ก๐‘ก โˆ’ f ๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก + โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก , ๐‘ฅ๐‘ฅ๐‘—๐‘— ๐‘ก๐‘ก โˆ’ โˆ†๐‘ฅ๐‘ฅ๐‘—๐‘— ๐‘ก๐‘ก + f ๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก โˆ’ โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก , ๐‘ฅ๐‘ฅ๐‘—๐‘— ๐‘ก๐‘ก โˆ’ โˆ†๐‘ฅ๐‘ฅ๐‘—๐‘— ๐‘ก๐‘ก โˆ’ f ๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก โˆ’ โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก , ๐‘ฅ๐‘ฅ๐‘—๐‘— ๐‘ก๐‘ก + โˆ†๐‘ฅ๐‘ฅ๐‘—๐‘— ๐‘ก๐‘ก 4โˆ†๐‘ฅ๐‘ฅ๐‘–๐‘– ๐‘ก๐‘ก โˆ†๐‘ฅ๐‘ฅ๐‘—๐‘— ๐‘ก๐‘ก For the complete first derivative vector of a N-variable function, 2N function evaluations are needed. For the complete second derivative vector of a N-variable function, 3N function evaluations are needed. For the complete mixed derivative vector of a N-variable function, 4N function evaluations are needed. Thus, (2N2 +1) computations are needed for the Hessian matrix. 27 Gradient-Based Methods
  • 28. โ€ข By definition, the first derivative represents direction of the maximum increase of the function value. โ€ข To get the minimum, we should be searching along opposite to first derivative function. 28 Gradient-Based Methods โ€ข Any search direction d(t) would have smaller function value than that at the current point x(t). โ€ข Thus, a search direction d(t) that satisfies the following relation is descent direction.
  • 29. 29 Descent Direction A search direction d(t) is a descent direction at point x(t) if the condition โˆ‡๐‘“๐‘“ ๐‘ฅ๐‘ฅ ๐‘ก๐‘ก . ๐‘‘๐‘‘(๐‘ก๐‘ก) โ‰ค 0 is satisfied in the vicinity of the point x(t).
  • 30. 30 Cauchyโ€™s Steepest Descent Method โ€ข The search direction used in Cauchyโ€™s method is the negative of the gradient at any particular point x(k): ๐‘ ๐‘ (๐‘˜๐‘˜) = โˆ’โˆ‡๐‘“๐‘“(๐‘ฅ๐‘ฅ ๐‘˜๐‘˜ ) โ€ข Since this direction gives maximum descent in function values, it is known as steepest descent method. โ€ข At every iteration, derivative is calculated at current point and unidirectional search is performed in direction which is negative to the derivative direction to find minimum along that direction. โ€ข The minimum point becomes current point and search is continued from this point. โ€ข Algorithm continues till gradient converges to sufficiently small quantity.
  • 32. 32 Cauchyโ€™s Steepest Descent Method: Example (See AOT2)