-
Notifications
You must be signed in to change notification settings - Fork 45
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
Bug shooting for Solver Infeasible (ACC2021) #8
Comments
Hi, it appears to me to be an infeasible issue, are you running the code provided in this repository? |
Dear Dr. Zeng |
In fact, the zipped IPOPT mex files are supporting Mac and Ubuntu (16.04 and 18.04 at least, which I have tested). I don't know how to support Windows. |
@hesuieins Do you have any experience of IPOPT in windows? Maybe we can add a zipped version of windows mex files if there are? |
I have a zipped version for Windows. Should I upload it here or to the repo directly? |
Could you make a PR for it? |
@Highlight123 We merged a PR for supporting windows, please check it out. |
Thank your help!This problem has been solved |
@Highlight123 Please star and fork to support our work if possible, thanks! |
Sure, I have star this work and follow Hybrid Robotics . |
Dear Dr. Zeng
Thanks for sharing this repo and your work in using NMPC, DCBF and DCLF for the safety and stability of non-linear dynamic systems. When I run testGamma.m and testHorizon.m in acc2021 with matlab2021a and Ipopt from https://ww2.mathworks.cn/matlabcentral/fileexchange/53040-ebertolazzi-mexipopt, I have the following problem. Thank you very much for your kind consideration and I am looking forward to your reply.
(1) testGamma.m
Run MPC-CBF with gamma 1.000000
solver time: 0.203114
solver time: 0.173155
solver time: 0.190210
solver time: 0.164076
solver time: 0.187111
solver time: 0.192042
solver time: 0.207878
The dimensions used for matrix multiplication are incorrect. Check to make sure that the number of columns in the first matrix matches the number of rows in the second matrix. To multiply by elements, use '.*'.
error: MPCCBF/sim (line 33)
xk = self.system.A * xk + self.system.B * uk;
error: testGamma (line 50)
controller_mpc_cbf_list{ind}.sim(time_total);
(2) testHorizon.m
Function or variable 'MPC_CBF' is not recognized.
error: testHorizon (line 57)
controller_mpc_cbf_3 = MPC_CBF(x0, system, params);
The text was updated successfully, but these errors were encountered: