coin-or / qpOASES

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

Query regarding hotstart in a loop #65

Closed svigerske closed 4 years ago

svigerske commented 4 years ago

Issue created by migration from Trac.

Original creator: jmogali

Original creation time: 2017-05-16 22:56:37

Assignee: ferreau

Version: 3.2.1

Keywords: repeated hotstart, max working set recalculations

Hi, I am new to this great package and would like inputs on the following-:

I keep changing my constraint matrix $A$ at every iteration in a loop and resolve the problem. The solution from the previous iteration is expected to be very close to the solution of the current iteration. Is there a way to implement this efficiently in qpOASES ? When I tried to invoke hotstart with the new constraint data, I get an error "ERROR: Maximum number of working set recalculations performed" right when running the loop a third time.

Thanks

svigerske commented 4 years ago

Comment by jmogali created at 2017-05-16 23:34:11

No worries, I just had to redefine nWSR variable.

Thanks

svigerske commented 4 years ago

Comment by ferreau created at 2017-05-24 14:26:10

Resolution: worksForMe