dimod.binary.BinaryQuadraticModel.remove_variable

BinaryQuadraticModel.remove_variable(v: Optional[Hashable] = None) Hashable[source]

Remove the specified variable from a binary quadratic model.