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

Uploaded Source

Built Distributions

dwave_preprocessing-0.6.3-cp311-cp311-win_amd64.whl (709.0 kB view details)

Uploaded CPython 3.11 Windows x86-64

dwave_preprocessing-0.6.3-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.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.0 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.3-cp311-cp311-macosx_11_0_arm64.whl (602.7 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

dwave_preprocessing-0.6.3-cp311-cp311-macosx_10_9_x86_64.whl (643.8 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

dwave_preprocessing-0.6.3-cp310-cp310-win_amd64.whl (710.7 kB view details)

Uploaded CPython 3.10 Windows x86-64

dwave_preprocessing-0.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.3-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.3-cp310-cp310-macosx_11_0_arm64.whl (606.5 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

dwave_preprocessing-0.6.3-cp310-cp310-macosx_10_9_x86_64.whl (647.6 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

dwave_preprocessing-0.6.3-cp39-cp39-win_amd64.whl (711.3 kB view details)

Uploaded CPython 3.9 Windows x86-64

dwave_preprocessing-0.6.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.3-cp39-cp39-macosx_11_0_arm64.whl (604.0 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

dwave_preprocessing-0.6.3-cp39-cp39-macosx_10_9_x86_64.whl (645.1 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

dwave_preprocessing-0.6.3-cp38-cp38-win_amd64.whl (751.5 kB view details)

Uploaded CPython 3.8 Windows x86-64

dwave_preprocessing-0.6.3-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.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.3-cp38-cp38-macosx_11_0_arm64.whl (618.9 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

dwave_preprocessing-0.6.3-cp38-cp38-macosx_10_9_x86_64.whl (660.5 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: dwave-preprocessing-0.6.3.tar.gz
  • Upload date:
  • Size: 529.0 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.3.tar.gz
Algorithm Hash digest
SHA256 2076ac0cbe0c9de4fbd277d45602bb6693dd293851f2117ee5dd8d09f1738be1
MD5 ee23f41cabdec72b5bd258e03dbaa365
BLAKE2b-256 ac0bc5910d9366609b302869ee3a4a216bc6fe99b915cf859ed7f2ba6e43bb40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ed1f4bfaeada01d97dacf454ef21f36cadeb0e8fcc1e1a8c943acc3586e52cf0
MD5 9f4ddf200e6f2bd1b5abf72d2c919ca9
BLAKE2b-256 7ee3c18d9060c3ae772144c212b1720c3e3b8e1a64e6f1464b714e251ef1c3d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2980481df62953865e802a87fd83a9c9597a5aa0fcac6bc98f6f77567032a54
MD5 c4971d9dec2c4c7cff2b0021feb2b070
BLAKE2b-256 f72619e52de69b85cb824be5509bf2b24d1e5322e68051e89ab295b4f8b89f52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4df62831a188f83e566291ebd6c728894b01cfc384bfb121e1c9f76c88d98bdf
MD5 a5bd59530dd13881bc9827a669b3e98e
BLAKE2b-256 02cb3e158d8991eaca6d303bbb87ce5719a57281b3e516e7082d86934b01aaae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c69f3c58d5d5ff8bc88242d5c6ca6583cf8696a21fc2205abfb316c66e049c83
MD5 c4badd786371e632a9a1109254aed444
BLAKE2b-256 a326bd8c4a09a521e137d774ba1e7fd8cb1c55a0e6f6508d6c24fae32372f5bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e03cae511b38af73bf723323c356fe24180ce85ab8d4100c434af169f37e93a0
MD5 4affdf9bfdc806d4ee9b81a6209150a3
BLAKE2b-256 e7e374b4d808060029742d25a1074390e30638635146bbfe80cf09f74bb64961

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8b5d8d3bd021d18b0cf1271cf89d52692565fc46aa3239a55761eae4a92833c4
MD5 ae0fd9d20d15d561c3c5261860750158
BLAKE2b-256 52e7925681b706ff96b8fdf5ba5d4c7b5ca053bc2fabac012cf7fcf4e7c84566

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ca251991e0d02db66e1053920a58177ff21d2a5445eecdaf3d91686e3805bd2e
MD5 cda40d3a77d6815ae781d3555a26035a
BLAKE2b-256 ed6006cc2c49c804f992911c472a28c1eac1ad1b63c2567c3c31c7d24caf1237

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f269aa1bb69a51b8522de9361e8ce25f10ac0c9fcf8a71c76d6549fbc64fd27d
MD5 ca7402047de776a2c3076c717b02e003
BLAKE2b-256 a35bdc89c60c95f1a288bef311c8c98b3c50c19cf38c09b680bc371434ef993c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bbdba7c2bcad09830d3efbea77db1fb4684788c0b44731a429ef0a723204cdf0
MD5 2ece3aee21ede8f0ac890b350142e5be
BLAKE2b-256 8bc553e0e2cbfe2e871581110bbd06896f2ad510c19db327ea6eadc22179a71e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e3cc6df5a3a648eda9085553b0d9dde12b877bb1ecb79960e766d75692451d10
MD5 6e134a3bb16e9dbfb0923bf4a3141ad7
BLAKE2b-256 c66027b647d77a405fbd7505b6b00c2e111c9736c828c5f0b1516e3ac7b5cd21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 08f08739655ae582cf40d1ac9919c34ed3b8df3ef61ceed6d47e962b73510789
MD5 3a04e78641c7d99f28d971b02fb6e377
BLAKE2b-256 d6fe6924d1a0ce936e5bf4bbe955ec7a9e9c92f4a6bd023381a2a324c7bbd8b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 67336109749609d7d1902fdd9ba0bb526b272274340484b657449659a10a76b1
MD5 453842f002d380cb2528d9a5c4cd7826
BLAKE2b-256 3c89e2cb2004ed3caa699472b7d23deb227d02b8622e209b9e4dbb0e9938708f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e735eeaa69320c4e3f5360859cf18ac20cf68f8adc5944984029155d161d383c
MD5 4b585d970963f1da82d38856bfb3cee3
BLAKE2b-256 41d3678bceb033568c49f3a97c152d927bf4605d63d902f71332ef7f1ab22749

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 10a862a8d8e0e085048c82d2ac8955e1394325117713121107d032af3a5c31a1
MD5 d48436411c30409ee81973bf1156179f
BLAKE2b-256 ff7e4e1975a9c292bd409bcfc6fecc49f4a1f3d05c78f615d566c2be28a7d2b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 482a79c68b15e0e0b5311fd9bd148a04aed04b4e76ec4622908500054af8760b
MD5 559faddebedfc230e59fda70b4028a7c
BLAKE2b-256 f1ad69ac85054cea99a8bf4deb797990ed53c1be7a04fd7e0944c16235b867ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c69fb717e163e0c1493a680e148b97b16696aaf6658c19336d07e63005b655fa
MD5 a47a2ccbce7c79e0aa72dfeb8cc885b1
BLAKE2b-256 fbeb0feb67903d1674caa25ccfd20067561658fe660a89d56de6d6adfd1cc1c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6e1581277b060945bea077573a61bffde4449d9063e49b095af4d9853907c592
MD5 bdb2b68a025705aa753adcd3358fb810
BLAKE2b-256 655bbc242d40bc4d7b8ea6cd4d9e4c48a78e808a98876a37b7c995eee9ac5be3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9d205afe3189c8680cb73ccfe19a8eea63cb1a0b80e24fc42b88bb66156138a8
MD5 22169b836ebf669872bb44e8523cdcca
BLAKE2b-256 96682eaa1353cca62857dcbb7161da418ca909a5d75ab6152111c07e39f39d82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 54a05c420830143fd8a799af87abeac8c087a71b0d741ddd5ccdc16f1ea84d2c
MD5 a4d1c75be2f4bc33d5259bbf532a4d4c
BLAKE2b-256 2c8d804b2684cc4ed4331a398fd2fa81a31de118ffaab12f6bddc73b08a0f3b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9d452841c427055059020af3164541a869ef67b3cccced13207780445742e315
MD5 1e9e55c4eaf78a5bd60b2edf1b59de97
BLAKE2b-256 5bbf4feeaad798e7c2ceada300e02c746761a38c172d2e1fd0190bd32f7de6c0

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