An instance of IloSpan represents a span
constraint. A span constraint between an interval variable
a and a set of interval variables
{b1,...,bn} states that interval a spans
over all present intervals from the set
{b1,...,bn}. That is: interval a starts
together with the first present interval from
{b1,...,bn} and ends together with the last
one. Interval a is absent if and only if all intervals
in {b1,...,bn} are absent.
You must add this constraint to a model and extract the model
to an algorithm in order for it to be taken into account.
Note: This constraint cannot be used in a logical constraint.
For more information on the span constraint, see the concept
Constraints on groups of interval variables in CP Optimizer.
This constructor creates an empty handle. You must initialize it before you use it.
This constructor creates a handle object from a pointer to an implementation object.
This member function returns a pointer to the implementation object of the invoking handle.