dimod.ConstrainedQuadraticModel.is_almost_equal

ConstrainedQuadraticModel.is_almost_equal(other: dimod.constrained.ConstrainedQuadraticModel, places: int = 7) bool[source]

Return True if the given model’s objective and constraints are almost equal.