Skip to content
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

Vehicle cost per kilometer #908

Closed
lgmadurange opened this issue Mar 26, 2023 · 9 comments · Fixed by #1009
Closed

Vehicle cost per kilometer #908

lgmadurange opened this issue Mar 26, 2023 · 9 comments · Fixed by #1009

Comments

@lgmadurange
Copy link

I Want To Set Vehicle Cost For Per Kilometer ,

@jcoupey
Copy link
Collaborator

jcoupey commented Mar 27, 2023

We don't have a way to do this currently. #788 introduced an improved cost model where we can account for fixed and travel-time related costs.

Similar to what the recent costs.per_hour factor allows, it would be interesting to have a costs.per_km factor to allow users to ponderate time and distance costs at vehicle level.

@jcoupey jcoupey changed the title How To Set Vehicle Cost Per Kilometer ? Vehicle cost per kilometer Mar 27, 2023
@RichAth
Copy link

RichAth commented Apr 14, 2023

I second this feature request and propose an extension to this as well.

It would be nice to be able to apply a multiplier to the costs.per_km for the km's traveled to either pickups or deliveries. This would allow for the optimization of km traveled empty in some use cases which would be advantageous to many companies and drivers.

Always very appreciative of the work you guys have done so far with Vroom, cheers Rich.

@jcoupey
Copy link
Collaborator

jcoupey commented Apr 14, 2023

the km's traveled to either pickups or deliveries

I'm not sure how this could be clearly defined. Considering the type of the next step for a route leg does not seem to make sense when the route can have any arbitrary sequence of pickup and deliveries after that?

@RichAth
Copy link

RichAth commented Apr 17, 2023

Yes you are right, I did not think about it in that capacity. Considering the type of the next step does not make sense.

Do you have any recommendations with the current system of how one could optimize to reduce empty km's where the problem set is pickup 1 amount -> deliver 1 amount -> pickup 1 amount-> delivery 1 amount.

Thanks

@jcoupey
Copy link
Collaborator

jcoupey commented Apr 17, 2023

how one could optimize to reduce empty km's

Worth opening a dedicated ticket if you'd like to discuss this, as this is different from the scope of this feature.

@lgmadurange
Copy link
Author

I Want To Set Vehicle Cost For Per Kilometer ,

Is this feature now available?

@jcoupey
Copy link
Collaborator

jcoupey commented Aug 22, 2023

Not yet, otherwise this ticket would have been closed. If you want to make this happen faster, you're welcome to fund part of the dev work on this, feel free to reach out to me in case you're interested.

@jcoupey jcoupey added this to the v1.14.0 milestone Sep 28, 2023
@martinon97
Copy link

Is the cost.per_km feature now available?

@jcoupey
Copy link
Collaborator

jcoupey commented Nov 7, 2023

As the "closed this as completed" mention above suggests, it is now implemented. The feature is available in master, but not released yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants