dimod.QuadraticModel.vartype

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

The variable type of the given variable.

Parameters

v – Variable in the quadratic model.