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
I am new to this package and I am just trying to run main_globaltraj.py without changing anything. However, I received the following error message: .../casadi/core/function_internal.cpp:1832: 'eval_sx' not defined for IpoptInterface.
Could someone help me with the issue? Which file should I edit? or how to work around this issue?
Best
Xu
The text was updated successfully, but these errors were encountered:
I recently came across this repo and encountered the same issue.
The problem is caused by improper numpy concatenation on mixed float & SX variables in this section
The solution is to insert
n_min=n_min.__float__()
n_max=n_max.__float__()
after this line and this line
which forces n_min and n_max to convert from SX back to float
Hi everyone,
I am new to this package and I am just trying to run main_globaltraj.py without changing anything. However, I received the following error message: .../casadi/core/function_internal.cpp:1832: 'eval_sx' not defined for IpoptInterface.
Could someone help me with the issue? Which file should I edit? or how to work around this issue?
Best
Xu
The text was updated successfully, but these errors were encountered: