mixed loading prohibition: split orders into truck versus trailer
Posted: Tue Feb 04, 2025 9:31 am
Hi there,
one of my partners is dealng with an xtour2 challenge that sounds like he could benefit from the mixed loading prohibition (com.ptvgroup.xserver.xtour.MixedLoadingProhibition:
Given:
one of my partners is dealng with an xtour2 challenge that sounds like he could benefit from the mixed loading prohibition (com.ptvgroup.xserver.xtour.MixedLoadingProhibition:
Here's the sample input and also the requested output. From my perspective the MixedLOadingProhibition does not cover this. Therefore the question is: is there an alternative approach?Defines restrictions regarding which categories of orders are disallowed to be mixed on the same trip.
Given:
- Order 1: a predator
- Order 2: a prey
- conflictingCategory1="predator" , conflictingCategory2 = "prey"
- same vehicle but distinct trips
- different vehicles / tours
- predator on the truck
- prey on the trailer
- Is there some workaround to achieve this given result based on a minimal sample
- If the answer is positive: is this a generic approach that can also work with more orders (truck="meat, goat", trailer="tiger, salad")?