logotype-antsroutelogotype-antsroutelogo-antsroute-whitelogotype-antsroute
  • Solutions
      • BY INDUSTRY

      • delivery-menu-1Last mile delivery
      • fsm-menu-1Field service
      • healthcare-menu-1Home healthcare
      • Discover AntsRoute
        Get a free presentation of all our features.


        Book a demo >
  • Why AntsRoute
      • YOUR NEEDS

        • needs-menu-1Grow your business
        • Needs-menu-2Motivate your workforce
        • needs-menu-3Build customer loyalty
        • needs-menu-4Simplify administrative tasks
      • FEATURES

        • functions-menu-1Route management
        • functions-menu-2Field workforce tracking
        • functions-menu-3Customer experience
        • functions-menu-4Booking site
    • Sustainable logistics
      Find out how AntsRoute helps you achieve your CSR goals.


      Learn more >
  • Pricing
  • Resources
        • Blog
        • Customer testimonials
        • Help center
        • API and developers
        • INTEGRATIONS

          WooCommerce
          Prestashop
          Odoo
          Zapier


          See all our integrations >
  • Company
      • About
      • Partners
      • Any questions? Contact us >
  • EN
    • Français
    • Deutsch
    • Español
    • Italiano
    • Nederlands
  • Free trial
  • Log in
✕

Warm Start, Local Search and Neighbourhoods: how our engine continuously re-optimises routes

1 June 2026
Categories
  • Blog
  • Route optimisation
  • Solutions
Tags

Blog > Route optimisation > Warm Start, Local Search and Neighbourhoods: how our engine continuously re-optimises routes

Warm Start, Local Search and Neighbourhoods: how our engine continuously re-optimises routes

Published on 1 June 2026 • Reading time: 8 min read

Screenshot of the AntsRoute interface showing a route map with multiple routes and an “Add Delivery” panel. On the left, the heading “How to re-optimise routes without starting from scratch” is accompanied by three key concepts: Warm Starts, Local Search and Neighbourhoods.

In vehicle routing optimisation problems, producing an initial solution is rarely the main challenge. The real difficulty emerges when a schedule must evolve in response to operational events such as the addition of a new job, a delay, a cancellation, a change in customer requirements, vehicle reassignment, or local route saturation.

In this context, the engine is no longer working on an initial problem. It must adapt a system that has already been built, is already constrained, and is often already partially optimised, while preserving as much of its overall quality as possible. This ability to efficiently evolve an existing schedule is precisely what distinguishes dynamic optimisation problems from more traditional theoretical approaches.

This article deliberately focuses on the re-optimisation mechanisms used in dynamic routing engines: warm start, local search, neighbourhood structures and exploration heuristics. For a broader overview of route optimisation challenges in last-mile logistics, you can also read our comprehensive guide to route optimisation.

In real-world operations, a high-performing engine cannot start again from scratch every time an event occurs. Optimisation algorithms must be capable of locally re-optimising a live schedule without unnecessarily disrupting existing routes.

At AntsRoute, this challenge sits at the core of our optimisation engine architecture.

What you’ll learn in this article:

  • Why starting from scratch is not viable in real-time operations
  • The role of warm starts in dynamic routing
  • Why every insertion must be evaluated globally
  • How local search works
  • Why not all neighbourhoods deserve the same level of exploration
  • First-improvement vs Best-improvement: two optimisation strategies
  • Why exact methods quickly reach their limits

Why starting from scratch is rarely a good strategy

In theory, completely rebuilding a schedule after every change might seem like the best approach. In practice, however, this strategy quickly becomes impractical due to the explosion in the number of possible solutions to explore, the computational effort involved, and the operational instability it creates for field teams.

As explained by Ammar Oulamara, Head of R&D at AntsRoute:

“A real-time optimisation engine cannot fully rebuild routes every time a new event occurs. The computational cost and the resulting instability would simply be too high.”

This is precisely why modern routing engines rely on warm-start approaches.

Warm Starts: building on an existing optimised solution

The principle of a warm start is to use the current schedule as the starting point for optimisation. Rather than searching for an entirely new solution, the engine seeks to improve a solution that is already coherent, making targeted local adjustments while minimising any degradation that could affect the overall balance of the system.

This approach offers several important advantages:

  • A dramatic reduction in the search space;
  • Greater operational stability;
  • Response times compatible with real-time operations;
  • Fewer unnecessary schedule disruptions.

As Ammar Oulamara explains:

“Warm starts allow the engine to focus its computational power on the areas that are genuinely affected by a scheduling change.”

This fundamentally changes the way the problem is explored.

An insertion should never be evaluated in isolation

When a new job, τ, is inserted into a schedule, the engine does not simply evaluate its immediate marginal cost. In reality, that insertion can have consequences across the entire plan by affecting:

  • Time-related constraints;
  • Operational buffers and slack time;
  • The balance between routes;
  • Future re-optimisation opportunities;
  • The geographical compactness of the schedule.

The engine must therefore explore not only the insertion itself, but also the local reorganisations that the insertion may subsequently enable. It is precisely this ability to improve an existing solution that lies at the heart of local search mechanisms.

