You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When TNLP::eval_jac_g is called with values==NULL (constraints Jacobian pattern is expected) there is no verification that the indices returned in iRow and jCol are compatible with n and m. For example if the sparsity pattern is recovered from another language (e.g. Scilab), indices start from 1 and if you forget to substract 1 from all values, then Ipopt crashes and the cause is very hard to debug (even with valgrind or ASAN).
The text was updated successfully, but these errors were encountered:
When TNLP::eval_jac_g is called with values==NULL (constraints Jacobian pattern is expected) there is no verification that the indices returned in iRow and jCol are compatible with n and m. For example if the sparsity pattern is recovered from another language (e.g. Scilab), indices start from 1 and if you forget to substract 1 from all values, then Ipopt crashes and the cause is very hard to debug (even with valgrind or ASAN).
The text was updated successfully, but these errors were encountered: