dwavesystems / dwave-neal

An implementation of a simulated annealing sampler for general Ising model graphs in C++ with a dimod Python wrapper.
https://docs.ocean.dwavesys.com/projects/neal/en/latest
Apache License 2.0
50 stars 44 forks source link

Inherit beta_range from sampler.parameters to sample() #98

Open andrew-d-king opened 2 years ago

andrew-d-king commented 2 years ago

Current Problem Setting sampler.parameters['beta_range'] does not affect the sample() method

Proposed Solution Parse the parameter.

randomir commented 1 year ago

This is in spirit of dwave-hybrid's runnables' behavior where .run() params override params set during block construction, but are overridden themselves with input state values.