Skip to content

dwavesystems/penaltymodel

Repository files navigation

warning:penaltymodel is deprecated. For solving problems with constraints, we recommend using the hybrid solvers in the Leap ™️ service. You can find documentation for the hybrid solvers at https://docs.dwavequantum.com.
https://circleci.com/gh/dwavesystems/penaltymodel.svg?style=svg

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.

About

Utilities and interfaces for using penalty models.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

Languages