Feature Idea: Pickup & Delivery Constraint for Incompatible Order Combinations #790
Replies: 3 comments 7 replies
-
|
Thanks @Kobe-Kwanten @rg20 advises as a low-cost modeling level option - "This can be handled in modeling layer by setting huge cost values between pickup location of X and pickup location of Y, that way the solver is prevented/discouraged to pick such a combination. If there are still gaps, then we can think of implementing such a feature." |
Beta Was this translation helpful? Give feedback.
-
|
This route will not be possible with the approach I suggested as x2_dropoff -> y_dropff is forbidden. In my description, I am referring to x and y as a groups of orders not just one particular order. |
Beta Was this translation helpful? Give feedback.
-
|
@bbozkaya for viz |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Idea: Pickup & Delivery Constraint for Incompatible Order Combinations
I want to propose an idea for enhancing cuOpt’s pickup and delivery order constraints. Specifically, I think it could be very valuable to support a constraint that lets users define which order types can or cannot be combined in the same vehicle route.
Use Case Example
In pickup-and-delivery logistics, there are scenarios where some order types should never be together, even if all vehicles can perform all orders.
For example Imagine transporting chemicals / dangerous cargo:
So, if vehicle A is assigned to pick up and deliver chemical X at any point in its route, it cannot be assigned to transport chemical Y (at the same time or overlapping on the route), and vice versa.
Proposed Feature
Potential API/Config Example
In this example, chemical_X is incompatible with chemical_Y and biohazard_A is incompatible with food_B.
This type of configuration would require an additional field on tasks or pickup and delivery pairs that would indicate the type of order.
The strings are for the sake of example, a numeric type field could work similarly.
Benefits
Would love to hear if this resonates with others, or if there’s a current cuOpt approach I’ve missed.
I'm not well-versed in the inner workings of cuOpt, but I'm happy to assist in any way that I'm able to!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions