{ trig.mpl } { GAMS Model Library, http://www.gams.com/modlib/libhtml/trig.htm } { Simple Trigonometric Example, NLP, Size: 1x1 } TITLE Trig; OPTIONS ModelType=Nonlinear ParserType=Extended VARIABLES X1 INITIAL 1; MODEL MIN Obj = SIN(11*X1) + COS(13*X1) - SIN(17*X1) - COS(19*X1); SUBJECT TO Ineq1: 5*SIN(X1) - X1 <= 0; BOUNDS -2 <= X1 <= 5; FREE X1; END