4

I am dealing with the following optimization problem: $$ \underset{x}{\min} q(x) $$ subject to $$ l_{x} \leq x \leq u_{x} \,\,\,\, \text{ and } \,\,\,\, l_{a} \leq Ax \leq u_{a}. $$ where $q(x)$ is a quadratic objective function.

In my case the size of vector $x$ is large, but the matrix $A$ is very sparse. One of the ways to deal with this is SQOPT algorithm, but the implementation is only on MATLAB.

I wonder which Python library can I try instead of SQOPT?

SecretAgentMan
  • 1,895
  • 2
  • 13
  • 39
AnTlr
  • 43
  • 4

1 Answers1

5

Quadratic programming solvers in Python with a unified API (here) includes most of the quadratic programming solvers such as CVXOPT (can take advantage of sparsity), Gurobi, MOSEK, OSQP, etc.

The performance comparison of these solvers (at least some of them) can be found here.

SecretAgentMan
  • 1,895
  • 2
  • 13
  • 39
Oguz Toragay
  • 8,652
  • 2
  • 13
  • 41