- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.14
- 0.1.2
public enum SkippedShipment.Reason.Code extends Enum<SkippedShipment.Reason.Code> implements ProtocolMessageEnum
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.
Protobuf enum google.cloud.optimization.v1.SkippedShipment.Reason.Code
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DISTANCE_LIMIT |
The minimum distance necessary to perform this shipment, i.e. from
the vehicle's Note that for this computation we use the geodesic distances. |
CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DISTANCE_LIMIT_VALUE |
The minimum distance necessary to perform this shipment, i.e. from
the vehicle's Note that for this computation we use the geodesic distances. |
CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DURATION_LIMIT |
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). |
CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DURATION_LIMIT_VALUE |
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). |
CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TIME_WINDOWS |
The vehicle cannot perform this shipment in the best-case scenario
(see |
CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TIME_WINDOWS_VALUE |
The vehicle cannot perform this shipment in the best-case scenario
(see |
CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TRAVEL_DURATION_LIMIT |
Same as above but we only compare minimum travel time and the
vehicle's |
CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TRAVEL_DURATION_LIMIT_VALUE |
Same as above but we only compare minimum travel time and the
vehicle's |
CODE_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. |
CODE_UNSPECIFIED_VALUE |
This should never be used. If we are unable to understand why a shipment was skipped, we simply return an empty set of reasons. |
DEMAND_EXCEEDS_VEHICLE_CAPACITY |
The demand of the shipment exceeds a vehicle's capacity for some
capacity types, one of which is |
DEMAND_EXCEEDS_VEHICLE_CAPACITY_VALUE |
The demand of the shipment exceeds a vehicle's capacity for some
capacity types, one of which is |
NO_VEHICLE |
There is no vehicle in the model making all shipments infeasible. |
NO_VEHICLE_VALUE |
There is no vehicle in the model making all shipments infeasible. |
UNRECOGNIZED |
|
VEHICLE_NOT_ALLOWED |
The |
VEHICLE_NOT_ALLOWED_VALUE |
The |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |