Skip to content

Timefold launches Scheduling Intelligence: The future of workforce scheduling is here Read more

Blog

The definitive guide to Field Service Routing and Scheduling Optimization

Everything field service leaders need to know about route optimization: How it works, what it takes to implement, and the operational impact to expect.

TL;DR – Key takeaways

  • Field service routing optimization automatically assigns technicians to jobs and sequences their daily routes by solving a variant of the Vehicle Routing Problem (VRP).
  • It satisfies hard constraints (shift hours, skill requirements, SLAs) while minimizing soft objectives like total drive time, overtime, and operating cost.
  • Organizations deploying AI-based routing optimization typically see 25 – 35% less drive time, more jobs completed per day, and measurable SLA improvement (Timefold deployment data).
  • Manual scheduling and rule-based dispatch cannot solve this problem at scale: the number of possible schedules for 50 technicians and 200 jobs exceeds the atoms in the observable universe.
  • Modern routing optimization is delivered as an API which field service management (FSM) platforms embed as a back-end engine, not a standalone tool.

# What is Field Service Routing Optimization?

Field service routing optimization is the automated process of assigning technicians to jobs and sequencing their routes to minimize travel time, maximize visit capacity, and satisfy operational constraints such as time windows, required skills, shift hours, and SLA commitments.

In practical terms, a field service operation starts each day with a set of jobs that need to be completed, a workforce of technicians with different skills, availability windows, and home locations, and a set of rules governing what is and isn't a valid schedule. Routing optimization is the process of computing the best possible solution to this assignment and sequencing problem. Automatically, at scale, and fast enough to update throughout the day as conditions change.

The term "routing optimization" is sometimes used interchangeably with "route planning" or "dispatch scheduling." These are related but distinct. Route planning (as offered by tools like Google Maps or traditional mapping APIs) determines how to travel between two known points. Routing optimization determines which technician should go to which job, in what order, accounting for hundreds of real-world constraints simultaneously. It is a fundamentally more complex problem.

Key distinction: Route planning answers "how do I get from A to B?" Routing optimization answers "who should go where, in what order, given all the constraints we operate under?" for an entire workforce, for the entire day/weeks/months, updated continuously.

# Why Field Service Scheduling is hard

Field service scheduling is computationally NP-hard: the number of possible valid schedules grows factorially with the number of technicians and jobs, making exhaustive search impossible. For even moderately sized operations, only mathematical optimization can find high-quality solutions in practical time.

Consider a field service operation with 50 technicians and 200 jobs to schedule. The number of ways to assign those jobs to technicians - before even considering the sequencing of routes - exceeds 10300 possible combinations. For context, the estimated number of atoms in the observable universe is approximately 1080. No dispatcher, and no rule-based software, can evaluate more than a tiny fraction of the solution space.

This is why field service scheduling is classified as a variant of the Vehicle Routing Problem (VRP) one of the most studied optimization problems in operations research and first formulated in 1959. The VRP is NP-hard, meaning there is no known algorithm that can find the provably optimal solution in polynomial time for large instances. In practice, this means real-world field service operations use metaheuristic solvers:  Algorithms that search intelligently through the solution space to find solutions that are near-optimal within practical time constraints.

Field service adds additional complexity on top of standard VRP because it must also handle:

  • Skill requirements: not every technician can perform every job
  • Customer time windows: jobs must start within a specific availability window
  • Service level agreements: priority jobs carry contractual completion commitments
  • Multi-day and multi-shift planning: some jobs span multiple days or require sequenced visits
  • Real-time disruptions: urgent jobs, no-shows, and traffic changes require intraday re-optimization
  • Fairness and labor compliance: schedules must distribute workload equitably and comply with shift and overtime rules

# How Field Service Routing Optimization works

At its core, a routing optimization engine solves what is formally known as a Capacitated Vehicle Routing Problem with Time Windows and multiple side constraints (CVRPTW+). The process follows three stages:

# 1. Problem encoding

The engine encodes the scheduling problem as a formal optimization model. This involves defining planning entities (technicians, shifts, visits), decision variables (which technician is assigned to which visit, in what position in their route), and constraints (the rules that define a valid and good schedule).

# 2. Constraint evaluation and scoring

Constraints are separated into three categories based on their weight in the scoring system:

  • Hard constraints
    Must never be violated. Breaking a hard constraint makes the schedule infeasible. Examples: skill requirements, shift availability, required time windows.
  • Medium constraints
    Should be satisfied where possible but can be relaxed when resources are insufficient. Example: maximizing the number of visits assigned in a day.
  • Soft constraints
    Optimization targets that improve the quality of the schedule. Examples: minimize total travel time, minimize overtime, balance workload fairly across technicians.
  • Preferred constraints
    Desirable but lower-priority preferences. Examples: preferred time windows, customer affinity (same technician as previous visit), coverage area alignment.

Each candidate schedule receives a score across hard, medium, and soft dimensions. A schedule that breaks zero hard constraints but has a soft score of −1,000,000 is always better than one that breaks even a single hard constraint, because the latter is simply not a valid schedule.

