Skip to content

Setting DWAVE_API_SOLVER environment variable causes exception #23

@dbusto

Description

@dbusto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions