dimod.ConstrainedQuadraticModel.is_equal#

ConstrainedQuadraticModel.is_equal(other: ConstrainedQuadraticModel) bool[source]#

Test for equality to a given constrained quadratic model.

All biases of the objective and constraints are compared.

Parameters:

other – Constrained quadratic model with which to compare biases.