🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

osqp

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

osqp

OSQP: The Operator Splitting QP Solver

1.0.4
99

Supply Chain Security

100

Vulnerability

100

Quality

100

Maintenance

100

License

Maintainers
3

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

$$\begin{array}{ll} \mbox{minimize} & \frac{1}{2} x^T P x + q^T x \ \mbox{subject to} & l \le A x \le u \end{array} $$

where $( x \in \mathbf{R}^n )$ is the optimization variable and $( P \in \mathbf{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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts