| Overview | Group | Tree | Graph | Index | Concepts |
This disjunction of operators is an operator which, when invoked,
invokes op1. If successful, the operator succeeds.
Otherwise, the disjunction invokes op2.
If op2 succeeds, the disjunction succeeds, otherwise
it fails.
op1 or op2.
The choice is dynamic and depends on whether op1 or
op2 produced the solution.
This operator creates and returns a constraint: the disjunction of its arguments.
When you create a constraint, it has no effect until you post it.
See Also:
This overloaded C++ operator creates a disjunctive
constraint that represents the
disjunction of its two arguments. The constraint can represent a
disjunction of two constraints;
of a constraint and another disjunction; or of two disjunctions.
In order to be taken into account, this constraint must be added
to a model and extracted by an algorithm, such as
IloCplex or IloSolver.
This operator creates a new
IloPredicate<IloObject> instance from two
IloPredicate<IloObject> instances.
The semantics of the combination of the component predicates is
that of logical OR. That is, the combined predicate
will return IloTrue for a particular object if and
only if one of the component predicates return IloTrue
for that object.
For more information, see Selectors.