dwavesystems / dimod

A shared API for QUBO/Ising samplers.
https://docs.ocean.dwavesys.com/en/stable/docs_dimod/
Apache License 2.0
124 stars 81 forks source link

Fix frustrated_loop()'s handling of graphs with tuple labels #1343

Closed arcondello closed 1 year ago

arcondello commented 1 year ago

This function really needs an overhaul for performance, but I tried to keep the changes minimal for now.

Closes https://github.com/dwavesystems/dimod/issues/1342

codecov[bot] commented 1 year ago

Codecov Report

Merging #1343 (497164c) into main (28fd896) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1343   +/-   ##
=======================================
  Coverage   94.91%   94.91%           
=======================================
  Files          94       94           
  Lines        9692     9693    +1     
=======================================
+ Hits         9199     9200    +1     
  Misses        493      493           
Impacted Files Coverage Δ
dimod/generators/fcl.py 93.24% <100.00%> (+0.09%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more