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

Uploaded Source

Built Distributions

dwave_preprocessing-0.6.0-cp311-cp311-win_amd64.whl (707.3 kB view details)

Uploaded CPython 3.11 Windows x86-64

dwave_preprocessing-0.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.9 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.0-cp311-cp311-macosx_11_0_arm64.whl (599.1 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

dwave_preprocessing-0.6.0-cp311-cp311-macosx_10_9_x86_64.whl (641.2 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

dwave_preprocessing-0.6.0-cp310-cp310-win_amd64.whl (709.0 kB view details)

Uploaded CPython 3.10 Windows x86-64

dwave_preprocessing-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.0-cp310-cp310-macosx_11_0_arm64.whl (603.0 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

dwave_preprocessing-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl (645.1 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

dwave_preprocessing-0.6.0-cp39-cp39-win_amd64.whl (709.6 kB view details)

Uploaded CPython 3.9 Windows x86-64

dwave_preprocessing-0.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.0-cp39-cp39-macosx_11_0_arm64.whl (600.6 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

dwave_preprocessing-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl (642.6 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

dwave_preprocessing-0.6.0-cp38-cp38-win_amd64.whl (749.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

dwave_preprocessing-0.6.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.0-cp38-cp38-macosx_11_0_arm64.whl (615.6 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

dwave_preprocessing-0.6.0-cp38-cp38-macosx_10_9_x86_64.whl (657.9 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: dwave-preprocessing-0.6.0.tar.gz
  • Upload date:
  • Size: 528.9 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.0.tar.gz
Algorithm Hash digest
SHA256 e091c78a4e57227f228cc3b006b33edb1e4a78438a93683e49dc47470fcda594
MD5 a3b23092b65e8575273e8ac4fad4d7bb
BLAKE2b-256 b386ba1100d6ac0f7710a94ed5a8fc59f9ff521fd8ad85b040c9f017b5780b05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8511aa4e686a32b67402dc17b4f2615a6effcf6a151a884750e26098a58e0847
MD5 e1888c8cabe15174f0c904af84a53724
BLAKE2b-256 5680875ff0c4879297473beb6095e0044f18ac0e04288468770de17ac15573b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0e49c460488e9dd6becad08b8e5323532c5f060c8b8c2bb33b8f03ec0069b559
MD5 adeb9e357e6d2788c973beb0058687de
BLAKE2b-256 0f4315744ea3e6ba82ddf90de47ae08be4da0494f68b064dc43ba410519f0731

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 47bc75233c1f921d2d3051011a6fdc789e30ac843149f088b24b6f4c09063ba6
MD5 4e68cd06dcee575119b047e585b4089f
BLAKE2b-256 65e811b05f10c60882b47f72555b8a609923a087e355fde7d6d311b847cbbb11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 aa66c4501d72a57be2cc048cc4d5bcd8e006721f8d572e39c8f9b7be6c3b2dca
MD5 760fe9a5b9f95c977ddfbfad903da712
BLAKE2b-256 b4f8da364c73c5ecec34aff1b30091f3790d52ff0e2536c59baa7ca270be43d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ce4c3145256b873974c1520699659b76eb0223d91fb5a31491cef7b0dfd4b38e
MD5 4796cb1df27bb30b7ab61987160a1a2d
BLAKE2b-256 d56b53614162e6655090b5e459c98af1eca5c9bd58a16ca12c46b6c269ed64e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ca66f9bcddf7ed27196ac7580361f224d24d1e0b8633a9c1acb167ac3d8291dc
MD5 7a14a417f342aca71346216997f34343
BLAKE2b-256 a2ad9c02281fc97ed875b597eff5eeef1f2a83b42d4568afe8d3a1e64ab074ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 afd66187799b42603154c25a22141347fff51b451e2940bef8f054e6a4e4bea7
MD5 395378eacae2aba02c419d513caf0276
BLAKE2b-256 04ce3192921fda46c5c67513a54948de380f2e08a4976c6dab877b3a8810f7e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 480a549bae8ac4f9ba314af074356514f27e92a431fc556e4816159854b806c8
MD5 82d801fc27c7ea0b62074fff2d3c57a7
BLAKE2b-256 a73eb58f4c226842690aafe3885cedd2ef0c0291071b82631210ce452f637982

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f3a2941ca8584f9c245f753271ac6c9f221f09c002f2beaf1dec1a4fa22a5296
MD5 e8eecc26380b19b286610eae2d02343f
BLAKE2b-256 ee51d10c818ccc023f0dae0dade90acb7bdded6e7d5b67ace6b59eb7ecb56d1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 48d1eea91ddf224a7d2c3081b4c852ae5c33f497cdcce07e65382269d94de84f
MD5 7ac7bf8154e4bca6a53667ac32870fd4
BLAKE2b-256 79ed7a4a0aa1d2917d82c3d0573fdd32aece3b3da9e313db1bee3b6556008ee4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 50c45bf564d24ff789d1edc2aebc2bcb7184cd76415a0e48ea520388ecade670
MD5 f4f150f34df6d70de7b7af809474123d
BLAKE2b-256 20a68fac6601190c0c94a1b51879737245aba36b3dbf8aa278e9115bc3491a01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 07a307a2403badd0f1395a00b5d3b67c99e0248547c77ba76cc22ecf316ea9a5
MD5 117adabfe0eb5f2104b2ea09caa43602
BLAKE2b-256 6734fc3573695784426d946777bd1cb1b6c92b65574a79f7da53a2368705fddd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d9a6ac8e6105ff25c0846f4f0e32f3319c20a0e459e29b029ba2e931461237b1
MD5 0435bf66fcf7d6a609504aadc287f8ff
BLAKE2b-256 3d4529af21ee7508edc611f660230e953f579e437da7de3c962eadde71211bcf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2732201d41995560402ff5b7fd54c86c8ea3d4b53cdd460ccbedd096985e81af
MD5 848e773912c4e51ca2d43ed2af26d1fa
BLAKE2b-256 77fa8846f8c521c0fbe77c942f0f5b0d12614b485b53bc3bbc0dc821eeb03780

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 13d850aeebd45bbc36510eba4abd394704d16823261fb419aa907b94102a8760
MD5 5ea06b848337cd0a1de942e346b15e99
BLAKE2b-256 62743aa644110c1265b17fa53b33f143f3e5b9ac6c6f1e1d4e32f5db854f912d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 cf3d08c5bc3f07467012b2e863c06e7fb2bd5529d0af6460163b85707428b078
MD5 110220e6a2146d8870b5c394adb58b9f
BLAKE2b-256 76da984b45152c2d4812ca6ff35732efeeeceed1d60f6ade7df342e822aa6c2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bb6094040742c13ba0e738f6f8fdac4a424491480e2e0dd3a27b1bd7035c1f0c
MD5 98cb7625fc0e36e45a3bc68cf2d11cfe
BLAKE2b-256 3e2ed20387ae14fa2cc33c37201a5dafd4b6889b6939579e55614a1082b57f0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0b5f71c3a0316d9b1c8940502f3f7a0fcdcd18fa386743fe233389e7f80fd160
MD5 14651fd511d0ef0bbb076ff07709a798
BLAKE2b-256 65ea645e36554ea47a96ded9e851ab265478766865449d48aa6c5980990843a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8c35b71bd6730b1fb111c76a6fdd3c69c8b11862292902bfb4523482c2625aee
MD5 ea497e88c69daf97b7638c6a4699be71
BLAKE2b-256 4167ca1afd69bef7618f459e4eacf23198fb34bc7abb1883f2f9b96906336f11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6b60cf10401d89fd1f16a7f7537082f3dfcaf65cb25d872e32e0bfa0b7785daa
MD5 5b56359229e57b6f2d2f0145c049a4a1
BLAKE2b-256 d15429ff2ac11f044eab58c60cc5104fdfcca031369aa4418ea667f4103bc3c3

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