Sample from the binary polynomial and truncate output.
(obj (poly) – .BinaryPolynomial): A binary polynomial.
**kwargs – Parameters for the sampling method, specified by the child sampler.
dimod.SampleSet