$npx skillfedfor your agent

osqp

OSQP: The Operator Splitting QP Solver

Worth itPyPI MathematicsReleased Jun 20265.5M downloads / moApache-2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — osqp-1.1.3-cp310-cp310-macosx_10_9_x86_64.whl · osqp-1.1.3-cp310-cp310-macosx_11_0_arm64.whl · osqp-1.1.3-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
v1.1.3 · released 2026-06-12 · Python >=3.8 · 5 runtime deps: jinja2, numpy, scipy, setuptools, joblib

Yes. OSQP is a mature, actively maintained solver with no known vulnerabilities, permissive licensing, and broad platform support. Medium install friction is typical for compiled optimization libraries. Install it if you need to solve convex quadratic programs; it is a standard choice in control, finance, and machine learning workflows.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Medium install friction due to compiled wheels for multiple Python versions and platforms (3.10–3.13, macOS, Linux, Windows).
  • Active maintenance with a recent release 63 days ago.
  • Runtime dependencies on numpy, scipy, jinja2, setuptools, and joblib are standard scientific stack components.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 is a permissive license; you can use, modify, and distribute this package freely in commercial and private projects, provided you include a copy of the license and state significant changes.

last release 2026-06-12 (63 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,475,125 downloads/mo, #2,091 on PyPI

Verify before relying

pip install osqp

import osqp
import numpy as np

# Define a QP problem and solve it
m = osqp.OSQP()
m.setup(P=P, q=q, A=A, l=l, u=u)
results = m.solve()
  • Whether the package actively maintains the underlying OSQP C library or relies on external updates
  • Performance characteristics and scalability limits for large-scale problems
  • Availability of GPU acceleration or parallel solving capabilities
  • Specific numerical stability guarantees and convergence properties
Same gist for agents: .md · .json

What it is and what it does

OSQP is a numerical solver for convex quadratic programs—optimization problems that minimize a quadratic objective subject to linear inequality constraints. It wraps a C implementation of the Operator Splitting algorithm, making it accessible from Python. The solver targets problems of the form: minimize (1/2)x^T P x + q^T x subject to l ≤ Ax ≤ u, where P is positive semidefinite.

The package is used in control systems, machine learning, finance, and robotics where you need to solve QP subproblems efficiently. It depends on numpy and scipy for matrix operations, jinja2 for templating, setuptools for installation, and joblib for parallelization. Installation is straightforward via pip, with precompiled wheels available for modern Python versions (3.8+) on macOS, Linux, and Windows.

Use it for

  • Solve model predictive control problems in robotics and autonomous systems
  • Optimize portfolio allocation and risk management in quantitative finance
  • Train support vector machines and other convex machine learning models
  • Solve convex relaxations of combinatorial optimization problems
  • Implement proximal algorithms and splitting methods in numerical optimization research

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

OSQP is a mature, actively maintained solver with no known vulnerabilities, permissive licensing, and broad platform support. Medium install friction is typical for compiled optimization libraries. Install it if you need to solve convex quadratic programs; it is a standard choice in control, finance, and machine learning workflows.

Install

osqp on PyPI

Before you install

Medium install friction due to compiled wheels for multiple Python versions and platforms (3.10–3.13, macOS, Linux, Windows). Active maintenance with a recent release 63 days ago. Runtime dependencies on numpy, scipy, jinja2, setuptools, and joblib are standard scientific stack components.

License in practice

Apache-2.0 is a permissive license; you can use, modify, and distribute this package freely in commercial and private projects, provided you include a copy of the license and state significant changes.

Quickstart

pip install osqp

import osqp
import numpy as np

# Define a QP problem and solve it
m = osqp.OSQP()
m.setup(P=P, q=q, A=A, l=l, u=u)
results = m.solve()

Verify before relying

  • Whether the package actively maintains the underlying OSQP C library or relies on external updates
  • Performance characteristics and scalability limits for large-scale problems
  • Availability of GPU acceleration or parallel solving capabilities
  • Specific numerical stability guarantees and convergence properties

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.8
Install frictionMedium. Platform-specific wheel
Runtime dependencies
5 packages
jinja2numpyscipysetuptoolsjoblib
MaintenanceActively maintained 63 days since the last release
First released
Downloads5,475,125 / month, #2,091 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: osqp-1.1.3-cp310-cp310-macosx_10_9_x86_64.whl; osqp-1.1.3-cp310-cp310-macosx_11_0_arm64.whl; osqp-1.1.3-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; osqp-1.1.3-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; osqp-1.1.3-cp310-cp310-win_amd64.whl; osqp-1.1.3-cp311-cp311-macosx_10_9_x86_64.whl; osqp-1.1.3-cp311-cp311-macosx_11_0_arm64.whl; osqp-1.1.3-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; osqp-1.1.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; osqp-1.1.3-cp311-cp311-win_amd64.whl; osqp-1.1.3-cp312-cp312-macosx_10_13_x86_64.whl; osqp-1.1.3-cp312-cp312-macosx_11_0_arm64.whl; osqp-1.1.3-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; osqp-1.1.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; osqp-1.1.3-cp312-cp312-win_amd64.whl; osqp-1.1.3-cp313-cp313-macosx_10_13_x86_64.whl; osqp-1.1.3-cp313-cp313-macosx_11_0_arm64.whl; osqp-1.1.3-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; osqp-1.1.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; osqp-1.1.3-cp313-cp313-win_amd64.whl

Tags

Capabilities
quadratic programming solverconvex optimizationQP solverlinear constraints optimizationoperator splitting algorithmnumerical optimizationconstrained quadratic minimization
Topics
optimizationquadratic-programmingnumerical-methods

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “linear constraints optimization”

  • osqpOSQP is a Python wrapper for the Operator Splitting Quadratic Program…
  • qpsolversProvides a unified Python interface to solve convex quadratic…
  • gurobipygurobipy is a Python interface to the Gurobi Optimizer for solving…

Give your agent the search over MCP, or paste the wish link into any chat.

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also cvxopt · qpsolvers · quadprog · scs · proxsuite · daqp · Mosek · highspy · cvxpy · dimod