dimod.reference.samplers.exact_solver.ExactSolver.sample

ExactSolver.sample(bqm)[source]

Sample from a binary quadratic model.

Parameters:bqm (BinaryQuadraticModel) – Binary quadratic model to be sampled from.
Returns:SampleSet