Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Debugging features #3649

Open
xzclwq opened this issue Mar 30, 2024 · 0 comments
Open

How to use Debugging features #3649

xzclwq opened this issue Mar 30, 2024 · 0 comments

Comments

@xzclwq
Copy link

xzclwq commented Mar 30, 2024

Hi, I am a beginner of casadi and I have some troubles about how to use Debugging features of casadi because of no demo in Official documents。for example I use the opti.debug.show_infeasibilities() in MatLab and it would occur following problem:
Solver failed. You may use opti.debug.value to investigate the latest values of variables. return_status is 'Infeasible_Problem_Detected'

出错 test243272024 (第 234 行)
sol = opti.solve();

opti.debug.show_infeasibilities()
Violated constraints (tol 0), in order of declaration:
------- i = 1/98 ------
0 <= 0 <= 0 (viol 0)
错误使用 casadi.OptiAdvanced/show_infeasibilities (第 309 行)
Error in Opti::g_describe [OptiNode] at .../casadi/core/optistack.cpp:532:
.../casadi/core/generic_type.cpp:332: Assertion "is_string()" failed:
Notify the CasADi developers.
could you help me? Thank you very mach!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant