Route optimization with Route Optimization API and Fleet Engine
Stay organized with collections
Save and categorize content based on your preferences.
This document provides an overview for how to perform fleet-wide route
optimization for your daily delivery operations using two products:
Fleet Engine
Route Optimization API (GMPRO)
By itself, Fleet Engine can take input from any route solver using the route
plans you provide to the Fleet Engine backend. However, if you don't have your
own route solver, or if you are interested in exploring other routing solutions,
you can use Route Optimization API in conjunction with Fleet Engine to do
continuous route optimization throughout the day.
Introduction
In your daily delivery operations, your fleet solution would typically use the
Fleet engine service for the following route optimization workflows:
Initial route planning—Define your daily route plans using your route
solver and input them into Fleet Engine for visibility by drivers,
execution, and tracking.
Re-optimization—Select specific routes in the middle of the day to
address route changes, such as traffic issues or changes to time windows,
and re-optimize for more streamlined driver and customer experience.
New stop allocations—Allocate new stops, such as ad hoc pickup requests,
across existing routes.
the Route Optimization API and Fleet Engine provide a combination of planning
and tracking capabilities to make this possible.
Route Optimization API
The Google Maps Platform Route Optimization API (GMPRO) addresses complex
vehicle routing needs. An example is creating a plan for deliveries and delivery
vehicles, while also applying constraints such as pickup time and package
weight. GMPRO can create routing plans either asynchronously or in near real
time, depending on the number of vehicles in your routing plan. For more
information about Route Optimization, see the Route Optimization API
documentation.
Fleet Engine
Fleet Engine is part of Mobility services. With Fleet Engine,
you model your fleet, plan driver activities, and maintain real-time tracking of
packages as your drivers deliver them. Modeling your fleet involves defining
vehicles, tasks, stops, and route segments.
System components
The following diagram describes how your own systems would integrate Fleet
Engine, Mobility services APIs, and the Route Optimization API for a system that
enhances and optimizes your planning and daily fleet operations. In this
diagram, GMPRO uses Google Maps Distance Matrix services and data for its
problem solving, but your integration can use other providers instead.
Each component serves a specific purpose in your fleet management
system:
Your driver application — You create iOS and Android mobile applications
for your drivers using the Driver and Navigation SDKs. The Driver SDK
enables real-time updates of deliveries, vehicle locations, and order
statuses, which you can display in your app. See the
Driver SDK user guides for On-demand trips
(Android,
iOS).
See the Navigation SDK documentation.
Your operations — You can create a web dashboard built with Google Fleet
Tracking Library to show live data from all vehicles. With this, you can
orchestrate and monitor your fleet.
Your systems — Your backend services and databases enable
the secure daily operations of your business.
Google Systems — Route Optimization API uses the Distance Matrix API
to find travel distance and time for multiple locations.
Next steps
If you are interested in exploring how to integrate Fleet Engine with Route
Optimization API, see the following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis guide outlines how to optimize fleet-wide delivery routes using Fleet Engine and the Route Optimization API (GMPRO).\u003c/p\u003e\n"],["\u003cp\u003eFleet Engine manages and tracks deliveries, while GMPRO provides advanced route planning capabilities.\u003c/p\u003e\n"],["\u003cp\u003eYour system can use GMPRO to generate optimal routes and then feed them into Fleet Engine for driver execution and monitoring.\u003c/p\u003e\n"],["\u003cp\u003eThe setup involves integrating your driver app, operations dashboard, and backend systems with Fleet Engine and GMPRO.\u003c/p\u003e\n"],["\u003cp\u003eThis solution offers initial route planning, mid-day re-optimization, and allocation of new stops to existing routes for enhanced efficiency.\u003c/p\u003e\n"]]],[],null,["This document provides an overview for how to perform fleet-wide route\noptimization for your daily delivery operations using two products:\n\n- Fleet Engine\n- Route Optimization API (GMPRO)\n\n| **Note:** This documentation is meant for integration guidance only. You should ensure quality prior to use with your applications.\n\nBy itself, Fleet Engine can take input from any route solver using the route\nplans you provide to the Fleet Engine backend. However, if you don't have your\nown route solver, or if you are interested in exploring other routing solutions,\nyou can use Route Optimization API in conjunction with Fleet Engine to do\ncontinuous route optimization throughout the day.\n\nIntroduction\n\nIn your daily delivery operations, your fleet solution would typically use the\nFleet engine service for the following route optimization workflows:\n\n- **Initial route planning**---Define your daily route plans using your route solver and input them into Fleet Engine for visibility by drivers, execution, and tracking.\n- **Re-optimization**---Select specific routes in the middle of the day to address route changes, such as traffic issues or changes to time windows, and re-optimize for more streamlined driver and customer experience.\n- **New stop allocations**---Allocate new stops, such as ad hoc pickup requests, across existing routes.\n\nthe Route Optimization API and Fleet Engine provide a combination of planning\nand tracking capabilities to make this possible.\n\n**Route Optimization API**\n\nThe Google Maps Platform Route Optimization API (GMPRO) addresses complex\nvehicle routing needs. An example is creating a plan for deliveries and delivery\nvehicles, while also applying constraints such as pickup time and package\nweight. GMPRO can create routing plans either asynchronously or in near real\ntime, depending on the number of vehicles in your routing plan. For more\ninformation about Route Optimization, see the [Route Optimization API\ndocumentation](https://developers.google.com/maps/documentation/route-optimization).\n\n**Fleet Engine**\n\nFleet Engine is part of Mobility services. With Fleet Engine,\nyou model your fleet, plan driver activities, and maintain real-time tracking of\npackages as your drivers deliver them. Modeling your fleet involves defining\nvehicles, tasks, stops, and route segments.\n\nSystem components\n\nThe following diagram describes how your own systems would integrate Fleet\nEngine, Mobility services APIs, and the Route Optimization API for a system that\nenhances and optimizes your planning and daily fleet operations. In this\ndiagram, GMPRO uses Google Maps Distance Matrix services and data for its\nproblem solving, but your integration can use other providers instead.\n\nEach component serves a specific purpose in your fleet management\nsystem:\n\n- **Your driver application** --- You create iOS and Android mobile applications for your drivers using the Driver and Navigation SDKs. The Driver SDK enables real-time updates of deliveries, vehicle locations, and order statuses, which you can display in your app. See the Driver SDK user guides for On-demand trips ([Android](/maps/documentation/mobility/driver-sdk/on-demand/android), [iOS](/maps/documentation/mobility/driver-sdk/on-demand/ios)). See the [Navigation SDK documentation](/maps/documentation/navigation).\n- **Your operations** --- You can create a web dashboard built with Google Fleet Tracking Library to show live data from all vehicles. With this, you can orchestrate and monitor your fleet.\n- **Your systems** --- Your backend services and databases enable the secure daily operations of your business.\n- **Google Systems** --- Route Optimization API uses the [Distance Matrix API](/maps/documentation/routes_preferred/compute_route_matrix) to find travel distance and time for multiple locations.\n\nNext steps\n\nIf you are interested in exploring how to integrate Fleet Engine with Route\nOptimization API, see the following:\n\n- [Fleet Engine documentation](/maps/documentation/mobility/fleet-engine)\n- [Route Optimization API documentation](/maps/documentation/route-optimization)"]]