Commit c84cf451 authored by Gianluca Frison's avatar Gianluca Frison
Browse files

added ex01

parent 5788e668
reset;
var x := 0.0;
var y := 10.0;
minimize f: (x*(1.0-y)-1.5)^2+(x*(1.0-y^2)-2.25)^2+(x*(1.0-y^3)-2.625)^2;
option solver conopt;
#option solver knitro;
#option solver loqo;
#option solver minos;
#option solver snopt;
#option solver ipopt;
#option solver baron;
#option solver couenne;
solve;
display x, y;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment