forbidExtent
OPL constraint (scheduling) to affect the extent of an interval variable.
context | type |
---|---|
Model files (.mod) |
boolean |
Syntax
forbidExtent(a, F); Where: dvar interval a; stepFunction F;
Description
This constraint is used to indicate that a given interval variable cannot overlap a particular date. Let a denote a fixed interval and F an integer stepwise function. The constraint forbidExtent(a, F), states that whenever the interval is present, it cannot overlap a point t where F(t) = 0.
Note: This constraint cannot
be used in a meta-constraint.