dimod.DiscreteQuadraticModel.num_variables#

DiscreteQuadraticModel.num_variables()[source]#

The number of variables in the discrete quadratic model.