startPlanOvernightTours with different DepotId
Posted: Tue Nov 12, 2019 4:17 pm
Hello, PTV team,
I would like to plan a full week with the function "startPlanOvernightTours".
I have 44 orders with no openingIntervals.
The vehicle has a time window from 04:00 to 13:00 for each day (monday to friday) and I set the parameter "toursMustFitIntoSingleOperatingInterval" to "false".
If I set the parameters for "depotIdStart" and "depotIdEnd" to the same value (for example "200"), then I get a great result for all five days. (All 44 orders was planned)
However, if I set different IDs for the depot (for example depotIdStart to 200 and depotIdEnd to 201), then I only get one scheduled day (Monday) back and all other orders end up under "unscheduledOrderIds".
The reason for the unplanned orders is then "UNSCHEDULED_DUE_TO_PLAN" and that the orders do not fit into the vehicle operatingIntervals.
What is the reason for this result and how can I change it?
Best regards
I would like to plan a full week with the function "startPlanOvernightTours".
I have 44 orders with no openingIntervals.
The vehicle has a time window from 04:00 to 13:00 for each day (monday to friday) and I set the parameter "toursMustFitIntoSingleOperatingInterval" to "false".
If I set the parameters for "depotIdStart" and "depotIdEnd" to the same value (for example "200"), then I get a great result for all five days. (All 44 orders was planned)
However, if I set different IDs for the depot (for example depotIdStart to 200 and depotIdEnd to 201), then I only get one scheduled day (Monday) back and all other orders end up under "unscheduledOrderIds".
The reason for the unplanned orders is then "UNSCHEDULED_DUE_TO_PLAN" and that the orders do not fit into the vehicle operatingIntervals.
What is the reason for this result and how can I change it?
Best regards