Reset osqp workspace with codegen #579
Unanswered
charleskhazoom
asked this question in
Embedded Optimization
Replies: 1 comment
-
Sorry for the delay. The OSQP workspace is solver-specific, so if you create a new solver object and initialize it, you will get a new workspace. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working with the codegen feature from Matlab and loading the generated c code in c++.
Is is possible to reset the osqp workspace between runs ? For instance, I am running two unit tests from the same executable that both include the same osqp workspace. As a result, it seems that the tests are coupled, which makes the testing difficult.
Beta Was this translation helpful? Give feedback.
All reactions