[Ipopt] eval_jac_g called when no constraints specified?

Breannan Smith smith at cs.columbia.edu
Tue Nov 6 13:13:49 EST 2012

I'm using Ipopt to solve a problem that contains only bound
constraints, so from get_nlp_info I set m = 0 and nnz_jac_g = 0. Later
in my program's execution, however, eval_jac_g is called. I can verify
that m == 0 and nele_jac == 0 from the eval_jac_g call.

Am I missing something that I'm supposed to do when eval_jac_g is
called with m == 0, or is it safe to treat this function call as a


More information about the Ipopt mailing list