-
Notifications
You must be signed in to change notification settings - Fork 31
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
mpccbf_test.py solve failed #9
Comments
Did this error occurs consistently? Since random noise is included in the simulator, the optimization problem could be infeasible in some cases. Can you try with the option |
Thanks for your reply, but the problem is still not solved. It will still report the same error as before,Only by making the following modifications can the program run |
One general suggestion, could we specify a few ubuntu versions in our CI setup? |
@hesuieins @yifanzeng0408 Are you tracking this issue? |
@luozhexin Have you solved this problem? I also encountered the same problem. |
I have run the test and didn't encounter the problem. My guess is that the solver fails because of conflicting obstacle avoidance constraints. Maybe you can try deleting |
@junzengx14 the fixes of this issue is proposed in this PR. |
@Bubblefn @luozhexin Are the problem resolved with above patches? |
@junzengx14 Yes, it solved the problem, thank you |
System information
OS Platform and Distribution (e.g., Linux Ubuntu 18.04): Linux Ubuntu 20.04
Branch: master
python3.9(no python3.6 due to cvxopt install failed)
Steps to reproduce the issue:
python car_racing/test/mpccbf.py --track-layout l_shape --simulation --plotting --animation
Error detail:
Car-Racing/src/policy.py", line 224, in calc_input
sol = opti.solve()
File "/home/wsco/anaconda3/envs/car_racing/lib/python3.9/site-packages/casadi/casadi.py", line 47783, in solve
return _casadi.Opti_solve(self, *args)
RuntimeError: Error in Opti::solve [OptiNode] at .../casadi/core/optistack.cpp:157:
.../casadi/core/optistack_internal.cpp:998: Assertion "return_success(accept_limit)" failed:
Solver failed. You may use opti.debug.value to investigate the latest values of variables. return_status is 'Infeasible_Problem_Detected'
The text was updated successfully, but these errors were encountered: