Open start and end (v1.19.0)

Questions refering to the Optiflow based API within PTV Developer (launched on 20.12.2023)
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2903
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Open start and end (v1.19.0)

Post by Bernd Welter »

Hi there,
As you might have read: with version 1.19.0 of the Route Optimization Optiflow we now offer the possibility to define both Start and End location of a vehicle open (no longer mandatory).
ApiVarVersionTypeDateDescription
Route Optimization OptiFlow API1.11.0FEATURE27.01.2025The end location of a vehicle is no longer required. The route of a vehicle without an end location ends at the location of the last stop.
Route Optimization OptiFlow API1.19.0FEATURE02.09.2025The start location of a vehicle is no longer required. The route of a vehicle without a start location starts at the location of the first stop.
These scenarios are helpful in various stories, e.g.
  • Parcel Delivery: often the drivers return back to the depot / home should not be part of the optimization as this leg does not contribute with real costs (DeliveryOrders combined with PickupOrders) .
  • Students transport : when picking students in the morning and dropping them of at multiple schools (PickupDelivery orders) the drivers way from the home location to the 1st pickup task shouldn't be considered (therefore vehicle.Start.LocationId=null) and also the leg from the final school to the homebase (vehicle.End.LocationId=null). In the afternoon the scenario is flipped when the trips start at a school and end at the last student.
Roundtrip : vehicle.Start.LocationId=depot.locationId, vehicle.End.locationId=depot.locationId
Roundtrip : vehicle.Start.LocationId=depot.locationId, vehicle.End.locationId=depot.locationId
Open Start : vehicle.Start.LocationId=NULL, vehicle.End.locationId=depot.locationId
Open Start : vehicle.Start.LocationId=NULL, vehicle.End.locationId=depot.locationId
OpenEnd : vehicle.Start.LocationId=depot.Id, vehicle.End.locationId=NULL
OpenEnd : vehicle.Start.LocationId=depot.Id, vehicle.End.locationId=NULL
Completely open : vehicle.Start.LocationId=NULL, vehicle.End.locationId=NULL
Completely open : vehicle.Start.LocationId=NULL, vehicle.End.locationId=NULL
With these 4 scenarios I gathered the following results (left to right: roundtrip, openEnd, openStart, open both):
  • The utilization : you can see that the completely open structure allows the engine to schedule all the orders within the given timeframe as neither tour from a fixed start nor end  limits the sky.
    The utilization : you can see that the completely open structure allows the engine to schedule all the orders within the given timeframe as neither tour from a fixed start nor end limits the sky.
  • The total costs of the 4 results : in this example the total costs are extremely high compared to the others as not all orders haven't been scheduled and therefor contribute with high outsourcing costs.
    The total costs of the 4 results : in this example the total costs are extremely high compared to the others as not all orders haven't been scheduled and therefor contribute with high outsourcing costs.
Attachments
Vehicle.End : locationId is optional since
Vehicle.End : locationId is optional since
Vehicle.Start : locationID is optional since v1.19.0
Vehicle.Start : locationID is optional since v1.19.0
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