Skip to main content

OSQP: The Operator Splitting QP Solver

Project description

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.

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-1.0.4.tar.gz (56.6 kB view details)

Uploaded Source

Built Distributions

osqp-1.0.4-cp313-cp313-win_amd64.whl (303.1 kB view details)

Uploaded CPython 3.13Windows x86-64

osqp-1.0.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (345.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

osqp-1.0.4-cp313-cp313-macosx_11_0_arm64.whl (291.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

osqp-1.0.4-cp313-cp313-macosx_10_13_x86_64.whl (313.6 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

osqp-1.0.4-cp312-cp312-win_amd64.whl (303.1 kB view details)

Uploaded CPython 3.12Windows x86-64

osqp-1.0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (345.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

osqp-1.0.4-cp312-cp312-macosx_11_0_arm64.whl (291.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

osqp-1.0.4-cp312-cp312-macosx_10_13_x86_64.whl (313.5 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

osqp-1.0.4-cp311-cp311-win_amd64.whl (302.9 kB view details)

Uploaded CPython 3.11Windows x86-64

osqp-1.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (345.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

osqp-1.0.4-cp311-cp311-macosx_11_0_arm64.whl (291.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

osqp-1.0.4-cp311-cp311-macosx_10_9_x86_64.whl (312.7 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

osqp-1.0.4-cp310-cp310-win_amd64.whl (301.7 kB view details)

Uploaded CPython 3.10Windows x86-64

osqp-1.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (344.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

osqp-1.0.4-cp310-cp310-macosx_11_0_arm64.whl (290.3 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

osqp-1.0.4-cp310-cp310-macosx_10_9_x86_64.whl (311.2 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

osqp-1.0.4-cp39-cp39-win_amd64.whl (301.9 kB view details)

Uploaded CPython 3.9Windows x86-64

osqp-1.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (345.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

osqp-1.0.4-cp39-cp39-macosx_11_0_arm64.whl (290.4 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

osqp-1.0.4-cp39-cp39-macosx_10_9_x86_64.whl (311.2 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

osqp-1.0.4-cp38-cp38-win_amd64.whl (301.7 kB view details)

Uploaded CPython 3.8Windows x86-64

osqp-1.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (344.3 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

osqp-1.0.4-cp38-cp38-macosx_11_0_arm64.whl (290.2 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

osqp-1.0.4-cp38-cp38-macosx_10_9_x86_64.whl (311.0 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

File details

Details for the file osqp-1.0.4.tar.gz.

File metadata

  • Download URL: osqp-1.0.4.tar.gz
  • Upload date:
  • Size: 56.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for osqp-1.0.4.tar.gz
Algorithm Hash digest
SHA256 0877552e325ff4cc1c676796ba482904eb4b66e750eff5b91df3273201f5ed00
MD5 fc7fa6e48b1db6b49b70380d1aeb35d2
BLAKE2b-256 3013c74c50bab7477029daf9fc99455cc9c8b25e50843e44cf096b237d3ac6b2

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: osqp-1.0.4-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 303.1 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for osqp-1.0.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 14334e9473d0dd2fde3465b0d4c7a7de827798426ae2b40cb26504b376c48413
MD5 e136c71952788df26838fd818e987803
BLAKE2b-256 47090156d737b2dc1978e51a25540d29cd0a1597b81f0dadf2b563bd55d8702c

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 11e4b50f66795d12e63b25b02d0261973b36ee8612ef8c949c124c74231da183
MD5 a10181a6d41220f91e7c64a981a91648
BLAKE2b-256 af585eb3f6125ec82c7a22453b4a96d5a47d52a54fa0221b687c612558880faa

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 06dc3c6d7a0e2d4552dbc98a127e6d9a70d57ab856c8343c83aca42817ee8da3
MD5 04315d4c81ac4f047496b8d005ceb31f
BLAKE2b-256 db7092232c9af70e05c0f5c99544ea97826cad49f8e3415f4106ca46ff124e07

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 bae336207b52bbab6d663e7fb77beaffc53279e91a14e3db76ad2726b0e935d6
MD5 9872b555949569c118bb45ecf0c2113d
BLAKE2b-256 d9ea9a1b52ebe4a50baed976c42903b0164d3d4911d7bf80956400e0802362a9

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: osqp-1.0.4-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 303.1 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for osqp-1.0.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 73357ceb0cee581a8a18f32a50dda8954c80374bc94e77c06d8ececb402e2a22
MD5 184313df4b54324530a2377cf5578dcc
BLAKE2b-256 3c1746343994f07d0b629a661274b40632499e4920ee355b67717458d3d2b47e

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a3e3321b11426fa7a33b84f87f8d8608fdcd56c3992739012370f4d475b6a8f
MD5 7026450fbd9e17d3ed54e0f442ff0cee
BLAKE2b-256 17f3428837a4fee6080bda8017367fc1bef1f61a80144576978cb404be5b6f97

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8510861708fe664a0942bccfea4b3ea566b12927e54b415f539c24b8cad095c0
MD5 4ca6a2927041188fa6f8c7a69bf93fc1
BLAKE2b-256 4b79a1e26d05e2026489c0ea76503d8ae614af0cc436d4c9cdedae0f17da6fc3

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 6432c8ea5db1b334eb20abce2c0eca081edc070ea86ec634bb62e8ca1a014e21
MD5 32ae8c6fc912c6feb9ddee97cd9e5cd3
BLAKE2b-256 f60fe5896586d495c82a37f68e4ba26c10c7969858f6991584f4ddb477e83be4

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: osqp-1.0.4-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 302.9 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for osqp-1.0.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c2a2ac69feb009ac43f80f33dfe5b32baaccefd22c6fcb9176b48f755506f120
MD5 385f299366d345e344758ba106070221
BLAKE2b-256 a18519e2b49117f7ea20d94129d67c9b982e788ded90c561e0029c42fc7eb0ea

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ddd7fc52e01c602f3482878b334eed1b366a9940b2053059968d3d47688de9ef
MD5 4496f7cc708b50ff68097048ce85d4e0
BLAKE2b-256 3a3ba3332b0f79375bff9a14863f9b32d98428f9300fc171e29b6e4df4850986

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8e76644654e30edf97eb5d400ffa57f3541b551842921ed9ac16db8f307883d9
MD5 a9156b5142952685b34305c8a52c8468
BLAKE2b-256 b2376e52dbbfedaad4534148853496741739a3430d52231638c84d65dc1a58e7

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 819603a8b6d84e17bbe0e17558235e5dbe3d6b95021550d7da4942aa35b31b60
MD5 4084195bb16d03120dde9ca0da120dbf
BLAKE2b-256 14b3ecaa1638cf8c177f1fe8b79d7c715a2693c61158b47bf3a5269453d0eefe

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: osqp-1.0.4-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 301.7 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for osqp-1.0.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 67a7af7779be5036d1f1729489781628feaa1dffa33ae44feefa172b6b9e173e
MD5 100f6de84a775fdb3b27f14b274834c8
BLAKE2b-256 84f297bb67a653eb1a1a5e333caf0fb8e71890e56c7f32b7cf0a24927b54adbb

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b9ce84caf57a0166123c923b5ca4d8f126799351f8454e96e25c339240e2b4db
MD5 ed9ec797a5377cf12bc95375b31da134
BLAKE2b-256 fee6061f1747de56fa24aeb7f4db5da1a5604847fb72c6d1ea410bb46a73f7d6

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 738d0b03d350b97c2cfeecc41620082a913e1efd06d2d58e4cc1d54d00ebfac5
MD5 2de0f454bb756902420a9cc1f4fa791d
BLAKE2b-256 d3cd033889ada7047b920206920aec62db104772ee13a9fb338148ead61c3d21

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2f4f06e1a67c272b8a4a0741020e859a8c67802466597397da2869802eb6a345
MD5 3ef0555c253cc8d5d0078ddf16f4f10f
BLAKE2b-256 0731f7814d83a7eff5264e96d062500eb7cade7ff17867dc9934561a0ab52644

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: osqp-1.0.4-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 301.9 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for osqp-1.0.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a52ae0148a650c55ed25280669facc52b1a59bfbe46ae92fb6a296d263db22c7
MD5 34bb088f3451f3768457ec6842ad172f
BLAKE2b-256 c1721d9147f6967e6bf9a5d7f60f6f1bde80e2c96b2dec68cd34be722c85c657

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 806628a62e729697596bb6d221ed519621fe70f9ff48f26a531bc58be1dd9e60
MD5 b347462e041da3603099d0a71e5393cd
BLAKE2b-256 1857cf8c6751b6638a4ee274b60ceb57cc8cadbd2114afc7bf4415f1427aa071

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

  • Download URL: osqp-1.0.4-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 290.4 kB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for osqp-1.0.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0bc86af8f2ffc257ad1af2192638b2373cb93c8debeafdaae9757a05ece3c93c
MD5 2887422724389ae89ca34a664a0449b2
BLAKE2b-256 183906fca32eb1a35ff46d1cb5b640d8a639fe43c31e426f3099cb05576105d9

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: osqp-1.0.4-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 311.2 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for osqp-1.0.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4f36aabf42f05fdeeffef0cbcda2db84dfb040f46da46cab21f7674edb613030
MD5 44208c9d160e1837ff6464f844ffd041
BLAKE2b-256 4a7e51724a75560a21858aa75dd48aedbe2dbdcd27620dfbe59c3638a3da2657

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: osqp-1.0.4-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 301.7 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for osqp-1.0.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 611c0a001a0c122cab3750967baa9ed2c9e5022693aff1f42b651b4202948488
MD5 70842a8ea03f25979e944bb1ce718f57
BLAKE2b-256 6d48d557a993720ea147d490970b7bd8b7853f2201ce79d298bf576d606af960

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for osqp-1.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7ac97dabc10f7ec16b6457fe0d2a867528335f0f321e84e55c2edad8e31f3336
MD5 a4989a7bfcb018e0b08ede4b179ea589
BLAKE2b-256 f7613a5cee0e2640beaf273605d271502c0e1e3a0d4a906020eec7750066f455

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

  • Download URL: osqp-1.0.4-cp38-cp38-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 290.2 kB
  • Tags: CPython 3.8, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for osqp-1.0.4-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b9ed583018f78b26b2f4117b7e8418a1b1500f3df8c8de52aadebf107673e8e0
MD5 225cfa8d4c11a0960b5417df52736737
BLAKE2b-256 15ef4f00766506d170f5c1604e51ac30b3f76dddf9052299dd2fb6740d6e93f3

See more details on using hashes here.

File details

Details for the file osqp-1.0.4-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: osqp-1.0.4-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 311.0 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for osqp-1.0.4-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 195364eedde925fc7b2725a707967de03ff25e2f9dbef9197b55c007b51dffbc
MD5 f4a329a1cecabbceb9bf4982eaf42c65
BLAKE2b-256 8242c6060604d97c7b35565b7a1bfa88e9190e08fdbabc7087719c7aec0b9537

See more details on using hashes here.

Supported by

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