* System of nonlinear equations * Brown's almost linear problem (Kearfott and Novoa, 1990) * 2 known solutions * Sets SET i /1*5/; VARIABLES x(i) s objval objective function variable; FREE VARIABLES objval; EQUATIONS f Objective function h1 h2 h3 h4 h5p h5m; f .. objval =e=s; h1 .. 2 * x('1') + x('2') + x('3') + x('4') + x('5') =e= 6; h2 .. x('1') + 2 * x('2') + x('3') + x('4') + x('5') =e= 6; h3 .. x('1') + x('2') + 2 * x('3') + x('4') + x('5') =e= 6; h4 .. x('1') + x('2') + x('3') + 2 * x('4') + x('5') =e= 6; h5p .. -s + x('1') * x('2') * x('3') * x('4') * x('5') =l= 1; h5m .. -s - x('1') * x('2') * x('3') * x('4') * x('5') =l= -1; * Bounds x.LO(i) = -2; x.UP(i) = 2; * Starting point * x.L('1') = 0.916; x.L('2') = 0.916; x.L('3') = 0.916; x.L('4') = 0.916; * x.L('5') = 1.418; MODEL test /ALL/; SOLVE test USING NLP MINIMIZING objval;