Fibonacci method
As stated earlier, the Fibonacci method can be used to find
the minimum of a function of one variable even if the
function is not continuous. The limitations of the method
are:
• The initial interval of uncertainty, in which the optimum
lies, has to be known.
• The function being optimized has to be unimodal in the
initial interval of uncertainty.
Fibonacci method
The limitations of the method (cont’d):
• The exact optimum cannot be located in this method. Only
an interval known as the final interval of uncertainty will
be known. The final interval of uncertainty can be made as
small as desired by using more computations.
• The number of function evaluations to be used in the
search or the resolution required has to be specified before
hand.
Fibonacci method
This method makes use of the sequence of Fibonacci
numbers, {Fn}, for placing the experiments. These numbers
are defined as:
which yield the sequence 1,1,2,3,5,8,13,21,34,55,89,...

,
4
,
3
,
2
,
1
2
1
1
0






 n
F
F
F
F
F
n
n
n
Fibonacci method
Procedure:
Let L0 be the initial interval of uncertainty defined by a x
 b and n be the total number of experiments to be
conducted. Define
and place the first two experiments at points x1 and x2,
which are located at a distance of L2
*
from each end of L0.
0
2
*
2 L
F
F
L
n
n

Fibonacci method
Procedure:
This gives
Discard part of the interval by using the unimodality
assumption. Then there remains a smaller interval of
uncertainty L2 given by:
0
1
0
2
*
2
2
0
2
*
2
1
L
F
F
a
L
F
F
b
L
b
x
L
F
F
a
L
a
x
n
n
n
n
n
n













0
1
2
0
*
2
0
2 1 L
F
F
F
F
L
L
L
L
n
n
n
n 














Fibonacci method
Procedure:
The only experiment left in will be at a distance of
from one end and
from the other end. Now place the third experiment in the interval
L2 so that the current two experiments are located at a distance of:
2
1
2
0
2
*
2 L
F
F
L
F
F
L
n
n
n
n





2
1
3
0
3
*
2
2 L
F
F
L
F
F
L
L
n
n
n
n






2
1
3
0
3
*
3 L
F
F
L
F
F
L
n
n
n
n





