-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vehicles priority #359
Comments
No, there is currently no such notion of priority. What vehicle(s) are picked up in the solution is a consequence of the optimization choice, basically it comes down to whatever combination of routes we found that is the cheapest and is valid with regard to all constraints. On the other hand, if you have an heterogeneous fleet, the choice usually makes sense because it's a direct consequence of the way the constraints apply. Items that can impact which vehicles are used are:
In the case you mention of routes that are interchangeable between vehicles with not all vehicles used, the result will be an arbitrary consequence of how vehicles are handled internally during the search phase. |
@jcoupey Any plan to implement a notion of fixed cost for vehicles in order to discriminate equivalent vehicles in term of constraints ? |
@braktar would a "simple" notion of priority be enough for the use-case you have in mind? Vehicles from the initial limited fleet would get a higher priority, while sub-contractors vehicles would have lower priorities depending on initial cost. I get it this would not allow to discriminate between adding a vehicle to handle more jobs versus doing less to mitigate costs. But usually everything need to get done. |
It could do the trick as long as there is no other cost defined at the vehicle level (distance or time cost). |
Usually in real cases we have several types of vehicle cost counting:
|
This would indeed be a great addition to be able to set the costs on a vehicle basis just as you described. Point 3 would actually solve the initial problem reported in this issue. The rest has a much broader scope so I think we should open a dedicated ticket for the cost rework thing. The good news here is that it should be easier now thanks to previous work in #450 that introduced a clear separation internally between the notions of travel duration and cost. |
Closing as a feature that would solve the initial scope is now ticketed in #528. |
Do you have vehicle priority by any rule? For example I have 2 trucks, one 50 tonn and other 100 tonn capacity. And all shipments can be sipped by one of them. Which of them will be selected?
The text was updated successfully, but these errors were encountered: