-
Notifications
You must be signed in to change notification settings - Fork 616
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
Setup time at Activity level #224
base: master
Are you sure you want to change the base?
Conversation
6ea07dd
to
11320d3
Compare
2344365
to
df55576
Compare
17ce9ea
to
acb6b02
Compare
Sounds good! Thanks. I do not have time this week, however, I will review this next week latest. |
…quence. Typically Unloading/Reloading at a same place but only have setup time to ready the vehicle at first
with multi Vehicle support
Fix Break Writer
Just wanted to share our experience w/ getting a similar feature working by just implementing our own In our override of
A vehicle can only service one location at a time so if we determine that a vehicle has already started servicing a location then all other locations within the distance threshold we defined will also have no parking time (which appears to be one of the benefits in the PR here). To determine whether or not a vehicle has already started servicing a location we do however maintain some state outside of jsprit and pass it into the constructor of the transport costs. Specifically, the vehicles in our system can have a few different states including EN_ROUTE, SERVICING, etc. and we pass in all of "our" vehicles to the constructor which then lets us look up the state of jsprit's vehicles since they share an id (our vehicle id matches the id of jsprit's vehicle). Anyways, hopefully this different approach to the same problem is useful as I think it requires quite a bit less work. Apologies if I misunderstood what the PR here is solving. |
Smart! Thanks for sharing 👍 . |
@braktar Great work! I have a questions about implementation:
|
Thanks
|
Hi @braktar I have a requirement that I think fits this perfectly. When a truck arrives at a depot and has to pickup or deliver several items from the same place, it has an "admin" time where the driver visits the site manager and gets documents etc before loading/unloading the pallets onto the truck. it is this "Admin" time that I need to add so that it only applies to the first pickup/delivery on the site. Do you agree that this is the intention of this function ? thanks |
Hi @grantm009 It is indeed designed to answer this kind of purpose, which was exactly my starting point ;) This feature is not include in the main version. |
Hi @braktar
Im running version 1.7.2
Can I get that feature into my system ?
regards
Grant
Follow us on social media:
… On 4 Jun 2018, at 8:01 pm, Gwénaël Rault ***@***.***> wrote:
Hi @grantm009 <https://github.com/grantm009>
It is indeed designed to answer this kind of purpose, which was exactly my starting point ;)
This feature is not include in the main version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#224 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AbqnGA2TtTen7P5nbkO-JLjxRdONvVNmks5t5QVegaJpZM4H9oIs>.
|
The last version i provide is from August 2016 https://github.com/graphhopper/jsprit/pull/273/files I'm not active on Jsprit for a while, if interested feel free to update this feature. |
Thanks for the reply @braktar I don't have the skills to do that. I will keep hunting. |
Hi bro, i'm developing a function such as depot.service time. Suppose I have a depot, Is there any way to define the service time in depot? I mean, something similar to Service.ServiceTime. Fixed for N minutes (regardless of the number of luggage). Can you suggest me? |
Define to each activity a SetupTime, which is the time it takes to ready the vehicle to execute one or some activities at this Location.
Once the first activity at this Location is performed, the setup time is not considered for the direct next sequence to this specific place.
It is vehicle dependent, using a coefficient defined for each vehicle.