Exercise "Minimization"
Implement the downhill simplex method.
Find the minima of the Rosenbrock's valley function,
f(x,y)=(1-x)2+100(y-x2)2.
Find the minima of the Himmelblau's function,
f(x,y)=(x2+y-11)2+(x+y2-7)2.
Compare the effectiveness (that is, the number of evaluations of the objective function) of the simplex method and the root-finding Newton's methods from the root-finding exercise.
Make some other interesting examples.
Implement the following strategy of expansion after a successful reflection in the downhill simplex method:
Find out whether this brings any dividents as compared to the usual strategy.
Try the following variant of the algorithm: instead of usual 1D
reflection/expansion/contraction perform a line-search of your choice in
the direction phi-pce. For example,
starting, say, with expansion factor 3 (or, perhaps, even 4) and then
backtracking (as in root-finding methods).
Suppose you are already at the "end-game" parabolic local minimum. Try improve the rate of convergence of the downhill simplex method.