Package for creating penalty models.
Project description
- warning:
penaltymodel is deprecated. For solving problems with constraints, we recommend using the hybrid solvers in the Leap :tm: service. You can find documentation for the hybrid solvers at https://docs.dwavequantum.com.
penaltymodel
One approach to solve a constraint satisfaction problem (CSP) using an Ising model or a QUBO, is to map each individual constraint in the CSP to a ‘small’ Ising model or QUBO. This mapping is called a penalty model.
For more information, see penalty models.
Installation
To install the core package:
pip install penaltymodel
License
Released under the Apache License 2.0
Contributing
Ocean’s contributing guide has guidelines for contributing to Ocean packages.
Release Notes
penaltymodel makes use of reno to manage its release notes.
When making a contribution to penaltymodel 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.
See reno’s user guide for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file penaltymodel-1.3.0.tar.gz.
File metadata
- Download URL: penaltymodel-1.3.0.tar.gz
- Upload date:
- Size: 32.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34af628916420218b16a8ceca608abbf8530b731fe05902392a3a3bceee395d0
|
|
| MD5 |
5ae366c094344a85d1a809cac946d0fa
|
|
| BLAKE2b-256 |
02f63af591b63fca93de731711f8c985e5b7f5ef97de28e334ffeec413c31c82
|
File details
Details for the file penaltymodel-1.3.0-py3-none-any.whl.
File metadata
- Download URL: penaltymodel-1.3.0-py3-none-any.whl
- Upload date:
- Size: 36.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
543f596a5c1fb602d18355c46349e8ccb2842b335de86958d7525de0d993eda9
|
|
| MD5 |
7216f70c4ac9ded53030fc3b4f918e01
|
|
| BLAKE2b-256 |
2a16501a538776abb83ef02243e937fb7b196a7377e49bb474798ca8bc5a58a6
|