public class NelderMeadEx1 extends Object
Solves an unconstrained optimization problem using the simplex method of Nelder and Mead.
The Rosenbrock function f(x1,x2)=100.0(x2−x21)2+(1.0−x1)2 is minimized and the solution is printed. The analytical solution is (x1,x2)=(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.