Replies: 4 comments 6 replies
-
Hi, have you checked [1] https://reinterpretcat.github.io/vrp/concepts/pragmatic/problem/relations.html |
Beta Was this translation helpful? Give feedback.
-
If "objectives": [
[
{
"type": "minimize-unassigned"
}
],
[
{
"type": "minimize-tours"
}
],
[
{
"type": "tour-order"
"isConstrained": true
}
],
[
{
"type": "minimize-cost"
}
]
]
Order doesn't provide directly the way to distribute jobs between different vehicles. Theoretically, you can use skills to lock specific jobs to specific vehicle types. |
Beta Was this translation helpful? Give feedback.
-
I have 3 sequences:
Is this the correct way to constraint all tasks in sequence must be handled by 1 vehicle and correct order?
Or should I add whole sequence to 1 job and set group name (group_1), set order for tasks like this?
|
Beta Was this translation helpful? Give feedback.
-
I just checked both examples. The second example is the more precise solution since It would drop whole sequence if some tasks in sequence are not qualified, while the first example don't follow this group/tour constraint. Thanks you, really appriciate your helps. Keep up with your great works :) |
Beta Was this translation helpful? Give feedback.
-
What if I have sequence of pickup and dropoff with fixed order like (PU - PU - PU - DO - PU - DO) and would like to assign this whole sequence to 1 vehicle. Do this project support optimizing this scenario?
From the document, I see that [group] property of job could do something similar to my requirement (all tasks in groups would be assigned in 1 tour or drop them all) but look like It don't support to assign task with defined order and I didn't find example about this property.
Beta Was this translation helpful? Give feedback.
All reactions