What is the good way of solving batched QPs? #460
Replies: 1 comment 7 replies
-
|
Hi @PierreQuinton, thanks for trying proxsuite! You are on the right track, A couple of things to be aware of:
You can have a look at: test/src/parallel_qp_solve.py: Python test of BatchQP + solve_in_parallel Hope that helps, and good luck with the migration! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We are trying to transition our library from relying on$v_i^\top G v_i$ subject to $u_i \preceq v_i$ (elementwise inequality) for each row $u_i$ of $U$ ($G$ is an arbitrary PSD matrix of dimension $m\times m$ ). We put the resulting $v_i$ as rows into the matrix $V$ .
qpsolverstoproxsuite. We have to solve a batched qp of the form: minimizinI tried looking into the documentation of BatchQP and it seems that I am supposed to solve every problem one by one still, so I'm feeling like I did something wrong:
Is that the intended usage? what advantage is there over not using
BatchQP? Any suggestion to help me improve performances?Beta Was this translation helpful? Give feedback.
All reactions