Nelder-Mead Visualizer

Click anywhere on the graph to see an animation of the Nelder-Mead algorithm

Instructions

To use this app, click anywhere on the graph. The Nelder-Mead algorithm will take the coordinates of your click and use them to find one of the minimum values. It does so using the geometrical concept of a simplex, which in two dimensions is a triangle.

The graph above is a plot of Himmelblau's function. It takes x and y coordinates as inputs and outputs the value f(x,y) = (x2 + y - 11)2 + (x + y2 - 7)2. Light green areas correspond to higher values of the function, while dark green areas correspond to lower values. The glowing red dots correspond to points where the function reaches its minimum value.

Click here for the Github repository to this app.