dimod.QuadraticModel.is_equal#
- QuadraticModel.is_equal(other: QuadraticModel | Number) bool [source]#
Return True if the given model has the same variables, vartypes and biases.
- Parameters:
other – Quadratic model to compare against.
Site Navigation
Section Navigation
Return True if the given model has the same variables, vartypes and biases.
other – Quadratic model to compare against.