dwavesystems / dwave-samplers

Classical algorithms for solving binary quadratic models
Apache License 2.0
8 stars 12 forks source link

Allow num_sweeps=0 for simulated annealing. #30

Closed arcondello closed 2 years ago

arcondello commented 2 years ago

Requirement that num_sweeps be positive was incorrectly introduced in https://github.com/dwavesystems/dwave-neal/pull/91

See https://github.com/dwavesystems/dwave-ocean-sdk/pull/221

codecov-commenter commented 2 years ago

Codecov Report

Merging #30 (464498d) into main (08a0e9f) will increase coverage by 0.02%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   97.26%   97.28%   +0.02%     
==========================================
  Files          11       11              
  Lines        1133     1143      +10     
==========================================
+ Hits         1102     1112      +10     
  Misses         31       31              
Impacted Files Coverage Δ
test_simulated_annealing_sampler.py 99.63% <0.00%> (+0.01%) :arrow_up:

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