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
planBasicTour with inputPlan (XSERS-923)
-
- Posts: 24
- Joined: Wed Jan 31, 2018 1:15 pm
planBasicTour with inputPlan (XSERS-923)
- Attachments
-
- response.xml
- Response
- (11.02 KiB) Downloaded 486 times
-
- request.xml
- Request
- (10.72 KiB) Downloaded 470 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
Reason: XSERS-923 has been created
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: planBasicTour with inputPlan
Hello Ibrahim,
from what I saw in your request the depot of the vehicle doesn't match the tour:
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
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>
Is there a specific reason why you provided the same depot coords via 3 objects?
Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
-
- Posts: 24
- Joined: Wed Jan 31, 2018 1:15 pm
Re: planBasicTour with inputPlan (XSERS-923)
Thanks a lot Bernd, Eagle Eye !!!
it's working now
it's working now
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: planBasicTour with inputPlan (XSERS-923)
Anyway, I created a task and assigned it to DEV for a more deetailed analysis
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...