Maximum Size of a Single Order on a Vehicle

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
ivo.hedtke
Posts: 3
Joined: Mon Nov 12, 2018 9:23 am
Location: Essen, Germany

Maximum Size of a Single Order on a Vehicle

Post by ivo.hedtke »

We are using xTour v1 and we have a new requirement from our planners. We are not sure whether this is supported and if so: how?

We have multiple orders and multiple vehicles. All of them use 6 quantities (ADR, volume, tax weight, gross weight, ...). Here is an example for one order:

Code: Select all

	"transportOrders": [
		{
			"$type": "TransportDepot",
			"pickupQuantities": {
				"quantities": [
					0,
					7596,
					474,
					0,
					0,
					2530
				]
			},
			...
		}, ...
All orders (pickups and deliveries) look like that and the vehicles use those 6 dimensions to give their capacities.

Question: We would like to set per vehicle for some dimensions a limit. How do we do that?

For example: the truck can have up to 1000 ADR points, 34 pallets, 20t gross weight, .... but we would like to have only "small orders" on it, this means although the sum of all orders can be up to 20t, each individual order should have at most 500kg. Orders with more than 500kg should go on a truck without that limit (or with a higher limit)

We had equipment flags in mind, but we have 30+ trucks and each has 6 dimensions. It would be quite a combination of "trucks and allowed maximum value of dimension X".

Example:
truck 1: max gross weight 500kg (per order)
truck 2: max gross weight 600kg, max pallets 3 (per order)
truck 3: no limits (per order)
truck 4: max tax weight 1t (per order)
...

Is such a detailed limit "per order on a truck" possible, or do we have to solve that in the preprocessing before calling xTour (for example via equipment flags)?

Thank you!
Dr. Ivo Hedtke
Operations Research Specialist
Global Data Strategy and Analytics
Schenker AG
Kruppstr. 4
45128 Essen
Joost
Posts: 310
Joined: Fri Apr 25, 2014 1:46 pm

Re: Maximum Size of a Single Order on a Vehicle

Post by Joost »

For height, length, width and weight you can make use of the LoadingArea feature. ON each order you can define the size via the TransportOrder.LoadingArea and each vehicle you can set limits that apply on a per order basis via the Vehicle.maxLoadingArea .

If that does not suffice you need to resort back to a flag base system like equipments. I personally would not use equipment's but categories. You can give vehcile a category via based on it's type via the Vehcile.category and then on orders set which categories can execute the order via the TransportOrder.vehicleCategories . I find that system much simpler then a equipement based system.
Joost Claessen
Senior Technical Consultant
PTV Benelux
Post Reply