Create Strategic Optimizations – Strategic Cycle Planning With Recurring Route Scenarios

Route4Me’s Strategic Optimizations simplify complex strategic cycle planning tasks for multi-frequency delivery and service schedules over extended planning periods. Sync data via SFTP, upload Locations with schedules, evaluate multiple optimization scenarios, and create recurring route plans for thousands of routes with weekly, bi-weekly, or other schedules with one click.

All you have to do is upload your data, pick your settings, and Route4Me’s enterprise route optimization API will handle the rest according to your recurring schedules. In this guide, you’ll learn how to create Strategic Optimizations to use them for selecting the most optimal high-volume recurring route scenarios.

Learn how to create Strategic Optimizations to use them for selecting the most optimal high-volume recurring route scenarios.

NOTE:Cycle” in Recurring Routing with Strategic Optimizations refers to an instance when a specific Recurring Schedule repeats.

 

 

Upload Locations – Plan Multi-Frequency Recurring Routes From Spreadsheet

To create new Strategic Optimizations, go to “Strategic Routing” > “Plan New Scenarios” from the Navigation Menu. Then, either click “Browse Files” and select a file from your device or simply drag and drop a spreadsheet file into the “Upload Locations” field.

Additionally, you can download a template file where you can enter your Customer Location data or use as an example when preparing your spreadsheet for upload. Simply click the “Download a template file” link.

Create Strategic Optimizations

Create new Strategic Optimizations by uploading customer location and schedule data.

 

You can also start creating a new Strategic Optimization from your Scenarios Page. Simply click the the “Create Optimization” button in the top-right. Then, proceed by adding your locations data file as described above.

Planning hundreds and even thousands of routes, all with different recurring schedules and visitation frequencies, is easy with the Strategic Route Planner.

 

Route4Me will automatically validate your data and map it to internal variables for optimization. If a column wasn’t validated, click the Down Arrow and select the correct data type from the menu. Once you’ve confirmed your uploaded data, click “Continue“.

Alternatively, you can select “Ignore” to omit columns from processing. Similarly, if a data column is necessary but not already listed, select “Custom” to map that column’s data to destinations as Route4Me Custom Data.

Route4Me will automatically validate your data and map it to internal variables for optimization. If a column wasn't validated, click the Down Arrow and select the correct data type.

NOTE: Especially large datasets with thousands of locations and complex schedules may take slightly longer to optimize.

 

Locations Spreadsheet – Data Columns And Formatting For Strategic Optimizations

Formatting a spreadsheet for strategic planning is similar to regular Route4Me Spreadsheet Formatting. The table below outlines supported data and shows mandatory columns for strategic optimization with recurring routing.

Download Example Locations Spreadsheet

NOTE: If a location has no specific schedule and should be visited once per cycle, all scheduling fields must be left blank.

Column (Key)DescriptionMandatoryExpected Value
Address (address)Street address of the location. Can be used alone or alongside coordinates.Text
Days (scheduler_days)Days of the week of a planning cycle on which a location should be included in routes.mon, tue, wed, thu, fri, sat, sun
Starting Cycle (scheduler_starting_cycle)On which cycle of the recurring schedule should the location first be included in routes.Number
Days Between Cycle (scheduler_days_between_cycle)Number of days between planned visitation cycles.Number
Days Range (scheduler_days_range)Adds days before and after the Days Between Cycle value to account for delays and scheduling specifics.Number
Visits Per Cycle (scheduler_visits_per_cycle)Maximum number of times the location can be included in routes per recurring schedule cycle.Number
Days Between Visits (“scheduler_min_days_between_visits”)Minimum number of days that must pass before the location can be scheduled for another visit.Number
Alias (alias)Name of the location, used to easily identify locations and find them via search fields.Text
Depot (is_depot)If the location is a route origin point (depot) or a destination location.TRUE/FALSE
Time Window Start (time_window_start)Time of day from which the location is available for visit.Time (hh:mm)
Time Window End (time_window_end)Time of day till which the location is available for visit.Time (hh:mm)
Service Time (service_time)Duration of planned location visit in seconds.Time (ss)
Latitude (lat)Coordinate indicator of the location.Coordinate
Longitude (lat)Coordinate indicator of the location.Coordinate
Customer UUID (CustomerUUID)Unique internal ID used to identify a unique Customer in the systemUUID String
Frequency (frequency)How often the location can be planned for visitation when scenario routes are accepted.Number

 

