dimod.binary.BinaryQuadraticModel.is_equal#
- BinaryQuadraticModel.is_equal(other: BinaryQuadraticModel | QuadraticModel | float | floating | integer) bool [source]#
Return True if the given model has the same variables, vartypes and biases.
- Parameters:
other – Binary quadratic model to compare against.