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
Been trying out the sqpmethod solver and had problems with it crashing. Assumed it to be just because it is not very stable. In implementing my own sqp type method I experienced the same problem after making use of the casadi function convexify and tracked it down to there not being enough iterations when computing eigenvalues in casadi_cvx_symm_schur, solving the problem by setting max_iter_eig to a very large number (100000).
I don't see a good reason why the default value for max_iter_eig is 200, it seems more desirable that the method takes a bit longer rather than it failing. Most of the time it converges in much fever iterations but when running an MPC problem I find that there are a few outliers.
terminate called after throwing an instance of 'casadi::CasadiException'
what(): .../casadi/core/convexify.cpp:67: Assertion "!ret" failed:
Failure in convexification.
The text was updated successfully, but these errors were encountered:
Been trying out the sqpmethod solver and had problems with it crashing. Assumed it to be just because it is not very stable. In implementing my own sqp type method I experienced the same problem after making use of the casadi function convexify and tracked it down to there not being enough iterations when computing eigenvalues in casadi_cvx_symm_schur, solving the problem by setting max_iter_eig to a very large number (100000).
I don't see a good reason why the default value for max_iter_eig is 200, it seems more desirable that the method takes a bit longer rather than it failing. Most of the time it converges in much fever iterations but when running an MPC problem I find that there are a few outliers.
terminate called after throwing an instance of 'casadi::CasadiException'
what(): .../casadi/core/convexify.cpp:67: Assertion "!ret" failed:
Failure in convexification.
The text was updated successfully, but these errors were encountered: