2 %> Runs example 15.3 illustrating the Nelder-Nead algorithm (Table 15.2)
8 %> @author Michel Bierlaire
9 %> @date Sat Mar 21 18:25:02 2015
10 x0 = [1 (1.0+sqrt(33))/8.0 0 ; 1 (1.0-sqrt(33))/8.0 0] ;
11 solution =
nelderMead(
'ex1503mcKinnon',x0,1.0e-5,100)
function nelderMead(in obj, in x0, in eps, in maxiter)
Applies the Nelder-Mead algorithm to solve where .