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

Uploaded Source

Built Distributions

dwave_preprocessing-0.6.2-cp311-cp311-win_amd64.whl (709.1 kB view details)

Uploaded CPython 3.11 Windows x86-64

dwave_preprocessing-0.6.2-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.2-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.2-cp311-cp311-macosx_11_0_arm64.whl (602.7 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

dwave_preprocessing-0.6.2-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.2-cp310-cp310-win_amd64.whl (710.8 kB view details)

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

dwave_preprocessing-0.6.2-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.2-cp39-cp39-win_amd64.whl (711.3 kB view details)

Uploaded CPython 3.9 Windows x86-64

dwave_preprocessing-0.6.2-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.2-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.2-cp39-cp39-macosx_11_0_arm64.whl (604.0 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

dwave_preprocessing-0.6.2-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.2-cp38-cp38-win_amd64.whl (751.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

dwave_preprocessing-0.6.2-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.2-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.2-cp38-cp38-macosx_11_0_arm64.whl (618.9 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

dwave_preprocessing-0.6.2-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.2.tar.gz.

File metadata

  • Download URL: dwave-preprocessing-0.6.2.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.2.tar.gz
Algorithm Hash digest
SHA256 7b355f80f05b7bd07479c8a255bec006580aefb47c8822b1821fb7d880e1061c
MD5 918b8e0ea07a51a209e3280f523be7bb
BLAKE2b-256 f802e135f6d190621f5e9dd5e5169735ae03f92426d1e208efe097c79ca2a9cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ea7533da86fe0da346b1f30dccc2a9516009531036d5c4ff4b7bfe9f1e3bcfc0
MD5 38309c39936d42e8f80736afdcf7b3f2
BLAKE2b-256 aa10699030d80e60a69abbaf6377006eae3a64d97a2bb0afceb7094e34aa5b3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b31c18ad0d74c6eaa585c5c768080c56d436fc93da60798e7d2bffaf1070daea
MD5 1a5677205996eed8a75594998d31f078
BLAKE2b-256 e5ae285657398a102e4e601aed499204cf0362d32b6b7688f8b2bde11d49ea05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5ec320c6266ee2e0c99e79a8d628a00f5c444eab3f5c4b513e07d34271654f7c
MD5 a1cee899849e335367aca3d0802fd8b6
BLAKE2b-256 ee08359fd268c387b6e16199209d5ace0ac6b743455dc491504fa4de67d1a495

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 508eb6d8c6fad7619a169142b2ab939bf906711137d7a64312097227c4030e04
MD5 102c763b2c793fa60ae4e6b15968fba8
BLAKE2b-256 9540f3db2f68df5f71b3786a4942d0d78d42271ae89d51de4fd637aa74b95fb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 10626c700278048a62290d1c459302b9283e9a461612b5f8f42c6d6b49042705
MD5 831229bdce12f04d09a34c0f289e3681
BLAKE2b-256 701cd7a22680673c6e6aa89df2adc0f71a6d764eb7c2b57a52931d449e3c890b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d25c2ff353f5a78c7b6bd93c37739e78a67255f2654377f2f8db75f82e5a46a9
MD5 b5c0c19c3acbb860c4e6156b9b3cc4e8
BLAKE2b-256 6f5b90894519a77c148a9fcd45bfd3db2c969be7ce7f610586bbddab801639ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2e55809cf30f85f980a13fb8ed665d8464bcb1b8a11437cdb9021a4a0f1b2ded
MD5 5c556b9affb6adf154d6fd4e1df3f4f6
BLAKE2b-256 bd48726bd4525f901402e3df458881a3aa0834264ab98dbf70b4038e33398f69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6488ec2397cb3dba47c1e3b4e16f6a396e210a51e70d82542a7d5d88a1d831cd
MD5 a83e4fafd5baacdaed00d35e61cf8f49
BLAKE2b-256 0030010c1cd28974639a6e6d698d5242cd3a689f8c0f064aee83b20e927a5f4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 280bcb13bdf4b8c179cee887bafb1cb476c8e1a4565f397b2b853027ebee3c56
MD5 8d43cace062f073eef1ab08434ed1a22
BLAKE2b-256 e1139ba869cba4fc25bc485b52fff54ef0b1d33c0653dc240f7f35207c36b9a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 25d7d4fb7305055413eed73aa9a8e63f9ecd2f1818b0cba93f10f01b7b65c3fb
MD5 e138f47c52e09b8302001e10c26584fc
BLAKE2b-256 12d5d9777b5e3332da9f64bbe2863d05d2f6ba663f412a0e9534be451497f87c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 8e572dfcd6df9d4a48f935b9ccd410ae4af968c7692e1fd46581ef2885a94df8
MD5 b3a35456c9b3959bc3a80c8c96d13015
BLAKE2b-256 a6ec1a2dd032a7a2e4b228d8a1357f7a54f9a8868932308e173ef13c5837b799

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2411b913c95ea9f882b3addb5c28439f0b1cfb29964f42ec70f95b65dfeb1537
MD5 553722e6db9aaa8045396f6ca213c1d4
BLAKE2b-256 6ca3f070dbcf1edd1e455847ca9326abaf70eafc783ff31b012ae629a7b0cbe1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cb8ac1ae1ab459da7b1d2913349046a3021d8cd945d21b539db8b2641507f920
MD5 e318fee97d7a6c7bcb277da2f7c2f8de
BLAKE2b-256 d2ee9355437ea15b49e6dbae64389f00f6fd7996ff1a41dbb795a2b85051290c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 46e0634e84e61b6ef084fd015296b0c8f016ba8b03c5e0a84fadbd37437ecf57
MD5 5b52167d3065070a44f02ffd47ae9293
BLAKE2b-256 2e7b74cbbdd00b9e1d360ecb51a15c5e85f8a769fa75ed3556c23f98e82cd605

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 39bb56957985851a8f474f70faa5b1047652f6a7605a95de777424b0e7f08947
MD5 2bcaf7aad06bade114d832bdce2ff11b
BLAKE2b-256 e1029e33494299c970bef767021d7c926e9363d2ffc12674031c4cd4909bbeb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 11a73d2f248d89c534a4b2f7cd161b1eba7261d9617bf882071448d1077521ec
MD5 5aa0d842ab59f3dc340d1f9108633c14
BLAKE2b-256 654d7ccd117d8e13b82364f9a54cb28efba2f455612a289705affc9caabd7bd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 72b41d60b92553e85fedded07aa4d9e077930061bd610ebf190b6bb9518ae6ff
MD5 58280afc8fce4ecf41b6fdaea7d406af
BLAKE2b-256 0885bc4cac19b1f7fcbca8c4b6e26ae2d250a3b41efd797fac2d27d583e870b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c756aba930681b3db5eb4aa36bc8c63b3162be600de74989d7e77f866299833e
MD5 aa2bad58f3f71c115e77bee00122e4fa
BLAKE2b-256 d0ab7befc81265c6e4f1de1123aa27def2667efb535d7eff8e65a6f7ee99323f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 324f9d2c8d8e1e0b23c0a470c33cdc2c567f03632529ae443bc42135ef039bb9
MD5 1efe67fddbfb5e1e974b402beff4233f
BLAKE2b-256 9e703aa04d32f4b889cc325565799bb604c5e90c1a954fd7974749801b88c351

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_preprocessing-0.6.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0471f58917f5a1302a683fd9f2ce6e3b3d9521218effab6ca9853a309d574e11
MD5 ea71109b7e892dc9f86a8782d073e575
BLAKE2b-256 f71bb37a22236203725d0df8406f7ca88dad081e70ee64cbbac9913b4d81408e

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