public enum SkippedShipment.Types.Reason.Types.Code
Reference documentation and code samples for the Cloud Optimization v1 API enum SkippedShipment.Types.Reason.Types.Code.
Code identifying the reason type. The order here is meaningless. In particular, it gives no indication of whether a given reason will appear before another in the solution, if both apply.
Namespace
Google.Cloud.Optimization.V1Assembly
Google.Cloud.Optimization.V1.dll
Fields |
|
---|---|
Name | Description |
CannotBePerformedWithinVehicleDistanceLimit |
The minimum distance necessary to perform this shipment, i.e. from
the vehicle's Note that for this computation we use the geodesic distances. |
CannotBePerformedWithinVehicleDurationLimit |
The minimum time necessary to perform this shipment, including travel
time, wait time and service time exceeds the vehicle's
Note: travel time is computed in the best-case scenario, namely as geodesic distance x 36 m/s (roughly 130 km/hour). |
CannotBePerformedWithinVehicleTimeWindows |
The vehicle cannot perform this shipment in the best-case scenario
(see |
CannotBePerformedWithinVehicleTravelDurationLimit |
Same as above but we only compare minimum travel time and the
vehicle's |
DemandExceedsVehicleCapacity |
The demand of the shipment exceeds a vehicle's capacity for some
capacity types, one of which is |
NoVehicle |
There is no vehicle in the model making all shipments infeasible. |
Unspecified |
This should never be used. If we are unable to understand why a shipment was skipped, we simply return an empty set of reasons. |
VehicleNotAllowed |
The |