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

Why the solver returns "the problem is non-convex" or " solve successfull" #107

Open
tmacattank opened this issue Nov 9, 2021 · 3 comments

Comments

@tmacattank
Copy link

I am now using quadratic programming to solve a trajectory planning problem, and the test scenario is to overtake a vehicle. I try OSQP diresctly and OSQP eigen. OSQP works well, while when i use osqp eigen, sometimes it works well, sometimes it suddenly return "the problem is non-convex" or "solve unccessful". I check the error code from OSQP, and only when the Hessian matrix is not positive definite, can the problem becomes non-convex. I have follow the OSQP eigen MPC example grammar rules to use this tool, is there any suggestions on the randomly occured crash?

@GiulioRomualdi
Copy link
Member

Hi @tmacattank. Could you please give us a minimum example that we can use to better debug the problem?

@tmacattank
Copy link
Author

I am using an online simulation platform based on ROS to develop the algorithm, I will try to find an easy way so that you can run my code

@YuRan-W
Copy link

YuRan-W commented Dec 2, 2022

Hello, I also encountered this problem, did you solve it?

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

3 participants