dimod.ConstrainedQuadraticModel.vartype

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

Vartype of the given variable.

Parameters

v – Variable label for a variable in the model.