Docs
Routing optimisation.
Trackely uses a propose, explain, confirm, and apply workflow. The optimiser never auto-applies route changes.
Constraints
- Time windows per stop, including hard and soft behaviour
- Service time included in ETA and lateness calculation
- Vehicle capacity where weight or volume data is provided
Scoring priorities
Candidate orders are ranked in this order:
- Hard constraint violations
- Total lateness minutes
- Cost estimate
- CO2 estimate
- Distance
Eco score
ecoScore is a relative 0 to 100 score within the evaluated candidates.
Google Routes configuration
GOOGLE_MAPS_SERVER_KEYfor server-side geocoding and routesNEXT_PUBLIC_GOOGLE_MAPS_API_KEYfor browser-side map rendering
If these are unavailable, Trackely uses a deterministic local fallback so optimisation still works in development.
Common failure modes
- Missing depot or stop coordinates
- Invalid time windows
- Infeasible hard windows