Configure And Compare Optimization Settings For Strategic Scenarios

Once you’ve imported your data, you can configure optimization settings. The “Configuration” window will automatically open with the “Form” tab selected. To configure your Strategic Scenarios, follow these steps:

  1. Select the Scenario you want to adjust settings for.
    You can add more scenarios by clicking “Add Scenario” at the bottom of the list.
  2. Enter your settings in the correponding fields of the configuration form.
    Learn more about available configuration fields in the table below.
  3. Once you’ve set up your strategic optimization scenarios, click the “Create” button.

Route4Me will automatically use your Customer Location data and strategic optimization scenario settings to create the most optimal recurring routes according to your preferences.

Once you've imported your data, you can configure optimization parameters for strategic cycle planning. The 'Configuration' will automatically open with the 'Form' tab selected.

ConfigurationDescription
Scenario
Scheduler NameName the scheduling scenario so it’s easy to find and reuse when planning cycles.
CyclesHow many complete cycles to execute (cycle = 1 week by default). For example, enter “4” to plan 4 weeks. This determines how far ahead your routing schedule extends.
Cycle LengthLength of each planning cycle in days. The default is 7 days (weekly). Adjust for custom planning periods – use “1” for daily, “14” for bi-weekly, or “30” for monthly cycles. Blackout Days still apply within each cycle.
Schedule
TimezoneThe timezone of your depot, facility, or departure address. Time Windows at customer destinations will use this timezone.
Start DateThe first day of the planning period. The default is the current date (when optimizing). Set to a future date to prepare schedules in advance.
Route Start TimeRoutes will start at the specified time in the corresponding timezone (not your account timezone).
Flexible Start TimeSet an earliest and latest time of day during which routes can start. Flexible Start Time enables optimal Time Windows route planning.
Blackout DaysWeekdays to exclude from route planning, such as non-business days.
Blackout DatesCalendar dates to exclude from route planning, such as bank holidays, facility maintenance dates, etc.
Optimization
Route EndSelect the final destination type of routes in the scenario. Routes can end at any address for optimal route sequencing, end at the departure address for round trip routing, or end at the last address in the uploaded sequence.
Business RulesInput per-route constraint values such as maximum distance, vehicle capacity, number of destinations, etc. NOTE:Max Route Duration” is required.
Traffic AdjustmentSet Service Time and Travel Time Slowdown values to account for heavy traffic, service delays, etc.

 

To easily compare the optimization configurations of different scenarios, click the “Table” tab. You’ll see a data table showing optimization settings as columns for each scenario. Once you’ve confirmed everything is in order, click “Create” to proceed.

To easily compare the optimization configurations of different scenarios, click the 'Table' tab. You'll see a data table showing optimization settings as columns for each scenario.

 

Manually Adjust Strategic Optimization Settings In JSON Editor

You can also configure strategic optimization settings directly in the JSON editor, which you can open by clicking the “JSON”  tab. Use the blue bar above the editor for formatting.

The table below shows a list of configuration parameters for recurring strategic cycle optimization, and you can find a JSON code snippet with the minimal necessary settings beneath the table.

Once you've imported your data, you can configure optimization parameters for strategic cycle planning using the JSON format. Additionally, you can use the blue bar above the configurator to format your JSON text.

