-
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
Raise a more informative error message when passing BQM to DQM sampler #375
Comments
Hi @arcondello, I am a newbie and would like to try this out. As a first step, how can I reproduce this issue in my local? |
Hi @Abdullahjavednesar , something like import dimod
from dwave.system import LeapHybridDQMSampler
bqm = dimod.BinaryQuadraticModel('SPIN')
LeapHybridDQMSampler().sample_dqm(bqm) should reproduce it. |
❤️ |
I am facing an issue installing minorminer in my mac, getting the following error.
Can anyone please help. |
Hi @Abdullahjavednesar , can you try upgrading your pip and setuptools? |
Hi @arcondello, I have tried upgrading pip and setuptools, didn't work, still the same issue. Tried multiple things nothing worked :/
No, its an intel core i7 processor. macOS Catalina v10.15.7. Anyways, I could reproduce the issue in another system. Can you help me as to what should be the Exception raised? Does |
Yes, that looks good! |
Currently
LeapHybridDQMSampler().sample_dqm(bqm)
raisesAttributeError: 'BinaryQuadraticModel' object has no attribute 'num_variable_interactions'
, this should be more informative.The text was updated successfully, but these errors were encountered: