Skip to main content

An API for preprocessing tools

Project description

Linux/Mac/Windows build status Code coverage Last version on PyPI PyPI - Python Version

dwave-preprocessing

dwave-preprocessing provides preprocessing tools for binary quadratic models (BQM) and presolve algorithms for constrained quadratic models (CQM).

import dwave.preprocessing

This package contains several preprocessing composites that can aid in solving BQMs and a presolver that can reduce a problem’s redundant variables and constraints to improve the accuracy of CQMs. For details on underlying algorithms and usage, see the package’s Reference Documentation.

Installation

Install from a package on PyPI:

pip install dwave-preprocessing

or install from source:

pip install -r requirements.txt
python setup.py build_ext --inplace
python setup.py install

License

Released under the Apache License 2.0. See LICENSE file.

Contributing

Ocean’s contributing guide has guidelines for contributing to Ocean packages.

Release Notes

dwave-preprocessing makes use of reno to manage its release notes.

When making a contribution to dwave-preprocessing that will affect users, create a new release note file by running

reno new your-short-descriptor-here

You can then edit the file created under releasenotes/notes/. Remove any sections not relevant to your changes. Commit the file along with your changes.

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

dwave-preprocessing-0.6.4.tar.gz (605.8 kB view details)

Uploaded Source

Built Distributions

dwave_preprocessing-0.6.4-cp312-cp312-win_amd64.whl (817.1 kB view details)

Uploaded CPython 3.12 Windows x86-64

