skillfed

proxsuite

Quadratic Programming Solver for Robotics and beyond.

proxsuite v0.7.3 102.8K downloads/30d#12,850 on PyPI0
Permissive license BSD-2-Clause Active released

What it is and what it does

ProxSuite is a collection of numerical solvers for quadratic programs (QPs), linear programs (LPs), and related optimization problems, built on primal-dual proximal algorithms. It targets robotics applications but is domain-agnostic and can solve dense, sparse, or matrix-free problems. The package is a C++ template library with Python bindings, offering warm-starting, batch solving, handling of nonconvex QPs, and infeasibility detection.

The core solver, ProxQP, handles standard QP form with equality and inequality constraints. It is integrated into CVXPY, CasADi, and TSID, and is actively maintained by research groups at Inria and École Normale Supérieure de Paris. Installation is straightforward via pip, conda, or brew on Linux, macOS, and Windows; runtime dependencies are numpy and scipy.

Use it for:

  • Solve quadratic programs in robotics applications, such as inverse dynamics with contacts via TSID.
  • Use as a backend solver within CVXPY or CasADi for convex optimization modeling.
  • Handle large-scale or sparse QPs where specialized matrix factorization backends improve performance.
  • Solve batches of QPs in parallel for parameter-sweep or sensitivity analysis workflows.
  • Detect and handle infeasible QPs or find the closest feasible solution when problems are ill-posed.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

ProxSuite is a numerically robust quadratic programming solver that handles dense, sparse, and matrix-free problems with specialized algorithms for robotics and general optimization.

Yes, if you need a robust, actively maintained QP solver with good performance on hard problems and integration into major optimization ecosystems. The permissive BSD-2-Clause license, medium install friction, and zero known vulnerabilities make it a safe choice. Install with caution only if your platform is not among the prebuilt wheel targets (Linux x86_64/aarch64, macOS Intel/ARM, Windows).

Install

proxsuite on PyPI

pip

pip install proxsuite

uv

uv add proxsuite

poetry

poetry add proxsuite

Installing proxsuite

Before you install

Medium install friction due to compiled C++ backend with prebuilt wheels for Python 3.9–3.14 on Linux, macOS (Intel and ARM), and Windows. Active maintenance with last release 95 days ago; no known vulnerabilities.

License in practice

BSD-2-Clause permissive license allows commercial and private use with minimal restrictions; attribution required.

Quickstart

pip install proxsuite

import proxsuite
import numpy as np

H = np.eye(2)
g = np.array([1., 2.])
qp = proxsuite.proxqp.dense.QP(H, g)
qp.solve()

Requires Python 3.9 or later; prebuilt wheels available for common platforms, but compilation from source may be needed on unsupported architectures.

Verify before relying

  • Whether the package supports Julia bindings as described in the excerpt, or if those are separate.
  • Performance characteristics on specific problem sizes or sparsity patterns beyond the benchmarks mentioned.
  • Availability and maturity of the QPLayer differentiable QP layer feature.

Package facts

License BSD-2-Clause (permissive)
Python support supports the current Python release (>=3.9)
Install friction medium — platform-specific wheel
Runtime dependencies 3 — cmeel, numpy, scipy
Maintenance actively maintained — 95 days since the last release
Last repo commit
First released
Downloads 102,765/month — #12,850 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: proxsuite-0.7.3-2-cp310-cp310-macosx_10_9_x86_64.whl; proxsuite-0.7.3-2-cp310-cp310-macosx_11_0_arm64.whl; proxsuite-0.7.3-2-cp310-cp310-manylinux_2_28_aarch64.whl; proxsuite-0.7.3-2-cp310-cp310-manylinux_2_28_x86_64.whl; proxsuite-0.7.3-2-cp311-cp311-macosx_10_9_x86_64.whl; proxsuite-0.7.3-2-cp311-cp311-macosx_11_0_arm64.whl; proxsuite-0.7.3-2-cp311-cp311-manylinux_2_28_aarch64.whl; proxsuite-0.7.3-2-cp311-cp311-manylinux_2_28_x86_64.whl; proxsuite-0.7.3-2-cp312-cp312-macosx_10_9_x86_64.whl; proxsuite-0.7.3-2-cp312-cp312-macosx_11_0_arm64.whl; proxsuite-0.7.3-2-cp312-cp312-manylinux_2_28_aarch64.whl; proxsuite-0.7.3-2-cp312-cp312-manylinux_2_28_x86_64.whl; proxsuite-0.7.3-2-cp313-cp313-macosx_10_9_x86_64.whl; proxsuite-0.7.3-2-cp313-cp313-macosx_11_0_arm64.whl; proxsuite-0.7.3-2-cp313-cp313-manylinux_2_28_aarch64.whl; proxsuite-0.7.3-2-cp313-cp313-manylinux_2_28_x86_64.whl; proxsuite-0.7.3-2-cp314-cp314-macosx_10_9_x86_64.whl; proxsuite-0.7.3-2-cp314-cp314-macosx_11_0_arm64.whl; proxsuite-0.7.3-2-cp314-cp314-manylinux_2_28_aarch64.whl; proxsuite-0.7.3-2-cp314-cp314-manylinux_2_28_x86_64.whl

Tags

quadratic programming solverQP solver for roboticsconvex optimizationproximal algorithm solverconstrained optimizationlinear programming solvernumerical optimization
optimizationquadratic-programmingrobotics

More Mathematics packages

Further reading