# Quadratic Programming Solvers in Python
[![CI](https://img.shields.io/github/actions/workflow/status/qpsolvers/qpsolvers/ci.yml?branch=main)](https://github.com/qpsolvers/qpsolvers/actions)
[![Documentation](https://img.shields.io/github/actions/workflow/status/qpsolvers/qpsolvers/docs.yml?branch=main&label=docs)](https://qpsolvers.github.io/qpsolvers/)
[![Coverage](https://coveralls.io/repos/github/qpsolvers/qpsolvers/badge.svg?branch=main)](https://coveralls.io/github/qpsolvers/qpsolvers?branch=main)
[![Conda version](https://img.shields.io/conda/vn/conda-forge/qpsolvers.svg?color=blue)](https://anaconda.org/conda-forge/qpsolvers)
[![PyPI version](https://img.shields.io/pypi/v/qpsolvers?color=blue)](https://pypi.org/project/qpsolvers/)
[![PyPI downloads](https://img.shields.io/pypi/dm/qpsolvers?color=blue)](https://pypistats.org/packages/qpsolvers)
This library provides a one-stop shop [`solve_qp`](https://qpsolvers.github.io/qpsolvers/quadratic-programming.html#qpsolvers.solve_qp) function to solve convex quadratic programs:
$$
\begin{split}
\begin{array}{ll}
\underset{x}{\mbox{minimize}}
& \frac{1}{2} x^T P x + q^T x \\
\mbox{subject to}
& G x \leq h \\
& A x = b \\
& lb \leq x \leq ub
\end{array}
\end{split}
$$
Vector inequalities apply coordinate by coordinate. The function returns the primal solution $x^\*$ found by the backend QP solver, or ``None`` in case of failure/unfeasible problem. All solvers require the problem to be convex, meaning the matrix $P$ should be [positive semi-definite](https://en.wikipedia.org/wiki/Definite_symmetric_matrix). Some solvers further require the problem to be strictly convex, meaning $P$ should be positive definite.
**Dual multipliers:** there is also a [`solve_problem`](https://qpsolvers.github.io/qpsolvers/quadratic-programming.html#qpsolvers.solve_problem) function that returns not only the primal solution, but also its dual multipliers and all other relevant quantities computed by the backend solver.
## Example
To solve a quadratic program, build the matrices that define it and call ``solve_qp``, selecting the backend QP solver via the ``solver`` keyword argument:
```python
import numpy as np
from qpsolvers import solve_qp
M = np.array([[1.0, 2.0, 0.0], [-8.0, 3.0, 2.0], [0.0, 1.0, 1.0]])
P = M.T @ M # this is a positive definite matrix
q = np.array([3.0, 2.0, 3.0]) @ M
G = np.array([[1.0, 2.0, 1.0], [2.0, 0.0, 1.0], [-1.0, 2.0, -1.0]])
h = np.array([3.0, 2.0, -2.0])
A = np.array([1.0, 1.0, 1.0])
b = np.array([1.0])
x = solve_qp(P, q, G, h, A, b, solver="proxqp")
print(f"QP solution: {x = }")
```
This example outputs the solution ``[0.30769231, -0.69230769, 1.38461538]``. It is also possible to get dual multipliers at the solution, as shown in [this example](https://qpsolvers.github.io/qpsolvers/quadratic-programming.html#dual-multipliers).
## Installation
### From conda-forge
```console
conda install -c conda-forge qpsolvers
```
### From PyPI
To install the library with open source QP solvers:
```console
pip install qpsolvers[open_source_solvers]
```
This one-size-fits-all installation may not work immediately on all systems (for instance if [a solver tries to compile from source](https://github.com/quadprog/quadprog/issues/42)). If you run into any issue, check out the following variants:
- ``pip install qpsolvers[wheels_only]`` will only install solvers with pre-compiled binaries,
- ``pip install qpsolvers[clarabel,daqp,proxqp,scs]`` (for instance) will install the listed set of QP solvers,
- ``pip install qpsolvers`` will only install the library itself.
When imported, qpsolvers loads all the solvers it can find and lists them in ``qpsolvers.available_solvers``.
## Solvers
| Solver | Keyword | Algorithm | API | License | Warm-start |
| ------ | ------- | --------- | --- | ------- |------------|
| [Clarabel](https://github.com/oxfordcontrol/Clarabel.rs) | ``clarabel`` | Interior point | Sparse | Apache-2.0 | ✖️ |
| [CVXOPT](http://cvxopt.org/) | ``cvxopt`` | Interior point | Dense | GPL-3.0 | ✔️ |
| [DAQP](https://github.com/darnstrom/daqp) | ``daqp`` | Active set | Dense | MIT | ✖️ |
| [ECOS](https://web.stanford.edu/~boyd/papers/ecos.html) | ``ecos`` | Interior point | Sparse | GPL-3.0 | ✖️ |
| [Gurobi](https://www.gurobi.com/) | ``gurobi`` | Interior point | Sparse | Commercial | ✖️ |
| [HiGHS](https://highs.dev/) | ``highs`` | Active set | Sparse | MIT | ✖️ |
| [HPIPM](https://github.com/giaf/hpipm) | ``hpipm`` | Interior point | Dense | BSD-2-Clause | ✔️ |
| [MOSEK](https://mosek.com/) | ``mosek`` | Interior point | Sparse | Commercial | ✔️ |
| NPPro | ``nppro`` | Active set | Dense | Commercial | ✔️ |
| [OSQP](https://osqp.org/) | ``osqp`` | Augmented Lagrangian | Sparse | Apache-2.0 | ✔️ |
| [PIQP](https://github.com/PREDICT-EPFL/piqp) | ``piqp`` | Proximal interior point | Dense & Sparse | BSD-2-Clause | ✖️ |
| [ProxQP](https://github.com/Simple-Robotics/proxsuite) | ``proxqp`` | Augmented Lagrangian | Dense & Sparse | BSD-2-Clause | ✔️ |
| [QPALM](https://github.com/kul-optec/QPALM) | ``qpalm`` | Augmented Lagrangian | Sparse | LGPL-3.0 | ✔️ |
| [qpax](https://github.com/kevin-tracy/qpax/) | ``qpax`` | Interior point | Dense | MIT | ✖️ |
| [qpOASES](https://github.com/coin-or/qpOASES) | ``qpoases`` | Active set | Dense | LGPL-2.1 | ➖ |
| [qpSWIFT](https://github.com/qpSWIFT/qpSWIFT) | ``qpswift`` | Interior point | Sparse | GPL-3.0 | ✖️ |
| [quadprog](https://github.com/quadprog/quadprog) | ``quadprog`` | Active set | Dense | GPL-2.0 | ✖️ |
| [SCS](https://www.cvxgrp.org/scs/) | ``scs`` | Augmented Lagrangian | Sparse | MIT | ✔️ |
Matrix arguments are NumPy arrays for dense solvers and SciPy Compressed Sparse Column (CSC) matrices for sparse ones.
## Frequently Asked Questions
- [Can I print the list of solvers available on my machine?](https://github.com/qpsolvers/qpsolvers/discussions/37)
- [Is it possible to solve a least squares rather than a quadratic program?](https://github.com/qpsolvers/qpsolvers/discussions/223)
- [I have a squared norm in my cost function, how can I apply a QP solver to my problem?](https://github.com/qpsolvers/qpsolvers/discussions/224)
- [I have a non-convex quadratic program, is there a solver I can use?](https://github.com/qpsolvers/qpsolvers/discussions/240)
- [I have quadratic equality constraints, is there a solver I can use?](https://github.com/qpsolvers/qpsolvers/discussions/241)
- [Error: Mircrosoft Visual C++ 14.0 or greater is required on Windows](https://github.com/qpsolvers/qpsolvers/discussions/257)
- [Can I add penalty terms as in ridge regression or LASSO?](https://github.com/qpsolvers/qpsolvers/discussions/272)
## Benchmark
The results below come from [`qpbenchmark`](https://github.com/qpsolvers/qpbenchmark), a benchmark for QP solvers in Python. In the following tables, solvers are called with their default settings and compared over whole test sets by [shifted geometric mean](https://github.com/qpsolvers/qpbenchmark#shifted-geometric-mean) ("shm" for short). Lower is better and 1.0 corresponds to the best solver.
### Maros-Meszaros (hard problems)
Check out the [full report](https://github.com/qpsolvers/qpbenchmark/blob/7da937e0380ade8c109340bac4b4fe81f02e6806/maros_meszaros/results/maros_meszaros.md) for high- and low-accuracy solver settings.
| | Success rate (%) | Runtime (shm) | Primal residual (shm) | Dual residual (shm) | Duality gap (shm) | Cost error (shm) |
|:---------|------------------------------------:|-------------------------------------:|--------------------------------------------:|----------------------------------------:|------------------------------------:|----------------------------------:|
| clarabel | 89.9 | 1.0 | 1.0 | 1.9 | 1.0 | 1.0 |
| cvxopt | 53.6 | 13.8 | 5.3 | 2.6 | 22.9 | 6.6 |
| gurobi | 16.7 | 57.8 | 10.5 | 37.5 | 94.0 | 34.9 |
| highs | 53.6 | 11.3 | 5.3 | 2.6 | 21.2 | 6.1 |
| osqp | 41.3 | 1.8 | 58.7 | 22.6 | 1950.7 | 42.4 |
| proxqp | 77.5 | 4.6 | 2.0 | 1.0 | 11.5 | 2.2 |
| scs | 60.1 | 2.1 | 37.5 | 3.4 | 133.1 | 8.4 |
### Maros-Meszaros dense (subset of dense problems)
Check out the [full report](https://github.com/qpsolvers/qpbenchmark/blob/7da937e0380ade8c109340bac4b4fe81f02e6806/maros_meszaros/results/maros_meszaros_dense.md) for high- and low-accuracy solver settings.
| | Success rate (%) | Runtime (shm) | Primal residual (shm) | Dual residual (shm) | Duality gap (shm) | Cost error (shm) |
|:---------|------------------------------------:|-------------------------------------:|--------------------------------------------:|----------------------------------------:|------------------------------------:|----------------------------------:|
| clarabel | 100.0 | 1.0 | 1.0 | 78.4 | 1.0 | 1.0 |
| cvxopt | 66.1 | 1267.4 | 292269757.0 | 268292.6 | 269.1 | 72.5 |
| daqp | 50.0 | 4163.4 | 1056090169.5 | 491187.7 | 351.8 | 280.0 |
| ecos | 12.9 | 27499.0 | 996322577.2 | 938191.8 | 197.6 | 1493.3 |
| gurobi | 37.1 | 3511.4 | 497416073.4 | 13585671.6 | 4964.0 | 190.6 |
| highs | 64.5 | 1008.4 | 255341695.6 | 235041.8 | 396.2 | 54.5 |
| osqp | 51.6 | 371.7 | 5481100037.5 | 3631889.3 | 24185.1 | 618.4 |
| proxqp | 91.9 | 14.1 | 1184.3 | 1.0 | 71.8 | 7.2 |
| qpoases | 24.2 | 3916.0 | 8020840724.2 | 23288184.8 | 102.2 | 778.7 |
| qpswift | 25.8 | 16109.1 | 860033995.1 | 789471.9 | 170.4 | 875.0 |
| quadprog | 62.9 | 1430.6 | 315885538.2 | 4734021.7 | 2200.0 | 192.3 |
| scs | 72.6 | 95.6 | 2817718628.1 | 369300.9 | 3303.2 | 152.5 |
## Citing qpsolvers
If you find this project useful, please consider giving it a :star: or citing it if your work is scientific:
```bibtex
@software{qpsolvers2024,
title = {{qpsolvers: Quadratic Programming Solvers in Python}},
author = {Caron, Stéphane and Arnström, Daniel and Bonagiri, Suraj and Dechaume, Antoine and Flowers, Nikolai and Heins, Adam and Ishikawa, Takuma and Kenefake, Dustin and Mazzamuto, Giacomo and Meoli, Donato and O'Donoghue, Brendan and Oppenheimer, Adam A. and Pandala, Abhishek and Quiroz Omaña, Juan José and Rontsis, Nikitas and Shah, Paarth and St-Jean, Samuel and Vitucci, Nicola and Wolfers, Soeren and Yang, Fengyu and @bdelhaisse and @MeindertHH and @rimaddo and @urob and @shaoanlu and Khalil, Ahmed and Kozlov, Lev},
license = {LGPL-3.0},
url = {https://github.com/qpsolvers/qpsolvers},
version = {4.4.0},
year = {2024}
}
```
## Contributing
We welcome contributions! The first step is to install the library and use it. Report any bug in the [issue tracker](https://github.com/qpsolvers/qpsolvers/issues). If you're a developer looking to hack on open source, check out the [contribution guidelines](https://github.com/qpsolvers/qpsolvers/blob/main/CONTRIBUTING.md) for suggestions.
We are also looking forward to hearing about your use cases! Please share them in [Show and tell](https://github.com/qpsolvers/qpsolvers/discussions/categories/show-and-tell) 🙌
Raw data
{
"_id": null,
"home_page": null,
"name": "qpsolvers",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "St\u00e9phane Caron <stephane.caron@normalesup.org>",
"keywords": "quadratic programming, solver, numerical optimization",
"author": null,
"author_email": "St\u00e9phane Caron <stephane.caron@normalesup.org>",
"download_url": "https://files.pythonhosted.org/packages/e6/91/d63ee59afd327d79ed88b44ca773880e5a79300586d70d491237a112c56a/qpsolvers-4.4.0.tar.gz",
"platform": null,
"description": "# Quadratic Programming Solvers in Python\n\n[![CI](https://img.shields.io/github/actions/workflow/status/qpsolvers/qpsolvers/ci.yml?branch=main)](https://github.com/qpsolvers/qpsolvers/actions)\n[![Documentation](https://img.shields.io/github/actions/workflow/status/qpsolvers/qpsolvers/docs.yml?branch=main&label=docs)](https://qpsolvers.github.io/qpsolvers/)\n[![Coverage](https://coveralls.io/repos/github/qpsolvers/qpsolvers/badge.svg?branch=main)](https://coveralls.io/github/qpsolvers/qpsolvers?branch=main)\n[![Conda version](https://img.shields.io/conda/vn/conda-forge/qpsolvers.svg?color=blue)](https://anaconda.org/conda-forge/qpsolvers)\n[![PyPI version](https://img.shields.io/pypi/v/qpsolvers?color=blue)](https://pypi.org/project/qpsolvers/)\n[![PyPI downloads](https://img.shields.io/pypi/dm/qpsolvers?color=blue)](https://pypistats.org/packages/qpsolvers)\n\nThis library provides a one-stop shop [`solve_qp`](https://qpsolvers.github.io/qpsolvers/quadratic-programming.html#qpsolvers.solve_qp) function to solve convex quadratic programs:\n\n$$\n\\begin{split}\n\\begin{array}{ll}\n\\underset{x}{\\mbox{minimize}}\n & \\frac{1}{2} x^T P x + q^T x \\\\\n\\mbox{subject to}\n & G x \\leq h \\\\\n & A x = b \\\\\n & lb \\leq x \\leq ub\n\\end{array}\n\\end{split}\n$$\n\nVector inequalities apply coordinate by coordinate. The function returns the primal solution $x^\\*$ found by the backend QP solver, or ``None`` in case of failure/unfeasible problem. All solvers require the problem to be convex, meaning the matrix $P$ should be [positive semi-definite](https://en.wikipedia.org/wiki/Definite_symmetric_matrix). Some solvers further require the problem to be strictly convex, meaning $P$ should be positive definite.\n\n**Dual multipliers:** there is also a [`solve_problem`](https://qpsolvers.github.io/qpsolvers/quadratic-programming.html#qpsolvers.solve_problem) function that returns not only the primal solution, but also its dual multipliers and all other relevant quantities computed by the backend solver.\n\n## Example\n\nTo solve a quadratic program, build the matrices that define it and call ``solve_qp``, selecting the backend QP solver via the ``solver`` keyword argument:\n\n```python\nimport numpy as np\nfrom qpsolvers import solve_qp\n\nM = np.array([[1.0, 2.0, 0.0], [-8.0, 3.0, 2.0], [0.0, 1.0, 1.0]])\nP = M.T @ M # this is a positive definite matrix\nq = np.array([3.0, 2.0, 3.0]) @ M\nG = np.array([[1.0, 2.0, 1.0], [2.0, 0.0, 1.0], [-1.0, 2.0, -1.0]])\nh = np.array([3.0, 2.0, -2.0])\nA = np.array([1.0, 1.0, 1.0])\nb = np.array([1.0])\n\nx = solve_qp(P, q, G, h, A, b, solver=\"proxqp\")\nprint(f\"QP solution: {x = }\")\n```\n\nThis example outputs the solution ``[0.30769231, -0.69230769, 1.38461538]``. It is also possible to get dual multipliers at the solution, as shown in [this example](https://qpsolvers.github.io/qpsolvers/quadratic-programming.html#dual-multipliers).\n\n## Installation\n\n### From conda-forge\n\n```console\nconda install -c conda-forge qpsolvers\n```\n\n### From PyPI\n\nTo install the library with open source QP solvers:\n\n```console\npip install qpsolvers[open_source_solvers]\n```\n\nThis one-size-fits-all installation may not work immediately on all systems (for instance if [a solver tries to compile from source](https://github.com/quadprog/quadprog/issues/42)). If you run into any issue, check out the following variants:\n\n- ``pip install qpsolvers[wheels_only]`` will only install solvers with pre-compiled binaries,\n- ``pip install qpsolvers[clarabel,daqp,proxqp,scs]`` (for instance) will install the listed set of QP solvers,\n- ``pip install qpsolvers`` will only install the library itself.\n\nWhen imported, qpsolvers loads all the solvers it can find and lists them in ``qpsolvers.available_solvers``.\n\n## Solvers\n\n| Solver | Keyword | Algorithm | API | License | Warm-start |\n| ------ | ------- | --------- | --- | ------- |------------|\n| [Clarabel](https://github.com/oxfordcontrol/Clarabel.rs) | ``clarabel`` | Interior point | Sparse | Apache-2.0 | \u2716\ufe0f |\n| [CVXOPT](http://cvxopt.org/) | ``cvxopt`` | Interior point | Dense | GPL-3.0 | \u2714\ufe0f |\n| [DAQP](https://github.com/darnstrom/daqp) | ``daqp`` | Active set | Dense | MIT | \u2716\ufe0f |\n| [ECOS](https://web.stanford.edu/~boyd/papers/ecos.html) | ``ecos`` | Interior point | Sparse | GPL-3.0 | \u2716\ufe0f |\n| [Gurobi](https://www.gurobi.com/) | ``gurobi`` | Interior point | Sparse | Commercial | \u2716\ufe0f |\n| [HiGHS](https://highs.dev/) | ``highs`` | Active set | Sparse | MIT | \u2716\ufe0f |\n| [HPIPM](https://github.com/giaf/hpipm) | ``hpipm`` | Interior point | Dense | BSD-2-Clause | \u2714\ufe0f |\n| [MOSEK](https://mosek.com/) | ``mosek`` | Interior point | Sparse | Commercial | \u2714\ufe0f |\n| NPPro | ``nppro`` | Active set | Dense | Commercial | \u2714\ufe0f |\n| [OSQP](https://osqp.org/) | ``osqp`` | Augmented Lagrangian | Sparse | Apache-2.0 | \u2714\ufe0f |\n| [PIQP](https://github.com/PREDICT-EPFL/piqp) | ``piqp`` | Proximal interior point | Dense & Sparse | BSD-2-Clause | \u2716\ufe0f |\n| [ProxQP](https://github.com/Simple-Robotics/proxsuite) | ``proxqp`` | Augmented Lagrangian | Dense & Sparse | BSD-2-Clause | \u2714\ufe0f |\n| [QPALM](https://github.com/kul-optec/QPALM) | ``qpalm`` | Augmented Lagrangian | Sparse | LGPL-3.0 | \u2714\ufe0f |\n| [qpax](https://github.com/kevin-tracy/qpax/) | ``qpax`` | Interior point | Dense | MIT | \u2716\ufe0f |\n| [qpOASES](https://github.com/coin-or/qpOASES) | ``qpoases`` | Active set | Dense | LGPL-2.1 | \u2796 |\n| [qpSWIFT](https://github.com/qpSWIFT/qpSWIFT) | ``qpswift`` | Interior point | Sparse | GPL-3.0 | \u2716\ufe0f |\n| [quadprog](https://github.com/quadprog/quadprog) | ``quadprog`` | Active set | Dense | GPL-2.0 | \u2716\ufe0f |\n| [SCS](https://www.cvxgrp.org/scs/) | ``scs`` | Augmented Lagrangian | Sparse | MIT | \u2714\ufe0f |\n\nMatrix arguments are NumPy arrays for dense solvers and SciPy Compressed Sparse Column (CSC) matrices for sparse ones.\n\n## Frequently Asked Questions\n\n- [Can I print the list of solvers available on my machine?](https://github.com/qpsolvers/qpsolvers/discussions/37)\n- [Is it possible to solve a least squares rather than a quadratic program?](https://github.com/qpsolvers/qpsolvers/discussions/223)\n- [I have a squared norm in my cost function, how can I apply a QP solver to my problem?](https://github.com/qpsolvers/qpsolvers/discussions/224)\n- [I have a non-convex quadratic program, is there a solver I can use?](https://github.com/qpsolvers/qpsolvers/discussions/240)\n- [I have quadratic equality constraints, is there a solver I can use?](https://github.com/qpsolvers/qpsolvers/discussions/241)\n- [Error: Mircrosoft Visual C++ 14.0 or greater is required on Windows](https://github.com/qpsolvers/qpsolvers/discussions/257)\n- [Can I add penalty terms as in ridge regression or LASSO?](https://github.com/qpsolvers/qpsolvers/discussions/272)\n\n## Benchmark\n\nThe results below come from [`qpbenchmark`](https://github.com/qpsolvers/qpbenchmark), a benchmark for QP solvers in Python. In the following tables, solvers are called with their default settings and compared over whole test sets by [shifted geometric mean](https://github.com/qpsolvers/qpbenchmark#shifted-geometric-mean) (\"shm\" for short). Lower is better and 1.0 corresponds to the best solver.\n\n### Maros-Meszaros (hard problems)\n\nCheck out the [full report](https://github.com/qpsolvers/qpbenchmark/blob/7da937e0380ade8c109340bac4b4fe81f02e6806/maros_meszaros/results/maros_meszaros.md) for high- and low-accuracy solver settings.\n\n| | Success rate (%) | Runtime (shm) | Primal residual (shm) | Dual residual (shm) | Duality gap (shm) | Cost error (shm) |\n|:---------|------------------------------------:|-------------------------------------:|--------------------------------------------:|----------------------------------------:|------------------------------------:|----------------------------------:|\n| clarabel | 89.9 | 1.0 | 1.0 | 1.9 | 1.0 | 1.0 |\n| cvxopt | 53.6 | 13.8 | 5.3 | 2.6 | 22.9 | 6.6 |\n| gurobi | 16.7 | 57.8 | 10.5 | 37.5 | 94.0 | 34.9 |\n| highs | 53.6 | 11.3 | 5.3 | 2.6 | 21.2 | 6.1 |\n| osqp | 41.3 | 1.8 | 58.7 | 22.6 | 1950.7 | 42.4 |\n| proxqp | 77.5 | 4.6 | 2.0 | 1.0 | 11.5 | 2.2 |\n| scs | 60.1 | 2.1 | 37.5 | 3.4 | 133.1 | 8.4 |\n\n### Maros-Meszaros dense (subset of dense problems)\n\nCheck out the [full report](https://github.com/qpsolvers/qpbenchmark/blob/7da937e0380ade8c109340bac4b4fe81f02e6806/maros_meszaros/results/maros_meszaros_dense.md) for high- and low-accuracy solver settings.\n\n| | Success rate (%) | Runtime (shm) | Primal residual (shm) | Dual residual (shm) | Duality gap (shm) | Cost error (shm) |\n|:---------|------------------------------------:|-------------------------------------:|--------------------------------------------:|----------------------------------------:|------------------------------------:|----------------------------------:|\n| clarabel | 100.0 | 1.0 | 1.0 | 78.4 | 1.0 | 1.0 |\n| cvxopt | 66.1 | 1267.4 | 292269757.0 | 268292.6 | 269.1 | 72.5 |\n| daqp | 50.0 | 4163.4 | 1056090169.5 | 491187.7 | 351.8 | 280.0 |\n| ecos | 12.9 | 27499.0 | 996322577.2 | 938191.8 | 197.6 | 1493.3 |\n| gurobi | 37.1 | 3511.4 | 497416073.4 | 13585671.6 | 4964.0 | 190.6 |\n| highs | 64.5 | 1008.4 | 255341695.6 | 235041.8 | 396.2 | 54.5 |\n| osqp | 51.6 | 371.7 | 5481100037.5 | 3631889.3 | 24185.1 | 618.4 |\n| proxqp | 91.9 | 14.1 | 1184.3 | 1.0 | 71.8 | 7.2 |\n| qpoases | 24.2 | 3916.0 | 8020840724.2 | 23288184.8 | 102.2 | 778.7 |\n| qpswift | 25.8 | 16109.1 | 860033995.1 | 789471.9 | 170.4 | 875.0 |\n| quadprog | 62.9 | 1430.6 | 315885538.2 | 4734021.7 | 2200.0 | 192.3 |\n| scs | 72.6 | 95.6 | 2817718628.1 | 369300.9 | 3303.2 | 152.5 |\n\n## Citing qpsolvers\n\nIf you find this project useful, please consider giving it a :star: or citing it if your work is scientific:\n\n```bibtex\n@software{qpsolvers2024,\n title = {{qpsolvers: Quadratic Programming Solvers in Python}},\n author = {Caron, St\u00e9phane and Arnstr\u00f6m, Daniel and Bonagiri, Suraj and Dechaume, Antoine and Flowers, Nikolai and Heins, Adam and Ishikawa, Takuma and Kenefake, Dustin and Mazzamuto, Giacomo and Meoli, Donato and O'Donoghue, Brendan and Oppenheimer, Adam A. and Pandala, Abhishek and Quiroz Oma\u00f1a, Juan Jos\u00e9 and Rontsis, Nikitas and Shah, Paarth and St-Jean, Samuel and Vitucci, Nicola and Wolfers, Soeren and Yang, Fengyu and @bdelhaisse and @MeindertHH and @rimaddo and @urob and @shaoanlu and Khalil, Ahmed and Kozlov, Lev},\n license = {LGPL-3.0},\n url = {https://github.com/qpsolvers/qpsolvers},\n version = {4.4.0},\n year = {2024}\n}\n```\n\n## Contributing\n\nWe welcome contributions! The first step is to install the library and use it. Report any bug in the [issue tracker](https://github.com/qpsolvers/qpsolvers/issues). If you're a developer looking to hack on open source, check out the [contribution guidelines](https://github.com/qpsolvers/qpsolvers/blob/main/CONTRIBUTING.md) for suggestions.\n\nWe are also looking forward to hearing about your use cases! Please share them in [Show and tell](https://github.com/qpsolvers/qpsolvers/discussions/categories/show-and-tell) \ud83d\ude4c\n",
"bugtrack_url": null,
"license": null,
"summary": "Quadratic programming solvers in Python with a unified API.",
"version": "4.4.0",
"project_urls": {
"Changelog": "https://github.com/qpsolvers/qpsolvers/blob/main/CHANGELOG.md",
"Documentation": "https://qpsolvers.github.io/qpsolvers/",
"Homepage": "https://github.com/qpsolvers/qpsolvers",
"Source": "https://github.com/qpsolvers/qpsolvers",
"Tracker": "https://github.com/qpsolvers/qpsolvers/issues"
},
"split_keywords": [
"quadratic programming",
" solver",
" numerical optimization"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "0544ec9f38d1807dde24cccc95654cd8f2b46241104292e250724b53083c9939",
"md5": "8a799c6b80f6da824c7182c6b3534c70",
"sha256": "d63a4cd63dc4b3cd8a8bf5cf8593998767cdb41b017eed381ff3090d74dc34b5"
},
"downloads": -1,
"filename": "qpsolvers-4.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8a799c6b80f6da824c7182c6b3534c70",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 82221,
"upload_time": "2024-09-24T15:01:51",
"upload_time_iso_8601": "2024-09-24T15:01:51.968985Z",
"url": "https://files.pythonhosted.org/packages/05/44/ec9f38d1807dde24cccc95654cd8f2b46241104292e250724b53083c9939/qpsolvers-4.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "e691d63ee59afd327d79ed88b44ca773880e5a79300586d70d491237a112c56a",
"md5": "bd49e9401db373e0c4e2ed790be2bd73",
"sha256": "bd2dc68f1c935d17d64ec35c8f6e9d9283a92bc37a92633956a64387dbb7a2b8"
},
"downloads": -1,
"filename": "qpsolvers-4.4.0.tar.gz",
"has_sig": false,
"md5_digest": "bd49e9401db373e0c4e2ed790be2bd73",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 93507,
"upload_time": "2024-09-24T15:01:58",
"upload_time_iso_8601": "2024-09-24T15:01:58.680382Z",
"url": "https://files.pythonhosted.org/packages/e6/91/d63ee59afd327d79ed88b44ca773880e5a79300586d70d491237a112c56a/qpsolvers-4.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-24 15:01:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "qpsolvers",
"github_project": "qpsolvers",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "qpsolvers"
}