IBM ILOG Scheduler User's Manual > Getting Started with Scheduler > Adding Transition Times > Define the Problem, Design a Model > Set Temporal Constraints

The temporal constraints in this problem are the same as in all previous examples. However, we also add two constraints on the minimum start date and maximum end date.

  /* SET STARTMIN AND ENDMAX. */
  model.add(masonry.startsAfter(startMin));
  model.add(moving.endsBefore(endMax));