Casadi Ipopt interface error #3637
Unanswered
rtapia8484
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello,
I started getting this error while trying to run two matlab sessions and scripts at the same time. Although it was fine at first, seems I reached a limit:
`Error using casadi.Opti/to_function
Error in Opti::to_function [OptiNode] at .../casadi/core/optistack.cpp:331:
Error in Opti::to_function [OptiNode] at .../casadi/core/optistack.cpp:331:
.../casadi/core/function_internal.cpp:146: Error calling IpoptInterface::init for 'solver':
Error in Function::Function for 'nlp' [SXFunction] at .../casadi/core/function.cpp:240:
.../casadi/core/function_internal.cpp:146: Error calling SXFunction::init for 'nlp':
vector::_M_range_check: __n (which is 18446744073709551615) >= this->size() (which is 64416)
Error in RT_obs_casadi_R3_1 (line 184)
optm = optim.to_function('opt',{q1,q2},{u,xab},{'q1','q2'},{'u_opt','xab'});`
Seems like an indexing error, but again only when I run two scripts at the same time. They are large problems +4000 var, +7000 constraints. I also have not been able to compile code using Codegenerator.
Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions