dimod.QuadraticModel.remove_variable

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

Remove the specified variable from the quadratic model.

Parameters

v – Variable in the quadratic model.