xTour2 : potential experiences with output

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
User avatar
Bernd Welter
Site Admin
Posts: 2763
Joined: Mon Apr 14, 2014 10:28 am
Contact:

xTour2 : potential experiences with output

Post by Bernd Welter »

Here's a distinct description of potential planTours calls... Behaviour also depends on combination of
  • Server settings /xserver.conf):

    Code: Select all

        jobs {
            resultRetentionTime = 7d
            fetchedResultRetentionTime = 1h
            zombieRetentionTime = 1d
            jobQueueTimeout = -1
            jobModuleTimeout = -1
        }
    
  • Request parameters override server settings

    Code: Select all

      "timeouts": {
        "queueingTimeout": 600000,
        "computationTimeout": 900000
      }
    
ConditionStatusPlanExample
RejectedExceptionnot available

Code: Select all

{"faultInfo":{"$type":"QueueOverflowFault"},
"message":"Failed to enqueue asynchronous request interface com.ptvgroup.xserver.xtour.XTourModuleInterface.planTours()"}
Queuetimeout expiredExceptionnot available
InterruptedFailednot available

Code: Select all

{"faultInfo":{"$type":"RequestTimedOutFault"},"message":"Request has timed out!"}
IntermediateSuccessSuboptimal

Code: Select all

"resultLimitations": [
    {
      "reason": "REQUEST_TIMED_OUT",
      "message": "The request has been stopped during computation. The response is an intermediate but 
      valid response that usually differs from the final response.",
      "hint": "To get the final response, run the request again with an increased computation timeout."
    }
  ]
TerminatedSuccessBest available solution
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