← Back to blog

Route optimization

Objectives and constraints are not the same in route planning

A practical method for separating goals, operational limits and data before organizing the stops on a route.

By Time Genne

A route can have a short sequence and still fail operationally. The vehicle may not hold the load. The driver may have limited working hours. A delivery may require a specific time. Before organizing stops, the team needs to separate its intended outcome from the limits it must respect.

The documentation for Google's Route Optimization API presents this distinction directly: objectives are business goals; constraints are limits on physical assets. Objectives mentioned include travel efficiency, on-time arrival, vehicle usage cost and load balancing. Constraints include driver working hours, vehicle capacity, time windows, dependencies and compatibility.

This structure helps prepare a better route even when the operation does not use this API.

Start with the route's objective

Define what needs to improve before changing the stop sequence. The priority may be reducing distance, completing a delivery at a set time, using fewer vehicles or distributing tasks more evenly.

These goals can conflict. Reducing total distance does not, by itself, guarantee arrival within every time window. Distributing tasks evenly can also require more travel. Record the priority and the criteria used to review the result.

In Genne's delivery route planner, the public capability is to organize the stop sequence and help plan the route. The page also states that the app organizes routes with multiple stops, shows the route on the map and keeps delivery execution in the same app.

List constraints before ordering stops

After defining the objective, record the limits that cannot be ignored. Google's documentation uses concrete examples:

  • Driver working hours and breaks.
  • Vehicle load capacity.
  • Specific times for deliveries or services.
  • Dependencies between tasks.
  • Compatibility between the vehicle, sequence and load conditions.

This list prevents treating every stop as interchangeable. A delivery with a time window does not have the same flexibility as one without a defined time. A task requiring a specific vehicle should not be added to just any route either.

The central point is simple: the sequence must fit the actual operation.

Structure the data supporting the decision

The model described by Google includes shipments, vehicles, time constraints and cost parameters. For a delivery team, this translates into data that must be clear before departure:

  • Address and task at each stop.
  • Estimated service duration.
  • Load size or weight when relevant.
  • Available vehicle and its capacity.
  • Start, end and breaks of the working day.
  • Service time window.
  • Cost or priority guiding the choice.

Incomplete data produces a route that looks organized on the map but leaves decisions to the driver on the road. The step-by-step guide to route planning recommends gathering addresses, organizing stops, reviewing the route and carrying out deliveries in the same workflow.

Review results against explicit criteria

An optimization system's response may include the visit sequence, assigned tasks, estimated times and distance, time and cost metrics. Even without reproducing that technical model, the operation can review the route with clear questions:

  • Does the sequence respect the specified time windows?
  • Does the load fit in the assigned vehicle?
  • Does the working day allow for travel, service and breaks?
  • Are dependent tasks in the correct order?
  • Does the route meet the objective defined at the start?

If the answer is no, adjust the data or priority before departure. Do not treat the first sequence as final.

For operations that need to exchange data between systems, Genne also maintains a public page on API and TMS integration. This area addresses the exchange of freight, event and execution data with traceability for each operation.

Separating objectives from constraints makes planning verifiable. The team knows what it is trying to improve, which limits it must preserve and which data to review before taking the route onto the road.

To apply this guide to your work, see how to plan delivery routes and explore the Genne delivery route planner.