AI-Powered Trip Optimization
Automatically assign shipments to vehicles with a built-in VRP solver, and preview the result before committing.
Stop spending hours building route plans by hand. Transportial's built-in Vehicle Routing Problem (VRP) solver analyzes every open shipment, every available vehicle, driver capacity, time windows, and driving-time constraints, then produces an optimized plan in seconds.
What it does
A code-level inventory of what AI-Powered Trip Optimization covers, in the terms you will find inside the product.
Choose the engine that fits the job
The optimizer is pluggable per platform; the constraints below depend on the engine you select.
- PTV OptiFlow
PTV Developer's route optimization with configurable routing profiles, traffic mode, cost per hour, mile, stop, route and unused vehicle, outsourcing costs, compactness, duration balancing, planning horizon, driver break rules and ADR or high-value vehicle attributes.
- PTV xTour
Tour planning on PTV xServer for platforms that still run it (xServer 1 reaches end of life on 1 September 2026; OptiFlow is the successor).
- OSRM and CloverOpt
OSRM solves single-vehicle trip ordering (TSP); CloverOpt is a cloud VRP service for platforms that prefer it.
- Transportial solver
The in-house solver builds trips with nearest-neighbor construction, improves them with relocate, swap, merge and split moves under greedy local search or simulated annealing, and polishes each route with 2-opt. It minimizes distance.
What the optimizer respects
- Vehicle operating intervals
Default operating windows per vehicle, a maximum driving period and a maximum total period per route.
- Route shape limits
Maximum stops per route and maximum colli per route, plus toggles to ignore location, shipment or action constraints when you want a rough first cut.
- Optimization objective
Distance, time, CO₂ or cost, depending on the engine. PTV, OptiFlow, OSRM and CloverOpt expose all four; the in-house solver optimizes distance.
- Constraints from the data
Time windows, weight, size, speed, sensor value, fuel type, vehicle type, emission standard, equipment type and route constraints on shipments and locations, each enforced or preferred.
Preview, adjust, commit
- Preview before saving
The optimizer returns completed trips and a list of shipments it could not place. Nothing is saved until you press "Save all trips".
- Edit the result
Open any generated trip on the map, add or reorder stops, reverse the route and recalculate; the plan board shows the effect on ETAs and plan status.
- Driver-hour aware ETAs
Optional EU 561/2006 planning inserts breaks and daily rests into the route and into the ETA chain, so promised times already contain the driver's rest.
- Recommendations for one shipment
For a single shipment, the recommendation engine scores vehicles, drivers, equipment, capacity contracts and existing trips with weighted rules (proximity, driving time, ADR, license, language, schedule conflicts, headroom) and explains each score.
How it works
Select the scope
Open the Optimizer tab and pick the open shipments and the vehicles it may use; set operating intervals, max driving period and max period.
Run
Press "Optimize!". The selected engine composes routes against the indicated capacity and constraints and reports back with completed trips and unplanned shipments.
Inspect
Each proposed trip shows its stops, distance, duration, cost and emissions. Unplaced shipments list the reason so you can relax a constraint or add capacity.
Adjust by hand
Drag a shipment to another trip, reorder stops on the map, or pin an assignment you do not want changed, then recalculate.
Save and dispatch
Save all trips. They appear on the boards with plan status, ready to confirm and send to drivers.
Concepts & terminology
The words this module uses, with links to the full glossary where a term has its own page.
- Vehicle routing problem (VRP)Glossary
- Assigning a set of shipments to a fleet of vehicles and ordering the stops so total distance, time, cost or CO₂ is minimized under capacity and time-window constraints.
- Objective
- What the engine minimizes: distance, time, CO₂ or cost. Available objectives depend on the selected engine.
- 2-opt
- A route-polishing move that reverses a segment of a route when doing so shortens it; used by the in-house solver after construction.
- Operating interval
- The window in which a vehicle may work during an optimization run, with a maximum driving period and total period.
- Constraint
- A rule on a shipment, location or trip (time window, weight, size, vehicle type, emission standard, equipment type, sensor value, route) marked as enforced or preferred.
- Recommendation
- A scored, explained candidate (vehicle, driver, equipment, capacity contract or existing trip) for one shipment.
- EU 561/2006
- The driving-time regulation whose breaks and rests can be inserted into routes and ETAs during optimization.
Works with
Connectors that feed or consume this module out of the box.
Built for
Where this module carries the most weight, plus the free tools on the same topic.
The optimizer engine is a platform setting. Routing and optimization work is offloaded asynchronously to worker nodes over Apache Kafka. PTV OptiFlow, PTV xTour, OSRM and CloverOpt expose distance, time, CO₂ and cost objectives; the in-house solver minimizes distance.
Frequently asked questions
Which optimization engines are available?
PTV OptiFlow, PTV xTour (xServer 1, retiring September 2026), OSRM, CloverOpt and Transportial's own solver. The engine is a platform setting.
Does the optimizer respect driving-time rules?
PTV OptiFlow applies driver break rules directly. For any engine, the optional EU 561/2006 planner inserts breaks and daily rests into routes and ETA chains, and the built-in alerts flag insufficient remaining drive time on the saved trip.
Can I keep some assignments fixed?
Yes. Pinned assignments and constraints marked as enforced are kept; the optimizer works around them. You can also ignore location, shipment or action constraints for a rough first draft.
What happens with shipments the optimizer cannot place?
They are listed as unplanned with the reason, so you can add capacity, relax a window or plan them by hand on the board.
Can it optimize for CO₂ instead of distance?
Yes with PTV, OptiFlow, OSRM and CloverOpt, which expose distance, time, CO₂ and cost objectives. The in-house solver optimizes distance.
Does it work for a single new order arriving mid-day?
Use the recommendations on the shipment: it scores existing trips by time overlap, headroom in weight, volume and load meters, pickup proximity and ADR compatibility, and lets you apply the best combination in one click.
View all features
Ready to put this to work?
Start free with full platform access, or talk to our team about your specific operation.


