startOf
OPL integer expression (scheduling) to access the start time of an interval
Purpose
OPL integer expression (scheduling) to access the start time of an interval.
| context | type |
|---|---|
| Model files (.mod) |
dexpr int |
Syntax
dexpr int startOf (a[,dval]); Where: dvar interval a; int dval;
Description
This integer expression is used to access the start 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.