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.1.tar.gz (28.6 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.1-cp312-abi3-win_amd64.whl (347.0 kB view details)

Uploaded CPython 3.12+Windows x86-64

sip_qp_python-0.0.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (188.3 kB view details)

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

sip_qp_python-0.0.1-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (177.6 kB view details)

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

sip_qp_python-0.0.1-cp312-abi3-macosx_11_0_arm64.whl (157.5 kB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

sip_qp_python-0.0.1-cp311-cp311-win_amd64.whl (348.4 kB view details)

Uploaded CPython 3.11Windows x86-64

sip_qp_python-0.0.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (189.5 kB view details)

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

sip_qp_python-0.0.1-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (179.1 kB view details)

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

sip_qp_python-0.0.1-cp311-cp311-macosx_11_0_arm64.whl (159.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

sip_qp_python-0.0.1-cp310-cp310-win_amd64.whl (348.3 kB view details)

Uploaded CPython 3.10Windows x86-64

sip_qp_python-0.0.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (189.2 kB view details)

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

sip_qp_python-0.0.1-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl (178.9 kB view details)

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

sip_qp_python-0.0.1-cp310-cp310-macosx_11_0_arm64.whl (159.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: sip_qp_python-0.0.1.tar.gz
  • Upload date:
  • Size: 28.6 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.1.tar.gz
Algorithm Hash digest
SHA256 cdeb048bdef408e3722cf65090d96d659be2e517f065485064c1a46056999a82
MD5 ede43d520867863d2c91aa8e202fa79e
BLAKE2b-256 26a12363c807d1c51875eed0e0e704ff99807ca7e68e3874efc0931afc5fda71

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.1.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.1-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 82ae647b30e8d5fbe47c728e5e4e94f5b365c38d0fe50849adea5be1365aeee1
MD5 5bc4cc37641472add4c89bd76719bb7e
BLAKE2b-256 e59d8449a0693ea99bd002b0f64d886ee99f8e5d1c076c65e555d77c59f36c19

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.1-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.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9d4f05ca4d9ebb6efb969917997b63882139e8e8e884de630523a86e626bfbf1
MD5 9424a0d5f127a67e15ac1c94d3971ea2
BLAKE2b-256 435f323035989ebcfcde9e4d40eddf5cbc74959e7e4b23dacd58b0ee93ef6620

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.1-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.1-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.1-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f8bf82e2be1c815bade51606577c34dfe14c5e50e1f27c0658c8e631adf48434
MD5 7ec0dd2293ad5b7bafacb52e978ed24d
BLAKE2b-256 fcc0cf65af2135bce0f6c75361c2e31d86f6ce0a8cd43fba4c19a9442b691a0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.1-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.1-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ad77f3f5cb5755999ad3e241db39a7a84cd5382ef5adbe638ad917f5e2c043fd
MD5 2bb7748610614f8dfa3db7d698edf4cd
BLAKE2b-256 9c7391ef3bf5dc3a0194bdd3db40b2d6d148a4492bfa53100af1b3d98f1fffc6

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.1-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.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f83175134d2c3b285b7f81911c7f82c2f95ec901e2ae9ca9198e04a9afa4f76f
MD5 d8d3631aa6675cedc8411a455dff5d79
BLAKE2b-256 9d6a8f5950f55ec69263d5b69108fd775f81a90d8d8bea2f34b506ec8e6dc723

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.1-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.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 feec05299882a61645c6ed56a403fde7d2611ab1a15bafd1deddbdbae4e8c069
MD5 b21b0165f104efc7df7ff579212b9fb3
BLAKE2b-256 f82700ea14fac439ab27b50be30fa85235ebb003a13fd5744ef34095566f2a47

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.1-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.1-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.1-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cb3c42a095e67aa452960f59db60a89d93d0f6067a4cd81d65b767e32bec83de
MD5 3272c0475a3aea9578dff739b4174291
BLAKE2b-256 6f7514a917805665a95af8e1070bc40f57c6b48581b5102d2851d2afd1dc5ecb

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.1-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.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0deb22cdc3e82670e39d53e06a504ebb9e09ca12dbf556dc75e34310de2d6a50
MD5 9c1d0ebe5d96805fe010621426254173
BLAKE2b-256 6c270ce288706e9c43c6eb0c4a465849f8ffead1a1dbf84574d3bd3392f9db4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.1-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.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 77f20353b0841a55dc0251a9f6f8fe2fcb30247482072b0286482a98e84a9f63
MD5 cd0d89bbbbdb1e42371e91fe96715838
BLAKE2b-256 32024f0303598dc246cd3d053b0641fed19c8a41277c5393a3283a2b4c9573a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.1-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.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0959e82ea69d27f1e257b9bf5afb62972087e49beee35a7d148d0fbbe84e2c79
MD5 195a6ba13e865f763ee27fd4f45c150c
BLAKE2b-256 c12de27ee69a7ca67f3da985e2d924f7c86065a76c858ac8b579ff34d9d9771c

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.1-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.1-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.1-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fb143dd991d6b86573dd0e1a17847c62d2ac4c4dd122fedfe28ebc6f3b6b819e
MD5 c2ceeb5a7f01d075ce17ddb6567ff78f
BLAKE2b-256 541c0bc5f37a95bb9bb8fbe6a220ff995c77b8872bca78b10198f708be300419

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.1-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.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sip_qp_python-0.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 39f86bb396ad01f763f0db1ec7fe00770b001d3497d596f5b2d20b6eec89fc7c
MD5 43f765e64f187b7bdc43a44cc57a0a6a
BLAKE2b-256 51b2a185f30cdfe92e33e20c9a12583f4ce2d258fb305a49e65ea1786416c46e

See more details on using hashes here.

Provenance

The following attestation bundles were made for sip_qp_python-0.0.1-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