dimod.ConstrainedQuadraticModel.vartype

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

The vartype of the given variable.