dimod.QuadraticModel.num_variables

property QuadraticModel.num_variables: int[source]

Number of variables in the model.