[Ipopt] ipopt options

Stefan Vigerske stefan at math.hu-berlin.de
Tue Sep 20 04:31:00 EDT 2011


Hi,

> Hi everyone;
> I derived TNLP class to model and solve quadratic equations in ipopt but I could not figure out how to set options by using C++ code. Any example will be appreciated.

If ipopt is a pointer to your IpoptApplication object, then
   ipopt->Options()->SetNumericValue("bound_relax_factor", 1e-10);

There exists documentation:
http://www.coin-or.org/Doxygen/Ipopt/

Stefan

> Thanks,
> Abdulkadir Yazici
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt


-- 
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan


More information about the Ipopt mailing list