dempe problem
mpec
Knitro
AMPL
short
= 0;
minimize f: (x - 3.5)^2 + (z + 4)^2;
subject to
con1: z - 3 + 2*z*w = 0;
con2: 0 >= z^2 - x complements w >= 0;
]]>
# starting point
let x := 1;
let z := 1;
let w := 1;
let x := 0.183193 ;
let z := 0.428106;
let w := 3.00379;
solve;
display _varname, _var;
Knitro-AMPL sample submission