GraphHopper.com | Forum | GitHub | Maps | Blog

Job unassigned reason?


#1

How do I check reason for unassigned jobs in 1.7.2 or later?


#2

Add algorithm listener,
UnassignedJobReasonTracker reasonTracker = new UnassignedJobReasonTracker();
algorithm.addListener(reasonTracker);

Pass job id of unassigned shipment to “reasonTracker” to get reason code and description.