coin-or / qpOASES

Open-source C++ implementation of the recently proposed online active set strategy
GNU Lesser General Public License v2.1
385 stars 129 forks source link

Check Feasibility #81

Open svigerske opened 4 years ago

svigerske commented 4 years ago

Issue created by migration from Trac.

Original creator: Hristakiev

Original creation time: 2018-01-25 13:36:03

Assignee: ferreau

Version: 3.2.1

Keywords: Infeasibility, Fast MPC

Hello,

I try to meet the real-time constraints of my problem by using the "cputime" input of the hotstart method. However by doing so in the most critical points of my problem I get an infeasible problem and the Error -">ERROR: Premature homotopy termination because QP is infeasible". Afterwards each next MPC step is also infeasible, despite the fact that the problem is obviously feasible after 50 steps. Is there any way to make the solver work again in spite of the infeasibility in the previous steps?

In 4218174697 I have found some slides about the feasibility, which explain that one can deal the infeasibility through stopping in the last feasible step and waiting until the problem gets feasible again. Can I check the problem feasibility status for the current step prior it's solving with hotstart? How can I implement the srategy adressed in 4218174697?

Thank You in advance!!

4218174697 http://www.fs.isy.liu.se/en/Edu/Courses/NumericalOptimalControl/Slides/20110616LinkopingqpOASES.pdf