Registry / ai-ml / proxsuite

proxsuite

JSON →
library0.7.3pypypi✓ verified 88d ago

The ProxSuite library provides an efficient QP solver tailored for robotics and optimization, with implementations of the ProxQP and OSQP algorithms. The current version is 0.7.2.post1, released under a permissive license. It supports Python >= 3.8 and has a bimonthly release cadence.

pip install proxsuite
INSTALL
IMPORT
SIG · PROXSUITE
P
proxsuite
ai-mlpythonv0.7.3
Install
7.5s avg
Import
—
Disk
230MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.7.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
build_error
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 7.5s · import 0.000s · 226MB
230MB installed
● package 230MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

proxsuite
✓ import proxsuite
The main module. Submodules like proxsuite.proxqp are accessed via dot notation.
proxqp
✓ from proxsuite import proxqp
✗ import proxqp
Direct import 'proxqp' is not available; it is a submodule of proxsuite.

Minimal example solving a dense QP with inequality constraints.

import proxsuite import numpy as np # Solve a simple QP: min 0.5 x'Hx + g'x s.t. Cx <= d H = np.eye(2) g = np.array([-2, -3]) C = np.array([[1, 2], [-1, 0]]) d = np.array([4, 0]) # Create solver and solve qp = proxsuite.proxqp.dense.QP(H, g, C, d) proxsuite.proxqp.dense.solve(qp) print(qp.results.x)
Debug
Known issues
breakingThe 'proxsuite.quadprog' module (which wrapped quadprog) was removed in version 0.4.0. Use 'proxsuite.proxqp' instead.
fix
Replace 'from proxsuite import quadprog' with 'from proxsuite import proxqp'. The API is different; see migration guide.
affects: >=0.4.0
breakingThe 'warm_start' parameter in solve() was renamed to 'warm_start' in version 0.6.0. The old name 'warm_start' is still accepted but deprecated.
fix
Use 'warm_start' (with underscore) consistently. The old spelling may be removed in future releases.
affects: >=0.6.0
gotchaDo not pass NumPy arrays with dtype=float32. The solver expects float64. Silently truncates precision leading to unexpected results.
fix
Ensure arrays are float64: array.astype(np.float64).
affects: all
deprecatedThe 'results.x' attribute for primal solution is deprecated in favor of 'results.x_solution' (from v0.7.0).
fix
Use qp.results.x_solution instead of qp.results.x.
affects: >=0.7.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'proxqp'
Direct import of 'proxqp' instead of using 'proxsuite.proxqp'
fix
Use 'from proxsuite import proxqp' or 'import proxsuite.proxqp as proxqp'.
ValueError: The matrix is not symmetric positive definite.
The Hessian matrix H or constraint matrix C has not been properly formatted or the QP is infeasible.
fix
Verify that H is symmetric positive semidefinite (e.g., cast to symmetric: H = (H + H.T)/2). Check problem dimensions.
AttributeError: module 'proxsuite' has no attribute 'quadprog'
Old code using removed quadprog wrapper.
fix
Update to use proxsuite.proxqp. See migration guide in documentation.
ImportError: cannot import name 'solve' from 'proxsuite.proxqp'
Incorrect import path. The solve function is inside a backend submodule (dense/sparse).
fix
Use 'from proxsuite.proxqp.dense import solve' (or sparse).
Upgrade
Version history
0.7.3latest on PyPI · released May 12, 2026
Audit
Dependencies
numpyrequiredCore data structures and linear algebra
scipyoptionalOptional for sparse matrix support
Agent activity
14 hits · last 30 days
node
8
Resources
proxsuite — pip install proxsuite · libregistry