The solver applies metaheuristic search algorithms (techniques like simulated annealing, tabu search, and large neighborhood search), to explore the solution space efficiently. Starting from an initial solution, the solver iteratively proposes modifications (moving a visit from one technician to another, swapping two visits in a route, inserting an unassigned visit) and accepts changes that improve the score. The result is a high-quality near-optimal schedule delivered within a configurable time budget.

On performance: A well-implemented routing optimization engine can generate an initial schedule for 1,000 technicians and 5,000 visits in under a minute, and re-optimize a partial schedule following an urgent insertion in seconds. This makes real-time intraday re-scheduling operationally viable.

# The Constraint Model in Field Service

A complete field service constraint model covers six categories: visit dependencies, SLA compliance, shift hours and overtime, skill and seniority matching, fairness across technicians, and route optimization objectives. Each constraint group is independently configurable.

The practical value of a routing optimization engine is determined largely by the depth and accuracy of its constraint model. The following constraint categories are standard in a production field service scheduling system:

Constraint CategoryExamplesType
Visit time windowsRequired windows (hard), preferred windows (soft), fixed-time appointmentsHard / Soft
Skill and seniority matchingMinimum certification level required, seniority preference for complex jobsHard / Soft
Visit dependenciesTask B cannot start until Task A is complete; tasks must be completed with a minimum delay between themHard
Shift hours and overtimeTechnicians cannot be scheduled outside their shift; overtime is minimized and cappedHard / Soft
Service level agreementsP1 jobs must be attended within 4 hours; SLA breach is a hard penaltyHard / Medium
Fairness and workload balanceDistribute visits equitably based on availability and historical utilizationSoft
Route optimizationMinimize total travel time and distance across all techniciansSoft
Technician coverage areaGeofenced territory constraints: Technicians can only be assigned to visits within their designated zoneHard / Soft
Cost optimizationMinimize shift activation costs; prefer lower-cost contractors when output is equivalentSoft
Multi-visit jobsJobs requiring multiple technicians simultaneously with different skills (e.g. electrician + carpenter)Hard

Timefold allows constraint weights to be configured, so that operators can express the relative priority of competing goals (e.g. "SLA compliance is more important than travel minimization") without modifying the underlying model.

# What results to expect: Benchmark data

Organizations deploying constraint-based routing optimization typically achieve 25-35% reductions in technician drive time, higher visit throughput with the same workforce, and measurable improvements in first-time fix rate due to better skill-to-job matching.

  • 25-35% Reduction in technician drive time after optimization
  • <2 mo Typical time-to-value when integrating via API (vs 15+ months for in-house builds)
  • 1,000s Technicians schedulable simultaneously by a single optimization engine

A 25-35% reduction in drive time has compounding operational benefits. For a field service team with 100 technicians each spending an average of two hours per day driving, a 30% reduction recovers approximately 60 technician-hours per day - equivalent to gaining 7-8 additional technicians without hiring. Those hours can be converted into additional visits, reduced overtime, or earlier shift ends.

The improvement is achieved by simultaneously solving three problems that human dispatchers and rule-based tools handle in isolation: who goes where (assignment), in what order (sequencing), and how to respond when plans change (re-optimization). Human dispatchers are good at recognizing obviously bad schedules, but cannot hold thousands of interdependencies in mind simultaneously to find globally optimal ones.

On "the last 20%": Early-stage routing tools (basic nearest-neighbor algorithms) can capture roughly 60-70% of available efficiency gains with minimal setup. Reaching 90%+ of the theoretical optimum requires a proper constraint solver. The gap between a good greedy heuristic and a metaheuristic optimizer often represents 10-15% of total drive time, which is material at scale.

# Manual scheduling vs Routing Optimization: A direct comparison

Manual scheduling by dispatchers is feasible for fleets of 10-20 technicians but degrades rapidly at scale. For operations with 50+ technicians, algorithmic optimization consistently outperforms manual dispatch on both efficiency and SLA compliance metrics.

DimensionManual / Rule-Based DispatchRouting Optimization
ScaleDegrades above ~20 techniciansHandles 1,000s of technicians
Real-time disruptionsHandled by re-dispatching one job at a timeFull re-optimization in seconds
Constraint coverageDispatcher knowledge; inconsistently appliedAll constraints encoded and enforced
SLA complianceReactive; SLA breaches identified after the factProactive; SLA constraints enforced during planning
Travel efficiencyLocally optimized; globally suboptimalGlobally optimized across all routes simultaneously
Skill matchingManual lookup; skill gaps cause reworkAutomated skill-to-job matching with proficiency levels
FairnessUneven workload distribution commonAlgorithmic fairness across availability and history
Dispatcher overheadHigh; experienced dispatchers requiredLow; dispatchers focus on exceptions

It is worth noting that routing optimization does not eliminate the role of dispatchers. The technology empowers them to do more. Instead of spending the majority of their time constructing schedules manually, dispatchers in optimized operations review AI-generated plans, handle edge cases requiring human judgment, and manage customer escalations. The optimization engine handles the combinatorial work; humans handle the exceptions.

