OSQP: The Operator Splitting QP Solver
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for osqp-0.6.7.post3-cp313-cp313-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acb219e941f5248da5de3ee9b70e6a5aaddf5f3989dffd1d4c03b0f7b1dfa17b |
|
MD5 | 7a54b0ecb24f5f56f615fbb48953452e |
|
BLAKE2b-256 | 4b0aacd48ad432ccf2538972805095108801a3b29a2433b48bd3a34e640df1e4 |
Hashes for osqp-0.6.7.post3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 002f280f23d15ad3c6386a868688f0b17c90dba13d0f7f8da1c833a14fc4d7f8 |
|
MD5 | ea4616f22a4f74eb706260897b33df8b |
|
BLAKE2b-256 | 65d376c076599a290f6ed5b7ad3bd2c68fa0dd198ccd63fec17f004b859843e4 |
Hashes for osqp-0.6.7.post3-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2922fe8cb666964cf01b643da81eadf4bb435139a5f042d5bb6dcb87496778 |
|
MD5 | 3833a93a83fcdbd860afb1cf2422eb82 |
|
BLAKE2b-256 | 6329b8c9cf93a6a04399960e51c92c92a195d32b80a330c6a25a51d300b86e1a |
Hashes for osqp-0.6.7.post3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dd739c4c6c91e40d2e3ea2bb78c635c897e07697ab24a46d3a5d197e254b0f3 |
|
MD5 | 2b852e6f404e0528826d33f8ebe482c2 |
|
BLAKE2b-256 | 05892d2dc40ebe25f92901d52d706bf8f31ea5718570e55828f1000fd380911f |
Hashes for osqp-0.6.7.post3-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cee478eedf9cfad11ff9c27ef0b1e032506a16888b8b874f622816cf8749db7f |
|
MD5 | 82e6f9fc038e16a125a3e41d57462727 |
|
BLAKE2b-256 | 9478f01a209777678e94546b8c43c12a28db16094dfeea689e9db6d59d3b89ad |
Hashes for osqp-0.6.7.post3-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 468588cfb690becba4d1f460c2a53e75530584e3efcf2caed59f5219032e6888 |
|
MD5 | 440b8962e885498c1843c64b7e763789 |
|
BLAKE2b-256 | 57b5958d4188cb9347e420d3de2d19d8cb1113f691b7a093cdef67f86b598f30 |
Hashes for osqp-0.6.7.post3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb882ab24b97b14843b7c71d2474fb8b415bafc8dd60aa94870c2ef338c20bfb |
|
MD5 | fa100d9ef472556392cb50d99a013262 |
|
BLAKE2b-256 | 3133f09c305591606e59edc5f09aa5cba3606c0e29e7b0fff42d044585bcc1f4 |
Hashes for osqp-0.6.7.post3-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 502fde0ae710cef1e6418fb8d26efef9597d1dcba877489a1c2eb9c3eb2ff2e9 |
|
MD5 | 872ce7aad3eebe2dc5e0661b9923d5a3 |
|
BLAKE2b-256 | ef63356f01888eb0e4cd8603eb8b7711a6865e26bc2d9a1882a1e4562333debd |
Hashes for osqp-0.6.7.post3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cec7cb5bf1615c4129277275dc08e20a037372a874cff35eb891b4b35a463de |
|
MD5 | f33775d7efe18698a8b99a061ca95732 |
|
BLAKE2b-256 | cebcece5348baef40bf355c5ef8000103aaf77973060f4c940da9cce0999e00d |
Hashes for osqp-0.6.7.post3-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 023af06764f7aba9c64536ecb7204019906bb7e78237f335f82b404f16623eef |
|
MD5 | a611e8f6d88a46c3c857a67665f2f0e4 |
|
BLAKE2b-256 | 22264cf65e82cf63c4f4ff5186618c006d95a1a5bc9f4f015563ad6d87d75a42 |
Hashes for osqp-0.6.7.post3-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c48c91dfba02ce11e8b8f5d401ec5b67a316782bfdf4f53ca753e49907f7387f |
|
MD5 | 78e2689e83e35fa25d24147c0d51abc9 |
|
BLAKE2b-256 | f87bec42030f389c1b2a7e5517d4ba4a169f1d8fb6f4beb92c5b457e0cc284e4 |
Hashes for osqp-0.6.7.post3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5209104d6fe3ace4fdbf9ace08caa2cba9de1e7ccd5f56279a346c235917138b |
|
MD5 | fcc2c9e5d3398775608c10546714ecf7 |
|
BLAKE2b-256 | 4f74d748a9f42426fa48ab0139d0738988296a3c599a6b3c78395258d02e436b |
Hashes for osqp-0.6.7.post3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdfefa07740e9fb1c574cdc836e5afe2600b73c0c12089955d4ae6587c55f0eb |
|
MD5 | c6f65b58d532f5266ec35e25a1b36a7a |
|
BLAKE2b-256 | 55728746c4bc488a31641091ccc50e71f92e0a4211e2ef882e00904940531962 |
Hashes for osqp-0.6.7.post3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46b93d1110dc0ad311f6691c4df9ee41cbbde5ffc0d8c8d520d4555bf5d8765b |
|
MD5 | 350f6008133a20cc9ba22b3f3ef2c66e |
|
BLAKE2b-256 | cd6d0d17e8fa61809c125f97685d86e6cd6f7b1e745e01b8d3f96d783c8de41b |
Hashes for osqp-0.6.7.post3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1a1dcd869fd6ac501e06262c21483a3691b6281e4f3f65af6951330958b89ca |
|
MD5 | c22bde16d015152fb56df7dddbb760d2 |
|
BLAKE2b-256 | f2dd123079f0ad8409d3be9074344a3d45073ce928f701890f010ab506ffee9f |
Hashes for osqp-0.6.7.post3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78a1d63b36876996a7125e061145280949334d667060a20895c5d1f183c70242 |
|
MD5 | 110ab9d8ca5a954cdf94e3d59efcdb02 |
|
BLAKE2b-256 | a7d79d0996512f7c6409a03529b0e7b43354e45c87bd305e525adf6e93340cb3 |
Hashes for osqp-0.6.7.post3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e1c4550853a5f1e0a90ae7ccbee1cb990f34f98514911955ad14841613110dd |
|
MD5 | 83cffef0a761fb40baa59a4049e6024c |
|
BLAKE2b-256 | 9e20acabebb6f5c2fafa7b6d46a56d95169fa6fe9551460137287a4429481b80 |
Hashes for osqp-0.6.7.post3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0cce816af77b28fc5eff1a4e6d8d25d0653f48275e6e2814bd5f1767181e715 |
|
MD5 | 9382e4296477df97923efb6c5dd29917 |
|
BLAKE2b-256 | ed83dc03ac8a478af513132024759da13b20126a4407b07ad046d9c76e2c5e55 |
Hashes for osqp-0.6.7.post3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1b30df65f2d938452e3bd2ca11388b5b16ec7406daedfc4b9dce3747c282e44 |
|
MD5 | 7261034eb2612a1b3471cbc2306498e2 |
|
BLAKE2b-256 | d64d99baf07fe2ef99c0ccca4c936bcf86911ac1e01274ed932ffbe1d3ef1b13 |
Hashes for osqp-0.6.7.post3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f751ca1332b480753cfe3c08bf14ca66259bf69679b572e1f8095ad3e26b201d |
|
MD5 | 9e692117684a016f27545bc78d2f9383 |
|
BLAKE2b-256 | a85544a46201a1a1bd8acf6ef782135a76e5806fb89eb4e51cec111538251786 |
Hashes for osqp-0.6.7.post3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 894e65b8e4c81f0ef069af6b2ec398881aafe4dd265869b1647ee18a2a9393b1 |
|
MD5 | c17ef7bfed7b2fb6a6039337bb5f2bee |
|
BLAKE2b-256 | 697b7aafbb5ebf42d2cafdf212a8c1457480565068cb68688a16081da277dc5f |
Hashes for osqp-0.6.7.post3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7938f6e4fe2b8b9737b4b7b0dda48bf0f11c14104b79c07ce0b1fe475f4e1308 |
|
MD5 | 7fd3377721d03e2f052821326cf293dc |
|
BLAKE2b-256 | 04de367874e95c154d830a095b3f5549e2297970b7262f4671da3b6b6195537d |
Hashes for osqp-0.6.7.post3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 298617772814480fce4610ea1f3abac3deac3ffdc978b0df4916f1021d128c66 |
|
MD5 | 0bbbd08a5adbd6db5bb0576a06508557 |
|
BLAKE2b-256 | 50a9c9c29ce773441cb5123b582c42b79bebdd1b83d79a2db3f7ca5f65e7b691 |
Hashes for osqp-0.6.7.post3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82f14aaf099be0888b47e50699006c16107b30f53a7bc27070075d56d23c822c |
|
MD5 | 08891094779bb545af29805ef1d683f5 |
|
BLAKE2b-256 | ce79eadf0fd03e169d1f9f72f632af2d8fbd328a516d9b48941399166a82d4fb |
Hashes for osqp-0.6.7.post3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21e605e3ec1547a23be16ea52ade3157d4e2e7935472dd9c0c089a9c6b3463be |
|
MD5 | e2899a8cfe7053511fe5b9f651f1541a |
|
BLAKE2b-256 | 45757fe633f726c3925e921206dc8a88f50978af0fa428d8823f09d001736434 |
Hashes for osqp-0.6.7.post3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4981c0f2b28bce3731d614953da11b4dd30106ea3e4d7d0a5f7dd3a93270934a |
|
MD5 | d1d66b2c69a886ef664ff4a220a76a44 |
|
BLAKE2b-256 | 645ad860cb1679cd97a38d9227be9247853568b76b32751b83052899eaede73a |
Hashes for osqp-0.6.7.post3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb39a937c5fbfe935cebc21c9ef51434cabe5a6f415a775b8a0939c39aa31671 |
|
MD5 | defc598ea7484df3adf33b8e4e177810 |
|
BLAKE2b-256 | 25ceb5bc6c3068c3bc637746af986e3081be3b435bfd05cd27118b2cab9f3e6f |
Hashes for osqp-0.6.7.post3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 204857fdd4100ad0d487cac4e9c1698843440ec49c1d49b03aa369588cd2db65 |
|
MD5 | c9ebd9aa7f797da67206cee8ed6381a0 |
|
BLAKE2b-256 | 95a2709b6b1ee3837a89ebd7e4a318b58324625f703cd36cc60d8ee4c1cf7ab0 |
Hashes for osqp-0.6.7.post3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27396891b4c52baae44d9aef4ad2abf7da9a19946c5cbdd163f96a55de02515f |
|
MD5 | fad3a2c1b1e20d792d96152cc079632b |
|
BLAKE2b-256 | 83ca5f3d544a7794a5bf08e32c114a1833d0730d9ab1b62b02892f58b8995c84 |
Hashes for osqp-0.6.7.post3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb3c73386d18be58097115f5f8623860d5736c5b956eb54e492b91380cab549e |
|
MD5 | f2fc1493961939c2b133bc7ad6e73491 |
|
BLAKE2b-256 | 2785f9eb79fd44e1568323fb2ad9ae36098411e8ba9bb61bf51aba449d5013e0 |
Hashes for osqp-0.6.7.post3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c3c31712c60d0421178040a6ee9644318fb579bd83375af4ffd9d5d7c9d2d2e |
|
MD5 | c909ac991f81a6f812935a6edc421f78 |
|
BLAKE2b-256 | fe07f248b56ee9c248630eedd128f45a1af5efb4d9a9af52e3fe6cf33688766e |
Hashes for osqp-0.6.7.post3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c353997ebe57cd8252bd5d7100d997086ab0524b946dc49a4e4d4a774752ee9 |
|
MD5 | 5c243b2e2ddc4231d2cfdfdf3ccf96e3 |
|
BLAKE2b-256 | 3b54d3e30544cf39c763d0a194c40bf07bc6d6ce320c2feb91d0f4de6f20ea98 |
Hashes for osqp-0.6.7.post3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30c37552731443295b629999c6d100f76310a2cd368503095af6165e2f52993d |
|
MD5 | 5306463f388b59ae3f55f2fb1f6de4ff |
|
BLAKE2b-256 | c2d11ad5d5006e0b7178f02bfa932afe9bcd11412f6d8924c0216a4db1386ee0 |
Hashes for osqp-0.6.7.post3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d54837f762b17cb77aa16be3e85cc424cb93fd4ec84f5cbb14f9c0520191fecf |
|
MD5 | baa0f2c559927dcc500b930d91dabc28 |
|
BLAKE2b-256 | 9c19d3b4e98a79b94c9e0f6f0c7d6167e7616fae109b073990763b636f6406a3 |
Hashes for osqp-0.6.7.post3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01d99ced6f43d0d10fa0f01631c5b0a27aca44a5e4743b7ce9a174fcfebfde6e |
|
MD5 | f4881d71ce4f2962b1acca7a9c0a1863 |
|
BLAKE2b-256 | e3255606908a7782eab3c6ed807ea7566bfa515837f487c52490695a83425dc6 |
Hashes for osqp-0.6.7.post3-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 565205e0dbe5b6ac1dcd7eee8d2e9c4ba5d88b7aaaa522140cdb7d197a9275bb |
|
MD5 | 279580b0d39a437d7308c3f47c7f1fc2 |
|
BLAKE2b-256 | 3ac850c1e81dfecd81e3f42b219f4ee008517521e5516d517e4a4bad09364a36 |
Hashes for osqp-0.6.7.post3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34974c8441260e8952f63a17b0461da9b554a3ed9122042dd0f2e0a4c19e9732 |
|
MD5 | afbb7549d4321d6839e7f795c7e8eb85 |
|
BLAKE2b-256 | dd944bfd5be0a2671471d4ce96ce32a966bdb433254505a053cfc10fba899431 |
Hashes for osqp-0.6.7.post3-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d12757f9594f87219820aa7ae06ce7800fef9ea52828b7d1970016d6c9749b5f |
|
MD5 | c1c781cd4fce081f1a87403b6d97af9b |
|
BLAKE2b-256 | c53b053df15126b08d6bbd37ba58a5dfba39d772ae15e5167502edd75c065e39 |