The information regarding these algorithms can be found in my professorβs teachings from the faculty. It was one of my favourite subjects to actually see how mathematics is applied in optimizations. She would give us extremely easy tests at the beginning of each course but you would only know to answer if youβve actually been to her classes. She really knew how to make her class appealing.
Even though analytical methods are able to provide an exact minimum or maximum, their use can be cumbersome, in particular for nonlinear functions and constraints ( which is the case for my project ). This is why numerical methods are widely used.
Letβs consider the function . Without loss of generality, letβs assume that the function f has a unique minimum on . The following methods find this minimum with a tolerance by eliminating parts of the interval in several steps.

This is a function with a unique minimum on the interval . For the elimination, one has to define two, partly overlapping intervals. The function is evaluated in the endpoints of the intervals. Since there is a unique minimum, one of the intervals contains a point with smaller function value. This interval is retained, while the remaining part is eliminated.
There are two methods:
- Golden Section
- Fibonacci search
Golden Section
Input:
- Objective function ( )
- boundaries and
- tolerance
Output:
- Reduced interval
Steps:
-
while do
-
if then
-
else
-
end if
-
end while
Fibonacci Search
Input:
- Objective function ( )
- boundaries and
- tolerance
Output:
- Reduced interval
Steps:
-
while do
-
if then
-
else
-
end if
-
end while