dimod.binary.BinaryQuadraticModel.add_linear

BinaryQuadraticModel.add_linear(v: Hashable, bias: Union[int, float, numpy.number])[source]

Add a linear term.