Page 1 of 2
xTour planBasicTours
Posted: Fri Sep 05, 2014 9:25 am
by sauer
Hello,
I have some problem to calculate Tours with planBasicTours.
The Problem is when I have two vehicles and two TransportAB Transport´s
both transports start in Frankfurt and end in Antwerpen.
Now I start calculation, and only one vehicle is used with following driving sequence.
From Frankfurt to Antwerpen to Frankfurt to Antwerpen. So the distance for the Vehicle
without Loading is to high.
What should i do that both Vehicles are used or rather how can i reduce the
driving distance without Loading?
Re: xTour planBasicTours
Posted: Fri Sep 05, 2014 10:08 am
by Bernd Welter
Hello Sauer,
please attach your request / response to the topic. Obviously some important information is missing (e.g. the quantities).
With the given description the tour planning result is definetly just one vehicle satisfying both orders at the same time.
Regards Bernd
Re: xTour planBasicTours
Posted: Fri Sep 05, 2014 10:14 am
by Joost
By default the goal of the xTour is to use as few vehicles as possible. You can influence this goals though.
If you use StandardParams (or one of the classes that are derived from it), you can use the goalImportance attribute to influence your goal. You can for example set the importanct for vehicleCount and tourCount to 1.
More details can be read in the API description:
http://xserver.ptvgroup.com/fileadmin/f ... ation.html
Note: when looking at your question I I'm assuming this is a test scenario where you are trying some simple things with xTour. Keep in mind that these kinds of test scenario's can be a little bit extreme in what you need to do to get the desired result. When working with real live scenario's there are often other factors in play (for example opening intervals) that will get results more to your liking with default settings. I would strongly advise not to hard code the goalImportance and not give your self some room to play with real live data before making a decision about with parameter set suits you the best.
Re: xTour planBasicTours
Posted: Fri Sep 05, 2014 1:33 pm
by Bernd Welter
Hello Sauer,
meanwhile I was looking at the sample and furthermore I was discussing this scenario with one of our core developers:
Though the plot seems to be that simple (no time constraints, no skill constraints), just the load which is too much for one vehicle at the same time the tour planning as you expect it to work seems to fail: Unfortunately the construction step creates an initial tour that uses one vehicle with FRANKFURT-ANTWERP-FRANKFURT-ANTWERP.
This tour is valid and satisfies all orders.
Now even the IMPROVEMENT process can't resolve your requirement: once a solution has determined a specific plan the "horizon" of possible manipulations is to
- concatenate tours
- merge tours
- ...
but it is not
- split one existing tour into several tours to save distances
The other question I have - though I know it is not a solution - is simple:
The single tour results in a condition where an empty vehicle is located in Antwerp.
The solution you want to have provokes two empty vehicles at Antwerp.
Is this really what you want to have?
Regards from Germany,
Bernd
Re: xTour planBasicTours
Posted: Fri Sep 05, 2014 1:43 pm
by Bernd Welter
One more comment about this:
DEPOT - Frankfurt - Antwerp - Frankfurt - Antwerp - DEPOT
is definetly shorter than two vehicles
DEPOT - Frankfurt - Antwerp - DEPOT
DEPOT - Frankfurt - Antwerp - DEPOT
Only the depotless planning seems to cause troubles....
Re: xTour planBasicTours
Posted: Fri Sep 05, 2014 4:09 pm
by sauer
Hello,
there is the request from my sample
Code: Select all
<?xml version="1.0"?>
<planBasicToursRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ArrayOfTransportOrder_1>
<TransportOrder xsi:type="TransportAB" id="1" trailerLoadingForbidden="false" xmlns="http://xtour.xserver.ptvag.com">
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<wrappedVehicleCategories>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">23</Int>
</wrappedVehicleCategories>
<wrappedVehicleExclusions xsi:nil="true" />
<wrappedVehicleRequirements xsi:nil="true" />
<quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">28500</Int>
</wrappedQuantities>
</quantities>
<transportPointA description="Beladen in Ludwigshafen" id="1" allowServiceSplit="true" coDriverRequired="false" openingIntervalConstraint="START_OF_SERVICE" servicePeriod="0" tourSection="0" useServicePeriodForRecreation="false">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="917632" y="6317972" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</transportPointA>
<transportPointB description="Entladen in Antwerpen" id="2" allowServiceSplit="true" coDriverRequired="false" openingIntervalConstraint="START_OF_SERVICE" servicePeriod="0" tourSection="0" useServicePeriodForRecreation="false">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="469835" y="6640516" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</transportPointB>
</TransportOrder>
<TransportOrder xsi:type="TransportAB" id="2" trailerLoadingForbidden="false" xmlns="http://xtour.xserver.ptvag.com">
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<wrappedVehicleCategories>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">16</Int>
</wrappedVehicleCategories>
<wrappedVehicleExclusions xsi:nil="true" />
<wrappedVehicleRequirements xsi:nil="true" />
<quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">28500</Int>
</wrappedQuantities>
</quantities>
<transportPointA description="Beladen in Ludwigshafen" id="3" allowServiceSplit="true" coDriverRequired="false" openingIntervalConstraint="START_OF_SERVICE" servicePeriod="0" tourSection="0" useServicePeriodForRecreation="false">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="917632" y="6317972" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</transportPointA>
<transportPointB description="Entladen in Antwerpen" id="4" allowServiceSplit="true" coDriverRequired="false" openingIntervalConstraint="START_OF_SERVICE" servicePeriod="0" tourSection="0" useServicePeriodForRecreation="false">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="469835" y="6640516" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</transportPointB>
</TransportOrder>
<TransportOrder xsi:type="TransportAB" id="3" trailerLoadingForbidden="false" xmlns="http://xtour.xserver.ptvag.com">
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<wrappedVehicleCategories>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">16</Int>
</wrappedVehicleCategories>
<wrappedVehicleExclusions xsi:nil="true" />
<wrappedVehicleRequirements xsi:nil="true" />
<quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">28500</Int>
</wrappedQuantities>
</quantities>
<transportPointA description="Beladen in Ludwigshafen" id="5" allowServiceSplit="true" coDriverRequired="false" openingIntervalConstraint="START_OF_SERVICE" servicePeriod="0" tourSection="0" useServicePeriodForRecreation="false">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="917632" y="6317972" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</transportPointA>
<transportPointB description="Entladen in Antwerpen" id="6" allowServiceSplit="true" coDriverRequired="false" openingIntervalConstraint="START_OF_SERVICE" servicePeriod="0" tourSection="0" useServicePeriodForRecreation="false">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="469835" y="6640516" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</transportPointB>
</TransportOrder>
</ArrayOfTransportOrder_1>
<ArrayOfDepot_2>
<Depot description="LKW startet in Hürth" id="100" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="725502" y="6530347" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="101" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Frankfurt" id="102" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="938574" y="6453606" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="103" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in GIENGEN" id="104" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1128061" y="6161980" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="105" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Rakovnik" id="106" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1493348" y="6449622" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="107" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Rakovnik" id="108" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1493348" y="6449622" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="109" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Rakovnik" id="110" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1493348" y="6449622" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="111" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Dillingen/Donau" id="112" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1128061" y="6161980" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="113" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Kornwestheim" id="114" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1013075" y="6185984" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="115" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Kornwestheim" id="116" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1013075" y="6185984" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="117" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Kornwestheim" id="118" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1013075" y="6185984" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="119" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in CASTELNUOVO ASOLANO (MANT" id="120" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="-0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="121" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in RAKOVNIK" id="122" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1493348" y="6449622" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="123" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in SCHWARZHEIDE" id="124" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1500420" y="6665286" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="125" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Ponte Lambro" id="126" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1015699" y="5693173" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="127" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Kornwestheim" id="128" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1013075" y="6185984" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="129" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Kornwestheim" id="130" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1013075" y="6185984" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="131" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Gozzano" id="132" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="917703" y="5685356" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="133" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Rakovnik" id="134" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1493348" y="6449622" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="135" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Rakovnik" id="136" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1493348" y="6449622" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="137" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in CASTELNUOVO ASOLANO (MANT" id="138" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="-0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="139" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Rodach" id="140" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1163366" y="6474028" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="141" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Mainz" id="142" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="907451" y="6369209" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="143" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW startet in Rakovnik" id="144" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="1493348" y="6449622" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
<Depot description="LKW beendet die Tour in " id="145" xmlns="http://xtour.xserver.ptvag.com">
<location>
<kml xsi:nil="true" xmlns="http://common.xserver.ptvag.com" />
<point x="0" y="0" xmlns="http://common.xserver.ptvag.com" />
</location>
<wrappedOpeningIntervals xsi:nil="true" />
</Depot>
</ArrayOfDepot_2>
<Fleet_3>
<wrappedTrailers xsi:nil="true" xmlns="http://xtour.xserver.ptvag.com" />
<wrappedTrains xsi:nil="true" xmlns="http://xtour.xserver.ptvag.com" />
<wrappedVehicles xmlns="http://xtour.xserver.ptvag.com">
<Vehicle depotIdStart="100" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="1" category="16" description="304/4Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">30000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="102" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="2" category="16" description="304/2Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">30000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="104" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="3" category="16" description="352Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">30000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="106" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="4" category="16" description="305/8Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">30000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="108" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="5" category="16" description="305/6Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">24000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="110" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="6" category="16" description="305/1Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">24000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="112" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="7" category="16" description="304/8Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">24000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="114" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="8" category="16" description="304/7Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">24000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="116" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="9" category="16" description="304/5Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">24000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="118" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="10" category="16" description="304/23Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">24000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="-1" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="11" category="16" description="344Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">24000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="122" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="12" category="16" description="305/2Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">24000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="124" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="13" category="16" description="370/3Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">24000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="126" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="14" category="16" description="336Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">24000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="128" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="15" category="16" description="304/3Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">24000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="130" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="16" category="16" description="304/10Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">24000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<restrictions maxTourCountPerChain="1" maxTransportPointCountPerTour="6" />
<startLocation xsi:nil="true" />
<wrappedTransportEquipments xsi:nil="true" />
</Vehicle>
<Vehicle depotIdStart="132" depotIdEnd="-1" isPreloaded="false" ignoreTransportPointServicePeriod="false" toursMustFitIntoSingleOperatingInterval="false" coDriverStatus="NEVER" dimaId="1" ignoreIntermediatePeriodBeforeFirstTour="false" id="17" category="16" description="341Z">
<wrappedOperatingIntervals xsi:nil="true" />
<capacities>
<wrappedCapacities>
<Quantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">24000</Int>
</wrappedQuantities>
</Quantities>
</wrappedCapacities>
</capacities>
<costs costsPerKm="0.46" fixedCosts="300" costsPerHourDriverOnly="0.7" costsPerHourWithCoDriver="0" costsPerChain="0" />
<driverSettings breakRuleActive="true" dailyRestRuleActive="true" regulationsId="1" weeklyRestRuleActive="true" workingRuleActive="true" />
<wrappedAreaNumbers xsi:nil="true" />
<endLocation xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoa
Re: xTour planBasicTours
Posted: Fri Sep 05, 2014 4:09 pm
by sauer
this is the response
Code: Select all
<?xml version="1.0"?>
<planBasicToursResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<result>
<wrappedChains xmlns="http://xtour.xserver.ptvag.com">
<Chain vehicleId="2">
<result periodToEndLocation="0" periodFromStartLocation="0" vehicleDescription="304/2Z" remainingPeriods="22 serialization::archive 9 0 2 0 0 1 3 0 3 0 0 0 0 12904 0 0 0 0 3296 0 3296 424496 2 0 3 2147483647 297000 378000 2 0 0 0 165296 0 0 0 75296 424496 0 75296 1029296 0 75296 424496 0 0 6 0 3296 75296 424496 1 0 0 0 0 3296 0 3296 0 3 0 0 165296 2147483647 0 165296 0 4 1 16200 900 1800 1 39600 10800 32400 32400 3 32400 36000 2 604800 86400 1 518400 201600 162000 324000 345600 1 1800 2700 21600 32400 900 36000 216000 39600 0 0 0 0 0 0 0 0 0" endTime="165296" distanceFromStartLocation="0" chainCosts="0" drivingPeriod="75296" distanceToEndLocation="0">
<wrappedTourEvents>
<TourEvent startTime="0" tourIndex="0" logisticPointId="102" period="0">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">SERVICE</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">IS_IN_SERVICE_INTERVAL</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="0" tourIndex="0" logisticPointId="-1" period="6992">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DRIVING</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="6992" tourIndex="0" logisticPointId="3" period="0">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">SERVICE</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">IS_IN_SERVICE_INTERVAL</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="6992" tourIndex="0" logisticPointId="-1" period="9208">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DRIVING</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="16200" tourIndex="0" logisticPointId="-1" period="2700">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">BREAK</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING_BREAK</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="18900" tourIndex="0" logisticPointId="-1" period="13552">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DRIVING</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="32452" tourIndex="0" logisticPointId="4" period="0">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">SERVICE</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">IS_IN_SERVICE_INTERVAL</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="32452" tourIndex="0" logisticPointId="-1" period="2648">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DRIVING</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="35100" tourIndex="0" logisticPointId="-1" period="2700">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">BREAK</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING_BREAK</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="37800" tourIndex="0" logisticPointId="-1" period="3600">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DRIVING</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="41400" tourIndex="0" logisticPointId="-1" period="2700">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">BREAK</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DAILY_REST</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING_REST</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="44100" tourIndex="0" logisticPointId="-1" period="36900">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DAILY_REST</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING_REST</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="81000" tourIndex="0" logisticPointId="-1" period="16200">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DRIVING</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="97200" tourIndex="0" logisticPointId="-1" period="2700">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">BREAK</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING_BREAK</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="99900" tourIndex="0" logisticPointId="-1" period="336">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DRIVING</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="100236" tourIndex="0" logisticPointId="5" period="0">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">SERVICE</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">IS_IN_SERVICE_INTERVAL</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="100236" tourIndex="0" logisticPointId="-1" period="15864">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DRIVING</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="116100" tourIndex="0" logisticPointId="-1" period="2700">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">BREAK</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING_BREAK</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="118800" tourIndex="0" logisticPointId="-1" period="3600">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DRIVING</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="122400" tourIndex="0" logisticPointId="-1" period="2700">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">BREAK</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DAILY_REST</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING_REST</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="125100" tourIndex="0" logisticPointId="-1" period="36900">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DAILY_REST</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING_REST</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="162000" tourIndex="0" logisticPointId="-1" period="3296">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DRIVING</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="165296" tourIndex="0" logisticPointId="6" period="0">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">SERVICE</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">IS_IN_SERVICE_INTERVAL</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="165296" tourIndex="0" logisticPointId="-1" period="0">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">DRIVING</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
<TourEvent startTime="165296" tourIndex="0" logisticPointId="0" period="0">
<wrappedDescriptions>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">SERVICE</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WAITING</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">IS_IN_SERVICE_INTERVAL</String>
<String xmlns="http://wrappertypes.service.jabba.ptvag.com">WORKING</String>
</wrappedDescriptions>
<wrappedViolations />
</TourEvent>
</wrappedTourEvents>
</result>
<wrappedTours>
<Tour startTimeFixed="false" vehicleFixed="false" tourPointFixation="NONE" ignoreIntermediatePeriodOfPreviousTour="false" id="1">
<restrictions xsi:nil="true" />
<result restPeriod="79200" servicePeriod="0" remainingPeriods="22 serialization::archive 9 0 2 0 0 1 3 0 3 0 0 0 0 12904 0 0 0 0 3296 0 3296 424496 2 0 3 2147483647 297000 378000 2 0 0 0 165296 0 0 0 75296 424496 0 75296 1029296 0 75296 424496 0 0 6 0 3296 75296 424496 1 0 0 0 0 3296 0 3296 0 3 0 0 165296 2147483647 0 165296 0 4 1 16200 900 1800 1 39600 10800 32400 32400 3 32400 36000 2 604800 86400 1 518400 201600 162000 324000 345600 1 1800 2700 21600 32400 900 36000 216000 39600 0 0 0 0 0 0 0 0 0" maxDistanceBetweenTransportPoints="458170" period="165296" transportPointCount="4" waitingPeriod="0" tourChanged="true" startTime="0" startTimeLatest="2147483647" depotUnloadingPeriod="0" depotAvailabilityForDeliveries="0" breakPeriod="10800" coDriverRequired="false" drivingPeriod="75296" earliness="0" distanceFromFirstToLastTransportPoint="1373138" depotUploadingPeriod="0" distance="1499997">
<deliveryQuantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">57000</Int>
</wrappedQuantities>
</deliveryQuantities>
<maxQuantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">28500</Int>
</wrappedQuantities>
</maxQuantities>
<pickupQuantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">57000</Int>
</wrappedQuantities>
</pickupQuantities>
<totalCosts costsPerKm="689.99862000000007" fixedCosts="300" costsPerHour="32.140888888888888" totalCosts="1022.1395088888889" />
<wrappedViolations xsi:nil="true" />
<maxLoadingArea xsi:nil="true" />
<minLoadingArea xsi:nil="true" />
<wrappedVehicleExclusions xsi:nil="true" />
<wrappedVehicleRequirements xsi:nil="true" />
</result>
<wrappedTourPoints>
<TourPoint type="DEPOT" id="102" description="LKW startet in Frankfurt" remainPlanned="false" tourFixed="false">
<result restPeriodAtTourPoint="0" restPeriodOnRoad="0" endServiceTime="0" startServiceTime="0" waitingPeriod="0" servicePeriod="0" startDistance="0" breakPeriodOnRoad="0" delay="0" arrivalTime="0" breakPeriodAtTourPoint="0" drivingPeriod="0" earliness="0" departureTime="0" drivingDistance="0">
<currentQuantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">0</Int>
</wrappedQuantities>
</currentQuantities>
<wrappedTourPointViolations xsi:nil="true" />
</result>
</TourPoint>
<TourPoint type="TRANSPORT_POINT" id="3" description="Beladen in Ludwigshafen" remainPlanned="false" tourFixed="false">
<result restPeriodAtTourPoint="0" restPeriodOnRoad="0" endServiceTime="6992" orderId="2" startServiceTime="6992" waitingPeriod="0" servicePeriod="0" startDistance="126859" breakPeriodOnRoad="0" delay="0" arrivalTime="6992" breakPeriodAtTourPoint="0" drivingPeriod="6992" earliness="0" departureTime="6992" drivingDistance="126859">
<currentQuantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">28500</Int>
</wrappedQuantities>
</currentQuantities>
<wrappedTourPointViolations xsi:nil="true" />
</result>
</TourPoint>
<TourPoint type="TRANSPORT_POINT" id="4" description="Entladen in Antwerpen" remainPlanned="false" tourFixed="false">
<result restPeriodAtTourPoint="0" restPeriodOnRoad="0" endServiceTime="32452" orderId="2" startServiceTime="32452" waitingPeriod="0" servicePeriod="0" startDistance="585029" breakPeriodOnRoad="2700" delay="0" arrivalTime="32452" breakPeriodAtTourPoint="0" drivingPeriod="22760" earliness="0" departureTime="32452" drivingDistance="458170">
<currentQuantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">0</Int>
</wrappedQuantities>
</currentQuantities>
<wrappedTourPointViolations xsi:nil="true" />
</result>
</TourPoint>
<TourPoint type="TRANSPORT_POINT" id="5" description="Beladen in Ludwigshafen" remainPlanned="false" tourFixed="false">
<result restPeriodAtTourPoint="0" restPeriodOnRoad="39600" endServiceTime="100236" orderId="3" startServiceTime="100236" waitingPeriod="0" servicePeriod="0" startDistance="1041827" breakPeriodOnRoad="5400" delay="0" arrivalTime="100236" breakPeriodAtTourPoint="0" drivingPeriod="22784" earliness="0" departureTime="100236" drivingDistance="456798">
<currentQuantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">28500</Int>
</wrappedQuantities>
</currentQuantities>
<wrappedTourPointViolations xsi:nil="true" />
</result>
</TourPoint>
<TourPoint type="TRANSPORT_POINT" id="6" description="Entladen in Antwerpen" remainPlanned="false" tourFixed="false">
<result restPeriodAtTourPoint="0" restPeriodOnRoad="39600" endServiceTime="165296" orderId="3" startServiceTime="165296" waitingPeriod="0" servicePeriod="0" startDistance="1499997" breakPeriodOnRoad="2700" delay="0" arrivalTime="165296" breakPeriodAtTourPoint="0" drivingPeriod="22760" earliness="0" departureTime="165296" drivingDistance="458170">
<currentQuantities>
<wrappedQuantities>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">0</Int>
</wrappedQuantities>
</currentQuantities>
<wrappedTourPointViolations xsi:nil="true" />
</result>
</TourPoint>
</wrappedTourPoints>
</Tour>
</wrappedTours>
</Chain>
</wrappedChains>
<result totalTourDistance="1499997" totalTourDrivingPeriod="75296" totalTourPeriod="165296" totalChainCosts="0" totalTourCosts="1022.1395088888889" totalTourCount="1" xmlns="http://xtour.xserver.ptvag.com">
<wrappedScheduledOrderIds>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">2</Int>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">3</Int>
</wrappedScheduledOrderIds>
<wrappedScheduledVehicleIds>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">2</Int>
</wrappedScheduledVehicleIds>
<wrappedUnscheduledOrderAnalysisResults xsi:nil="true" />
<wrappedUnscheduledOrderIds>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">1</Int>
</wrappedUnscheduledOrderIds>
<wrappedUnscheduledVehicleIds>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">1</Int>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">3</Int>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">4</Int>
<Int xmlns="http://wrappertypes.service.jabba.ptvag.com">23</Int>
</wrappedUnscheduledVehicleIds>
</result>
</result>
</planBasicToursResponse>
Re: xTour planBasicTours
Posted: Mon Mar 23, 2015 2:57 pm
by log-konz
Hi all!
I have the simillar problem.
I need to control when planBasicTour method should to calculate tours
using all vehicles, that given in request and spread out all orders among them, or
when it should use only one vehicle (but in fleet list there are can be more of them)
and plan all orders for that vehicle.
To control it i've try to use variouse values of GoalImportance parmether, but all of variants
returns the same result as without this paramether,
Also i've try to use balancingparams instead of standartparams, the result was same.
Re: xTour planBasicTours
Posted: Fri Mar 27, 2015 5:08 pm
by Bernd Welter
Hello Log-Konz,
let me summarise your demands from my understanding and explain the solution on the basis of a simple scenario:
- A set of orders o#1, o#2, ...,o#n
- A depot with a set of vehicles v#1, v#2,...,v#m
- Scenario S#1: you'd like to find a solution that fullfills as many of the orders as possible with a number of vehicles as small as possible
- Scenario S#2: Instead of a small number of vehicles you'd like to use all of them and furthermore the "stress" of each driver should be at almost same level.
Yeah if this is the proper understanding the solution is achieved as follows:
The main difference between these two scenarios is the parameter #4 of planBasicTours: the method requires a class element of type PlanningParams. As PlanningParams itself is an abstract class you have to use one of the following derived sublasses for your scenario. I'm sure this overview of the given subclasses enables you to resolve your challenge!
- StandardParams: this one is for scenario S#1: if this class is applied we try to find a solution based on as few ressources as possible, e.g. a sufficient minimum of vehicles.
- BalancingParams: (S#2) The use case described by this class executes the tour optimization and considers at the same time to balance the tours with regard to a balancing goal (for example all planned tours have nearly the same tour period). This use case is subject to additional restrictions. Firstly every vehicle performs a tour and so there are no unscheduled vehicles. Secondly every tour chain consists of not more than one tour. Thirdly the tours of one depot are balanced among each other, but there is no balancing between depots. Finally the tour optimization in this use case is focused on depot-related transportation. Therefore it is recommended to use mainly TransportDepot and to add only a smaller part of TransportAB to the planning. The use of the parameter tourReductionStep of StandardParams is forbidden and will throw an exception.
- AreaParams: Extends the class PlanningParams with area tour planning attributes. The use case described by this class executes the tour optimization and considers at the same time all area attributes of transport orders, vehicles and tours.
- CalculationParams: The use case described by this class calculates the tour attributes of the imported tours without changing the existing tours at all (for example to get an idea of the time profile or to check if a tour is violated or not). There is no optimization step executed.
- VehicleSchedulingParams: Truck scheduling attributes. The use case described by this class executes a cost based vehicle scheduling based on an existing input tour. In other words: this approach tries to swap and rearrange complete tours among the vehicles to reduce the total costs. Existing tour structures won't be changed at all.
- AmendingParams: Amending tour planning attributes. The use case described by this class executes the tour optimization by amending existing tours with the given orders. Therefore an input plan with at least one tour should be provided.
The "Goal"'s you mentioned will be enforced if you apply the ImprovementStep after the ConstructionStep. Please check the API description of the subclasses to get a better understanding of the additional effect such as BalancingGoal.
Best regards from Germany,
Bernd
Re: xTour planBasicTours
Posted: Tue Mar 31, 2015 9:01 am
by log-konz
thx a lot.
I'm trying it now,
but i have an other question:
On all my requests server returns the same responses (and it not depend which type of parameters i use),
and in all of this cases there is not all orders are planned.
Is there any option that allow to controll if there is necessari to plan ALL orders or as much as posible