-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option for continuous sampling #24
Comments
DWaveSampler uses the parameters |
|
Do you mean |
Names here: https://docs.dwavesys.com/docs/latest/c_solver_parameters.html - I corrected the initial comment as well. |
Keeping
N
samples in memory is expensive if we only want thek
best ones!Open question is the interface --
num_reads
is synonymous withnum_samples
returned in sample set for all samplers in Ocean. Also,initial_states
(even for random states) are expanded tonum_reads
input samples -- something we would also want to avoid in this case.To retain compatible behavior with existing samplers, perhaps we could introduce a parameter like
num_resample
. Also,resample_reduce_method
(min
/max
). And to support thek
best samples use case, we'll need a parameter likenum_samples
.So, something like:
Another take on this would be async sampler interface. In which case a caller would yield as many samples are needed, all with minimal memory overhead!
The text was updated successfully, but these errors were encountered: