optisection


optisection, a MATLAB code which estimates a minimizer of a function f(x) over the interval [a,b], assuming f(x) is unimodal ("U-shaped") over [a,b]. The method is often faster than bisection or golden section. It was developed by Vladimir Kodnyanko.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

optisection is available in a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

optisection_test

bisection_min, a MATLAB code which uses the bisection method to estimate a minimizer of a function f(x) assumed to be strictly unimodal ("U-shaped") over the interval [a,b].

glomin, a MATLAB code which finds a global minimum of a scalar function of a scalar argument, without the use of derivative information, by Richard Brent.

golden_section, a MATLAB code which uses the golden section method to estimate a minimizer of a function f(x), assuming f(x) is unimodal ("U-shaped") over [a,b].

local_min, a MATLAB code which finds a local minimum of a scalar function of a scalar variable, without the use of derivative information, by Richard Brent.

local_min_rc, a MATLAB code which finds a local minimum of a scalar function of a scalar variable, without the use of derivative information, using reverse communication (RC), by Richard Brent.

test_unimodal, a MATLAB code which defines a number of unimodal functions, each one a scalar valued function of a scalar argument. Over a specified interval [a,b], each function decreases to a minimum value and then increases. These functions are designed to test the efficiency of algorithms for locating the minimizing argument, such as bisection, golden search, or Brent's method.

Reference:

Source Code:


Last revised on 01 May 2026.