xTour and tour points fixation

This forum deals with any kind of trip optimization based on xTour1, xTour2 and the Developer APIs "RouteOptimization" and "SequenceOptimization". No matter whether it is automatic planning or manual dispatching, refering to transport orders or service planning.
Attention: this does not refer to PTV Optiflow SaaS and PTV Developer RouteOptimization Optiflow.
Post Reply
Flegregeois

xTour and tour points fixation

Post by Flegregeois »

Here is the description of my issue with xTour and tour point fixation :
I have two basic input tours with one tour point in each of them. See below their skeleton :
Input Plan
-------------
T1 : D – TP1 – D
T2 : D – TP2 – D
I set on the TP1 and TP2 the attributes tourFixed and remainPlanned to true
I’m expecting to get back in the output plan the same two tours because I fixed them.
But xTour returns one single tour with the merge of the two input tours.
Do I miss something ? ( the use case is voluntary reduced to two orders for the convenience of the explanation)

If I add the fixation of the vehicle (attribute vehicleFixed) on each of the input tour then I get the expected result.

I don't know why, I can't upload a file :-(
I put the request here:

Code: Select all

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/>
  <soap:Body>
    <planBasicTours xmlns="http://types.xtour.xserver.ptvag.com" xmlns:ns2="http://xtour.xserver.ptvag.com" xmlns:ns3="http://wrappertypes.service.jabba.ptvag.com" xmlns:ns4="http://common.xserver.ptvag.com" xmlns:ns5="http://baseservices.service.jabba.ptvag.com" xmlns:ns6="http://xmap.xserver.ptvag.com" xmlns:ns7="http://exception.core.jabba.ptvag.com">
      <ArrayOfTransportOrder_1>
        <ns2:TransportOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="3464" priority="1" trailerLoadingForbidden="false" xsi:type="ns2:TransportDepot">
          <ns2:maxLoadingArea xsi:nil="true"/>
          <ns2:minLoadingArea xsi:nil="true"/>
          <ns2:wrappedVehicleCategories xsi:nil="true"/>
          <ns2:wrappedVehicleExclusions xsi:nil="true"/>
          <ns2:wrappedVehicleRequirements>
            <ns3:Int>4</ns3:Int>
            <ns3:Int>478</ns3:Int>
          </ns2:wrappedVehicleRequirements>
          <ns2:deliveryQuantities>
            <ns2:wrappedQuantities>
              <ns3:Int>1080</ns3:Int>
            </ns2:wrappedQuantities>
          </ns2:deliveryQuantities>
          <ns2:wrappedDepotIds xsi:nil="true"/>
          <ns2:pickupQuantities xsi:nil="true"/>
          <ns2:transportPoint allowServiceSplit="false" coDriverRequired="false" id="3464" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="900" tourSection="0" useServicePeriodForRecreation="false">
            <ns2:location>
              <ns4:kml xsi:nil="true"/>
              <ns4:point x="6.1642" y="49.21532"/>
            </ns2:location>
            <ns2:wrappedOpeningIntervals>
              <ns2:Interval from="28800" till="61200"/>
            </ns2:wrappedOpeningIntervals>
          </ns2:transportPoint>
        </ns2:TransportOrder>
        <ns2:TransportOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="3465" priority="1" trailerLoadingForbidden="false" xsi:type="ns2:TransportDepot">
          <ns2:maxLoadingArea xsi:nil="true"/>
          <ns2:minLoadingArea xsi:nil="true"/>
          <ns2:wrappedVehicleCategories xsi:nil="true"/>
          <ns2:wrappedVehicleExclusions xsi:nil="true"/>
          <ns2:wrappedVehicleRequirements>
            <ns3:Int>4</ns3:Int>
            <ns3:Int>478</ns3:Int>
          </ns2:wrappedVehicleRequirements>
          <ns2:deliveryQuantities>
            <ns2:wrappedQuantities>
              <ns3:Int>1080</ns3:Int>
            </ns2:wrappedQuantities>
          </ns2:deliveryQuantities>
          <ns2:wrappedDepotIds xsi:nil="true"/>
          <ns2:pickupQuantities xsi:nil="true"/>
          <ns2:transportPoint allowServiceSplit="false" coDriverRequired="false" id="3465" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="900" tourSection="0" useServicePeriodForRecreation="false">
            <ns2:location>
              <ns4:kml xsi:nil="true"/>
              <ns4:point x="6.16392" y="49.21661"/>
            </ns2:location>
            <ns2:wrappedOpeningIntervals>
              <ns2:Interval from="28800" till="61200"/>
            </ns2:wrappedOpeningIntervals>
          </ns2:transportPoint>
        </ns2:TransportOrder>
      </ArrayOfTransportOrder_1>
      <ArrayOfDepot_2>
        <ns2:Depot id="123">
          <ns2:location>
            <ns4:kml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns4:point x="6.1637" y="49.20272"/>
          </ns2:location>
          <ns2:wrappedOpeningIntervals xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        </ns2:Depot>
      </ArrayOfDepot_2>
      <Fleet_3>
        <ns2:wrappedTrailers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <ns2:wrappedTrains xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
        <ns2:wrappedVehicles>
          <ns2:Vehicle departureTimeFixed="28800" depotIdEnd="123" depotIdStart="123" dimaId="2" drivingPeriodFactor="1.0" id="1" ignoreIntermediatePeriodBeforeFirstTour="false" ignoreTransportPointServicePeriod="false" isPreloaded="false" servicePeriodFactor="1.0" toursMustFitIntoSingleOperatingInterval="false">
            <ns2:wrappedOperatingIntervals>
              <ns2:Interval from="28800" till="43200"/>
            </ns2:wrappedOperatingIntervals>
            <ns2:capacities>
              <ns2:wrappedCapacities>
                <ns2:Quantities>
                  <ns2:wrappedQuantities>
                    <ns3:Int>14400</ns3:Int>
                  </ns2:wrappedQuantities>
                </ns2:Quantities>
              </ns2:wrappedCapacities>
            </ns2:capacities>
            <ns2:costs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:driverSettings breakRuleActive="false" dailyRestRuleActive="false" regulationsId="1" weeklyRestRuleActive="false" workingRuleActive="false">
              <ns2:maximumTourPeriodRestriction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            </ns2:driverSettings>
            <ns2:wrappedAreaNumbers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:endLocation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:maxLoadingArea xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:minLoadingArea xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:restrictions maxTourCountPerChain="1"/>
            <ns2:startLocation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:wrappedTransportEquipments>
              <ns3:Int>21</ns3:Int>
              <ns3:Int>10</ns3:Int>
              <ns3:Int>9</ns3:Int>
              <ns3:Int>20</ns3:Int>
              <ns3:Int>3</ns3:Int>
              <ns3:Int>8</ns3:Int>
              <ns3:Int>25</ns3:Int>
              <ns3:Int>16</ns3:Int>
              <ns3:Int>24</ns3:Int>
              <ns3:Int>14</ns3:Int>
              <ns3:Int>12</ns3:Int>
              <ns3:Int>22</ns3:Int>
              <ns3:Int>5</ns3:Int>
              <ns3:Int>18</ns3:Int>
              <ns3:Int>11</ns3:Int>
              <ns3:Int>7</ns3:Int>
              <ns3:Int>15</ns3:Int>
              <ns3:Int>17</ns3:Int>
              <ns3:Int>2</ns3:Int>
              <ns3:Int>6</ns3:Int>
              <ns3:Int>19</ns3:Int>
              <ns3:Int>23</ns3:Int>
              <ns3:Int>4</ns3:Int>
              <ns3:Int>13</ns3:Int>
              <ns3:Int>1</ns3:Int>
              <ns3:Int>384</ns3:Int>
              <ns3:Int>378</ns3:Int>
              <ns3:Int>377</ns3:Int>
              <ns3:Int>379</ns3:Int>
              <ns3:Int>372</ns3:Int>
              <ns3:Int>382</ns3:Int>
              <ns3:Int>368</ns3:Int>
              <ns3:Int>369</ns3:Int>
              <ns3:Int>383</ns3:Int>
              <ns3:Int>380</ns3:Int>
              <ns3:Int>370</ns3:Int>
              <ns3:Int>478</ns3:Int>
            </ns2:wrappedTransportEquipments>
          </ns2:Vehicle>
          <ns2:Vehicle departureTimeFixed="28800" depotIdEnd="123" depotIdStart="123" dimaId="2" drivingPeriodFactor="1.0" id="25" ignoreIntermediatePeriodBeforeFirstTour="false" ignoreTransportPointServicePeriod="false" isPreloaded="false" servicePeriodFactor="1.0" toursMustFitIntoSingleOperatingInterval="false">
            <ns2:wrappedOperatingIntervals>
              <ns2:Interval from="28800" till="43200"/>
            </ns2:wrappedOperatingIntervals>
            <ns2:capacities>
              <ns2:wrappedCapacities>
                <ns2:Quantities>
                  <ns2:wrappedQuantities>
                    <ns3:Int>14400</ns3:Int>
                  </ns2:wrappedQuantities>
                </ns2:Quantities>
              </ns2:wrappedCapacities>
            </ns2:capacities>
            <ns2:costs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:driverSettings breakRuleActive="false" dailyRestRuleActive="false" regulationsId="1" weeklyRestRuleActive="false" workingRuleActive="false">
              <ns2:maximumTourPeriodRestriction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            </ns2:driverSettings>
            <ns2:wrappedAreaNumbers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:endLocation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:maxLoadingArea xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:minLoadingArea xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:restrictions maxTourCountPerChain="1"/>
            <ns2:startLocation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:wrappedTransportEquipments>
              <ns3:Int>21</ns3:Int>
              <ns3:Int>10</ns3:Int>
              <ns3:Int>9</ns3:Int>
              <ns3:Int>20</ns3:Int>
              <ns3:Int>3</ns3:Int>
              <ns3:Int>8</ns3:Int>
              <ns3:Int>25</ns3:Int>
              <ns3:Int>16</ns3:Int>
              <ns3:Int>24</ns3:Int>
              <ns3:Int>14</ns3:Int>
              <ns3:Int>12</ns3:Int>
              <ns3:Int>22</ns3:Int>
              <ns3:Int>5</ns3:Int>
              <ns3:Int>18</ns3:Int>
              <ns3:Int>11</ns3:Int>
              <ns3:Int>7</ns3:Int>
              <ns3:Int>15</ns3:Int>
              <ns3:Int>17</ns3:Int>
              <ns3:Int>2</ns3:Int>
              <ns3:Int>6</ns3:Int>
              <ns3:Int>19</ns3:Int>
              <ns3:Int>23</ns3:Int>
              <ns3:Int>4</ns3:Int>
              <ns3:Int>13</ns3:Int>
              <ns3:Int>1</ns3:Int>
              <ns3:Int>478</ns3:Int>
              <ns3:Int>472</ns3:Int>
              <ns3:Int>486</ns3:Int>
              <ns3:Int>470</ns3:Int>
              <ns3:Int>493</ns3:Int>
              <ns3:Int>409</ns3:Int>
              <ns3:Int>408</ns3:Int>
              <ns3:Int>481</ns3:Int>
              <ns3:Int>476</ns3:Int>
              <ns3:Int>504</ns3:Int>
              <ns3:Int>463</ns3:Int>
              <ns3:Int>491</ns3:Int>
              <ns3:Int>458</ns3:Int>
              <ns3:Int>506</ns3:Int>
              <ns3:Int>414</ns3:Int>
              <ns3:Int>422</ns3:Int>
              <ns3:Int>498</ns3:Int>
              <ns3:Int>492</ns3:Int>
            </ns2:wrappedTransportEquipments>
          </ns2:Vehicle>
        </ns2:wrappedVehicles>
      </Fleet_3>
      <PlanningParams_4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" availableMachineTime="120" coDriverTransportPointsInSeparateTours="false" constructionStep="true" endSequencingStep="true" improvementStep="true" middleSequencingStep="true" sequencingMethod="cSMThoroughOpt" startSequencingStep="true" tourReductionStep="false" xsi:type="ns2:StandardParams">
        <ns2:wrappedDistanceMatrixCalculation>
          <ns2:DistanceMatrixCalculation deleteAfterUsage="true" deleteBeforeUsage="true" dimaId="2" xsi:type="ns2:DistanceMatrixByRoad"/>
        </ns2:wrappedDistanceMatrixCalculation>
        <ns2:wrappedLoadingFunctions xsi:nil="true"/>
        <ns2:wrappedProductIncompatibilities xsi:nil="true"/>
        <ns2:wrappedRegulations>
          <ns2:RegulationsBase beginningOfCalendarWeek="0" id="1" xsi:type="ns2:DriverRegulations">
            <ns2:breakIntervals breakPeriod="0">
              <ns2:wrappedIntervals>
                <ns2:Interval from="0" till="0"/>
              </ns2:wrappedIntervals>
            </ns2:breakIntervals>
            <ns2:breakRule xsi:nil="true"/>
            <ns2:dailyRestRule xsi:nil="true"/>
            <ns2:weeklyRestRule xsi:nil="true"/>
            <ns2:workingRule xsi:nil="true"/>
          </ns2:RegulationsBase>
        </ns2:wrappedRegulations>
        <ns2:restrictions>
          <ns2:tourRestrictions maxDistance="500000" maxDistanceBetweenTransportPoints="7000"/>
        </ns2:restrictions>
        <ns2:goalImportance chainPeriodRank="0" tourCountRank="0" tourDistanceRank="3" tourDrivingPeriodRank="0" tourPeriodRank="0" unplannedOrdersRank="0" vehicleCountRank="1"/>
      </PlanningParams_4>
      <Plan_5>
        <ns2:wrappedChains>
          <ns2:Chain vehicleId="1">
            <ns2:result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:wrappedTours>
              <ns2:Tour id="370" ignoreIntermediatePeriodOfPreviousTour="false" startTimeFixed="false" vehicleFixed="false">
                <ns2:restrictions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                <ns2:result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                <ns2:wrappedTourPoints>
                  <ns2:TourPoint id="123" remainPlanned="false" tourFixed="false" type="DEPOT">
                    <ns2:result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                  </ns2:TourPoint>
                  <ns2:TourPoint id="3464" remainPlanned="true" tourFixed="true" type="TRANSPORT_POINT">
                    <ns2:result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                  </ns2:TourPoint>
                  <ns2:TourPoint id="123" remainPlanned="false" tourFixed="false" type="DEPOT">
                    <ns2:result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                  </ns2:TourPoint>
                </ns2:wrappedTourPoints>
              </ns2:Tour>
            </ns2:wrappedTours>
          </ns2:Chain>
          <ns2:Chain vehicleId="25">
            <ns2:result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <ns2:wrappedTours>
              <ns2:Tour id="371" ignoreIntermediatePeriodOfPreviousTour="false" startTimeFixed="false" vehicleFixed="false">
                <ns2:restrictions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                <ns2:result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                <ns2:wrappedTourPoints>
                  <ns2:TourPoint id="123" remainPlanned="false" tourFixed="false" type="DEPOT">
                    <ns2:result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                  </ns2:TourPoint>
                  <ns2:TourPoint id="3465" remainPlanned="true" tourFixed="true" type="TRANSPORT_POINT">
                    <ns2:result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                  </ns2:TourPoint>
                  <ns2:TourPoint id="123" remainPlanned="false" tourFixed="false" type="DEPOT">
                    <ns2:result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                  </ns2:TourPoint>
                </ns2:wrappedTourPoints>
              </ns2:Tour>
            </ns2:wrappedTours>
          </ns2:Chain>
        </ns2:wrappedChains>
        <ns2:result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
      </Plan_5>
      <CallerContext_6>
        <ns5:wrappedProperties>
          <ns5:CallerContextProperty key="CoordFormat" value="OG_GEODECIMAL"/>
          <ns5:CallerContextProperty key="TenantId" value="68d9ee7e-b551-11e6-b3a3-ecf4bb142308"/>
          <ns5:CallerContextProperty key="Profile" value="V-ESSENCE-WO-TOLLROADS"/>
        </ns5:wrappedProperties>
      </CallerContext_6>
    </planBasicTours>
  </soap:Body>
</soap:Envelope>

and the response:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ns3:planBasicToursResponse xmlns:ns6="http://exception.core.jabba.ptvag.com" xmlns:ns2="http://baseservices.service.jabba.ptvag.com" xmlns:ns1="http://common.xserver.ptvag.com" xmlns:ns3="http://types.xtour.xserver.ptvag.com" xmlns:ns0="http://wrappertypes.service.jabba.ptvag.com" xmlns:ns4="http://xtour.xserver.ptvag.com">
      <ns3:result>
        <ns4:wrappedChains>
          <ns4:Chain vehicleId="25">
            <ns4:result distanceToEndLocation="0" periodToEndLocation="0" distanceFromStartLocation="0" periodFromStartLocation="0" endTime="31282" drivingPeriod="682" remainingPeriods="22 serialization::archive 9 0 2 0 0 1 4 0 4 0 0 0 0 16200 0 0 0 1 0 39600 0 28800 0 0 3 2147483647 2147483647 2147483647 0 0 0 0 0 1 0 0 0 28800 0 0 28800 0 0 633600 0 0 6 0 0 0 28800 0 0 0 0 0 0 0 0 0 3 0 0 31282 2147483647 0 31282 0 0 0 4 0 0 0 0 0 0 0 2 0 0 2 0 0 0 0 0 4 0 0 0 0 4 0 0 0 0 0 6 0 16200 900 1800 0 39600 10800 32400 32400 3 32400 36000 2 604800 86400 0 518400 201600 162000 324000 0 0 1800 2700 21600 32400 900 28800 172800 39600 0 0 0 0 0 0 0 1 0 0 0 0 0 0 900 19800 28800 39600 0 25200 86400 43200 0 86400 604800 259200 900" chainCosts="0.0">
              <ns4:wrappedTourEvents>
                <ns4:TourEvent tourIndex="0" period="0" startTime="28800" logisticPointId="123">
                  <ns4:wrappedDescriptions>
                    <ns0:String>SERVICE</ns0:String>
                    <ns0:String>IS_IN_SERVICE_INTERVAL</ns0:String>
                  </ns4:wrappedDescriptions>
                  <ns4:wrappedViolations/>
                </ns4:TourEvent>
                <ns4:TourEvent tourIndex="0" period="318" startTime="28800" logisticPointId="-1">
                  <ns4:wrappedDescriptions>
                    <ns0:String>DRIVING</ns0:String>
                  </ns4:wrappedDescriptions>
                  <ns4:wrappedViolations/>
                </ns4:TourEvent>
                <ns4:TourEvent tourIndex="0" period="900" startTime="29118" logisticPointId="3464">
                  <ns4:wrappedDescriptions>
                    <ns0:String>SERVICE</ns0:String>
                    <ns0:String>IS_IN_SERVICE_INTERVAL</ns0:String>
                  </ns4:wrappedDescriptions>
                  <ns4:wrappedViolations/>
                </ns4:TourEvent>
                <ns4:TourEvent tourIndex="0" period="36" startTime="30018" logisticPointId="-1">
                  <ns4:wrappedDescriptions>
                    <ns0:String>DRIVING</ns0:String>
                  </ns4:wrappedDescriptions>
                  <ns4:wrappedViolations/>
                </ns4:TourEvent>
                <ns4:TourEvent tourIndex="0" period="900" startTime="30054" logisticPointId="3465">
                  <ns4:wrappedDescriptions>
                    <ns0:String>SERVICE</ns0:String>
                    <ns0:String>IS_IN_SERVICE_INTERVAL</ns0:String>
                  </ns4:wrappedDescriptions>
                  <ns4:wrappedViolations/>
                </ns4:TourEvent>
                <ns4:TourEvent tourIndex="0" period="328" startTime="30954" logisticPointId="-1">
                  <ns4:wrappedDescriptions>
                    <ns0:String>DRIVING</ns0:String>
                  </ns4:wrappedDescriptions>
                  <ns4:wrappedViolations/>
                </ns4:TourEvent>
                <ns4:TourEvent tourIndex="0" period="0" startTime="31282" logisticPointId="123">
                  <ns4:wrappedDescriptions>
                    <ns0:String>SERVICE</ns0:String>
                    <ns0:String>IS_IN_SERVICE_INTERVAL</ns0:String>
                  </ns4:wrappedDescriptions>
                  <ns4:wrappedViolations/>
                </ns4:TourEvent>
              </ns4:wrappedTourEvents>
            </ns4:result>
            <ns4:wrappedTours>
              <ns4:Tour ignoreIntermediatePeriodOfPreviousTour="false" vehicleFixed="false" tourPointFixation="NONE" id="371" startTimeFixed="false">
                <ns4:result remainingPeriods="22 serialization::archive 9 0 2 0 0 1 4 0 4 0 0 0 0 16200 0 0 0 1 0 39600 0 28800 0 0 3 2147483647 2147483647 2147483647 0 0 0 0 0 1 0 0 0 28800 0 0 28800 0 0 633600 0 0 6 0 0 0 28800 0 0 0 0 0 0 0 0 0 3 0 0 31282 2147483647 0 31282 0 0 0 4 0 0 0 0 0 0 0 2 0 0 2 0 0 0 0 0 4 0 0 0 0 4 0 0 0 0 0 6 0 16200 900 1800 0 39600 10800 32400 32400 3 32400 36000 2 604800 86400 0 518400 201600 162000 324000 0 0 1800 2700 21600 32400 900 28800 172800 39600 0 0 0 0 0 0 0 1 0 0 0 0 0 0 900 19800 28800 39600 0 25200 86400 43200 0 86400 604800 259200 900" tourChanged="true" depotAvailabilityForDeliveries="0" depotUnloadingPeriod="0" depotUploadingPeriod="0" coDriverRequired="false" startTimeLatest="28800" startTime="28800" transportPointCount="2" waitingPeriod="0" earliness="0" breakPeriod="0" restPeriod="0" servicePeriod="1800" maxDistanceBetweenTransportPoints="176" distanceFromFirstToLastTransportPoint="176" distance="4330" drivingPeriod="682" period="2482">
                  <ns4:deliveryQuantities>
                    <ns4:wrappedQuantities>
                      <ns0:Int>2160</ns0:Int>
                    </ns4:wrappedQuantities>
                  </ns4:deliveryQuantities>
                  <ns4:maxQuantities>
                    <ns4:wrappedQuantities>
                      <ns0:Int>2160</ns0:Int>
                    </ns4:wrappedQuantities>
                  </ns4:maxQuantities>
                  <ns4:pickupQuantities>
                    <ns4:wrappedQuantities>
                      <ns0:Int>0</ns0:Int>
                    </ns4:wrappedQuantities>
                  </ns4:pickupQuantities>
                  <ns4:totalCosts totalCosts="0.0" costsPerHour="0.0" fixedCosts="0.0" costsPerKm="0.0"/>
                  <ns4:wrappedViolations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                  <ns4:wrappedVehicleRequirements>
                    <ns0:Int>4</ns0:Int>
                    <ns0:Int>478</ns0:Int>
                  </ns4:wrappedVehicleRequirements>
                </ns4:result>
                <ns4:wrappedTourPoints>
                  <ns4:TourPoint remainPlanned="false" tourFixed="false" type="DEPOT" id="123">
                    <ns4:result drivingDistance="0" startDistance="0" delay="0" earliness="0" restPeriodAtTourPoint="0" restPeriodOnRoad="0" breakPeriodAtTourPoint="0" breakPeriodOnRoad="0" servicePeriod="0" waitingPeriod="0" drivingPeriod="0" departureTime="28800" endServiceTime="28800" startServiceTime="28800" arrivalTime="28800">
                      <ns4:currentQuantities>
                        <ns4:wrappedQuantities>
                          <ns0:Int>2160</ns0:Int>
                        </ns4:wrappedQuantities>
                      </ns4:currentQuantities>
                      <ns4:wrappedTourPointViolations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                    </ns4:result>
                  </ns4:TourPoint>
                  <ns4:TourPoint remainPlanned="true" tourFixed="true" type="TRANSPORT_POINT" id="3464">
                    <ns4:result drivingDistance="2037" startDistance="2037" delay="0" earliness="0" restPeriodAtTourPoint="0" restPeriodOnRoad="0" breakPeriodAtTourPoint="0" breakPeriodOnRoad="0" servicePeriod="900" waitingPeriod="0" drivingPeriod="318" departureTime="30018" endServiceTime="30018" startServiceTime="29118" arrivalTime="29118" orderId="3464">
                      <ns4:currentQuantities>
                        <ns4:wrappedQuantities>
                          <ns0:Int>1080</ns0:Int>
                        </ns4:wrappedQuantities>
                      </ns4:currentQuantities>
                      <ns4:wrappedTourPointViolations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                    </ns4:result>
                  </ns4:TourPoint>
                  <ns4:TourPoint remainPlanned="true" tourFixed="true" type="TRANSPORT_POINT" id="3465">
                    <ns4:result drivingDistance="176" startDistance="2213" delay="0" earliness="0" restPeriodAtTourPoint="0" restPeriodOnRoad="0" breakPeriodAtTourPoint="0" breakPeriodOnRoad="0" servicePeriod="900" waitingPeriod="0" drivingPeriod="36" departureTime="30954" endServiceTime="30954" startServiceTime="30054" arrivalTime="30054" orderId="3465">
                      <ns4:currentQuantities>
                        <ns4:wrappedQuantities>
                          <ns0:Int>0</ns0:Int>
                        </ns4:wrappedQuantities>
                      </ns4:currentQuantities>
                      <ns4:wrappedTourPointViolations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                    </ns4:result>
                  </ns4:TourPoint>
                  <ns4:TourPoint remainPlanned="false" tourFixed="false" type="DEPOT" id="123">
                    <ns4:result drivingDistance="2117" startDistance="4330" delay="0" earliness="0" restPeriodAtTourPoint="0" restPeriodOnRoad="0" breakPeriodAtTourPoint="0" breakPeriodOnRoad="0" servicePeriod="0" waitingPeriod="0" drivingPeriod="328" departureTime="31282" endServiceTime="31282" startServiceTime="31282" arrivalTime="31282">
                      <ns4:currentQuantities>
                        <ns4:wrappedQuantities>
                          <ns0:Int>0</ns0:Int>
                        </ns4:wrappedQuantities>
                      </ns4:currentQuantities>
                      <ns4:wrappedTourPointViolations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                    </ns4:result>
                  </ns4:TourPoint>
                </ns4:wrappedTourPoints>
              </ns4:Tour>
            </ns4:wrappedTours>
          </ns4:Chain>
        </ns4:wrappedChains>
        <ns4:result totalChainCosts="0.0" totalTourCosts="0.0" totalTourDistance="4330" totalTourDrivingPeriod="682" totalTourPeriod="2482" totalTourCount="1">
          <ns4:wrappedScheduledOrderIds>
            <ns0:Int>3464</ns0:Int>
            <ns0:Int>3465</ns0:Int>
          </ns4:wrappedScheduledOrderIds>
          <ns4:wrappedScheduledVehicleIds>
            <ns0:Int>25</ns0:Int>
          </ns4:wrappedScheduledVehicleIds>
          <ns4:wrappedUnscheduledVehicleIds>
            <ns0:Int>1</ns0:Int>
          </ns4:wrappedUnscheduledVehicleIds>
        </ns4:result>
      </ns3:result>
    </ns3:planBasicToursResponse>
  </soap:Body>
</soap:Envelope>
best regards,
François
Last edited by Flegregeois on Wed Nov 30, 2016 8:11 am, edited 6 times in total.
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xTour and tour points fixation

Post by Bernd Welter »

Hello Francois,

please provide the comlpete requests and responses so we can analyse them.

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... :twisted:
Flegregeois

Re: xTour and tour points fixation

Post by Flegregeois »

Hello Bernd,

just update my topic with the request.

Best regards,
François
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xTour and tour points fixation

Post by Bernd Welter »

Has been jira'd...
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... :twisted:
Post Reply