I tried to submit a random problem but got an error.

Following the instructions in https://docs.ocean.dwavesys.com/en/latest/overview/sapi.html

When I run the cli command `dwave sample --random-problem` this is the response I get:

```

Using endpoint: https://na-west-1.cloud.dwavesys.com/sapi/v2/

Using region: na-west-1

Using solver: hybrid_binary_quadratic_model_version2

Unhandled error: AttributeError("'BQMSolver' object has no attribute 'nodes'")

```

When I run `dwave ping --client qpu` I do get the expected result as in the documentation.

0

Comments

2 comments
  • Hello,

    If your configuration file has the "Client class" set to "hybrid" you will see this error message.

    I have brought this to the attention of our team and we will look at how to address it, but in the mean time you can set the value to "qpu" and you should be able to run the random problem command successfully.

    Thank you for bringing this to our attention and for your involvement with the community!

    0
    Comment actions Permalink
  • Hello,

    This has been flagged as a bug:
    https://github.com/dwavesystems/dwave-cloud-client/issues/557

    Thank you again for bringing this to our attention.

    1
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post