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.5.tar.gz (606.2 kB view hashes)

Uploaded Source

Built Distributions

dwave_preprocessing-0.6.5-cp312-cp312-win_amd64.whl (821.6 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

dwave_preprocessing-0.6.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.3 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.5-cp312-cp312-macosx_11_0_arm64.whl (715.8 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

dwave_preprocessing-0.6.5-cp312-cp312-macosx_10_9_x86_64.whl (753.0 kB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

dwave_preprocessing-0.6.5-cp311-cp311-win_amd64.whl (821.9 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

dwave_preprocessing-0.6.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.4 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.5-cp311-cp311-macosx_11_0_arm64.whl (716.2 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

dwave_preprocessing-0.6.5-cp311-cp311-macosx_10_9_x86_64.whl (753.9 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

dwave_preprocessing-0.6.5-cp310-cp310-win_amd64.whl (821.7 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

dwave_preprocessing-0.6.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.3 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.5-cp310-cp310-macosx_11_0_arm64.whl (715.7 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

dwave_preprocessing-0.6.5-cp310-cp310-macosx_10_9_x86_64.whl (753.8 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

dwave_preprocessing-0.6.5-cp39-cp39-win_amd64.whl (821.6 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

dwave_preprocessing-0.6.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.3 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.5-cp39-cp39-macosx_11_0_arm64.whl (715.1 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

dwave_preprocessing-0.6.5-cp39-cp39-macosx_10_9_x86_64.whl (753.3 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

dwave_preprocessing-0.6.5-cp38-cp38-win_amd64.whl (836.0 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

dwave_preprocessing-0.6.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

dwave_preprocessing-0.6.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.3 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

dwave_preprocessing-0.6.5-cp38-cp38-macosx_11_0_arm64.whl (715.0 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

dwave_preprocessing-0.6.5-cp38-cp38-macosx_10_9_x86_64.whl (752.8 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

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