Inconsistent tour planning behaviour

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
tmester
Posts: 3
Joined: Fri Sep 11, 2020 2:17 pm

Inconsistent tour planning behaviour

Post by tmester »

Hey all,

we are facing a strange issue and cannot explain this behavior.

The plan is to plan 15 transports on a tour.
When we only have one vehicle in the fleet, we get the response from PTV that there is one transport that was not able to be planned.
But when I add a second vehicle, we get the response from PTV that all 15 transports could be planned on one vehicle / tour. So, there is one unscheduled vehicle.

Here is the XML with only one vehicle. Here is the response that one transport could not be planned onto the tour. But when you add a second vehicle, the response is that all 15 transports were successful planned onto one tour / vehicle.

Code: Select all

<S:Envelope
	xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
	<SOAP-ENV:Header/>
	<S:Body>
		<ns6:planBasicTours
			xmlns:ns6="http://types.xtour.xserver.ptvag.com"
			xmlns="http://exception.core.jabba.ptvag.com"
			xmlns:ns2="http://wrappertypes.service.jabba.ptvag.com"
			xmlns:ns3="http://baseservices.service.jabba.ptvag.com"
			xmlns:ns4="http://xtour.xserver.ptvag.com"
			xmlns:ns5="http://common.xserver.ptvag.com">
			<ns6:ArrayOfTransportOrder_1>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="1" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] b9441d13-9e5d-4a04-a743-29a60d1bb517" id="1" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.567110129/48.158409074 @ Max [21:00 - 23:00]-[-255368686] b9441d13-9e5d-4a04-a743-29a60d1bb517" id="2" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.567110129" y="48.158409074"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="75600" till="82800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="2" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] f2b06121-5d63-4bc2-b847-1f91093f0a1d" id="3" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.455260242/48.133998844 @ Edina[18:00 - 20:00]-[-479737462] f2b06121-5d63-4bc2-b847-1f91093f0a1d" id="4" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.455260242" y="48.133998844"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="64800" till="72000"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="3" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @  Pickup München [16:00 - 18:00]-[-716878508] 2273f8cb-fe7e-447e-88c9-aa06fefcc79a" id="5" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.5445299/48.122310621 @ Erik[18:00 - 20:00]-[-1218723768] 2273f8cb-fe7e-447e-88c9-aa06fefcc79a" id="6" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.5445299" y="48.122310621"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="64800" till="72000"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="4" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] 1d640e8f-09af-4bde-822c-c6cfbc83d1e4" id="7" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.540140201/48.116321524 @ Jor[18:00 - 20:00]-[-1019369489] 1d640e8f-09af-4bde-822c-c6cfbc83d1e4" id="8" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.540140201" y="48.116321524"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="64800" till="72000"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="5" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] af596637-57bf-4fa5-8965-d88b5adb7bfb" id="9" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.501290327/48.131278976 @ Sin[18:00 - 20:00]-[-1625636254] af596637-57bf-4fa5-8965-d88b5adb7bfb" id="10" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.501290327" y="48.131278976"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="64800" till="72000"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="6" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] 802bd610-a19d-48b0-8d27-879b039438e7" id="11" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.537960136/48.09938048 @ Kat[18:00 - 20:00]-[-1524232233] 802bd610-a19d-48b0-8d27-879b039438e7" id="12" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.537960136" y="48.09938048"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="64800" till="72000"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="7" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] 6a6fd607-650f-4822-834a-be08cec9437a" id="13" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.544969529/48.137870799 @ Joh[18:00 - 20:00]-[1727736704] 6a6fd607-650f-4822-834a-be08cec9437a" id="14" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.544969529" y="48.137870799"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="64800" till="72000"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="8" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] 6e91f842-9f30-4754-b0ec-a65d6edc68d5" id="15" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.436980164/48.132339426 @ Ange[18:00 - 20:00]-[599552195] 6e91f842-9f30-4754-b0ec-a65d6edc68d5" id="16" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.436980164" y="48.132339426"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="64800" till="72000"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="9" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] 43ce682e-9aec-4c1f-b0ee-64f015041e03" id="17" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.51020996/48.131801648 @ Tam[19:00 - 21:00]-[1721614823] 43ce682e-9aec-4c1f-b0ee-64f015041e03" id="18" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.51020996" y="48.131801648"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="68400" till="75600"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="10" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] 70b7addd-3fa9-4624-8530-f3a10907bbed" id="19" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.501565052/48.102550539 @ Cris[18:00 - 20:00]-[1179995557] 70b7addd-3fa9-4624-8530-f3a10907bbed" id="20" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.501565052" y="48.102550539"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="64800" till="72000"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="11" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] 42a29f1b-45a3-4a8a-ae28-635b055bfbda" id="21" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.503569571/48.105941761 @ Mar[18:00 - 20:00]-[-623950646] 42a29f1b-45a3-4a8a-ae28-635b055bfbda" id="22" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.503569571" y="48.105941761"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="64800" till="72000"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="12" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] 38eee8dd-4b4f-40d6-89a8-617469b26893" id="23" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.526149799/48.099540709 @ Slad[19:00 - 21:00]-[-607235096] 38eee8dd-4b4f-40d6-89a8-617469b26893" id="24" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.526149799" y="48.099540709"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="68400" till="75600"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="13" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] 246614ea-6693-4e49-b579-4c23b577f005" id="25" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.417849552/48.104301407 @ An[18:00 - 20:00]-[-1451616148] 246614ea-6693-4e49-b579-4c23b577f005" id="26" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.417849552" y="48.104301407"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="64800" till="72000"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="14" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] b1dffb4b-4ae5-496c-ae46-4fc828067c6b" id="27" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.544210401/48.135150911 @ wal[18:00 - 20:00]-[-394759242] b1dffb4b-4ae5-496c-ae46-4fc828067c6b" id="28" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.544210401" y="48.135150911"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="64800" till="72000"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="15" trailerLoadingForbidden="false" xsi:type="ns4:TransportAB">
					<ns4:transportPointA allowServiceSplit="false" coDriverRequired="false" description="null @ PICKUP_PARCELS @ 11.61682992/48.253139514 @ Pickup München [16:00 - 18:00]-[-716878508] 773c708a-b753-40bb-9fea-2f6aba4f3e71" id="29" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="30" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="57600" till="64800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointA>
					<ns4:transportPointB allowServiceSplit="false" coDriverRequired="false" description="null @ DELIVER_PARCELS @ 11.539620317/48.134800005 @ Ma[21:00 - 23:00]-[-50227091] 773c708a-b753-40bb-9fea-2f6aba4f3e71" id="30" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="90" tourSection="0" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.539620317" y="48.134800005"/>
						</ns4:location>
						<ns4:wrappedOpeningIntervals>
							<ns4:Interval from="75600" till="82800"/>
						</ns4:wrappedOpeningIntervals>
					</ns4:transportPointB>
				</ns4:TransportOrder>
				<ns4:TransportOrder
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="16" trailerLoadingForbidden="false" xsi:type="ns4:TransportDepot">
					<ns4:transportPoint allowServiceSplit="false" coDriverRequired="false" description="null @ RETURN_PARCELS_HUB @ 11.61682992/48.253139514 @ HUB München [null]-[-488768805] " id="31" openingIntervalConstraint="COMPLETE_SERVICE" servicePeriod="360" tourSection="1000" useServicePeriodForRecreation="false">
						<ns4:location>
							<ns5:point x="11.61682992" y="48.253139514"/>
						</ns4:location>
					</ns4:transportPoint>
				</ns4:TransportOrder>
			</ns6:ArrayOfTransportOrder_1>
			<ns6:ArrayOfDepot_2>
				<ns4:Depot description="null @ START_TOUR @ 11.61682992/48.253139514 @  Logistics [null]-[357745032] " id="1001">
					<ns4:location>
						<ns5:point x="11.61682992" y="48.253139514"/>
					</ns4:location>
					<ns4:wrappedOpeningIntervals>
						<ns4:Interval from="28800" till="82800"/>
					</ns4:wrappedOpeningIntervals>
				</ns4:Depot>
				<ns4:Depot description="null @ FINISH_TOUR @ 11.61682992/48.253139514 @ Logistics [null]-[357745032] " id="10000">
					<ns4:location>
						<ns5:point x="11.61682992" y="48.253139514"/>
					</ns4:location>
					<ns4:wrappedOpeningIntervals>
						<ns4:Interval from="28800" till="82800"/>
					</ns4:wrappedOpeningIntervals>
				</ns4:Depot>
			</ns6:ArrayOfDepot_2>
			<ns6:Fleet_3>
				<ns4:wrappedVehicles>
					<ns4:Vehicle depotIdEnd="10000" depotIdStart="1001" dimaId="1846922203" id="2" ignoreIntermediatePeriodBeforeFirstTour="false" ignoreTransportPointServicePeriod="false" isPreloaded="false" toursMustFitIntoSingleOperatingInterval="false">
						<ns4:capacities>
							<ns4:wrappedCapacities>
								<ns4:Quantities>
									<ns4:wrappedQuantities>
										<ns2:Int>40</ns2:Int>
									</ns4:wrappedQuantities>
								</ns4:Quantities>
							</ns4:wrappedCapacities>
						</ns4:capacities>
					</ns4:Vehicle>
				</ns4:wrappedVehicles>
			</ns6:Fleet_3>
			<ns6:PlanningParams_4
				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" availableMachineTime="180" coDriverTransportPointsInSeparateTours="false" improvementStep="false" tourReductionStep="false" useDirectDistanceFallback="false" xsi:type="ns4:StandardParams">
				<ns4:wrappedDistanceMatrixCalculation>
					<ns4:DistanceMatrixCalculation deleteAfterUsage="true" deleteBeforeUsage="true" dimaId="1846922203" xsi:type="ns4:DistanceMatrixByRoad"/>
				</ns4:wrappedDistanceMatrixCalculation>
			</ns6:PlanningParams_4>
			<ns6:Plan_5
				xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
				<ns6:CallerContext_6>
					<ns3:wrappedProperties>
						<ns3:CallerContextProperty key="Profile" value="hpr-transporter"/>
						<ns3:CallerContextProperty key="CoordFormat" value="OG_GEODECIMAL"/>
					</ns3:wrappedProperties>
				</ns6:CallerContext_6>
			</ns6:planBasicTours>
		</S:Body>
	</S:Envelope>
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Inconsistent tour planning behaviour

Post by Bernd Welter »

Hello Thomas,

( I moved this topic into the xTour forum because it deals with tour optimization and not with cloud aspects themselves )

First relevant info I spotted is that your vehicle(s) use two identical depots but with different IDs:

Code: Select all

<ns4:Vehicle depotIdEnd="10000" depotIdStart="1001" 
dimaId="1846922203" id="1" ignoreIntermediatePeriodBeforeFirstTour="false" 
ignoreTransportPointServicePeriod="false" isPreloaded="false" 
toursMustFitIntoSingleOperatingInterval="false">
:idea: If possible ensure to use a single depotId in such a scenario.

In the meantime I reproduced the following 4 aproaches:
  • single vehicle, two equal depots : one order remains unscheduled
  • single vehicle, single depot : all orders scheduled
  • two vehicles, two equal depots : all orders scheduled
  • two vehicles, single depot : all orders scheduled
So a very rough explanation of the cause is the application of potential moves: if two vehicles are available there are some moves available which cannot be applied with a single vehicle. This produces temporary data structures which aren't available in the single vehicle case. You have no influence on this through the API (besides single depot) and we will neither create a new server version nor reconfigure the available server.

Long story short: focus on proper depot parameters :)

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:
Post Reply