Page 1 of 1

planBasicTour with inputPlan (XSERS-923)

Posted: Mon Feb 12, 2018 3:29 pm
by i.kobeissy
Hello,

we have a use case where we need to include a TransportOrder in an existing tour, we're trying to use inputPlan,
we have one tour with one transport order and we are trying to add another transport order, we're using TransportAB,
the response of PTV doesn't include any violation, the UnscheduledOrderAnalysisResult of the response indicates the status FEASIBLE but the order is not included in the chain, also in the request we have 2 vehicles so if the unplanified order couldn't be added to the existing chain why it's not being added to the other vehicle
we also tried to remove tourSection without luck

can anyone point us please to what/where we're doing anything wrong ?

Many thanks in advance

Re: planBasicTour with inputPlan

Posted: Mon Feb 12, 2018 4:16 pm
by Bernd Welter
Hello Ibrahim,

from what I saw in your request the depot of the vehicle doesn't match the tour:

Code: Select all

<ns7:Vehicle ignoreIntermediatePeriodBeforeFirstTour="false" id="25" 
toursMustFitIntoSingleOperatingInterval="true" isPreloaded="false" 
ignoreTransportPointServicePeriod="true" drivingPeriodFactor="0.8" 
dimaId="1" depotIdStart="4" depotIdEnd="4">

Code: Select all

<ns7:Chain vehicleId="25">
<ns7:wrappedTours>
<ns7:Tour vehicleFixed="true" tourPointFixation="NONE" ignoreIntermediatePeriodOfPreviousTour="false" id="1" startTimeFixed="false">
<ns7:wrappedTourPoints>
<ns7:TourPoint tourFixed="false" remainPlanned="false" type="DEPOT" id="71"/>
<ns7:TourPoint tourFixed="false" remainPlanned="false" type="TRANSPORT_POINT" id="72"/>
<ns7:TourPoint tourFixed="false" remainPlanned="false" type="TRANSPORT_POINT" id="73"/>
<ns7:TourPoint tourFixed="false" remainPlanned="false" type="DEPOT" id="74"/>
</ns7:wrappedTourPoints>
</ns7:Tour>
</ns7:wrappedTours>
</ns7:Chain>
Though the coordinates of the depots 71, 74 and 4 are equal the structure of the input plan seems to prevent us from a proper planning call.

Is there a specific reason why you provided the same depot coords via 3 objects?

Best regards,
Bernd

Re: planBasicTour with inputPlan (XSERS-923)

Posted: Tue Feb 13, 2018 8:40 am
by i.kobeissy
Thanks a lot Bernd, Eagle Eye !!!

it's working now

Re: planBasicTour with inputPlan (XSERS-923)

Posted: Tue Feb 13, 2018 10:53 am
by Bernd Welter
Anyway, I created a task and assigned it to DEV for a more deetailed analysis ;-)