plan_routes
Plan fleet routes for a date with capacity and time-window constraints, returning per-vehicle stop sequences, ETAs, distances, and durations. Identifies unassigned deliveries with reasons and saves the plan for editing.
Instructions
Plan routes for the fleet on a date (CVRPTW). Returns per-vehicle stop sequence, ETA, distance and duration, plus deliveries that could not be assigned and why. Persists the plan so it can be inspected and edited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD | |
| objective | No | distance | |
| vehicle_ids | No | ||
| traffic_factor | No | travel-time multiplier (>=1) |