dwavesystems / dwavebinarycsp

Map constraint satisfaction problems with binary variables to binary quadratic models.
https://docs.ocean.dwavesys.com/projects/binarycsp/en/latest
Apache License 2.0
19 stars 27 forks source link

Penaltymodel 1.0 #117

Closed arcondello closed 2 years ago

arcondello commented 2 years ago

Note that the code was compatible with penaltymodel 1.0 (with the addition of https://github.com/dwavesystems/penaltymodel/pull/143) but this way we get better performance and bypass deprecation warnings.

codecov-commenter commented 2 years ago

Codecov Report

Merging #117 (1a1da12) into master (0bbc438) will increase coverage by 0.80%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
+ Coverage   91.59%   92.39%   +0.80%     
==========================================
  Files          19       19              
  Lines         607      592      -15     
==========================================
- Hits          556      547       -9     
+ Misses         51       45       -6     
Impacted Files Coverage Δ
dwavebinarycsp/__init__.py 100.00% <ø> (+17.24%) :arrow_up:
dwavebinarycsp/compilers/stitcher.py 100.00% <100.00%> (+1.53%) :arrow_up:
dwavebinarycsp/exceptions.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0bbc438...1a1da12. Read the comment docs.