mixed loading prohibition: split orders into truck versus trailer

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:

mixed loading prohibition: split orders into truck versus trailer

Post by Bernd Welter »

Hi there,
one of my partners is dealng with an xtour2 challenge that sounds like he could benefit from the mixed loading prohibition (com.ptvgroup.xserver.xtour.MixedLoadingProhibition:
Defines restrictions regarding which categories of orders are disallowed to be mixed on the same trip.
Here's the sample input and also the requested output. From my perspective the MixedLOadingProhibition does not cover this. Therefore the question is: is there an alternative approach?

Given:
  • Order 1: a predator
  • Order 2: a prey
  • conflictingCategory1="predator" , conflictingCategory2 = "prey"
Now the prohibition would cause the two orders to be dispatched to either
  • same vehicle but distinct trips
  • different vehicles / tours
What we could imagine as a possible structure:
  • predator on the truck
  • prey on the trailer
My two questions are:
  • Is there some workaround to achieve this given result based on a minimal sample
  • If the answer is positive: is this a generic approach that can also work with more orders (truck="meat, goat", trailer="tiger, salad")?
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:
User avatar
Bernd Welter
Site Admin
Posts: 2763
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: mixed loading prohibition: split orders into truck versus trailer

Post by Bernd Welter »

In the context of
  • xTour2
  • PTV Developer RouteOptimization API (MAINTENANCE!)
  • PTV Developer SequenceOptimization API (MAINTENANCE!)
The answer is "not possible"...

For a statement in the context of
  • PTV Developer RouteOptimization OptiFlow
I requested the competence center to respond...

Stay tuned!

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