Jsprit cannot identify two shipments serviced for the same client?

currently you will need a hard activity constraint to force the pickup of Shipment_2 to be inserted after the delivery of Shipment_1.

meanwhile, there is a job refactoring going on and it will be merged in the future. after it is merged, the whole movement of client_1 will be one job instead of two shipments and you will not need the aforementioned constraint.