compass_search_test


compass_search_test, an Octave code which calls compass_search(), which seeks the minimizer of a scalar function of several variables using compass search, a direct search algorithm that does not use derivatives.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Related Data and Programs:

compass_search, an Octave code which seeks the minimizer of a scalar function of several variables using compass search, a direct search algorithm that does not use derivatives.

Source Code:

BEALE is the Beale function, for which M=2.

BOHACH1 is the Bohachevsky function #1, for which M=2.

BOHACH2 is the Bohachevsky function #2, for which M=2.

BROYDEN is the two dimensional modified Broyden function, for which M=2.

EXTENDED_ROSENBROCK is the "extended" Rosenbrock function. This version of the Rosenbrock function allows the spatial dimension M to be arbitrary, except that it must be even.

GOLDSTEIN_PRICE is the Goldstein-Price polynomial, for which M=2.

HIMMELBLAU is the Himmelblau function, for which M = 2, and which has four global minima.

LOCAL is a badly scaled function with a local minimum, for which M=2.

MCKINNON is the McKinnon function, for which M=2. This function can cause problems for the Nelder-Mead optimization algorithm.

POWELL is the Powell singular quartic function, for which M = 4.

ROSENBROCK is the Rosenbrock "banana" function, for which M = 2.


Last revised on 04 September 2022.