IBM ILOG Dispatcher User's Manual > Transportation Industry Solutions > Adding Vehicle Breaks > Review Exercises

For answers, see "Suggested Answers".

  1. What class is used to construct a vehicle break constraint?
  2. Visits can be interrupted by breaks, but the default is that visits are not interruptible by breaks. Do you think that this option is controlled with the class that is used to construct a vehicle break constraint, or with the class that is used to model visits?
  3. In the following code, the parameter IloFalse ensures that the goal instantiates all the breaks in the routing plan by considering all the vehicles during the instantiation process. If this parameter were changed to IloTrue, and thereby each vehicle were considered independently from the others, what do you think would be the likely impact on the instantiation processing time and to the goal failure rate?
      IloGoal instantiateBreaks = IloLimitSearch(_env,
                                                 IloInstantiateVehicleBreaks(_env,
                                                      1.0/60.0, IloFalse),
                                                 IloFailLimit(_env, 100));