dimod.binary.BinaryQuadraticModel.vartype

property BinaryQuadraticModel.vartype: dimod.vartypes.Vartype[source]

The model’s variable type.

One of Vartype.SPIN or Vartype.BINARY.