dimod.QuadraticModel.vartype#

QuadraticModel.vartype(v: Hashable) Vartype[source]#

The variable type of the given variable.

Parameters:

v – Variable in the quadratic model.