dimod.reference.samplers.ExactSolver.sample

ExactSolver.sample(bqm)[source]

Sample from a binary quadratic model.

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