Envía un OptimizeToursRequest que contiene un ShipmentModel y muestra un OptimizeToursResponse que contiene ShipmentRoute, que son un conjunto de rutas que deben realizar los vehículos para minimizar el costo general.
Esta es una variante del método OptimizeToursLongRunning diseñada para optimizaciones con valores de tiempo de espera grandes y tamaños de entrada y salida grandes.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-05-13 (UTC)"],[[["This resource represents Route Optimization within Google Maps Platform and does not store persistent data."],["It offers two primary methods: `batchOptimizeTours` for optimizing multiple vehicle tours at once and `optimizeTours` for optimizing a single set of routes based on a provided model."],["These methods allow users to minimize overall transportation costs by generating efficient vehicle routes for deliveries or other logistical operations."]]],["The resource described has no persistent data. Key actions involve optimizing vehicle tours. The `batchOptimizeTours` method optimizes tours for multiple `OptimizeToursRequest` messages in a batch. The `optimizeTours` method handles a single `OptimizeToursRequest`, which includes a `ShipmentModel`, and returns an `OptimizeToursResponse`. This response provides `ShipmentRoute`s designed to minimize the overall cost of the routes.\n"]]