Skip to content

faq 73334815

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

How to manually edit schedules for dvrp or taxi?

by Yousef Hindy on 2016-07-12 20:04:21


Hello,

I am using the taxi extension and the dvrp extension and in my custom optimizer I have written a method that plans a request from start to finish (instead of using the scheduler's one) because I want to have a different route. When I run it, it initially makes the schedule as I want it (StayTask -> EmptyDriveTask -> PickupTask -> OccupiedDriveTask -> DropoffTask -> StayTask), but when I run the simulation further, it stops when the passenger is picked up. For some reason, the simulation makes the end time of PickupTask NaN and the times for all the other tasks after it NaN. Any advice would be great.

Thanks!


Comments: 1


Re: How to manually edit schedules for dvrp or taxi?

by Michal Maciejewski on 2016-07-13 09:32:13

Hi,

Hard to say without looking at the code. In general, this must come from the outside and then propagate while updating the schedule's timeline, because Task/Schedule are too simple to generate NaN themselves. So you should try to trace this NaN back to its origin.

Hope that helps. If not and your code is available online, I could have a look at it.

Michal

Clone this wiki locally