OPTIMIZATION - Lecture3 - RSB
OPTIMIZATION - Lecture3 - RSB
TECHNIQUES
[AcSIR-01-ES-AD-009]
Presented by:
Dr. R. S. Bisht, Pr. Scientist,
[email protected]
CSIR-CBRI, Roorkee, India
Contents
Note: The theory cannot make distinction between local and global extrema.
Multivariable Optimization with no Constraints
Note: The theory cannot make distinction between local and global extrema.
Definition:
Minima: A matrix is positive definite if all eigenvalues are positive.
This means that |J − 𝜆 𝐼| = 0
and find out if the function is convex, concave or neither at the points
of optima based on the testing rules discussed above.
Functions of two variables
23
Example: A three-
dimensional surface
plot
[X,Y] = meshgrid(0:0.5:20);
Z = sin(X) + cos(Y);
surf(X,Y,Z)
[X,Y] = meshgrid(1:0.5:10,1:20);
Z = sin(X) + cos(Y);
surfc(X,Y,Z)
clear all
[x,y] = meshgrid(-2:0.05:2);
f = x.*exp(-x.^2-y.^2)+(x.^2+y.^2)/20;
surfc(x,y,f)
Newton’s Method for single variable
1.
0.5
Newtons method for 𝑓 𝑥 = 𝑥13 + 2 𝑥1 − 𝑥2 2
− 3𝑥1 , start from 𝑥 (0) =
0.5
1
Ans: 𝑥 (𝑜𝑝𝑡) =
1
2.
1
Newtons method for 𝑓 𝑥 = 𝑥1 𝑥2 + 4𝑥2 − 3𝑥12 − 𝑥22 , start from 𝑥 (0) =
−1
0.36
Ans: analytical solutions: 𝑥 (𝑜𝑝𝑡) =
2.18