planBasicTour with inputPlan (XSERS-923)

This forum deals with any kind of trip optimization whether it is automatic planning or manual dispatching, refering to transport orders or service planning.

planBasicTour with inputPlan (XSERS-923)

Postby i.kobeissy » Mon Feb 12, 2018 3:29 pm

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
Attachments
response.xml
Response
(11.02 KiB) Downloaded 5 times
request.xml
Request
(10.72 KiB) Downloaded 6 times
Last edited by Bernd Welter on Tue Feb 13, 2018 7:57 am, edited 1 time in total.
Reason: XSERS-923 has been created
i.kobeissy
 
Posts: 2
Joined: Wed Jan 31, 2018 1:15 pm

Re: planBasicTour with inputPlan

Postby Bernd Welter » Mon Feb 12, 2018 4:16 pm

Hello Ibrahim,

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

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


xml code
<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
Bernd Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

https://www.youtube.com/channel/UCgkUli9yGf0gwTDdxbMZ-Kg
User avatar
Bernd Welter
Site Admin
 
Posts: 939
Joined: Mon Apr 14, 2014 10:28 am

Re: planBasicTour with inputPlan (XSERS-923)

Postby i.kobeissy » Tue Feb 13, 2018 8:40 am

Thanks a lot Bernd, Eagle Eye !!!

it's working now
i.kobeissy
 
Posts: 2
Joined: Wed Jan 31, 2018 1:15 pm

Re: planBasicTour with inputPlan (XSERS-923)

Postby Bernd Welter » Tue Feb 13, 2018 10:53 am

Anyway, I created a task and assigned it to DEV for a more deetailed analysis ;-)
Bernd Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

https://www.youtube.com/channel/UCgkUli9yGf0gwTDdxbMZ-Kg
User avatar
Bernd Welter
Site Admin
 
Posts: 939
Joined: Mon Apr 14, 2014 10:28 am


Return to PTV xTourServer

cron