! APMonitor Modeling Language ! www.apmonitor.com Model example Variables x[1:3] = 2, >=0 obj End Variables Equations ! The problem has two local solutions: ! (0,0,8) with objective 936.0 (global minimum) ! (7,0,0) with objective 951.0 obj = 1000 - x[1]^2 - 2*x[2]^2 - x[3]^2 - x[1]*x[2] - x[1]*x[3] 8*x[1] + 14*x[2] + 7*x[3] - 56 = 0 x[1]^2 + x[2]^2 + x[3]^2 -25 >= 0 End Equations End Model