public interface IloAlternative extends IloConstraint
An instance of IloAlternative represents an
alternative constraint. An alternative constraint between an
interval variable a and a set of interval variables
{b1,...,bn} models an exclusive alternative between
{b1,...,bn}. If interval a is present,
then exactly one of intervals {b1,...,bn} is present
and a starts and ends together with this chosen
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.
For more information on the alternative constraint, see the concept Constraints on Groups of Interval Variables in the C++ Reference Manual.
getName, setName