public class NelderMeadEx1 extends Object
Solves an unconstrained optimization problem using the simplex method of Nelder and Mead.
The Rosenbrock function $$ f(x_1,x_2) = 100.0(x_2-x_1^2)^2 + (1.0-x_1)^2 $$ is minimized and the solution is printed. The analytical solution is \((x_1,x_2) = (1.0,1.0)\) with optimum value \(0\).
Constructor and Description |
---|
NelderMeadEx1() |
public static void main(String[] args)
Copyright © 2020 Rogue Wave Software. All rights reserved.