| 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. |
|---|
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.
To install the core package:
pip install penaltymodel
Released under the Apache License 2.0
Ocean's contributing guide has guidelines for contributing to Ocean packages.