ConfigurationDescriptionExample Value
route_max_durationMaximum route duration in seconds.28800” (8 hours)
route_dateRoute start date expressed as a UTC unix timestamp in seconds.1893452400” (01.01.2030)
rtRound Trip configuration. Defines whether the route ends at the final destination or returns to the depot.TRUE” or “FALSE
route_timeScheduled route start time relative to “route_date” in seconds.43200” (12PM)
partsLimits the maximum number of routes that can be scheduled on the same day.99
vehicle_capacityMaximum number of units vehicles can carry.99
vehicle_max_distance_miMaximum distance vehicles can travel (in miles) used as a constraint when planning routes.420
vehicle_max_cargo_weightMaximum vehicle weight capacity constraint used for planning routes.450
vehicle_max_cargo_volumeMaximum vehicle cubic volume capacity constraint used for planning routes.1800
max_tour_sizeMaximum number of destinations for routes in a scenario.20
lock_lastDetermines if the final destination on the route will be fixed (same as final destination in the uploaded file).TRUE” or “FALSE
breaksDriver Breaks JSON list. Automatically inserts Break Destinations based on the “mode” value (0: Elapsed Time, 2: travel Time, 3: Locations Visisted) according to the variable parameters (see example).{“mode”: 2,”mode_params”: [3600],”repeats_number”: 1,”duration”: 1800}
advanced_constraintsJSON list which contains advanced route planning constraints values such as “max_capacity“, “max_cargo_weight“, “max_cargo_volume“, “members_count“, “available_time_windows[{“max_capacity”:50,”max_cargo_weight”:7200,”max_cargo_volume”:1000,”}]
balanceJSON object which defines a “mode” for route balancing, currently supports balancing routes based on destination count.{“mode”: “destinations_count”}
subtour_max_revenueMaximum revenue per route in the scenario.1200
slowdownsJSON object which includes Traffic Slowdown configurations (Service Time Slowdown, Travel Time Slowdown).N/A
service_timeService Time Slowdown expressed as a percentage value in the “slowdowns” JSON object.25” (25%)
travel_timeTravel Time Slowdown expressed as a percentage value in the “slowdowns” JSON object.25” (25%)
is_flexible_start_timeDefines whether planned routes will use Flexible Start Time scheduling.true” or “false
flexible_start_timeJSON object which includes the earliest and latest start time values for dynamic route start time scheduling with time windows.N/A
earliest_startEarliest permitted route start time relative to “route_date” in seconds.43200” (12PM)
latest_startLatest permitted route start time relative to “route_date” in seconds.46800” (1PM)
timezoneTime zone for route scheduling set in your Account Settings.America/New York
schedulerJSON object which contains route schedule data.N/A
start_dateCalendar date on which the first strategic cycle is scheduled to begin.2030-07-04
cyclesNumber of planned strategic cycles to optimize routes for.4
blackout_daysDays of the week to omit when creating recurring route cycles.[“sat”, “sun”]
blackout_datesCalendar dates, such as Holidays, to omit from recurring route cycles.[“12-25”, “01-01”]
scheduler_nameCustom name of the configuration with your current settings.Strategic Scheduler
[
 {
  "route_max_duration": 28800,
  "rt": 1,
  "route_time": 43200,
  "parts": 99,
  "slowdowns": {
   "service_time": 10,
   "travel_time": 10
  },
  "is_flexible_start_time": false,
  "timezone": "America/New_York",
  "scheduler": {
   "start_date": "2030-01-01",
   "cycles": 4,
   "blackout_days": [],
   "blackout_dates": []
  },
  "scheduler_name": "Strategic Cycle Planning Configuration",
 }
]

 

Open And Manage New Strategic Optimizations And Scenarios

Route4Me will automatically generate the most efficient recurring route cycles and Scenarios according to your settings. You can find them in your account’s Strategic Optimizations, where you can view, filter, and manage Optimizations and their associated Scenarios.

Open Your Strategic Optimizations

Route4Me will automatically generate the most efficient recurring route cycles and Scenarios according to your settings. You can then and open them from your account's Strategic Optimizations.

 

 

Last Updated:

About author: Kristian Andreev

Kristian is a Technical Writer at Route4Me. With over a decade of experience in writing and localization, he's an expert at communicating complex technical data in a clear, concise, and user-friendly way. Passionate about bridging the gap between engineers and users, he specializes in creating documentation to streamline onboarding, enhance product usability, and support global teams on the path to success.

Was this article helpful?
Still can't find what you're looking for? Contact us
Route4Me

About Route4Me

Route4Me has over 40,000 customers globally. Route4Me's Android and iPhone mobile apps have been downloaded over 2 million times since 2009. Extremely easy-to-use, Route4Me's apps create optimized routes, synchronize routes to mobile devices, enable communication with drivers and customers, offer turn-by-turn directions, delivery confirmation, and more. Behind the scenes, Route4Me's operational optimization platform combines high-performance algorithms with data science, machine learning, and big data to plan, optimize, and analyze routes of almost any size in real-time.