File tree Expand file tree Collapse file tree 4 files changed +29
-45
lines changed Expand file tree Collapse file tree 4 files changed +29
-45
lines changed Original file line number Diff line number Diff line change 1- include README.rst LICENSE requirements.txt
1+ include README.md LICENSE
22include src/osqp/tests/solutions/*.npz
33recursive-include src/extension *
44recursive-include src/osqp/codegen/pywrapper *
Original file line number Diff line number Diff line change 1+ [ ![ PyPI version] ( https://badge.fury.io/py/osqp.svg )] ( https://badge.fury.io/py/osqp )
2+ [ ![ Python 3.8‒3.13] ( https://img.shields.io/badge/python-3.8%E2%80%923.13-blue )] ( https://www.python.org )
3+ [ ![ Build] ( https://github.com/osqp/osqp-python/actions/workflows/build_default.yml/badge.svg )] ( https://github.com/osqp/osqp-python/actions/workflows/build_default.yml )
4+
5+ # OSQP Python
6+ Python wrapper for [ OSQP] ( https://osqp.org ) : The Operator Splitting QP solver.
7+
8+ The OSQP (Operator Splitting Quadratic Program) solver is a numerical
9+ optimization package for solving problems in the form
10+
11+ $$ \begin{array}{ll}
12+ \mbox{minimize} & \frac{1}{2} x^T P x + q^T x \\
13+ \mbox{subject to} & l \le A x \le u
14+ \end{array}
15+ $$
16+
17+ where $\( x \in \mathbf{R}^n \) $ is the optimization variable and $\( P \in \mathbf{S}^{n}_ {+} \) $ is a positive semidefinite matrix.
18+
19+ ## Installation
20+ To install ` osqp ` for python, make sure that you're using a recent version of ` pip ` (` pip install --upgrade pip ` )
21+ and then use `` pip install osqp `` .
22+
23+ To install ` osqp ` from source, clone the repository (` git clone https://github.com/osqp/osqp-python ` )
24+ and run ` pip install . ` from inside the cloned folder.
25+
26+ ## Documentation
27+ The interface is documented [ here] ( https://osqp.org/docs/interfaces/python.html ) .
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ build-backend = "scikit_build_core.build"
66name = " osqp"
77dynamic = [" version" ]
88description = " OSQP: The Operator Splitting QP Solver"
9- readme = " README.rst "
9+ readme = " README.md "
1010requires-python = " >=3.8"
1111authors = [
1212 {
name =
" Bartolomeo Stellato" ,
email =
" [email protected] " },
You can’t perform that action at this time.
0 commit comments