Skip to main content

OSQP: The Operator Splitting QP Solver

Project description

https://github.com/oxfordcontrol/qdldl-python/workflows/Build/badge.svg?branch=master

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        0.5 x' P x + q' x

subject to      l <= A x <= u

where x in R^n is the optimization variable. The objective function is defined by a positive semidefinite matrix P in S^n_+ and vector q in R^n. The linear constraints are defined by matrix A in R^{m x n} and vectors l in R^m U {-inf}^m, u in R^m U {+inf}^m.

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 --recurse-submodules https://github.com/osqp/osqp-python) and run pip install . from inside the cloned folder.

Documentation

The interface is documented here.

Packaging

This repository performs the tests and builds the pypi wheels. Conda packages are on conda-forge.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osqp-0.6.7.post3.tar.gz (229.3 kB view hashes)

Uploaded Source

Built Distributions

osqp-0.6.7.post3-cp313-cp313-win_amd64.whl (293.2 kB view hashes)

Uploaded CPython 3.13 Windows x86-64

osqp-0.6.7.post3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (295.5 kB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ ARM64

osqp-0.6.7.post3-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (300.1 kB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

osqp-0.6.7.post3-cp313-cp313-macosx_11_0_arm64.whl (237.5 kB view hashes)

Uploaded CPython 3.13 macOS 11.0+ ARM64

osqp-0.6.7.post3-cp313-cp313-macosx_10_13_x86_64.whl (251.9 kB view hashes)

Uploaded CPython 3.13 macOS 10.13+ x86-64

osqp-0.6.7.post3-cp312-cp312-win_amd64.whl (293.2 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

osqp-0.6.7.post3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (295.4 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

osqp-0.6.7.post3-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (300.0 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

osqp-0.6.7.post3-cp312-cp312-macosx_11_0_arm64.whl (237.6 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

osqp-0.6.7.post3-cp312-cp312-macosx_10_13_x86_64.whl (252.1 kB view hashes)

Uploaded CPython 3.12 macOS 10.13+ x86-64

osqp-0.6.7.post3-cp311-cp311-win_amd64.whl (293.0 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

osqp-0.6.7.post3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (293.9 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

osqp-0.6.7.post3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (298.3 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

osqp-0.6.7.post3-cp311-cp311-macosx_11_0_arm64.whl (237.6 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

osqp-0.6.7.post3-cp311-cp311-macosx_10_9_x86_64.whl (251.8 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

osqp-0.6.7.post3-cp310-cp310-win_amd64.whl (293.0 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

osqp-0.6.7.post3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (293.1 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

osqp-0.6.7.post3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (297.5 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

osqp-0.6.7.post3-cp310-cp310-macosx_11_0_arm64.whl (237.6 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

osqp-0.6.7.post3-cp310-cp310-macosx_10_9_x86_64.whl (251.8 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

osqp-0.6.7.post3-cp39-cp39-win_amd64.whl (293.1 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

osqp-0.6.7.post3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (292.9 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

osqp-0.6.7.post3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (297.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

osqp-0.6.7.post3-cp39-cp39-macosx_11_0_arm64.whl (237.6 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

osqp-0.6.7.post3-cp39-cp39-macosx_10_9_x86_64.whl (251.8 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

osqp-0.6.7.post3-cp38-cp38-win_amd64.whl (292.9 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

osqp-0.6.7.post3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (295.7 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

osqp-0.6.7.post3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (300.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

osqp-0.6.7.post3-cp38-cp38-macosx_11_0_arm64.whl (184.5 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

osqp-0.6.7.post3-cp38-cp38-macosx_10_9_x86_64.whl (251.6 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

osqp-0.6.7.post3-cp37-cp37m-win_amd64.whl (292.8 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

osqp-0.6.7.post3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (293.2 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

osqp-0.6.7.post3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (296.7 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

osqp-0.6.7.post3-cp37-cp37m-macosx_10_9_x86_64.whl (251.4 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

osqp-0.6.7.post3-cp36-cp36m-win_amd64.whl (190.1 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

osqp-0.6.7.post3-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (232.1 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ARM64

osqp-0.6.7.post3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (233.4 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

osqp-0.6.7.post3-cp36-cp36m-macosx_10_9_x86_64.whl (190.3 kB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page