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:

  1. while do

  2. if then

  3. else

  4. end if

  5. end while

Input:

  • Objective function ( )
  • boundaries and
  • tolerance

Output:

  • Reduced interval

Steps:

  1. while do

  2. if then

  3. else

  4. end if

  5. end while