dimod.QuadraticModel.remove_variable#

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

Remove the specified variable from the quadratic model.

Parameters:

v – Variable in the quadratic model.