Skip to content

[Question] Driver Schedules and Locking Locations to Certain Drivers #1202

@calatian

Description

@calatian

Hello,

I am working on a Vehicle Routing problem and have the basic VRP running, but I need some direction on how to add the following constraints next:

  • Certain locations can only be serviced by a specific driver.

  • Schedules: Each driver has a workday start/end time, as well as available slts throughout the day. The services should only be scheduled within those slots, and of course within their workday. Service times and travel time should also be considered, so that they are able to arrive it to the end depot before their workday ends.

Any help to get me started with these constraints would be very helpful. I am working in Python.
Thanks!

Metadata

Metadata

Assignees

Labels

Doc: Optimization SiteIssue related to https://developers.google.com/optimization/ or Documentation in generalHelp NeededModeling/Usage problemLang: PythonPython wrapper issueSolver: RoutingUses the Routing library and the original CP solver

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions