dimod.ConstrainedQuadraticModel.is_equal

ConstrainedQuadraticModel.is_equal(other: dimod.constrained.ConstrainedQuadraticModel) bool[source]

Return True if the given model has the same objective and constraints.