Visit frequency
This constraint specifies how many times a visit must occur within a defined number of days. TourSolver optimizes the planning by distributing the visits as evenly as possible while considering all other applicable constraints. Note: The frequency constraint guides planning but does not guarantee perfect adherence to the defined intervals. The TourSolver interface displays an indicator showing the number of visits that do not meet the expected frequency.
Format: Character 1/5
If this constraint is enabled, the Worked days constraint must also be defined for the resources.
Examples
Example 1:
Visit frequency = 3/5 The customer must be visited 3 times within 5 days. TourSolver aims to maintain a 2-day gap between each visit.
Example 2:
Visit frequency = 3/5* The customer must be visited 3 times within 5 days. TourSolver prioritizes assigning all 3 visits to the same resource. In this case, maintaining equal spacing between visits becomes secondary.
Example 3:
Visit frequency = 1/5 The customer must be visited once every 5 days. If Worked days = 1–5, the customer will be visited:
once between days 1–5
once between days 6–10
once between days 11–15 To ensure a specific minimum gap between these visits, you can use the Minimum spacing between visits constraint.
Last updated