Lunch break

These constraints allow you to define a lunch break.

Format: HH:MM

Start (lunch.start): This constraint indicates the time from which the resource’s lunch break can start.

End (lunch.end): This constraint indicates the latest time at which the resource’s lunch break may finish. If this constraint is used, the lunch break defined in the Duration constraint must then terminate during the time window defined by Start and End.

Duration (lunch.duration): This constraint indicates the time allocated to the resource’s lunch break. This duration is not considered by TourSolver as working time, but as break time. It is also important to note that it is deducted from the length of time set for the working day.

Example 1: possible instances found by TourSolver

tscloud-img/dej1.png

Example 2:

A resource with:
Start time = 09:00;
Finish time = 18:00;
Lunch time = 01:00;
will be able to work (and fulfill visits) during a period of 8 hours (= 18 – 9 – 1).