Skip to main content

Python bindings for the SIP quadratic-programming front-end.

Project description

sip_qp

pip wheels

sip_qp is a quadratic-programming front-end to SIP. It equilibrates affine QPs, applies QP-oriented solver defaults, and uses SIP-QDLDL for sparse Newton-KKT solves.

Both dynamically allocated and caller-provided workspaces are supported. The solve path performs no dynamic memory allocation when Workspace::mem_assign is used; this property is covered by an allocation-guarded test.

The C++ API represents

minimize  objective_constant + q' x + 0.5 x' P x
subject to A x + equality_offsets = 0
           G x + inequality_offsets <= 0
           lower_bounds <= x <= upper_bounds.

P is supplied by its upper triangle. Constraint Jacobians are supplied transposed, as expected by SIP-QDLDL. Bound arrays are always present; infinite entries represent missing sides.

Input requires an inverse KKT permutation and its symbolic factor capacity. Callers may provide both directly. analyze_kkt_ordering validates a caller-defined inverse permutation and computes its factor capacity. Ordering policy remains entirely outside this library.

The sip_qp_python package exposes the same implementation through Solver and solve_qp. Python callers must pass kkt_inverse_permutation. Variable bounds remain native SIP bounds and are reported separately through Result.z_box.

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

sip_qp_python-0.0.2.tar.gz (29.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sip_qp_python-0.0.2-cp312-abi3-win_amd64.whl (349.4 kB view details)

Uploaded CPython 3.12+Windows x86-64

sip_qp_python-0.0.2-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (190.4 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

sip_qp_python-0.0.2-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (179.4 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

sip_qp_python-0.0.2-cp312-abi3-macosx_11_0_arm64.whl (159.0 kB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

sip_qp_python-0.0.2-cp311-cp311-win_amd64.whl (350.9 kB view details)

Uploaded CPython 3.11Windows x86-64

sip_qp_python-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (191.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

sip_qp_python-0.0.2-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (180.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

sip_qp_python-0.0.2-cp311-cp311-macosx_11_0_arm64.whl (161.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

sip_qp_python-0.0.2-cp310-cp310-win_amd64.whl (350.7 kB view details)

Uploaded CPython 3.10Windows x86-64

sip_qp_python-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (191.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

sip_qp_python-0.0.2-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (180.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.26+ ARM64manylinux: glibc 2.28+ ARM64

sip_qp_python-0.0.2-cp310-cp310-macosx_11_0_arm64.whl (160.8 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file sip_qp_python-0.0.2.tar.gz.

File metadata

  • Download URL: sip_qp_python-0.0.2.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sip_qp_python-0.0.2.tar.gz
Algorithm Hash digest
SHA256 72ec024d8f3c83ac7ae848fc98e8491d58eff0cdab53e9bedd09d4c9d854f345
MD5 1dbd028e59d75afc2b62b45a4c0dbd68
BLAKE2b-256 e52de482215bc9ae38cb347668d7fd17aeba4363e7ad538c1ca789ec32107434

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.2.tar.gz:

Publisher: wheels.yml on joaospinto/sip_qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sip_qp_python-0.0.2-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.2-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 59e02eae616ea25ceaf4cb4bd619c32b72381f573683a5516b9ee0506bd9933c
MD5 f3d3d200e976c5b7afd97e240ade34a2
BLAKE2b-256 a2268f55cd0e3b7c67bb3300e34730d231827ee87ee55cc6c9e559a08c6f2fe5

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.2-cp312-abi3-win_amd64.whl:

Publisher: wheels.yml on joaospinto/sip_qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sip_qp_python-0.0.2-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.2-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9282103074a0497da1157dee42ae0751c870a9451de099d7f837a24d8dc03e0f
MD5 4bf338fe3f8177c756bcec6b66aec5e1
BLAKE2b-256 d38b4cef0da4f4a5f3e790e91b91d2a1c1da08ba6e014a9e01c0bf6742bd6d67

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.2-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on joaospinto/sip_qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sip_qp_python-0.0.2-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.2-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 80897e94fe9aec9e802ece955c82a9ed2e325e6dcbd0ba8994423a1c4fb8e761
MD5 32ffd2d190ea37ad4fcea34d9c9d25c7
BLAKE2b-256 1f45060396b0e0cea166f29720bb485b927c0bc8e44bce879f668346f4fd45a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.2-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl:

Publisher: wheels.yml on joaospinto/sip_qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sip_qp_python-0.0.2-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.2-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d5307e5dd18a8e544bc5b365cfc2d44d7998a3929df639e70d444e0a065e3ef7
MD5 c4523bf2a677b3e73177f3999432f465
BLAKE2b-256 f86a9140dfb74ad78fb497c9261e1c11266be0df490086b8d7adf033211d6ef4

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.2-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: wheels.yml on joaospinto/sip_qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sip_qp_python-0.0.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8d470e0755070ebbe53ad7b39c4f4b300a1100623ad94bdd6509279ab3d481f4
MD5 44d93ce26028683acea8444c8a5d16b7
BLAKE2b-256 00c6868d242a757d4a4d41eb1078d9830748ef03b89228ab7e60ef95d6a38925

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.2-cp311-cp311-win_amd64.whl:

Publisher: wheels.yml on joaospinto/sip_qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sip_qp_python-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 18c2cf770f16e88b5f9452729418924f852a02e61789b85d7a3eaf6574a0aea2
MD5 d17eb97067f823186230b25a8e2b0908
BLAKE2b-256 c86814011ed32bff3be4a36284d42a8b0fe6e8314945187a4a2a9b787235d380

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on joaospinto/sip_qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sip_qp_python-0.0.2-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.2-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 63f785475b3765663717f21cf63653b7a1715f582a663cc30b35deffd5e4eb28
MD5 6150b8707a0bd066f0a801014e98b49d
BLAKE2b-256 831aaa2d0ae73c2268a250dc8d87fb5ca32f58f69e4e7abde06ba00c70ea6b53

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.2-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl:

Publisher: wheels.yml on joaospinto/sip_qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sip_qp_python-0.0.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 347d0a3fa89b4c9c9298c2211d399921d1952d51c7040ec898bda252bf87ea26
MD5 cb0c8020f5d98f97baad3bf1355429b4
BLAKE2b-256 f24b9377808b6b7ca80c5f0c8a657cb7102cc6d0ba89250baa4ba6e7857cd190

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.2-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: wheels.yml on joaospinto/sip_qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sip_qp_python-0.0.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 33947272f6f075b08253c263876eba870de4988b7e8d803c647880ee4e3e41d8
MD5 69ae4307c03cd2aafb50ee5d44dd311d
BLAKE2b-256 922735d5e47a337b37d1c02a30a77137cd52dd1ee32ca2a844a32962f86e0e08

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.2-cp310-cp310-win_amd64.whl:

Publisher: wheels.yml on joaospinto/sip_qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sip_qp_python-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fccf2667571273227e198ac307819a579e00bee3dbbf80ea3769102e51cb71d5
MD5 aac33caf20d6a297ce4c0131db3a8dea
BLAKE2b-256 934af556a8baa31935220e6e8ef56009585f2472a2d9f394abddc2abeafd29df

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on joaospinto/sip_qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sip_qp_python-0.0.2-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.2-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6e1fb10625836b44f8067f1767b353e053f122cd2681f7f5f59f6770adbab95d
MD5 475d288644cc4b588aa6233a1fde46cf
BLAKE2b-256 9d178cf34f1d881fce02a99e9f4d3f686055b4724e9081c5832872731ec701d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.2-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl:

Publisher: wheels.yml on joaospinto/sip_qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sip_qp_python-0.0.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fae430c9d07ccb63d834551444c0258a53eefd03833653599caea48706643d90
MD5 3c6189fe515d2615be8faa12f7fe803c
BLAKE2b-256 d0d989e310a5118bf21ca80aacfe08e903c1af8ca50b6de36c53642c25693321

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.2-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: wheels.yml on joaospinto/sip_qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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