Modeling Activities with Earliest-Start and Latest-End
Translate release dates and deadlines into start- and end-time constraints on interval variables, check individual feasibility for mandatory activities, guard the window for optional activities, and compute latest-start and slack.
Step 1 of 157%
Tutorial
Earliest Start and Latest End on a Single Interval
Each scheduled activity is represented by an interval variable with three attributes:
- the start time
- the end time
- the duration
related by
Two of the most common bounds on a scheduled activity are its earliest-start time (also called the release date) and its latest-end time (also called the deadline) These translate directly into two constraints on the interval:
Substituting into the second inequality gives or equivalently Combining the two:
For example, an activity with and must start somewhere in since