simplemax.net optimization
javascript function minimization
Enter a javascript function in the box below.
function (xarray) { // parabolic function with any number of arguments var value=0; var offset=1; for (var i = 0; i < xarray.length; i++ ) { value += Math.pow(xarray[i]-offset,2); } return value; }
Enter an initial point (numbers separated by commas).
Optimize
Cancel
results
verbosity
Final results only
Show every 100th value
Show every 10th value
Show each iteration value
Show every 100th details
Show every 10th details
Show each iteration detail
Parameters are passed as array 'x'.
Constants and
functions
are available.
Example functions
Parabola
Rosenbrock
Solver
:
COBYLA
Galileo global
Powell's Method
Ralg
Nelder-Mead Simplex
xtol
ftol
low bound
high bound
(numbers separated by commas)