Skip to main content

Interval optimization

Pre-plan Task frequency for a specified amount of time.

eLogii avatar
Written by eLogii
Updated over a week ago

Interval optimization, or Frequency optimization, lets you automatically create Tasks that need to be executed a specified number of times during a pre-set period. This feature is available on both optimization engines.

Interval optimization import

For example, suppose you have some Tasks that need to be executed 4 times, others 2 times, and the rest once a month. Instead of creating copies of the Tasks for each execution, you can specify the Task frequency in your import file. The frequency is defined in the frequency column, like in the example below:


It is important to specify the date range during which these Tasks occur. You can predetermine any desired date range and the frequency of Tasks within it. The example above illustrates a range of one month, however, you can set any date range.

The main use case of this feature is to import and pre-plan Tasks that occur multiple times during a specific period. For example, suppose you're a delivery business that delivers to clients several times a month or a field service business that visits the same locations multiple times a month. Importing these Tasks might become time-consuming and tedious. This import functionality allows you to add those Tasks to eLogii quickly and efficiently and pre-plan your operations in advance once Tasks are uploaded.

Allowed Week Days and Frequency

You can allow only specific weekdays on which Tasks can be executed by populating the allowedWeekDays column with the desired day name (Mon, Tue, Wed, Thu, Fri, Sat, Sun). You can specify one day or multiple days as comma-separated values. This option will influence the number of Tasks created from frequency import based on the following logic:

When you set up a date range along with specific allowed weekdays, eLogii will automatically break that range down into weekly groups. Each group contains only the dates that fall on your chosen weekdays within that week.

For example:

  • Date range: March 6, 2024 – March 21, 2024

  • Allowed weekdays: Tuesday, Thursday, Friday

The system will return three separate arrays, one for each week in the range, with only the matching dates included. Based on this range, Tasks for the following dates will be created:

  • Week 1 - March 7th 2024 (Thursday), March 8th 2024 (Friday)

  • Week 2 -March 12th 2024 (Tuesday), March 14th 2924 (Thursday), March 15th 2024 (Friday)

  • Week 3 - March 19th 2024 (Tuesday), March 21st 2024 (Thursday)

Executing Interval optimization

Interval optimization can only be done within the Weekly planning view, which means that Weekly planning is a mandatory feature to have Interval optimization available.
To perform interval optimization, switch your view from Daily to Weekly by clicking on the view option switch located on the top bar of the app, next to the Date Picker. This will take you to the Weekly planning view.

Next, select the date range you would like to view on the screen (by default, the view is going to show a one week range), and click on the arrow on the Optimization button and select Interval optimization.

The engine will optimize your Tasks for the specified intervals and will honor any allowed weekday restrictions that were imposed.

Interval optimization and Multiday Routes cannot be used in tandem at the moment.
Using both of these features simultaneously is not possible at the moment because they are activated from two different views. Multiday Routes can be run only from the Daily planning view by selecting the option to optimize for +X number of days (or until the end of the week), while Interval optimization can only be executed from the Weekly planning view by selecting the Interval optimization option before optimizing.

Because these two optimization types are activated separately from different views, they cannot be run together.

Interval Optimization options

The Task interval Optimization behavior can be adjusted in Configuration β‡’ Optimization β‡’ Task interval optimization.

It's possible to do the following:

  • Fix number of days between tasks -Enabling this option allows subsequent Tasks to be scheduled at the same intervals in terms of number of days, instead of the same weekday (for example, every 14 days, instead of every second Tuesday).

  • Allowed variance in intervals (days) - This option allows users to specify the number of days around the exact interval that subsequent Tasks can be scheduled on (for example, +/- 2 days).

Did this answer your question?