Understand why jobs could not be assigned to resources
onlyUnassigned
option:
unservedReasons
map that explains why each unassigned job could not be scheduled:
Reason | Description |
---|---|
DATE_TIME_WINDOW_CONFLICT | Job’s time window doesn’t overlap with any available resource shift |
SHIFT_TIME_CONFLICT | Resource shift cannot accommodate the job duration |
TRIP_CAPACITY | Vehicle capacity exceeded |
TAGS | Resource lacks required tags for the job |
onlyUnassigned: true
improves performance by only analyzing unassigned jobs