dwave.optimization.model.Symbol.maybe_equals#

Symbol.maybe_equals(other)#

Compare to another node.

Parameters:

other – Another node in the model’s directed acyclic graph.

Returns: integer

Supported return values are:

  • 0—Not equal.

  • 1—Might be equal.

  • 2—Are equal.