Closed randomir closed 1 year ago
When random problem is generated a structured solver is assumed.
If user selects an unstructured solver (like BQM/CQM solvers), or such solver gets selected for the user, problem generation will fail:
$ dwave sample --random-problem Unhandled error: AttributeError("'BQMSolver' object has no attribute 'nodes'")
Select a structured solver (QPU) with:
$ dwave sample --random-problem --client qpu
or
$ dwave sample -r -s Advantage_system6.2
Adapt random problem generation to selected solver (similar to #332).
cc @davage
When random problem is generated a structured solver is assumed.
If user selects an unstructured solver (like BQM/CQM solvers), or such solver gets selected for the user, problem generation will fail:
Mitigation
Select a structured solver (QPU) with:
or
Fix
Adapt random problem generation to selected solver (similar to #332).
cc @davage