Hi,
I have constraint not not mixing certain shipments in same vehicle.
exampe :
We have consignments going to OEMs vs non OEM.
We do not want to mix consignments/shipments going to different OEMs in same vehicle, however, consignments going to non OEM can go with any OEM. Asssume shipment data as below.
shipment1, OEM1
shipment2, OEM1
shipment3, OEM2
shipment4,OEM2
shipment5, NON-OEM
shipment6,NON-OEM
In this above example,
shipment 1,2,5 and 6 can be planned in same vehicle.
Shipment 1 and 3 cannot be planned in same vehicle.
Shipment 3,4,5 and 6 can be planned in same vehicle.
shipment 1and 4 cannot be planned in same vehicle.
Please suggest solution as to how we can define constraint in graphhopper.