dimod.QuadraticModel.is_equal

QuadraticModel.is_equal(other: Union[dimod.quadratic.quadratic_model.QuadraticModel, numbers.Number]) bool[source]

Return True if the given model has the same variables, vartypes and biases.