# Real-time re-optimization

Real-time re-optimization automatically recalculates routes and assignments when disruptions occur (like urgent jobs, cancellations, traffic delays) producing an updated plan within seconds without requiring manual dispatcher intervention.

A static daily schedule, produced once in the morning, degrades throughout the day. Technicians run late, customers cancel, emergency jobs are called in. Without re-optimization, dispatchers manually insert changes and hope the rest of the schedule holds. In practice, a cascade of small disruptions can make an optimized morning schedule look like an unplanned afternoon.

Real-time re-optimization - sometimes called intraday re-scheduling - addresses this by treating the schedule as a continuously updated plan rather than a daily fixed output. When a trigger event occurs, the engine receives the current state of all ongoing and pending work, re-solves the assignment and routing problem for all unstarted visits, and returns an updated schedule. Visits already in progress are locked; the solver optimizes around them.

Key re-optimization triggers in production systems include:

  • Insertion of a new urgent or emergency visit
  • Technician becoming unavailable (sick, vehicle issue)
  • Visit cancellation requiring workload redistribution
  • Significant travel time deviation due to traffic
  • Job overrun requiring subsequent visit rescheduling

The "Smart Reassignment" use case, where an unexpected technician absence triggers automatic identification of the best available backup, is a direct application of real-time re-optimization. Rather than requiring a dispatcher to manually review availability and skills, the engine re-solves the affected portion of the schedule and surfaces a recommended replacement with full route and timing context.

# How Routing Optimization is delivered: The API model

Field service routing optimization is delivered via REST API. An FSM platform submits a dataset describing jobs, technicians, and constraints to the optimization engine, which returns a complete optimized route plan, typically within seconds to minutes. Timefold's Field Service Routing API can handle up to 30,000 visits in one optimization run.

Routing optimization is not a standalone application, it is an engine embedded within a broader field service management platform. FSM software handles the user interface, job management, customer communication, and mobile workflows. The routing optimization engine handles the mathematical scheduling problem as a back-end service.

The integration pattern is straightforward. The FSM platform sends a POST request to the optimization API endpoint with a JSON dataset describing the planning problem: vehicles (technicians and their shifts), visits (jobs and their constraints), and configuration parameters. The engine processes the dataset and returns an optimized route plan, the specific assignment of visits to vehicle shifts, with arrival times and route sequences for each technician.

For FSM product teams evaluating routing optimization engines, the key integration considerations are:

  • Constraint coverage - does the engine's model support the specific constraints your customers operate under?
  • Re-optimization latency - how quickly can the engine respond to intraday trigger events?
  • Scale - what is the tested performance at the fleet sizes your enterprise customers operate?
  • Deployment flexibility - is the engine available as a managed cloud service, on-premise, or both?
  • Integration timeline - how long does it take to go from API access to a production-grade integration?

Build vs buy

Building a constraint-based routing optimization engine from scratch typically takes 12 – 18 months for a team with operations research expertise, and requires ongoing maintenance as the constraint model evolves. Integration of a specialized API engine like Timefold typically reaches production quality in approximately 2 months. The build-vs-buy decision is explored in detail in Field Service Scheduling API: Build vs Buy.

# Frequently Asked Questions

# What is the difference between routing optimization and GPS navigation?

GPS navigation determines the fastest path between two known points. Routing optimization determines the best assignment of work to a fleet of technicians and sequences their routes to minimize travel time across all technicians simultaneously, while satisfying all scheduling constraints. These are different problems: one is pathfinding, the other is combinatorial optimization.

# Can routing optimization handle jobs that span multiple days?

Yes. Multi-day planning windows are a standard feature of production routing optimization models. The engine treats each technician shift as a separate planning unit and can handle jobs that require sequential visits across days, jobs with delayed dependencies (e.g. a visit that cannot happen until 48 hours after a prior visit), and rolling planning horizons that extend weeks into the future.

# What happens when a technician doesn't have the required skill for an urgent job?

The constraint model enforces skill requirements as hard constraints by default. This means the engine will not assign a job to a technician who lacks the required skill, regardless of proximity or availability. When an urgent job cannot be covered by any available technician with the required skill, the engine surfaces this as an unassigned visit so the dispatcher can take manual action (e.g. calling in a specialist or escalating to an external contractor).

# How does routing optimization handle customer time windows?

Time windows can be encoded as hard constraints (the visit must start within the window and violations make the schedule infeasible) or soft/preferred constraints (the visit should start within the window where possible, but can be scheduled outside it to maintain overall schedule feasibility). The engine honors the window type specified and minimizes any deviations from preferred windows when hard constraints make full compliance impossible.

# Is routing optimization the same as FSM software?

No. Field Service Management (FSM) software is a broad category covering job management, mobile workforce apps, customer portals, invoicing, and reporting. Routing optimization is a specific computational capability (the scheduling and routing engine) that is typically embedded within an FSM platform. Some FSM platforms build this engine themselves; others integrate specialized routing optimization APIs to provide this capability without the internal development burden.

Continue reading