Routing engines

Choose an engine that fits the question.

Eight engines give you different ways to explore a routing problem. Compare them on the work you need to serve, the constraints you need to keep and the time you can give the search.

Before you compare

Define what a good result must include.

Start with served work and constraint validation. Then compare distance, travel time, vehicle use and search time. Engines can apply different penalties to optional work, so their objective values are not always directly comparable.

In the Planner, Auto checks VROOM, OR-Tools Routing and PyVRP in that order and chooses the first that supports the requested features. If no engine fits, the run is blocked. Auto checks compatibility; it does not run a contest to find the best solution.

The engine catalog

Different searches. The same place to inspect them.

These descriptions reflect the engines as integrated into Vibilia. An upstream project may support features that this application does not expose.

TSP is a single tour. VRP assigns stops across vehicles. CVRP adds capacity limits. CVRPTW also adds service time windows.

  • Local search

    OR-Tools Routing

    Builds an initial route plan, then improves it with local search. Available across the Lab problems and in the Planner. This is a different engine from CP-SAT, even though both come from OR-Tools.

    Lab problems: TSP · VRP · CVRP · CVRPTW

  • Constraint programming

    CP-SAT

    Searches a discrete model and can prove optimality if the search completes with that status. The current routing integration supports capacity constraints, but does not model delivery time windows.

    Lab problems: TSP · VRP · CVRP

  • Tour and route improvement

    LKH-3

    Searches for improved tours and complete route plans. The routing integration aims to serve every customer and checks the returned plan. Planner support is limited to a common base, identical capacities and shifts, and a narrower set of constraints.

    Lab problems: TSP · VRP · CVRP · CVRPTW

  • Mixed integer programming

    HiGHS

    Solves a tour model with integer programming and additional constraints that rule out disconnected subtours. Available for symmetric traveling salesperson problems in this integration.

    Lab problems: TSP

  • Branch and cut

    SCIP

    Solves a symmetric tour model using branch and cut. It can establish an optimal solution when the search proves it. A time limit can leave a feasible result without an optimality proof.

    Lab problems: TSP

  • Iterated local search

    PyVRP

    Improves route plans through iterated local search. Available across the Lab problems and in the Planner. The Planner integration supports several capacity dimensions, but not skills, breaks or pickup and delivery pairs.

    Lab problems: TSP · VRP · CVRP · CVRPTW

  • Vehicle routing search

    VROOM

    Builds and improves plans for vehicle routing problems. It is the first engine Auto checks in the Planner, with support for skills, multiple time windows, driver breaks and pickup and delivery pairs.

    Lab problems: TSP · VRP · CVRP · CVRPTW

  • Large neighborhood search

    jsprit

    Explores alternative route assignments using large neighborhood search. Available in the Lab for comparing tours and vehicle routes. It is not a Planner engine in the current integration.

    Lab problems: TSP · VRP · CVRP · CVRPTW

LKH-3 has distinct usage terms. Its author's technical report describes free use for academic and non-commercial purposes. Review the applicable license before using it commercially. Running an engine in a browser does not change its license.

Planner support

Check the constraints your scenario needs.

The table uses the same capability definitions as the Planner. All four engines support basic capacity and a single time window per stop. The rows below describe additional constraints and differences in the current integration.

“Yes” means the adapter can represent that feature. It is not a guarantee that a feasible plan exists or will be found. “No” means a plan using that feature cannot run with that engine.

Scroll horizontally to compare all four engines.

Features supported by the current Planner integration.
FeatureVROOMOR-ToolsPyVRPLKH-3
Different vehicle capacitiesYesYesYesNo
Different vehicle shiftsYesYesYesNo
Several capacity dimensionsYesNoYesNo
Vehicle and stop skillsYesYesNoNo
Several windows per stopYesYesNoNo
Required work enforcedNoYesYesYes
Custom service prioritiesYesYesYesNo
Pickup and delivery pairsYesYesNoNo
One break per vehicleYesYesNoNo
Maximum route durationNoYesYesNo
Maximum route distanceYesYesYesNo
Vehicle usage costYesYesYesNo
Routes ending elsewhereYesYesYesNo
Multiple starting basesYesYesYesNo
Vehicle speed factorsYesYesYesNo
Several planning daysYesYesYesNo
Maximum stops per vehicleNoNoNoNo

Required work is a hard constraint for compatible engines. A service priority is a preference, and its effect on the objective differs by engine. LKH-3 searches for a complete plan and cannot use dropping optional stops as a way to make the plan feasible. Several planning days represent one route per vehicle per day and one visit per stop, not recurring visit schedules.

Benchmark compatibility

The shape of the input matters too.

Imported benchmark instances are checked before an engine is enabled. The current HiGHS and SCIP adapters handle symmetric TSP instances only. jsprit also requires symmetric costs and travel times, as does LKH-3 for imported TSP instances.

Instance size depends on available browser memory and the selected engine's compiled limits. Larger models can require substantially more memory and preparation time. Runs remain cancellable; a time limit without a solution does not prove infeasibility.

Vehicle routing imports require whole-number demands and capacity. When distances or times contain decimals, the workspace asks for an explicit scaling choice. Check that choice before comparing against a published reference value.

Open benchmark scenarios

How to read a result

A search method is not a guarantee.

Heuristics search for useful solutions without proving they are globally optimal. Exact methods can establish optimality, but the result must actually report that proof. Reaching a time limit does not mean the best plan found is optimal, or that a problem with no returned plan is impossible.

All engines execute on your device. Their first load, memory use and search speed depend on the engine, the browser and the scenario. Keep the device, input, settings and timing method consistent when comparing performance.

The web builds use WebAssembly, with PyVRP running through Pyodide and jsprit through TeaVM. These are implementation details. The practical question is whether a validated result helps you evaluate your route plan.

Try the same scenario with a different engine.

Look at what was served, what it cost and what the result actually proves.