dimod.binary.BinaryQuadraticModel.remove_variable#

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

Remove the specified variable from a binary quadratic model.

Parameters:

v – Variable of the binary quadratic model.