5 One Dimensional Search
5 One Dimensional Search
Search
Dr. senthilmurugan S,
Chemical Engineering Department,
IIT Guwahati.
One dimensional search
numerical methods
Solving a one-dimensional optimization problem using computer is
always possible. But how efficiently?
| | | |
1 𝑓 ( 𝑥 1) 𝑥 21 1 𝑥1 𝑓 (𝑥 1)
2
1 𝑓 ( 𝑥 2) 𝑥2 1 𝑥2 𝑓 ( 𝑥 2)
2
1 𝑓 ( 𝑥 3) 𝑥 3 1 𝑥3 𝑓 ( 𝑥3)
𝑏= 𝑐=
| | | |
2 2
1 𝑥1 𝑥1 1 𝑥1 𝑥1
2 2
1 𝑥2 𝑥 2 1 𝑥2 𝑥 2
2 2
1 𝑥3 𝑥 3 1 𝑥3 𝑥 3
𝑏
𝑥′=𝑥∗=−
2𝑐
′ (𝑘)
(𝑘+1) (𝑘) 𝑓 (𝑥 )
𝑥 =𝑥 − ″ (𝑘)
𝑓 (𝑥 )
Sunday, April 10, 2022 CL615 Optimization 11
Examples
Minimize
2
𝑓(𝑥)=𝑎0+𝑎1 𝑥+𝑎2 𝑥
Minimize
4 2
Sunday, April 10, 2022
𝑓(𝑥)=𝑥 −𝑥 +1
CL615 Optimization 12
Advantages of Newton’s Method
Disadvantages
(A)
Analogous equation to (A) is
′ (𝑘) ( 𝑘)
𝑓 (𝑥 )+𝑚( 𝑥 − 𝑥 )=0 ( 𝐵)
The secant approximates f″(x) as a straight line
For next stage, retain either x(q) or x(p) so that the pair of
derivatives still have opposite sign.
𝑂𝑟𝑑𝑒𝑟𝑃
Sunday, April 10, 2022 CL615 Optimization 17
Example 5.2
• The function to be
minimized is