Replies: 4 comments
-
I think I can easily convert this to seconds: https://github.com/reinterpretcat/vrp/blob/master/vrp-cli/src/extensions/import/csv.rs#L70 |
Beta Was this translation helpful? Give feedback.
-
Perfect! But the duration in the normal problem JSON for VRP is already in seconds right? As far as I checked the docs, I didn't find it explicitly mentioned, maybe you could add it e.g. here? |
Beta Was this translation helpful? Give feedback.
-
Yes, it is in seconds. I'll add it to the docs too (but they will be published once a new version is released which will take some time) |
Beta Was this translation helpful? Give feedback.
-
Changed here: 8d30711 so far in master only, will be available with next released version |
Beta Was this translation helpful? Give feedback.
-
I just noted that e.g. in the csv conversion script, the duration is an integer in minutes.
However, consider brief delivery times like just putting a letter in a post box (~45s) or let's say other fractions of minutes like 90 seconds.
Wouldn't it be better to use either floats (so we can use e.g. 0.5 minutes) or better, just use seconds instead of minutes as unit here?
Beta Was this translation helpful? Give feedback.
All reactions