[Ipopt] CPP version

Redouane simply.red75 at gmail.com
Wed Dec 3 15:46:59 EST 2014


Hi,
I'm trying to use the CPP version of ipopt.
With the C version I used :
AddIpoptStrOption(nlp, "hessian_approximation", "limited-memory");
I try to use in CPP version:
app->Options()->SetStringValue("hessian_approximation", "limited-memory");
I put false for the return value of eval_h, I also tried to delete eval_h
:-). I have a message that the program trigged a breakpoint, and after that
it stops.
How to use "hessian_approximation" in CPP.
By the way, is there a difference in term of performance between CPP, and C
versions if they use same solvers?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20141203/e9b2d9ff/attachment.html>


More information about the Ipopt mailing list