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 Specific Cost and Duration Factors #18

Open
daniel-j-h opened this issue May 16, 2017 · 0 comments
Open

Vehicle Specific Cost and Duration Factors #18

daniel-j-h opened this issue May 16, 2017 · 0 comments

Comments

@daniel-j-h
Copy link
Contributor

At the moment we expose a single cost and duration matrix per vehicle. What we should allow for in the context of multiple vehicles is cost and duration factors on a per vehicle basis to scale the cost and duration matrix the user passes us, think

numVehicles: 3
costFactors: [1.0, 0.7, 1.5]
durationFactors: [1.0, 0.7, 1.5]

which would scale both the cost as well as the duration matrices depending on the factors for each vehicle. We need to separate cost and duration factors because users could specify e.g. distance as cost in which case costFactors would be [1.0 1.0 1.0] and durationFactors would account for slower and faster vehicles.

Related: Heterogeneous Fleets #11

cc @karenzshea

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

No branches or pull requests

1 participant