Optimization: principles and algorithms, by Michel Bierlaire
|
Algorithm 15.1: Nelder-Mead algorithm. More...
Go to the source code of this file.
Functions | |
function | nelderMead (in obj, in x0, in eps, in maxiter) |
Applies the Nelder-Mead algorithm to solve ![]() ![]() | |
Algorithm 15.1: Nelder-Mead algorithm.
Implementation of algorithm 15.1 of [1]
Definition in file nelderMead.m.
function nelderMead | ( | in | obj, |
in | x0, | ||
in | eps, | ||
in | maxiter | ||
) |
Applies the Nelder-Mead algorithm to solve where
.
obj | the name of the Octave function defining f(x) |
x0 | matrix nx(n+1) containnig the initial simplex |
eps | algorithm stops if ![]() |
maxiter | maximum number of iterations (Default: 100) |