-
Notifications
You must be signed in to change notification settings - Fork 65
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
Specialized dwave samplers #317
Specialized dwave samplers #317
Conversation
bbe5e23
to
17c125e
Compare
Codecov Report
@@ Coverage Diff @@
## master #317 +/- ##
==========================================
- Coverage 92.48% 91.16% -1.33%
==========================================
Files 22 22
Lines 1184 1188 +4
==========================================
- Hits 1095 1083 -12
- Misses 89 105 +16
Continue to review full report at Codecov.
|
17c125e
to
55060c7
Compare
cd6bd2e
to
d1732c9
Compare
Addresses dwavesystems#288. Note: breaks backwards compatibility by changing the default value for `client` from `base`/undefined to `qpu`.
Deprecated in favor of `order_by` as part of `solver` definition dict. Introduced in dwavesystems#313, released in 0.9.9. Induces version 0.10.0.
Deprecated since ~ 2018-12.
d1732c9
to
337d80a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
import time | ||
import functools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do alphabetical, you do by size 😆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Constrain client type to hybrid, but propagate user-specified solver definition (from config file/env/kwargs). This is a hybrid analogue of dwavesystems#317 (where we applied the same fix to QPU samplers). Note: partial user-supplied solver definition (patch) is not possible. User-supplied solver mapping will not be updated to fix accepted problems types (bqm/dqm) or version preference. Fixes dwavesystems#363.
Closes #288.
Closes #335.
(A) and (B) have been implemented, (C) has been dropped for now.
The idea is to have
DWaveSampler
/DWaveCliqueSampler
andLeapHybridSampler
auto-select QPU and Hybrid solvers, but allow for user override from a configuration file/environment viasolver
parameter.order_by
here, after a client with fix for Alloworder_by
to be part of solver definition dict, again dwave-cloud-client#407 is released.