Fibonacci method
Procedure:
• This process of discarding a certain interval and placing a new
experiment in the remaining interval can be continued, so that the
location of the jth experiment and the interval of uncertainty at the end
of j experiments are, respectively, given by:
0
)
1
(
1
)
2
(
*
L
F
F
L
L
F
F
L
n
j
n
j
j
j
n
j
n
j








Fibonacci method
Procedure:
• The ratio of the interval of uncertainty remaining after conducting
j of the n predetermined experiments to the initial interval of
uncertainty becomes:
and for j = n, we obtain
n
j
n
j
F
F
L
L )
1
(
0



n
n
n
F
F
F
L
L 1
1
0


Fibonacci method
• The ratio Ln/L0 will permit us to determine n, the required number
of experiments, to achieve any desired accuracy in locating the
optimum point.Table gives the reduction ratio in the interval of
uncertainty obtainable for different number of experiments.
Fibonacci method
Position of the final experiment:
• In this method, the last experiment has to be placed with some
care. Equation
gives
• Thus, after conducting n-1 experiments and discarding the
appropriate interval in each step, the remaining interval will
contain one experiment precisely at its middle point.
1
)
2
(
*




 j
j
n
j
n
j L
F
F
L
n
all
for
2
1
2
0
1
*


 F
F
L
L
n
n
Fibonacci method
Position of the final experiment:
• In this method, the last experiment has to be placed with some
care. Equation
gives
• Thus, after conducting n-1 experiments and discarding the
appropriate interval in each step, the remaining interval will
contain one experiment precisely at its middle point.
1
)
2
(
*




 j
j
n
j
n
j L
F
F
L
n
all
for
2
1
2
0
1
*


 F
F
L
L
n
n
Fibonacci method
Position of the final experiment:
• However, the final experiment, namely, the nth
experiment, is also to be placed at the center of the
present interval of uncertainty.
• That is, the position of the nth experiment will be the
same as that of ( n-1)th experiment, and this is true for
whatever value we choose for n.
• Since no new information can be gained by placing the
nth experiment exactly at the same location as that of
the (n-1)th experiment, we place the nth experiment
very close to the remaining valid experiment, as in the
case of the dichotomous search method.
Fibonacci method
Example:
Minimize
f(x)=0.65-[0.75/(1+x2
)]-0.65 x tan-1
(1/x) in the interval [0,3]
by the Fibonacci method using n=6.
Solution: Here n=6 and L0=3.0, which yield:
Thus, the positions of the first two experiments are given by
x1=1.153846 and x2=3.0-1.153846=1.846154 with f1=f(x1)=-
0.207270 and f2=f(x2)=-0.115843. Since f1 is less than f2, we
can delete the interval [x2,3] by using the unimodality
assumption.
153846
.
1
)
0
.
3
(
13
5
* 0
2
2 

 
L
F
F
L
n
n
Fibonacci method
Solution:
Fibonacci method
Solution:
The third experiment is placed at x3=0+ (x2-x1)=1.846154-
1.153846=0.692308, with the corresponding function value of f3=-
0.291364. Since f1 is greater than f3, we can delete the interval [x1,x2]
Fibonacci method
Solution:
The next experiment is located at x4=0+ (x1-x3)=1.153846-
0.692308=0.461538, with f4=-0.309811. Noting that f4 is less than f3, we
can delete the interval [x3,x1]
Fibonacci method
Solution:
The location of the next experiment can be obtained as x5=0+ (x3-
x4)=0.692308-0.461538=0.230770, with the corresponding objective
function value of f5=-0.263678. Since f4 is less than f3, we can delete the
interval [0,x5]
Fibonacci method
Solution:
The final experiment is positioned at x6=x5+ (x3-x4)=0.230770+(0.692308-
0.461538)=0.461540 with f6=-0.309810. (Note that, theoretically, the
value of x6 should be same as that of x4; however,it is slightly different
from x4 due to the round off error). Since f6 > f4 , we delete the interval
[x6, x3] and obtain the final interval of uncertainty as L6 = [x5,
x6]=[0.230770,0.461540].
Fibonacci method
Solution:
The ratio of the final to the initial interval of uncertainty is
This value can be compared with
which states that if n experiments (n=6) are planned, a resolution
no finer than 1/Fn= 1/F6=1/13=0.076923 can be expected from
the method.
076923
.
0
0
.
3
230770
.
0
461540
.
0
0
6



L
L
n
n
n
F
F
F
L
L 1
1
0



Fibonacci dlaa.;;;;;;;;;;;;;;;;;;;;;;.pptx

  • 1.
    Fibonacci method As statedearlier, the Fibonacci method can be used to find the minimum of a function of one variable even if the function is not continuous. The limitations of the method are: • The initial interval of uncertainty, in which the optimum lies, has to be known. • The function being optimized has to be unimodal in the initial interval of uncertainty.
  • 2.
    Fibonacci method The limitationsof the method (cont’d): • The exact optimum cannot be located in this method. Only an interval known as the final interval of uncertainty will be known. The final interval of uncertainty can be made as small as desired by using more computations. • The number of function evaluations to be used in the search or the resolution required has to be specified before hand.
  • 3.
    Fibonacci method This methodmakes use of the sequence of Fibonacci numbers, {Fn}, for placing the experiments. These numbers are defined as: which yield the sequence 1,1,2,3,5,8,13,21,34,55,89,...  , 4 , 3 , 2 , 1 2 1 1 0        n F F F F F n n n
  • 4.
    Fibonacci method Procedure: Let L0be the initial interval of uncertainty defined by a x  b and n be the total number of experiments to be conducted. Define and place the first two experiments at points x1 and x2, which are located at a distance of L2 * from each end of L0. 0 2 * 2 L F F L n n 
  • 5.
    Fibonacci method Procedure: This gives Discardpart of the interval by using the unimodality assumption. Then there remains a smaller interval of uncertainty L2 given by: 0 1 0 2 * 2 2 0 2 * 2 1 L F F a L F F b L b x L F F a L a x n n n n n n              0 1 2 0 * 2 0 2 1 L F F F F L L L L n n n n               
  • 6.
    Fibonacci method Procedure: The onlyexperiment left in will be at a distance of from one end and from the other end. Now place the third experiment in the interval L2 so that the current two experiments are located at a distance of: 2 1 2 0 2 * 2 L F F L F F L n n n n      2 1 3 0 3 * 2 2 L F F L F F L L n n n n       2 1 3 0 3 * 3 L F F L F F L n n n n     
  • 7.
    Fibonacci method Procedure: • Thisprocess of discarding a certain interval and placing a new experiment in the remaining interval can be continued, so that the location of the jth experiment and the interval of uncertainty at the end of j experiments are, respectively, given by: 0 ) 1 ( 1 ) 2 ( * L F F L L F F L n j n j j j n j n j        
  • 8.
    Fibonacci method Procedure: • Theratio of the interval of uncertainty remaining after conducting j of the n predetermined experiments to the initial interval of uncertainty becomes: and for j = n, we obtain n j n j F F L L ) 1 ( 0    n n n F F F L L 1 1 0  
  • 9.
    Fibonacci method • Theratio Ln/L0 will permit us to determine n, the required number of experiments, to achieve any desired accuracy in locating the optimum point.Table gives the reduction ratio in the interval of uncertainty obtainable for different number of experiments.
  • 10.
    Fibonacci method Position ofthe final experiment: • In this method, the last experiment has to be placed with some care. Equation gives • Thus, after conducting n-1 experiments and discarding the appropriate interval in each step, the remaining interval will contain one experiment precisely at its middle point. 1 ) 2 ( *      j j n j n j L F F L n all for 2 1 2 0 1 *    F F L L n n
  • 11.
    Fibonacci method Position ofthe final experiment: • In this method, the last experiment has to be placed with some care. Equation gives • Thus, after conducting n-1 experiments and discarding the appropriate interval in each step, the remaining interval will contain one experiment precisely at its middle point. 1 ) 2 ( *      j j n j n j L F F L n all for 2 1 2 0 1 *    F F L L n n
  • 12.
    Fibonacci method Position ofthe final experiment: • However, the final experiment, namely, the nth experiment, is also to be placed at the center of the present interval of uncertainty. • That is, the position of the nth experiment will be the same as that of ( n-1)th experiment, and this is true for whatever value we choose for n. • Since no new information can be gained by placing the nth experiment exactly at the same location as that of the (n-1)th experiment, we place the nth experiment very close to the remaining valid experiment, as in the case of the dichotomous search method.
  • 13.
    Fibonacci method Example: Minimize f(x)=0.65-[0.75/(1+x2 )]-0.65 xtan-1 (1/x) in the interval [0,3] by the Fibonacci method using n=6. Solution: Here n=6 and L0=3.0, which yield: Thus, the positions of the first two experiments are given by x1=1.153846 and x2=3.0-1.153846=1.846154 with f1=f(x1)=- 0.207270 and f2=f(x2)=-0.115843. Since f1 is less than f2, we can delete the interval [x2,3] by using the unimodality assumption. 153846 . 1 ) 0 . 3 ( 13 5 * 0 2 2     L F F L n n
  • 14.
  • 15.
    Fibonacci method Solution: The thirdexperiment is placed at x3=0+ (x2-x1)=1.846154- 1.153846=0.692308, with the corresponding function value of f3=- 0.291364. Since f1 is greater than f3, we can delete the interval [x1,x2]
  • 16.
    Fibonacci method Solution: The nextexperiment is located at x4=0+ (x1-x3)=1.153846- 0.692308=0.461538, with f4=-0.309811. Noting that f4 is less than f3, we can delete the interval [x3,x1]
  • 17.
    Fibonacci method Solution: The locationof the next experiment can be obtained as x5=0+ (x3- x4)=0.692308-0.461538=0.230770, with the corresponding objective function value of f5=-0.263678. Since f4 is less than f3, we can delete the interval [0,x5]
  • 18.
    Fibonacci method Solution: The finalexperiment is positioned at x6=x5+ (x3-x4)=0.230770+(0.692308- 0.461538)=0.461540 with f6=-0.309810. (Note that, theoretically, the value of x6 should be same as that of x4; however,it is slightly different from x4 due to the round off error). Since f6 > f4 , we delete the interval [x6, x3] and obtain the final interval of uncertainty as L6 = [x5, x6]=[0.230770,0.461540].
  • 19.
    Fibonacci method Solution: The ratioof the final to the initial interval of uncertainty is This value can be compared with which states that if n experiments (n=6) are planned, a resolution no finer than 1/Fn= 1/F6=1/13=0.076923 can be expected from the method. 076923 . 0 0 . 3 230770 . 0 461540 . 0 0 6    L L n n n F F F L L 1 1 0  