-
I am using Ipopt to solve a model predictive control problem with the C++ interface. I save the output in the callback function ma27:
ma57:
ma97:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I guess there are some bad values (nan, inf, very tiny, very large) in some matrix or vector so that the linear system cannot be solved. You might want to try setting the print_level really high to see where these values come from. Having a smaller problem to reproduce the problem could be handy. But first, you may want to enable option check_derivatives_for_naninf to check that your evaluation routines do not accidentally pass nan's or inf's to Ipopt. |
Beta Was this translation helpful? Give feedback.
I guess there are some bad values (nan, inf, very tiny, very large) in some matrix or vector so that the linear system cannot be solved. You might want to try setting the print_level really high to see where these values come from. Having a smaller problem to reproduce the problem could be handy.
But first, you may want to enable option check_derivatives_for_naninf to check that your evaluation routines do not accidentally pass nan's or inf's to Ipopt.