Call-to-action banner for AntsRoute featuring route optimisation software, a delivery route map interface, and a “Book a demo” button highlighting reduced mileage and improved customer satisfaction.

Local Search: exploring the neighbourhood of a solution

In vehicle routing problems, it is impossible to exhaustively explore every possible solution. Modern optimisation engines therefore rely primarily on neighbourhood search techniques.

The principle is straightforward:

  • Start from an existing solution;
  • Apply targeted local modifications;
  • Evaluate whether the resulting solution improves the overall schedule.

At AntsRoute, the local search algorithm relies on several operators that efficiently explore these neighbourhoods.

Diagram showing four local search operators used in route optimisation: Relocate, Or-opt, 2-opt/3-opt, and Cross-Exchange.

Local Search operators for route optimisation.

Relocate: moving a job to a better position

The relocate operator is one of the most fundamental mechanisms in local search. It consists of removing a job from a route and reinserting it in a different position, either within the same route or in another route.
This operation can be used to:

  • Restore scheduling flexibility and time buffers;
  • Rebalance workloads across routes;
  • Reduce certain cascading effects caused by earlier planning decisions.

In dynamic routing systems, relocate often plays a central role in rapid re-optimisation because it enables local improvements to be made with a relatively low computational cost.

Or-opt: moving sequences of jobs

In some situations, moving a single job is not enough to restore a well-balanced schedule. The engine then uses Or-opt operators, which involve moving a sequence of one, two or three consecutive jobs to a different position within a route or elsewhere in the schedule.

This approach is particularly useful when:

  • Several jobs share a strong geographical relationship;
  • A local reorganisation requires certain route continuities to be preserved.

As Ammar Oulamara explains:

“Moving a coherent group of jobs can sometimes restore the balance of a schedule far more effectively than a series of isolated changes.”

2-opt and 3-opt: reshaping the geography of routes

The 2-opt and 3-opt operators serve a different purpose. They involve reversing specific subsequences within a route in order to improve its geographical structure.

These mechanisms can be used to:

  • Eliminate route crossings;
  • Improve geographical compactness;
  • Reduce unnecessary detours.

They are particularly effective when:

  • Routes become fragmented over time;
  • A series of successive insertions gradually degrades their spatial structure.

Even in systems heavily constrained by time-related requirements, the geographical quality of routes remains a key factor in operational robustness.

Diagram illustrating how the 2-opt operator works in route optimisation. On the left, a route contains a crossing between segments (2–5) and (3–6). On the right, these connections are replaced with segments (2–3) and (5–6), eliminating the crossing and improving the route structure.

Example of the 2-opt operator in action: two route segments are replaced with new connections, eliminating the crossing and reducing the overall travel distance.

Cross-Exchange: rebalancing multiple routes simultaneously

In highly constrained systems, some insertions cannot be absorbed through simple local adjustments. The engine must then reorganise multiple routes simultaneously using cross-exchange operators, which involve swapping entire route segments between routes in order to restore a better overall balance.

These mechanisms become particularly valuable when:

  • Critical resources are approaching saturation;
  • Multiple routes are becoming vulnerable from a scheduling perspective;
  • Opportunities for local reorganisation are becoming increasingly limited.

At this stage, the engine no longer reasons solely at the level of an individual route. Instead, it evaluates the schedule as a whole in order to identify the most effective rebalancing opportunities.

Before-and-after diagram illustrating the cross-exchange operator. Two task segments belonging to separate routes are selected and then swapped in order to achieve a better distribution of jobs across vehicles. The re-optimised version shows the exchange of segments between routes and the resulting benefits in terms of workload balancing, feasibility and cost reduction.

Example of a cross-exchange operation: route segments are swapped between two routes to achieve a better distribution of jobs and improve the overall efficiency of the schedule.

Not all neighbourhoods deserve the same computational cost

Exploring every candidate insertion in depth would be far too costly from a computational standpoint. The engine must therefore prioritise its efforts and focus its processing power on the most promising solutions. At AntsRoute, this exploration is based on a hierarchy of neighbourhoods, allowing the depth of the search to be adjusted progressively according to the quality of the insertions being evaluated.

Degree 1 Neighbourhood

The first neighbourhood level is based solely on simple local modifications within a single route. The aim is to quickly filter out clearly unfavourable insertions while keeping computational cost low.

Degree 2 Neighbourhood

At this stage, the engine allows exchanges between routes, as well as broader rebalancing operations. This exploration makes it possible to assess the wider consequences of certain insertions and identify improvements that would not be visible at the level of a single route.

Degree 3 Neighbourhood

The third neighbourhood level allows much deeper reorganisations, which may include multi-day restructuring or significant changes to the schedule. These more costly explorations are reserved for the most promising insertions or for particularly constrained situations.

This hierarchy of neighbourhoods enables processing power to be allocated intelligently by adapting the depth of the search to the quality of the solutions encountered.

