endOf
OPL integer expression (scheduling) to access the end time of an interval
Purpose
OPL integer expression (scheduling) to access the end time of an interval.
| context | type |
|---|---|
| Model files (.mod) |
dexpr int |
Syntax
dexpr int endOf (a[,dval]); Where: dvar interval a; int dval;
Description
This integer expression is used to access the end time of an interval. Special care must be taken for optional intervals: in this case an integer value dval must be specified, to represent the value of the expression when the interval is absent. If this value is omitted, it is considered to be 0.