Hard constraint to keep visit dependency pairs assigned together (no orphaned preceding visits)
complete
H
Harry Pickthall
For a visit dependency A→B, add a hard constraint guaranteeing that A is never assigned while B is unassigned — so the pair is either planned together or not at all.
Current gap
The existing prerequisite-assigned constraint ensures B is never scheduled without A, but nothing enforces the other direction. The solver can schedule A and leave B unassigned — including onto a vehicle that, under coordination: SAME_VEHICLE, can never serve B (outside its coverage area or missing a required skill), making B permanently unassignable with no hard score impact.
Use case
Our preceding visits are parts collections from depots feeding a repair job on the same vehicle. A parts pickup without its repair job is pure wasted work: an engineer drives to collect parts for a visit that isn't happening — and if the pickup lands on a van that can't reach or do the job, the pair can never be completed together. This gap has forced us to move the affected jobs back to manual planning.
Log In
Jurriaan Persyn
updated the status to
complete
We’re excited to let you know that this feature is now available since our last release.
Thank you for sharing your feedback, it helps us make Timefold even better for you.
To start using the feature, see https://feedback.timefold.ai/changelog/comparison-csv-export-imperial-units-employee-groups-and-demand-coverage-kpis-es for more details. If you have any questions or further suggestions, feel free to reach out!
Jurriaan Persyn
VP Product
Brecht De Moor
updated the status to
in progress
Hi,
This feature request is currently being implemented. We’ll update here once the feature is implemented and makes it into production. Make sure to subscribe to our changelog to receive updates about each new version.
Regards,
Brecht De Moor
Product Manager
Brecht De Moor
updated the status to
under review
Thanks for submitting your feature request! From your post it’s clear what the need is.
We will evaluate its priority and keep this idea up to date once it makes the roadmap.
Regards,
Brecht De Moor
Product Manager