Replies: 2 comments 1 reply
-
Hi, thanks for feedback! Few notes:
At the beginning of the search, the
As I mentioned above, I think you can replace
I hope this helps |
Beta Was this translation helpful? Give feedback.
-
Hi, appreciate your quick answer! Sorry for not providing the correct response, first of all. I will attach you both, the original request and the response, to this answer (see attached "All vehicles_Request" and "All vehicles_Response"). Now, regarding your feedback:
Actually, the capacity type 1 of the jobs exceeds the capacity type 1 of the vehicles at three of the four vehicles. But for two of them I got an optimized result back. For another test, I gave the algorithm just the vehicle "66_1" with the exact same jobs and the exact same relations. Surprisingly, I got an optimized tour back with jobs that couldn't be assigned and the corresponding reason "capacity constraint" (see attached "Only vehicle 66_Request" and "Only vehicle 66_Response").
My goal: If I would use skills, then I would give the first 2 jobs the skill "red", the other 2 jobs the skill "green" and the remaining 6 jobs get "yellow". "Vehicle 1" gets skill "red" and "yellow", "Vehicle 2" gets skill "green" and "yellow", "Vehicle 3" gets skill "yellow". In this constellation, I can't make sure that "Vehicle 1" and "Vehicle 2" really get the jobs with skill "red" respectively "green" prioritized and not only jobs with skill "yellow". It's possible that the 6 jobs with skill "yellow" are assigned to "Vehicle 1" and the jobs with skill "red" remain unassigned (e.g. because of "capacity constraints"). I could imagine that the value parameter on the jobs can help me out here. Nevertheless, I still have the problem that a job with skill "red" cannot be assigned to "vehicle 2" if it doesn't fit on "vehicle 1". I hope I described it in a way that's understandable :-) Appreciate your help a lot! All vehicles_Request.txt |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, first of all: amazing project! Keep up the great work!
I currently have a problem regarding the relations parameter within multi vehicle routing. I have several vehicles and want to use the relations parameter in order to make sure that shipments are bound to a specific vehicle. In addition I use the type "any" because I want the shipments to be optimized on this vehicle. This works perfectly, most of the time. In the example below, we need to have a look at the vehicle with ID "66_1". Several shipments are bound to the car via relations with type "any". Now, if you take a look at the response of the algorithm, you will see that the shipments for the vehicle "66_1" came back not optimized and in the same order as they were in the request. I have no clue why it works with the other 3 vehicles but not for this specific one. Do you have an idea? Thanks a lot in advance!
[Removed data to keep thread readable, please attach files instead ]
Beta Was this translation helpful? Give feedback.
All reactions