[Ipopt] Ipopt without constraints

Andreas Waechter andreasw at watson.ibm.com
Fri Feb 26 16:42:27 EST 2010

Hi Yann,

Yes, setting m=0 in get_nlp_info is enough.  I'm not sure, maybe the 
eval_g and eval_jac_g methods are still called, but then you can just put 
a "return true;" into them.


On Mon, 15 Feb 2010, Collette yann wrote:

> Hello,
> I am trying to use Ipopt without constraints.
> What must I set to force Ipopt not to call eval_g and eval_jac_g (in the
> TNLP class) ?
> Does setting m to 0 in get_nlp_info is enough ?
> Yann.
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt

More information about the Ipopt mailing list