Skip to content

osqp/osqp-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a8b8eae · May 8, 2025
Apr 2, 2025
Mar 25, 2025
Aug 27, 2022
Mar 31, 2025
May 8, 2025
May 26, 2023
Jan 29, 2022
Aug 27, 2022
Feb 13, 2025
Mar 23, 2025
Oct 24, 2020
Mar 14, 2025
Mar 14, 2025
Mar 14, 2025
Mar 25, 2025

Repository files navigation

PyPI version Python 3.8‒3.13 Build

OSQP Python

Python wrapper for OSQP: The Operator Splitting QP solver.

The OSQP (Operator Splitting Quadratic Program) solver is a numerical optimization package for solving problems in the form

minimize 1 2 x T P x + q T x subject to l A x u

where ( x R n ) is the optimization variable and ( P S + n ) is a positive semidefinite matrix.

Installation

To install osqp for python, make sure that you're using a recent version of pip (pip install --upgrade pip) and then use pip install osqp.

To install osqp from source, clone the repository (git clone https://github.com/osqp/osqp-python) and run pip install . from inside the cloned folder.

Documentation

The interface is documented here.