osqp-eigen icon indicating copy to clipboard operation
osqp-eigen copied to clipboard

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

Open tmacattank opened this issue 4 years ago • 3 comments

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?

tmacattank avatar Nov 09 '21 10:11 tmacattank

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

GiulioRomualdi avatar Nov 09 '21 10:11 GiulioRomualdi

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

tmacattank avatar Nov 09 '21 10:11 tmacattank

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

YuRan-W avatar Dec 02 '22 08:12 YuRan-W