{ RBrook.mpl } { GAMS Model Library, http://www.gams.com/modlib/libhtml/rbrock.htm } { Rosenbrock Test Function, NLP, Size: 0x2 } TITLE RosenBrock; OPTIONS ModelType=Nonlinear ParserType=Extended VARIABLES X1,X2; MODEL MIN Obj = 100*(X2-X1^2)^2 + (1-X1)^2; BOUNDS -10 <= X1 <= 5; -10 <= X2 <= 10; FREE X1,X2; END