Enum OptimizeToursRequest.Types.SolvingMode
Defines how the solver should handle the request. In all modes but
VALIDATE_ONLY
, if the request is invalid, you will receive an
INVALID_REQUEST
error. See
[max_validation_errors][google.maps.routeoptimization.v1.OptimizeToursRequest.max_validation_errors]
to cap the number of errors returned.
Namespace: Google.Maps.RouteOptimization.V1
Assembly: Google.Maps.RouteOptimization.V1.dll
Syntax
public enum OptimizeToursRequest.Types.SolvingMode
Fields
Name | Description |
---|---|
DefaultSolve | Solve the model. Warnings may be issued in [OptimizeToursResponse.validation_errors][google.cloud.optimization.v1.OptimizeToursResponse.validation_errors]. |
DetectSomeInfeasibleShipments | Only populates
[OptimizeToursResponse.validation_errors][google.maps.routeoptimization.v1.OptimizeToursResponse.validation_errors]
or
[OptimizeToursResponse.skipped_shipments][google.maps.routeoptimization.v1.OptimizeToursResponse.skipped_shipments],
and doesn't actually solve the rest of the request ( IMPORTANT: not all infeasible shipments are returned here, but only the ones that are detected as infeasible during preprocessing. |
ValidateOnly | Only validates the model without solving it: populates as many [OptimizeToursResponse.validation_errors][google.maps.routeoptimization.v1.OptimizeToursResponse.validation_errors] as possible. |