Overview | Group | Tree | Graph | Index | Concepts |
This operator compares its arguments and returns IlcTrue
if they
are not equal; otherwise, it returns IlcFalse
.
See Also:
IlcRevAny, IlcRevBool, IlcRevFloat, IlcRevInt
This operator creates and returns an inequality constraint between its arguments.
When one or both of its arguments are constrained integer expressions, then
when you post it, this constraint is associated with the whenRange
propagation event.
When both of its arguments are constraints (instances of IlcConstraint
),
the constraint that this operator creates and returns is the exclusive disjunction of
its two arguments. That is, the two arguments will be different from each other.
When you create a constraint, it has no effect until you post it.
See Also:
IlcAnyExp, IlcAnySetVar, IlcConstraint, IlcIntExp, IlcIntSetVar, operator==, operator<=, operator>=
This overloaded C++ operator constrains its two arguments to be unequal (that is, different from each other). In order to be taken into account, this constraint must be added to a model and extracted for an algorithm.
These operators create a new
IloPredicate<IloObject>
instance
by comparing the value returned by an evaluator with either that of
another evaluator or a threshold value. The semantics of the new
predicate is a non-equality comparison. The first function creates
a predicate which returns IloTrue
if and only if the
value returned by the left evaluator is not equal to the value
returned by the right evaluator. The second function creates a
predicate which returns IloTrue
if and only if the
value returned by the left evaluator is not equal to the threshold
value. The third function creates a predicate that returns
IloTrue
if and only if the threshold value is not
equal to the value returned by the right evaluator.
For more information, see Selectors.