I am using ipopt in pyomo, I have the next error:
Error evaluating constraint 15: can't compute -1.65898/0.
halt_on_ampl_error=yes
How can I print the constraint name that causes the error in pyomo?
Something like the AMPL command: print _sconname[15];
Thanks, M.