Skip to content
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

Setting DWAVE_API_SOLVER environment variable causes exception #23

Open
dbusto opened this issue Jun 16, 2023 · 0 comments
Open

Setting DWAVE_API_SOLVER environment variable causes exception #23

dbusto opened this issue Jun 16, 2023 · 0 comments

Comments

@dbusto
Copy link

dbusto commented Jun 16, 2023

After setting DWAVE_API_SOLVER running single_period.py or multi_period.py will raise an exception, because the initialization tries to create both a CQM solver and DQM solver with the solver name in DWAVE_API_SOLVER, but no solver supports both CQM and DQM problems.

The exception will be something like ValueError: selected solver does not support the 'dqm' problem type., depending on the type of solver supplied.

Link to lines where exception occurs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant