Stop module¶
Reference to the schema.stop.py module.
stop
¶
Defines the stop class.
StopDefaults
¶
Bases: BaseModel
Default values for a stop.
compatibility_attributes
class-attribute
instance-attribute
¶
Attributes that the stop is compatible with.
duration
class-attribute
instance-attribute
¶
Duration of the stop in seconds.
early_arrival_time_penalty
class-attribute
instance-attribute
¶
Penalty per second for arriving at the stop before the target arrival time.
late_arrival_time_penalty
class-attribute
instance-attribute
¶
Penalty per second for arriving at the stop after the target arrival time.
max_wait
class-attribute
instance-attribute
¶
Maximum waiting duration in seconds at the stop.
start_time_window
class-attribute
instance-attribute
¶
Time window in which the stop can start service.
target_arrival_time
class-attribute
instance-attribute
¶
Target arrival time at the stop.
unplanned_penalty
class-attribute
instance-attribute
¶
Penalty for not planning a stop.
Stop
¶
Bases: StopDefaults
Stop is a location that must be visited by a vehicle in a Vehicle Routing Problem (VRP.)
custom_data
class-attribute
instance-attribute
¶
Arbitrary data associated with the stop.
mixing_items
class-attribute
instance-attribute
¶
Defines the items that are inserted or removed from the vehicle when visiting the stop.
precedes
class-attribute
instance-attribute
¶
Stops that must be visited after this one on the same route.
succeeds
class-attribute
instance-attribute
¶
Stops that must be visited before this one on the same route.
compatibility_attributes
class-attribute
instance-attribute
¶
Attributes that the stop is compatible with.
duration
class-attribute
instance-attribute
¶
Duration of the stop in seconds.
early_arrival_time_penalty
class-attribute
instance-attribute
¶
Penalty per second for arriving at the stop before the target arrival time.
late_arrival_time_penalty
class-attribute
instance-attribute
¶
Penalty per second for arriving at the stop after the target arrival time.
max_wait
class-attribute
instance-attribute
¶
Maximum waiting duration in seconds at the stop.
start_time_window
class-attribute
instance-attribute
¶
Time window in which the stop can start service.
target_arrival_time
class-attribute
instance-attribute
¶
Target arrival time at the stop.
unplanned_penalty
class-attribute
instance-attribute
¶
Penalty for not planning a stop.
AlternateStop
¶
Bases: StopDefaults
An alternate stop can be serviced instead of another stop.
custom_data
class-attribute
instance-attribute
¶
Arbitrary data associated with the stop.
compatibility_attributes
class-attribute
instance-attribute
¶
Attributes that the stop is compatible with.
duration
class-attribute
instance-attribute
¶
Duration of the stop in seconds.
early_arrival_time_penalty
class-attribute
instance-attribute
¶
Penalty per second for arriving at the stop before the target arrival time.
late_arrival_time_penalty
class-attribute
instance-attribute
¶
Penalty per second for arriving at the stop after the target arrival time.
max_wait
class-attribute
instance-attribute
¶
Maximum waiting duration in seconds at the stop.
start_time_window
class-attribute
instance-attribute
¶
Time window in which the stop can start service.
target_arrival_time
class-attribute
instance-attribute
¶
Target arrival time at the stop.
unplanned_penalty
class-attribute
instance-attribute
¶
Penalty for not planning a stop.