*--------------------------------------------------------------* * Univariate Polynomial - Test Problem 6 * *--------------------------------------------------------------* File res / results / ; Put res ; Variables x f; x.lo = -5; x.up = 5; Equations Obj objective function; Obj .. f =e= power(x,6) - 15*power(x,4) + 27*power(x,2) + 250; Model problem /Obj/; * Two global minima * x.l = 3; x.l = -3; solve problem using nlp minimizing f; PUT "Min f",f.l:16:10//; PUT "x ",x.l:16:10//;