IBM ILOG Scheduler User's Manual > Getting Started with Scheduler > Scheduler Building Blocks > Temporal Constraints > Time-Bound Constraints |
Time-Bound Constraints |
INDEX
![]() |
Time-bound constraints constrain an activity to start or end before, at, or after a given time. They are created by a member function of IloActivity
and must be added to the model of the associated scheduling problem to be considered in the search for solutions. The time argument can be a numerical constant or a numerical variable.
The six time-bound constraints are described in the following diagrams. In the diagrams, ect
and lct
mean earliest and latest possible completion times, est
and lst
mean earliest and latest possible start times. These are the earliest and latest times available to the activity before the time-bound constraints are applied. act
and ast
mean actual completion and start times. The shaded area in the examples is the domain of the end variable.
act1.endsAfter(IloNumVar time);
constrains act1
to end after or at time
.
act1.endsAt(IloNumVar time);
constrains act1
to end at time
.
act1.endsBefore(IloNumVar time);
constrains act1
to end before or at time
.
act1.startsAfter(IloNumVar time);
constrains act1
to start after or at time
.
act1.startsAt(IloNumVar time);
constrains act1
to start at time
.
act1.startsBefore(IloNumVar time);
constrains act1
to start before or at time
.
© Copyright IBM Corp. 1987, 2009. Legal terms. | PREVIOUS NEXT |