dimod.binary.BinaryQuadraticModel.iter_linear

BinaryQuadraticModel.iter_linear() Iterator[Tuple[Hashable, Union[float, numpy.floating, numpy.integer]]][source]

Iterate over the variables and their biases.