glomin_nogoto, a C code which finds a global minimizer of a scalar function of a scalar variable, by Richard Brent. This version, rewritten by Hans Bieshaar, avoids the use of the goto statement.
The original code used goto statements. A version of the code has been prepared which avoids the goto statements, at the expense of duplicating a number of statements. This version, instead, has been rewritten to avoid both goto's and duplication.
The method does not require the use of derivatives, and does not assume the function is differentiable.
The information on this web page is distributed under the MIT license.
glomin_nogoto is available in a C version.
asa047, a C code which minimizes a scalar function of several variables using the Nelder-Mead algorithm.
compass_search, a C code which seeks the minimizer of a scalar function of several variables using compass search, a direct search algorithm that does not use derivatives.
glomin, a C code which finds a global minimum of a scalar function of a scalar argument, without the use of derivative information, by Richard Brent.
toms178, a C code which optimizes a scalar functional of multiple variables using the Hooke-Jeeves method.
Original Fortran77 version by Richard Brent; C version by John Burkardt and Hans Bieshaar.