dwave_preprocessing-0.6.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.2 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.4-cp312-cp312-macosx_11_0_arm64.whl (710.0 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

dwave_preprocessing-0.6.4-cp312-cp312-macosx_10_9_x86_64.whl (745.5 kB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

dwave_preprocessing-0.6.4-cp311-cp311-win_amd64.whl (817.0 kB view details)

Uploaded CPython 3.11 Windows x86-64

dwave_preprocessing-0.6.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.4-cp311-cp311-macosx_11_0_arm64.whl (710.2 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

dwave_preprocessing-0.6.4-cp311-cp311-macosx_10_9_x86_64.whl (746.9 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

dwave_preprocessing-0.6.4-cp310-cp310-win_amd64.whl (816.8 kB view details)

Uploaded CPython 3.10 Windows x86-64

dwave_preprocessing-0.6.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.4-cp310-cp310-macosx_11_0_arm64.whl (709.7 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

dwave_preprocessing-0.6.4-cp310-cp310-macosx_10_9_x86_64.whl (746.7 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

dwave_preprocessing-0.6.4-cp39-cp39-win_amd64.whl (816.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

dwave_preprocessing-0.6.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.4-cp39-cp39-macosx_11_0_arm64.whl (709.2 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

dwave_preprocessing-0.6.4-cp39-cp39-macosx_10_9_x86_64.whl (746.5 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

dwave_preprocessing-0.6.4-cp38-cp38-win_amd64.whl (832.7 kB view details)

Uploaded CPython 3.8 Windows x86-64

dwave_preprocessing-0.6.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.4-cp38-cp38-macosx_11_0_arm64.whl (709.0 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

dwave_preprocessing-0.6.4-cp38-cp38-macosx_10_9_x86_64.whl (746.2 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file dwave-preprocessing-0.6.4.tar.gz.

File metadata

  • Download URL: dwave-preprocessing-0.6.4.tar.gz
  • Upload date:
  • Size: 605.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.9

File hashes

Hashes for dwave-preprocessing-0.6.4.tar.gz
Algorithm Hash digest
SHA256 6490eb1c29c19a1bba4e623c562a5038d99d7e6b063e6c0c6e643dfe4b34f824
MD5 3e80adabf757744fcac5bcdb4c47c313
BLAKE2b-256 240db56558d0d0fe3af37b8583d8525ebb2dd30b3b90744ce4a34a5f25dca48e

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 64629cb4d6e83caeb99c05ad8bb99750b447890d9fbb068fba1f7539f3e72b10
MD5 92c5f2ce392364aa68898747ce8c4625
BLAKE2b-256 ea2c89cb2d6eb2fdf8948abf5ae973544eff263cc52356bafba352acf6935d60

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7e40be158892f57f9ec0dd16d4bf42c57af0c219c0cead54632f7a3cc94acb06
MD5 21e19c898cca3e346456f87ad33fa2e1
BLAKE2b-256 60a48b8580b4555b55786adaecdb650e0afbc4d33912dc3593131f62ab5a7b23

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 317631ff71fef0149dd38b222b58344307da005dc0148a0e8ce3825f7d103c0d
MD5 9444cde668b6065dce8fcec16590f021
BLAKE2b-256 173ce8572098184ba891ed7d1fc3b386d8810f244d8d3f14b91c76af1dd31908

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dfd85ad84f3b78484e8d51b6e5cbe18f8ee260ea67d5ff8e9c476b6cfe4c2498
MD5 b33b2f58893e1e024ec50567f6c1b718
BLAKE2b-256 0ec58b90fde971ca716490f7feec3d389ffb084ce1bc8e729ae93a44a4c40649

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c36da34f19c3c0fcbe1b83a113cc8df8ce37c728c28cfcc948117498a8c30bd5
MD5 eb84158fc4a1df854724aaf42f926145
BLAKE2b-256 da72cc986dc89c4361e185ae7a051ed4bd1c4b36f78da00b0008ed99676216c8

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f5ec4542f9cef5ab002efbdbc36bc7d5ddff16963c060e06ed018744089f4871
MD5 f96a9141472b75f749435b501608afae
BLAKE2b-256 77927a2ed2af09deb04727fd1b59f3841fc21af4067e9fc0ded2a9ff09341331

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 72df98b4c5b4178c689cb17cb8847364d071a997f4d29f37242c6615dad4d547
MD5 68966e2371711685e9ca0a930867af3e
BLAKE2b-256 75d8df35b41387b16bb8407617460b7e218a8def719fa7a342e11a01fe631e28

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ba270d53c468d15a01ddab31b989dd36cd7cc52d5066ed3574b8b048b2ecc078
MD5 96fcc2e9252e10fdf4bdb1e03378762c
BLAKE2b-256 598dd180bea13b3efa47f1363d6ab5ba38763e9ed50f128fc1d7e83fc6bc8831

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 133d6f04fd48c576ade6ad35b5ad214fdf1acfa89c6ff3219fb3d00a3f2987c7
MD5 5aa9d69b8a7ac4f214e88ca8c6ad094a
BLAKE2b-256 293995c28401705190f6aab96e46327eff929c3bff9044274a0349aec20fda1f

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e7e22b6955f656799631599ef95cbbfb8f02795d663099228d6ffe9087cac22d
MD5 808e7e91bb0686feee282cea484284f5
BLAKE2b-256 20afeb8ff458de79db9747d69765c79774d99f41b0617a5682168b1fb9f0a29b

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a24e3a2e51b6421fbf8416c053b6d4da3d944fe5b59e9752ef7be9de8963e8b9
MD5 052cb4ad288966da4611570bbaaf0932
BLAKE2b-256 c33d454d667a5cbac0fb2edb9d3199fc7318ae4e869dd63757001f70b02f154d

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fbc42d8b52a5f03a61fa1a2644a22486ef478429977476982df77752b909386e
MD5 2f946d9b0d7181d514cc41a50c13cd38
BLAKE2b-256 9086fdc07733c0e2b996205a89b1d95f0249882ce2b8b2144d0705a9a9b12cc4

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5fbaf898a15494ee88ee22bd1dcaf88afefa6d13e1499ab11ca597f287f7ee7a
MD5 91be56bd324773f1c11d6bd166f79c35
BLAKE2b-256 f2120b34f19f5f9ba03e502077d42cd7eb2c8a2ca3ca90e47862a5b6c52af2fe

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 322c45c94ec92fe690ab8737be9ba40239c63aaa94f3726aebc60e0361dc60d4
MD5 9ceaa8ad8b817b03fd1cbc8954be4505
BLAKE2b-256 1d13d4d15d66f7ebcc4075523769bd0696c62685f47934b8356722cae83f1d45

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 415aeca55c1d3547f7d8ab0da369b74a161c65ce2dc0cbdff42548941a1c6874
MD5 96cfc1c77fade28e1c91d43483102807
BLAKE2b-256 21dacba789ee896041f386a882af5c54aefb9fd40be4897c12859c09d06269ed

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 675eb9c3b2b55b8c685d31bab5760c71f7ac446692663b901cd07d0a7008359b
MD5 a720b5da474791df9d6065160baa005a
BLAKE2b-256 846e48704906d6c112f28dfc7ffd01d65979dc285725fe2fec63c2e6f61c716f

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e3665980bc72a1814ef953501cfbbc2f019f46831fdf548e65b73beaa8766b94
MD5 c40a5dda925203076b92f7c90ee39cd7
BLAKE2b-256 f9f09eb95eda0623c8df971712a2c766b5ed2b5b7e58e02011cc947934d018c3

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7659b1e94592be03dbccc9f72ca798eabf51c26a4fb1b64d15b52ef7e454258a
MD5 d8bf7c2f0cb76e9bf0c544947595c1c2
BLAKE2b-256 fefeffc35213585de79874b5260ddff416d0ac74b2fe9e881f76d9f477169174

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c7b7deb7a694b60af047a48dcd468833579728ff6241752c6b79fbda015749ab
MD5 168594fde98b072a5edb7f47cecbb7f7
BLAKE2b-256 84ef0ba9463004edefdf3feb0534e720094939a12e589beaaff9accc45177ba9

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6755eb9aa040b726a7d6de15b333404d161c25b547db9721c38225463623cf82
MD5 ce69024c24a77093407034f9f5ff273b
BLAKE2b-256 58860c1dbaa2ba33876d3fe7649d5a3bb2fb5096cb678737cd3eedc54f4fe446

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 1eaf835ea80b28398a3a25ab4bc095d3f4bc85b3a9cffda6e2c0dd70c35acc1b
MD5 18b6cda9019c60deb6492d74af146cda
BLAKE2b-256 72fe47bd47548c556599a3ff6bff149cc3df2a355a4c9c7fdb3fb1279e4a6b65

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e0dd367d601dc56157973e544e0e88a6d668e24e300013c5853759fb243928f3
MD5 f2fb20ab49b603e27db1a2a928256eca
BLAKE2b-256 a2007b4f39bf550e156ec561b43eb5be78357e78d02ab828b2069a9c3fa43da4

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 038bde2e82a801fc2ad7d8b1e831eb06220db50b0ec2de5151d5e881e2251bdc
MD5 b0290df57984ac94fdac177e282e3ce3
BLAKE2b-256 e7516c341c434d2b0e4fbd73471299655993125ea1c86204e3501e3cfc7feff5

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5325b5314823744fd92170972943c16de1c2b0dcec0101cab68d9b2b396fe6ee
MD5 fae2923b31e577cbf2d3ed8648ec2d6e
BLAKE2b-256 e9e3dc1d1e5aac641a55e8d20ee276133cc9c3b1e99993687aa9667e294225a7

See more details on using hashes here.

File details

Details for the file dwave_preprocessing-0.6.4-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.4-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0a7396f0f1946d15e46327c1ac4559c34a550c00cd7c8f3534a59d6b2fb41cea
MD5 7e0c680626bd65703cf2f9edc6445698
BLAKE2b-256 8b0b5b8f2bb2c9555d1c8a087a31a5c96e34ee77e86ba75ea69d34bd73a1b344

See more details on using hashes here.

Supported by

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