Route Optimization API 和 Fleet Engine 结合使用,可提供规划和跟踪功能,从而实现这一目标。
Route Optimization API
Google Maps Platform 路线优化 API (GMPRO) 可满足复杂的车辆路线规划需求。例如,您可以制定送货和送货车辆计划,同时应用取货时间和包裹重量等限制条件。GMPRO 可以异步或近乎实时地创建路线规划,具体取决于路线规划中的车辆数量。如需详细了解路线优化,请参阅 Route Optimization API 文档。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\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)"]]