Class LoadLimit (0.1.1)

LoadLimit(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Defines a load limit applying to a vehicle, e.g. "this truck may only carry up to 3500 kg". See load_limits.

Attributes

NameDescription
max_load int
The maximum acceptable amount of load. This field is a member of oneof_ _max_load.
soft_max_load int
A soft limit of the load. See cost_per_unit_above_soft_max.
cost_per_unit_above_soft_max float
If the load ever exceeds soft_max_load along this vehicle's route, the following cost penalty applies (only once per vehicle): (load - soft_max_load) \* cost_per_unit_above_soft_max. All costs add up and must be in the same unit as Shipment.penalty_cost.
start_load_interval google.cloud.optimization_v1.types.Vehicle.LoadLimit.Interval
The acceptable load interval of the vehicle at the start of the route.
end_load_interval google.cloud.optimization_v1.types.Vehicle.LoadLimit.Interval
The acceptable load interval of the vehicle at the end of the route.

Classes

Interval

Interval(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Interval of acceptable load amounts.