I try to use IPOPT to minimize a linear function under some bound constraints. According to the doc the following code should work:
load "ff-Ipopt" real[int] a = [-1.0,-1.2]; real[int] UB = [1.0,1.0]; real[int] LB = [0.0,0.0]; real[int] x0 = [0.5,0.5]; IPOPT(a,x0,lb=LB,ub=UB);
However, I get a segmentation fault. I don’t know where the error comes from. Can you please indicate what I am doing wrong? Thank you.