One-Dimensional Search Methods Fibonacci Method
One-Dimensional Search Methods Fibonacci Method
(CHE 544)
PART II – Lecture 1
One-Dimensional Search Methods:
Fibonacci Method
2024/2025 Omega Semester 1
Brief Overview and Definitions
• Optimization is the act of obtaining the best result under given
circumstances.
• Engineering system or components are defined by a set of quantities.
These engineering system quantities can be
1. Preassigned parameters: quantities that are fixed from the onset
2. Design/decision variables
• Unimodal function: Has only one minimum (valley) and the rest of the graph
goes up from there; or one maximum (peak) and the rest of the graph goes
down.
• Multimodal function: Has multiple peaks or valleys.
• Linear optimization problem: When optimization functions or constraints are
linear
2024/2025 Omega Semester 6
• Non-linear optimization problem: When optimization functions or
constraints are non-linear
• 𝐹𝑛 = 𝐹𝑛−1 + 𝐹𝑛−2
of the two experiments (𝑥1 & 𝑥2 ) is 𝐿∗2 away from either ends of the
uncertainty interval
𝐹𝑛−2
• ∴ 𝑥1 = 𝑎 + 𝐿∗2 = 𝑎+ 𝐿𝑜
𝐹𝑛
2024/2025 Omega Semester 12
𝐹𝑛−2 𝐹𝑛−2
𝑥2 = 𝑏 − =𝑏− 𝐿∗2 𝐿𝑜 = 𝑏 − (𝑏 − 𝑎)
𝐹𝑛 𝐹𝑛
𝐹𝑛−2 𝐹𝑛−2
= 1− 𝑏+ 𝑎
𝐹𝑛 𝐹𝑛
𝐹𝑛 − 𝐹𝑛−2 𝐹𝑛−2
= 𝑏+ 𝑎
𝐹𝑛 𝐹𝑛
Recall that: 𝐹𝑛 = 𝐹𝑛−1 + 𝐹𝑛−2
𝐹𝑛−1 𝐹𝑛−1
= 𝑏+𝑎− 𝑎
𝐹𝑛 𝐹𝑛
𝐹𝑛−1 𝐹𝑛−1
= 𝑏−𝑎 +𝑎 =𝑎+ 𝐿𝑜
𝐹𝑛 𝐹𝑛
Step 4: Reduce the interval 𝐿𝑜 and name the new interval as 𝐿2 . The
new interval of uncertainty, 𝐿2 will be either 𝑥1 , 𝑏 or 𝑎, 𝑥2
5 35
= ×7= = 2.69230769
13 13
2024/2025 Omega Semester 20
• This means 𝑥1 & 𝑥2 must be 2.69230769 away from the either ends
of the number line
35 4
= −3 + =− = −0.30769231
13 13
𝑥2 = 𝑏 − 𝐿∗2
35 17
=4− = = 1.30769231
13 13
2024/2025 Omega Semester 21
• Determine 𝒇 𝒙
𝑓 𝑎 = −3 2 + 2 −3 = 3
𝑓 𝑏 = 4 2 + 2 4 = 24
2
4 4 88
𝑓 𝑥1 = − +2 − =− = −0.52071006
13 13 169
2
17 17 731
𝑓 𝑥2 = +2 = = 4.32544379
2024/2025 Omega Semester
13 13 169 22
• Discard the section of the uncertainty interval not favoring the
optimization problem
𝑓 𝑥1 < 𝑓 𝑥2
• Since the it is a minimization problem, the optimal value cannot lie
between 𝑥2 & 𝑏 (you may check with a sketch of 𝒇 𝒙 against 𝒙 )
35 56
=7− = = 4.30769231
13 13
2024/2025 Omega Semester 23
• Locating 𝒙𝟑 : This is achieved by repeating the above steps
-Evaluate 𝑳∗𝟑
∗
𝐹𝑛−3 𝐹3
𝐿3 = 𝐿𝑜 = 𝐿𝑜
𝐹𝑛 𝐹6
3 21
= ×7= = 1.61538462
13 13
• This means 𝑥1 & 𝑥3 must be1.61538462 away from either ends of
the number line. Observation shows that 𝑥1 is 1.61538462 away
21 4
from 𝑥2 (check: 𝑥2 − = − = −0.30769231 = 𝑥1 )
13 13
2
18 18 144
𝑓 𝑥3 = − +2 − =− = −0.85207101
13 13 169
𝑓 𝑥1 = −0.52071006
𝑓 𝑥2 = 4.32544379
2024/2025 Omega Semester 25
• Discard the section of the uncertainty interval not favoring the
optimization problem
𝑓 𝑥3 < 𝑓 𝑥1
• Since it is a minimization problem, the optimal value cannot lie
between 𝑥1 & 𝑥2 (you may check with a sketch of 𝒇 𝒙 against 𝒙 )
56 21 35
= − = = 2.69230769
13 13 13
2024/2025 Omega Semester 26
• Continue the iterative process by locating 𝒙𝟒
-Evaluate 𝑳∗𝟒
∗
𝐹𝑛−4 𝐹2
𝐿4 = 𝐿𝑜 = 𝐿𝑜
𝐹𝑛 𝐹6
2 14
= ×7= = 1.07692308
13 13
• This means 𝑥3 & 𝑥4 must be 1.07692308 away from either ends of
the number line. Observation shows that 𝑥3 is 1.07692308 away
14 18
from 𝑥1 (check: 𝑥1 − = − = −1.38461538 = 𝑥3 )
13 13
2
25 25 25
𝑓 𝑥4 = − +2 − =− = −0.14792899
13 13 169
𝑓 𝑥3 = −0.85207101
𝑓 𝑥1 = −0.52071006
2024/2025 Omega Semester 28
• Discard the section of the uncertainty interval not favoring the
optimization problem
𝑓 𝑥3 < 𝑓 𝑥4
• Since the it is a minimization problem, the optimal value cannot lie
between 𝑎 & 𝑥4 (you may check with a sketch of 𝒇 𝒙 against 𝒙 )
35 14 21
= − = = 1.61538462
2024/2025 Omega Semester 13 13 13 29
• Continue the iterative process by locating 𝒙𝟓
-Evaluate 𝑳∗𝟓
∗ 𝐹𝑛−5 𝐹1
𝐿5 = 𝐿𝑜 = 𝐿𝑜
𝐹𝑛 𝐹6
1 7
= ×7= = 0.53846154
13 13
• This means 𝑥3 & 𝑥5 must be 0.53846154 away from either ends of
the number line. Observation shows that 𝑥3 is 0.53846154 away
7 18
from 𝑥4 (check: 𝑥4 + = − = −1.38461538 = 𝑥3 )
13 13
𝑓 𝑥3 = −0.85207101
2
11 11 165
𝑓 𝑥5 = − +2 − =− = −0.97633136
13 13 169
𝑓 𝑥1 = −0.52071006
2024/2025 Omega Semester 31
• Discard the section of the uncertainty interval not favoring the
optimization problem
𝑓 𝑥5 < 𝑓 𝑥3
𝑓 𝑥5 = −0.97633136
2
11 11
𝑓 𝑥6 = − +2 − = −0.97633136
13 13
𝑓 𝑥1 = −0.52071006
2024/2025 Omega Semester 34
• Discard the section of the uncertainty interval not favoring the
optimization problem
𝑓 𝑥5 = 𝑓 𝑥6
∴ Discard [𝑥6 , 𝑥1 ]
18 11
• The final interval of uncertainty, 𝐿6 = 𝑥3 , 𝑥6 = − ,−
13 13
𝐿6 = 𝐿5 − 𝐿∗6
14 7 7
= − = = 0.53846154
13 13 13
𝐿6 18 7
The minimizer is therefore 𝑥∗
= 𝑥3 + = − +
2 13 26
29
=− = −1.11538462
2024/2025 Omega Semester 26 36
2
29 29 −667
𝑓 𝑥∗ = − +2 − = = −0.98668639
26 26 676
Exercise
1. Min 𝑓 𝑥 = 𝑥 2 over [-5, 15]. Take 𝑛 = 7
𝑥
𝑓𝑜𝑟 𝑥 ≤ 2
2. Max 𝑓 𝑥 = ൝ 2 in the interval [0,3] using Fibonacci
−𝑥 + 3 𝑓𝑜𝑟 𝑥 > 2
method. Given that 𝑛 = 6
3. Min 𝑓 𝑥 = 𝑥(𝑥 − 1.5) in the interval [0,1] within the final interval
of uncertainty 0.25 of the initial interval of uncertainty.
2024/2025 Omega Semester 37