Inferensys

Glossary

Heterogeneous Fleet VRP (HFVRP)

A Vehicle Routing Problem variant where the fleet consists of vehicles with differing capacities, fixed and variable costs, and operational characteristics, requiring simultaneous optimization of route construction and vehicle-to-route assignment.
Developer reviewing LLM cost optimization spreadsheet on laptop, calculator and coffee on desk, casual finance-technical moment.
FLEET OPTIMIZATION

What is Heterogeneous Fleet VRP (HFVRP)?

A variant of the Vehicle Routing Problem where the available fleet consists of vehicles with differing capacities, costs, and operational characteristics, requiring simultaneous optimization of asset assignment and route construction.

The Heterogeneous Fleet Vehicle Routing Problem (HFVRP) is a combinatorial optimization challenge that determines the optimal set of delivery routes for a fleet of vehicles with non-identical attributes. Unlike the standard Capacitated VRP (CVRP), which assumes a uniform fleet, HFVRP must simultaneously decide which vehicle type to assign to which set of customers, in addition to the sequence of visits. Each vehicle type is defined by distinct fixed acquisition costs, variable running costs per kilometer, capacity constraints, and potentially fuel type or speed profiles.

Solving HFVRP requires balancing the trade-off between using a smaller number of high-capacity vehicles versus a larger number of low-cost, smaller vehicles. Metaheuristics such as Adaptive Large Neighborhood Search (ALNS) and Genetic Algorithms (GA) are commonly employed because exact methods like Mixed Integer Programming (MIP) become computationally intractable for realistically sized instances. The objective function typically minimizes total cost—the sum of fixed vehicle dispatch costs and distance-dependent variable costs—making it a critical model for last-mile delivery optimization where fleets include vans, trucks, and cargo bikes.

Fleet Heterogeneity

Key Characteristics of HFVRP

The Heterogeneous Fleet Vehicle Routing Problem (HFVRP) extends the classical VRP by introducing a fleet of vehicles with non-identical attributes. Unlike homogeneous models, HFVRP must simultaneously decide which vehicle type to assign to which route, adding a layer of combinatorial complexity that mirrors real-world logistics where fleets evolve organically over time.

01

Variable Capacity Constraints

Unlike the Capacitated VRP (CVRP), where a single capacity limit applies, HFVRP manages a vector of distinct capacities. Each vehicle type k has its own weight limit (e.g., 1,500 kg vs. 3,500 kg) and volumetric constraint.

  • Assignment Logic: A route's cumulative demand cannot exceed the specific capacity of the assigned vehicle type.
  • Implication: The solver cannot simply fill routes; it must match high-demand clusters to high-capacity vehicles to avoid costly under-utilization.
02

Non-Homogeneous Cost Structures

The objective function in HFVRP is more complex because both fixed acquisition costs and variable distance costs differ per vehicle type.

  • Fixed Costs: A heavy goods vehicle incurs a higher daily depreciation or rental cost than a sprinter van.
  • Variable Costs: Fuel consumption per kilometer varies significantly. A solver might select a vehicle with a higher fixed cost but lower per-mile cost for a long-distance rural route.
  • Trade-off: Optimizing for total cost requires balancing these two competing financial dimensions.
03

Dimensional & Compatibility Constraints

Beyond weight, physical dimensional compatibility becomes a hard constraint. A vehicle's physical dimensions must be compatible with the access restrictions of the delivery points.

  • Physical Access: A 40-ton articulated truck cannot legally or physically navigate a narrow residential cul-de-sac.
  • Equipment Compatibility: Specific vehicles may lack required equipment like tail lifts, refrigeration units, or hazardous material placards.
  • Regulatory Compliance: Vehicle types may have different speed governors or regional access permits, directly impacting feasible travel times.
04

Fixed Fleet vs. Unlimited Fleet

HFVRP formulations are categorized by fleet availability, which drastically changes the optimization strategy.

  • Fixed Fleet (HFVRP-FF): The solver must use exactly the available vehicles in the current yard. This is a pure assignment problem—if a vehicle type is exhausted, routes must adapt to the remaining types.
  • Unlimited Fleet (HFVRP-UF): The solver can recommend an ideal fleet composition. This functions as a strategic procurement tool, identifying the optimal mix of vehicle types to lease or purchase for a given demand profile.
05

Depot Compatibility

In multi-depot extensions (MDHFVRP), not every vehicle type is compatible with every depot. Originating constraints add a spatial dimension to fleet assignment.

  • Infrastructure Limits: A depot may lack the maintenance bays or fueling infrastructure (e.g., CNG, electric charging) for specific vehicle types.
  • Zoning Restrictions: Certain vehicle types might be restricted to specific geographic zones radiating from a particular depot.
  • Deadheading Costs: The solver must account for the non-revenue-generating distance a specialized vehicle must travel from its home depot to the start of its assigned route.
06

Time Window & Speed Heterogeneity

Vehicle types often have distinct average travel speeds due to physical dynamics, not just road limits, which interacts critically with time windows (VRPTW).

  • Acceleration Profiles: Heavy trucks accelerate slower than vans, impacting travel times in urban stop-and-go traffic.
  • Congestion Interaction: A route feasible for a nimble scooter within a 15-minute window might be impossible for a van due to parking and walking time overhead.
  • Unified Constraint: The solver must verify that the arrival time, calculated using the specific vehicle's speed profile, falls within the customer's hard time window.
ROUTING PROBLEM TAXONOMY

HFVRP vs. Related VRP Variants

Structural comparison of the Heterogeneous Fleet VRP against standard VRP variants based on fleet composition, constraints, and objective complexity.

FeatureStandard VRPCVRPVRPTWHFVRP

Fleet Composition

Homogeneous

Homogeneous

Homogeneous

Heterogeneous

Vehicle Capacity Constraint

Time Window Constraint

Vehicle-Dependent Cost

Vehicle-Customer Compatibility

Fixed Vehicle Acquisition Cost

Objective Complexity

Minimize total distance

Minimize distance subject to capacity

Minimize distance subject to capacity and time

Minimize combined fixed, variable, and penalty costs

Typical Solver Approach

Exact (Branch-and-Cut)

Exact or Metaheuristic

Metaheuristic (ALNS, GA)

Metaheuristic (ALNS, Hybrid GA)

HETEROGENEOUS FLEET VRP

Frequently Asked Questions

Clear, technical answers to the most common questions about optimizing mixed-vehicle routing operations.

Heterogeneous Fleet Vehicle Routing Problem (HFVRP) is a combinatorial optimization variant where the available fleet consists of vehicles with non-identical characteristics—differing capacities, fixed and variable operating costs, fuel types, speed profiles, and physical constraints—that must be optimally assigned to customer orders. Unlike the homogeneous VRP, which assumes all vehicles are identical, HFVRP introduces a two-layer decision problem: simultaneously determining which vehicle type to assign to each route and the optimal sequence of stops within that route. This reflects real-world logistics where a fleet might include cargo bikes, electric vans, and diesel trucks operating from the same depot. The objective is typically to minimize total cost, which includes distance traveled, vehicle-specific fixed dispatch costs, and variable per-kilometer rates, while respecting each vehicle's unique capacity and operational constraints.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.