Diagram illustrating three neighbourhood levels in route optimisation: local modifications within a single route (Level 1), exchanges between routes (Level 2), and multi-day schedule reorganisations (Level 3). Each level is associated with increasing search depth and computational cost.

The engine progressively explores increasingly larger neighbourhoods, focusing its computational power on the most promising solutions.

First-improvement vs Best-improvement

One of the most important trade-offs in local search concerns the strategy used to explore the neighbourhood of a solution. Two main approaches are commonly employed: first-improvement and best-improvement.

First-improvement

With the first-improvement strategy, the engine accepts the first improvement it encounters during neighbourhood exploration. This approach offers several advantages:

  • Fast convergence;
  • Low computational cost;
  • Good efficiency during the early stages of exploration.

Best-improvement

By contrast, the best-improvement strategy explores the entire neighbourhood before selecting the best available improvement. It generally makes it possible to:

  • Achieve higher-quality solutions;
  • Explore optimisation opportunities more thoroughly.

The trade-off, however, is a significantly higher computational cost.

As Ammar Oulamara explains:

“The choice between first-improvement and best-improvement depends heavily on schedule density and the available computational budget.”

At AntsRoute, the engine dynamically alternates between these two strategies based on the quality of the solutions observed, the level of convergence reached, and the degree of schedule saturation.

AntsRoute interface displaying multiple routes on a map of Barcelona alongside a list of field agents and their operational metrics, used to analyse and rebalance routes.

Overview of routes and resources in AntsRoute, enabling planners to identify workload imbalances and quickly re-optimise schedules at a global level.

Why exact methods quickly reach their limits

Dynamic vehicle routing problems belong to a particularly complex class of combinatorial optimisation problems. As constraints multiply, routes become denser, and real-time events occur more frequently, the size of the search space grows dramatically. At that point, exact methods quickly become incompatible with operational requirements, both in terms of computation time and responsiveness.

As Ammar Oulamara points out:

“The engine is not looking for the theoretically perfect solution. It is looking for the best solution that can be deployed within a computation time compatible with real-world operations.”

This is precisely why modern optimisation engines rely on a combination of heuristics, warm-start mechanisms, local search operators and adaptive exploration strategies to rapidly produce solutions that are both robust and operationally relevant.

Conclusion

In modern route optimisation systems, the challenge is not simply to build an initial schedule. The real difficulty lies in continuously adapting that schedule without compromising its robustness, stability or operational quality.

Warm starts, local search operators and multi-neighbourhood exploration techniques are specifically designed to address this challenge. In last-mile logistics, a route is never truly fixed. It must constantly adapt to changing field conditions while maintaining a high level of operational performance.

WRITTEN BY

Marie Henrion
At AntsRoute, Marie has been the marketing manager since 2018. With a focus on last-mile logistics, she produces content that simplifies complex topics such as route optimization, the ecological transition, and customer satisfaction.

in

Optimise your Routes with AntsRoute.

Free 7-day trial | No credit card required

Get started – It’s free Book a demo

Contenu

  • Why starting from scratch is rarely a good strategy
  • Warm Starts: building on an existing optimised solution
  • An insertion should never be evaluated in isolation
  • Local Search: exploring the neighbourhood of a solution
  • Relocate: moving a job to a better position
  • Or-opt: moving sequences of jobs
  • 2-opt and 3-opt: reshaping the geography of routes
  • Cross-Exchange: rebalancing multiple routes simultaneously
  • Not all neighbourhoods deserve the same computational cost
  • Degree 1 Neighbourhood
  • Degree 2 Neighbourhood
  • Degree 3 Neighbourhood
  • First-improvement vs Best-improvement
  • First-improvement
  • Best-improvement
  • Why exact methods quickly reach their limits
  • Conclusion
Share

Related posts

Responsive version of an AntsRoute banner about time window constraints in route optimisation. The visual shows a map with a dense route, multiple time slots, delay alerts, and indicators of temporal pressure. Icons highlight delay propagation, waiting times, reduced time buffers, and time slot saturation.
28 May 2026

Why time windows make route optimisation much more difficult


Read more
27 May 2026

How a scoring algorithm works in route optimisation


Read more
26 May 2026

Why adding a single delivery can disrupt an entire route


Read more
    • Need help?
      Contact our team at
      +33 (0)7 82 95 83 08
    • Capterra 4.2 on Capterra
      Google 4.9 on Google
    • Linkedin  YouTube  X  Facebook
    • Solutions
      • Delivery
      • Field service
      • Healthcare
    • Product
      • Route management
      • Field worker management
      • Customer experience
      • Booking site
      • Sustainable logistics
      • Pricing
      • Resources
        • Help center
          • API and developers
          • Blog
          • Customer testimonials
          • Integrations
      • Useful links
        • Route optimisation
        • Transport Management System
        • Route optimisation software
        • FSM software
        • Trucker trip planner
        • Benefits of route optimisation
        • Delivery software in London
      • Company
        • About | Team
        • R&D Team
        • Partners
        • Contact us
        • Legal Notice
        • Terms and conditions
        • Cookie Policy
        • Privacy Policy