Next Article in Journal
The A-VO-S Map for Sustainability Marketing: A Scoping Review and Evidence Map
Previous Article in Journal
Mapping the Landscape of Generative Artificial Intelligence Literacy: A Systematic Review Toward Social, Ethical, and Sustainable AI Adoption
Previous Article in Special Issue
Factors Influencing Urban Residents’ Continued Usage Intention of Electric Bikes Under the New National Standards
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Time-Dependent Vehicle Routing Problem with Simultaneous Pickup-and-Delivery and Time Windows Considering Carbon Emission Costs Using an Improved Ant Colony Optimization Algorithm

1
School of Automotive and Traffic Engineering, Jiangsu University, Zhenjiang 212013, China
2
Intelligent Policing Key Laboratory of Sichuan Province, Sichuan Police College, Luzhou 646000, China
3
College of Automotive Engineering, Guangxi Vocational College of Safety Engineering, Nanning 530100, China
4
School of Transportation and Logistics, Southwest Jiaotong University, Chengdu 611756, China
*
Author to whom correspondence should be addressed.
Sustainability 2026, 18(3), 1430; https://doi.org/10.3390/su18031430
Submission received: 26 December 2025 / Revised: 25 January 2026 / Accepted: 28 January 2026 / Published: 31 January 2026
(This article belongs to the Special Issue Sustainable Transportation and Logistics Optimization)

Abstract

In the context of sustainable logistics planning, carbon emission costs have become a critical factor influencing distribution decisions. Meanwhile, the time-dependent characteristics of urban road networks and simultaneous pickup–delivery operations present significant challenges to vehicle routing problems (VRPs). This study addresses a time-dependent vehicle routing problem with simultaneous pickup–delivery and time windows (TDVRPSPDTW). Fuel consumption and carbon emission costs are quantified using a comprehensive emission model, while time-dependent network conditions, simultaneous pickup–delivery demands, and time window constraints are integrated into a unified modeling framework. To solve this NP-hard problem, an improved ant colony optimization (IACO) algorithm is developed by incorporating adaptive large neighborhood search to enhance solution diversity and convergence efficiency. Computational experiments are conducted using internationally recognized VRPSPDTW benchmark datasets and newly constructed TDVRPSPDTW instances, together with sensitivity analyses under varying traffic conditions, time window flexibility, and delivery strategies. The results indicate that the proposed IACO effectively addresses the TDVRPSPDTW. Comparing ant colony optimization with local search (ACO-LS), the IACO achieves a maximum reduction of 11.78% in total distribution cost. Furthermore, relative to the conventional separate pickup–delivery strategy, the simultaneous pickup–delivery mode reduces total distribution cost and carbon emission cost by 49.96% and 53.48%, respectively.

1. Introduction

In recent years, the global logistics industry has undergone rapid expansion, largely driven by the rise of e-commerce and the continuous growth in consumer demand [1]. However, the industry still faces several pressing challenges, including persistently high operational costs, inefficient utilization of transportation resources, and low delivery efficiency. According to the latest report released by the International Energy Agency (IEA), China’s per capita carbon emissions are currently approximately 16% higher than those of developed economies and nearly twice the global average level [2]. As the second-largest contributor to greenhouse gas emissions, the transportation sector has attracted increasing attention. Within this sector, road transportation accounts for more than 80% of total carbon emissions [3,4]. Reducing carbon emissions in logistics distribution has become a critical issue in the pursuit of sustainable logistics systems. Existing studies indicate that explicitly incorporating carbon emission considerations into logistics distribution planning, together with effective route design and vehicle scheduling, can simultaneously reduce distribution costs and carbon emissions, thereby mitigating the environmental impacts associated with transportation activities [5,6,7].
From the perspective of operations research and management science, logistics distribution route optimization is commonly formulated as a vehicle routing problem (VRP) [6]. The VRP seeks to determine efficient vehicle routes that satisfy various operational constraints, such as vehicle capacity and customer demand, while achieving objectivessuch as minimizing the number of vehicles deployed, optimizing delivery time, and reducing overall distribution costs. Dantzig and Ramser [8] first introduced VRPs to optimize the routing of truck fleets transporting fuel between bulk terminals and service stations, aiming to minimize overall transportation costs. Subsequently, Clarke and Wright [9] incorporated practical constraints into the model, establishing the VRP as a fundamental framework for logistics and transportation optimization. Since the 1990s, with the increasing complexity of logistics systems, research on VRPs has expanded considerably and yielded numerous important results. Nevertheless, dynamic demands and world complexities have led to the emergence of various VRP extensions.
Considering customers’ time window constraints, Solomon [10] introduced the vehicle routing problem with time windows (VRPTW) and developed a widely used benchmark dataset. Subsequent studies can be classified into hard and soft time window variants. Hard time windows require vehicles to start service strictly within the customer’s specified time window, while soft time windows allow for service outside this range by paying a penalty. To capture the time-dependent characteristics of road networks induced by variations in traffic flow, Ichoua et al. [11] introduced the time-dependent vehicle routing problem with time windows (TDVRPTW), in which the delivery horizon is divided into discrete time intervals, and vehicle speeds vary accordingly to reflect dynamic traffic conditions. Fan et al. [12] further utilized historical traffic data and approximated the time-dependent travel times using trigonometric functions to generate smooth representations of the dynamic road network.
To promote sustainable development, carbon emissions have attracted increasing attention in both academia and practice. To more accurately estimate fuel consumption and emission levels, Demir et al. [13] proposed a comprehensive emission model. This model was subsequently adopted by Majidi et al. [14] and Qin et al. [15] to incorporate carbon costs into routing optimization. Chen et al. [16] further extended this approach to cold chain logistics and proposed a time-dependent green vehicle routing problem (TDGVRP) from a low-carbon economic perspective. Considering heterogeneous customer demands, such as the one-hour pickup-and-delivery requirements in e-commerce instant delivery services, the vehicle routing problem with simultaneous pickup–delivery and time windows (VRPSPDTW) has gained increasing research interest. Wang and Chen [17] formulated a VRPSPDTW model with an objective function defined as a weighted sum of travel distance and fleet size, and developed a cooperative co-evolutionary genetic algorithm. Wang et al. [18] further developed a multi-commodity mixed-integer programming model incorporating reverse logistics and packaging recovery.
Although the above studies have achieved substantial progress, most existing VRP formulations consider only a subset of practical features encountered in real-world logistics operations, such as time-dependent traffic conditions, carbon emissions, or simultaneous pickup–delivery requirements. To address these limitations, this study integrates the core features of the TDVRPTW, TDGVRP, and VRPSPDTW into a unified framework and introduces a novel theoretical framework for the time-dependent vehicle routing problem with simultaneous pickup–delivery and time windows (TDVRPSPDTW). Specifically, it incorporates time-dependent functions to characterize dynamic variations in road networks, adopts a simultaneous pickup–delivery mode to address heterogeneous customer demands, and employs soft time windows as service constraints. Moreover, the model integrates carbon emission costs, computed using a comprehensive emission model, to overcome the limitations of previous VRP studies that neglected realistic factors such as time-dependent traffic conditions and simultaneous pickup–delivery requirements. Based on these considerations, a model that integrates these practical features is formulated and solved using an IACO algorithm enhanced with adaptive large neighborhood search to avoid premature convergence. The main contributions of this research are as follows:
  • This study proposes a novel TDVRPSPDTW model, which simultaneously accounts for carbon emissions, time-varying vehicle speeds, and customer requests for both pickup-and-delivery services. The model is developed by integrating fixed, transportation, carbon emission, and time window penalty costs, addressing the gaps in prior research.
  • An IACO algorithm is designed to solve the proposed TDVRPSPDTW. The algorithm initializes pheromone trails using a savings-based heuristic, modifies the state transition rule by introducing distance-saving values, time window deviation factors, and time window width factors, and incorporates a large neighborhood search strategy to destruct and repair local optima. Furthermore, an operator scoring mechanism is introduced for adaptive selection of removal and insertion operators.
  • Extensive computational experiments are conducted on standard international VRPSPDTW benchmark datasets of varying scales. Comparative analyses with representative algorithms demonstrate the superior performance of the proposed approach. In addition, sensitivity analyses on constructed TDVRPSPDTW instances confirm that the use of soft time windows and simultaneous pickup–delivery strategies can effectively enhance efficiency and reduce overall costs.
The remainder of this paper is organized as follows. Section 2 reviews the related literature. Section 3 formulates the mathematical model of the TDVRPSPDTW. Section 4 presents the improved ant colony optimization algorithm. Section 5 provides computational results and sensitivity analysis. Finally, Section 6 concludes the paper and outlines the limitations together with potential avenues for future research.

2. Literature Review

This section reviews the related literature from three perspectives: the objectives, model formulations, and solution algorithms of the vehicle routing problem. A comparative summary is provided at the end.

2.1. Objectives

2.1.1. Classical VRPs

In classical vehicle routing problem studies, the primary objective was to design cost-efficient routes for a truck fleet transporting gasoline from bulk terminals to multiple service stations [8]. Subsequent studies have explored various optimization objectives. Some focus on minimizing total delivery time or vehicle arrival time [19,20,21], while others aim to minimize the number of vehicles or total route length [17,22,23,24]. Over time, minimizing the overall distribution cost through the integration of multiple weighted objectives has become a primary optimization strategy. Srivastava et al. [25] and Cai et al. [26] formulated multi-objective VRPTW models that consider vehicle utilization, total travel distance, maximum route duration, early arrival waiting time, and late service penalties. Qi et al. [27] incorporated total vehicle usage time, energy consumption, and customer satisfaction into a multi-objective model. Wang et al. [28] analyzed the impact of transportation resource sharing on reducing fleet size and maintenance costs, thereby minimizing overall logistics expenditure.

2.1.2. VRPs with Carbon Emission

With the increasing emphasis on sustainable development, a growing body of research has incorporated environmental considerations into vehicle routing optimization, in which the accurate modeling of fuel consumption and carbon emissions has become an important topic in green logistics. Most existing studies are based on the fundamental assumption that carbon emissions are approximately proportional to fuel consumption; accordingly, fuel consumption is explicitly modeled to indirectly quantify the carbon emission costs generated by transportation activities and incorporated into the objective function of the vehicle routing problem.
From the perspective of emission modeling approaches, the related literature can generally be classified into two categories: macroscopic empirical models and microscopic comprehensive models. On the one hand, some studies estimate fuel consumption using linear fuel consumption rate formulations, where fuel usage is calculated per unit travel distance, or adopt the MEET model proposed by the European Commission to assess the energy consumption and emissions of heavy-duty vehicles from a traffic engineering perspective [29]. Owing to their modeling simplicity and computational efficiency, these approaches have been widely embedded into multi-objective and time-dependent green vehicle routing problems to balance transportation efficiency and environmental impacts. On the other hand, with increasing demands for modeling accuracy, a growing body of research has employed comprehensive emission models that capture the effects of operational characteristics—such as engine speed, vehicle load, engine displacement, and friction coefficients—on fuel consumption at a microscopic level [13,30]. Based on these models, carbon emission costs are subsequently calculated, enabling more refined and realistic emission estimations compared with macroscopic approaches. Moreover, in specific application contexts, particularly in cold-chain logistics, comprehensive emission models have been further extended to account for both fuel consumption during vehicle operations and indirect carbon emissions arising from refrigeration equipment [16]. By integrating these additional emission sources into routing optimization, existing studies have broadened the scope of low-carbon vehicle routing research.
In summary, although existing studies have extensively investigated both classical VRP objectives and emerging environmental objectives, certain limitations remain. In particular, the joint consideration of time-dependent traffic conditions, fuel-based carbon emission costs, and service-related penalty costs within a unified optimization framework has not been sufficiently explored. To address these gaps, this study integrates fixed vehicle costs, transportation costs, carbon emission costs derived from fuel consumption, and time window penalty costs into a single objective function aimed at minimizing the total distribution cost. Carbon emissions under time-dependent road networks are quantified based on fuel consumption using a comprehensive emission model, thereby contributing to a more holistic and realistic optimization of vehicle routing problems.

2.2. Model Formulations

2.2.1. VRPTW

Time window constraints represent one of the earliest and most influential extensions of the classical vehicle routing problem. By introducing customer-specific service intervals, Solomon [10] formulated the vehicle routing problem with time windows (VRPTW), substantially enhancing its practical relevance. Subsequent studies have explored alternative formulations of time window constraints. Some have imposed strict service time constraints, requiring that deliveries be completed within the designated time windows [21,31,32,33,34], whereas others introduced soft time windows that permit early or late service with corresponding penalty costs to improve model flexibility [25,26,35].

2.2.2. TDVRPTW

Building upon the VRPTW, the time-dependent vehicle routing problem with time windows (TDVRPTW) was proposed to explicitly account for the temporal variability of urban traffic conditions by incorporating time-related road network constraints into vehicle routing models [36]. To capture traffic dynamics, Ichoua et al. [11] proposed a piecewise constant-speed model, dividing the planning horizon into discrete intervals, each with a constant vehicle speed, to approximate traffic variations. In addition, some studies have utilized continuous speed functions derived from historical urban traffic data through functional approximation to describe smooth temporal variations in vehicle travel speeds [12,37].

2.2.3. VRPSPDTW

With the rapid development of e-commerce and reverse logistics, customers increasingly exhibit simultaneous pickup-and-delivery demands. The vehicle routing problem with simultaneous pickup–delivery and time windows (VRPSPDTW) allows vehicles to perform both pickup-and-delivery operations at the same customer location, which not only accommodates heterogeneous customer requirements but also improves vehicle load utilization and reduces empty travel [38,39]. For instance, Liu et al. [40] introduced reverse logistics into the VRPSPDTW framework, while Wang et al. [18] further incorporated product returns and packaging recovery through a multi-commodity mixed-integer programming model to enhance resource utilization efficiency. Nevertheless, these studies did not incorporate time-dependent road network characteristics into their formulations.
In summary, prior research has successively introduced time windows, time-dependent traffic conditions, and simultaneous pickup–delivery requirements into vehicle routing models, leading to a variety of VRP extensions such as VRPTW, TDVRPTW, and VRPSPDTW. However, studies that systematically integrate these constraints within a unified time-dependent framework remain limited. Building upon existing research, this study jointly incorporates time-dependent road networks, soft time windows, and heterogeneous pickup–delivery demands, thereby further extending the modeling scope and practical applicability of vehicle routing problem research.

2.3. Solution Algorithms

Early research on vehicle routing problems primarily relied on exact algorithms, which are capable of guaranteeing global optimality. However, their computational complexity grows exponentially with problem size, rendering them impractical for large-scale applications [41,42].
In contrast, metaheuristic algorithms such as ant colony optimization (ACO), genetic algorithms (GAs), and adaptive large neighborhood search (ALNS) draw inspiration from natural evolution and collective intelligence. These methods provide a good balance between exploration and exploitation and can efficiently produce high-quality near-optimal solutions for large-scale and complex problems [24]. However, single algorithms often face performance bottlenecks under complex constraints, motivating the development of hybrid metaheuristics that combine the strengths of multiple paradigms.
Against such background, increasing research attention has been devoted to the vehicle routing problem with simultaneous pickup-and-delivery and time windows. Wang and Chen [17] formulated a VRPSPDTW model with the objective defined as a weighted sum of travel distance and the number of vehicles, and proposed a co-evolutionary genetic algorithm for its solution. More importantly, by extending classical Solomon benchmark instances, they constructed a set of VRPSPDTW test instances with different scales and characteristics, which has since served as a standardized and representative experimental platform for subsequent algorithmic studies. Based on these benchmark instances, a variety of advanced metaheuristic approaches have been developed and validated, including an adaptive large neighborhood search algorithm with route recombination strategy [43], a two-stage algorithm [44], and an ant colony optimization algorithm with a destruction–repair strategy [45], thereby further advancing solution methodologies for the VRPSPDTW.
Among various metaheuristic approaches, ant colony optimization (ACO) has been widely applied to vehicle routing problems and their extensions due to its cooperative search mechanism and favorable extensibility. To address the tendency of ACO to suffer from premature convergence under complex constraints, existing studies have incorporated various local improvement strategies into the ACO framework to regulate the balance between exploration and exploitation. Current enhancement efforts mainly focus on the construction of heuristic initial solutions, the refinement of pheromone updating strategies, and the integration of ACO with genetic algorithms, adaptive large neighborhood search, or simulated annealing to improve computational efficiency and solution stability [46,47]. In addition, Wu et al. [45] systematically investigated the effects of key parameters, such as the number of ants and the pheromone evaporation rate, on algorithmic performance, providing useful guidance for parameter tuning in ACO-based routing applications. Overall, ACO and its hybrid variants have become commonly adopted solution approaches for VRPs and their extensions, with recent research emphasizing structural enhancements and adaptive mechanisms to improve applicability and solution quality in combinatorial optimization problems [30].
Building upon the aforementioned research advances, this study develops an improved ant colony optimization (IACO) algorithm for the TDVRPSPDTW. Within the classical ACO framework, the pheromone initialization and updating mechanisms are refined, and an adaptive large neighborhood destruction–repair strategy is incorporated to enhance search diversity and alleviate premature convergence under complex constraints, thereby further improving overall solution performance.
Table 1 summarizes representative studies on vehicle routing problems from the perspectives of network condition, optimization objectives, distribution modes, and resolution. The comparison highlights the distinctions and innovations of this study relative to the existing literature. Here, NV is the number of vehicles used, TD the total travel distance, CEC the carbon emission cost, and TPC the time window penalty cost. In particular, CEC indicates whether carbon emission cost is explicitly calculated based on fuel consumption, rather than aggregated proxies or additional emission sources such as refrigeration systems. As shown in Table 1, most existing studies focus on only a subset of practical features encountered in real-world logistics operations, such as neglecting time-dependent road networks, omitting explicit carbon emission costs, or insufficiently modeling heterogeneous customer demands. As a result, the ability of these models to comprehensively capture the complexity of realistic logistics systems remains limited.

3. TDVRPSPDTW Description and Formulation

3.1. Problem Description

The time-dependent vehicle routing problem with simultaneous pickup–delivery and time windows (TDVRPSPDTW) investigated is defined as follows. In the distribution network G = ( C 0 , E ) , C 0 = 0 , 1 , 2 , 3 , , c denotes the set of all nodes, E = ( i , j ) | i , j C 0 , i j represents the set of edges connecting nodes ( i , j ) , and C = 1 , 2 , 3 , c denotes the set of customer nodes excluding the depot (denoted as Node 0). Vehicles depart from the depot with an initial load of goods. Upon reaching a customer node, they first complete the delivery operation and then perform the pickup task before traveling to the next customer node. This process continues until all customer nodes in the distribution network have been served with simultaneous pickup-and-delivery operations. A schematic representation of the TDVRPSPDTW distribution routes is provided in Figure 1.
In this study, a soft time window constraint is adopted. Under this mechanism, vehicles are permitted to serve customers even if they arrive before or after the specified time window, but a penalty cost is incurred accordingly. Assuming that the service all customer demands must be satisfied, the routing plan is formulated with the objective of minimizing the total distribution cost.
The problem investigated is formulated under the following assumptions:
(1)
The distribution network comprises a single depot. Vehicles depart from the depot to perform their assigned services and are required to return to the depot with a load equal to the aggregate pickup demand of the customer nodes served. The return must occur prior to the designated depot opening time.
(2)
Each vehicle can provide simultaneous pickup-and-delivery services to multiple customer nodes. However, each customer node can be visited by only one vehicle exactly once, implying that customer demand is indivisible and cannot be split among multiple vehicles.
(3)
For customer nodes with simultaneous pickup-and-delivery demands, the service operation follows a “delivery-first, pickup-later” sequence, whereby delivery is completed prior to loading the items to be picked up. The volume of goods is not considered in this study.
(4)
The maximum load capacity of all vehicles is assumed to be identical and known a priori. Overloading is strictly prohibited during the distribution process.
(5)
For each customer, the location, delivery demand, pickup demand, and time window information are known. The delivery-and-pickup demands of a single customer are both smaller than the vehicle’s maximum capacity.
(6)
Vehicles are allowed to arrive outside the specified time window; however, such violations incur the corresponding penalty costs.
(7)
The distribution road network exhibits time-dependent characteristics, reflected by variations in vehicle travel speed across different time intervals.
(8)
During service at a customer node, the vehicle engine is deactivated, thereby generating no fuel consumption or carbon emissions.
The parameter definitions are summarized in Table 2.

3.2. Mathematical Formulation

The time-dependent function proposed by Ichoua et al. [11] is adopted to characterize the dynamic properties of the road network. The instantaneous vehicle speed within a very short time interval is approximated as a constant value, and the continuous travel time of a vehicle is indirectly obtained by aggregating the segmented travel speeds, as illustrated in Figure 2.
Specifically, the operating time horizon of the depot is divided into M equal intervals, each of duration D . Let T = T 0 , T 1 , T M denote the set of discrete time points, and T m 1 , T m represent the mth interval. When vehicle k travels from customer node i to customer node j , let L t i k T m 1 , T m denote its departure time, v i j k m the travel speed during the interval, d i j k m the travel distance, and t i j k m the travel time. Based on the relationship between the known distance d i j (from node i to node j ) and d i j k m , there are two scenarios: non-cross-interval travel and cross-interval travel. For cross-interval travel ( d i j k m < d i j ), the remaining distance for vehicle k to travel from node i to node j after the mth time interval is R i j m = d i j d i j k m . In summary, the total travel time t i j k of vehicle k from node i to node j is calculated in two steps:
Step 1: Calculate the travel time within the initial interval. d i j k m = v i j k m ( T m L t i k ) , if d i j k m > d i j , set t i j k m = d i j / v i j k m , t i j k = t i j k m , terminate the calculation and output t i j k ; otherwise R i j m = d i j d i j k m , t i j k m = T m L t i k , m = m + 1 .
Step 2: Calculate the travel time within subsequent intervals. d i j k m = v i j k m D , if d i j k m < R i j m 1 , set R i j m = R i j m 1 d i j k m , t i j k m = D , m = m + 1 , repeat step 2; otherwise t i j k m = R i j m / v i j k m , t i j k = m T t i j k m , and terminate the calculation and output t i j k .
Under the above piecewise time-dependent speed formulation, the first-in–first-out (FIFO) property of the road network is preserved. Specifically, a vehicle departing later from the origin node of an arc cannot arrive earlier at its destination node than a vehicle departing earlier. As demonstrated by Ichoua et al. [11], this FIFO property holds for any arc under the adopted time-dependent travel time calculation, thereby ensuring temporal consistency and feasibility of the proposed TDVRPSPDTW model.
A comprehensive emission model is adopted to estimate vehicle fuel consumption from a microscopic perspective. It incorporates the impacts of parameters such as vehicle load, travel speed, air resistance, engine speed, displacement, and friction coefficient to approximate the fuel consumption per second of the vehicle. The estimated fuel consumption is then converted into the corresponding carbon emission values, which are subsequently multiplied by the unit cost of carbon emissions to obtain the overall carbon emission cost. Meanwhile, considering the time-dependent characteristics of the road network, the travel speed of vehicle k on route segment ( i , j ) varies across different time intervals. Accordingly, the calculation of fuel consumption adopts a cumulative approach based on time intervals. Specifically, the fuel consumption O i j k m of vehicle k traveling from node i to node j during the mth time interval is computed using Equation (1).
O i j k m = ψ ζ Z V d i j k m / v i j k m + ψ ε g m 0 + W i j k d i j k m + ψ ε δ d i j k m v i j k m 2
where ψ is the calorific value of fuel, ζ is the engine friction coefficient, Z is the engine speed ( rev / s ), V is the engine displacement, ε is the transmission coefficient, m 0 is the unloaded weight of a vehicle, W i j k is the load of vehicle k when traveling from node i to node j , and δ is the air resistance coefficient.
Subsequently, the corresponding carbon emissions are obtained from O i j k m by applying the carbon emission factor e , as expressed in Equation (2).
E i j k m = e O i j k m
Based on the characteristics of the problem addressed, the total distribution cost is defined as the sum of fixed vehicle costs, transportation costs, carbon emission costs, and time window penalty costs. Accordingly, a mixed-integer programming model is formulated with the objective of minimizing the total distribution cost, as presented below:
min T C = f 1 k K j C m T y 0 j k m + f 2 k K i , j C 0 m T t i j k m y i j k m + f 3 k K i , j C 0 m T E i j k m y i j k m + f 4 k K i C 0 , j C m T y i j k m max e j L t i k t i j k m , 0 + f 5 k K i C 0 , j C m T y i j k m max L t i k + t i j k m l j , 0
s. t.
k K i C 0 m T y i j k m = 1 ,   j C
i C 0 m T y i j k m i C 0 m T y j i k m = 0 ,   j C , k K
j C m T y 0 j k m 1 ,   k K
j C W 0 j k = i , j C 0 m T y i j k m s j ,   k K
i C W i 0 k = i , j C 0 m T y j i k m q i ,   k K
0 W i j k U ,   i , j C 0 , k K
i C 0 m T y i j k m ( W i j k s j ) = i C 0 m T y j i k m ( W j i k q j ) ,   j C , k K
A m y i j k m L t i k y i j k m B m y i j k m ,   i , j C 0 , k K , m T
t i j k = m T t i j k m y i j k m ,   i , j C 0 , k K
L t i k = A t i k + h i , i C 0 , k K
m T y i j k m ( A t i k + h i + t i j k m ) A t j k , i , j C 0 ,   k K
L t i k + t i 0 k l 0 , i C , k K
y i j k m 0 , 1 ,   i , j C 0 ,   k K , m T
Equation (3) defines the objective function, which minimizes the total distribution cost comprising fixed vehicle costs, transportation costs, carbon emission costs, and time window penalty costs. Equation (4) enforces that each customer node is visited exactly once, with indivisible demand, and ensures that delivery-and-pickup requests are simultaneously satisfied. Equation (5) stipulates that once a vehicle has arrived at and completed service for a customer node, it must subsequently depart from that node, while Equation (6) guarantees that each vehicle is utilized at most once. Equations (7) and (8) serve as demand fulfillment constraints. Specifically, Equation (7) requires that the vehicle load upon departure from the depot equals the total delivery demand of the customer nodes to be served, whereas Equation (8) requires that the vehicle load upon returning to the depot equals the aggregate pickup demand of the customer nodes already served. Equation (9) restricts the vehicle load on any arc from exceeding its maximum capacity, and Equation (10) maintains load balance before and after servicing a node. Equation (11) ensures that L t i k , the departure time of vehicle k from customer node i , lie within the corresponding time interval [ A m , B m ] . Equation (12) introduces the calculation of travel time across different time intervals and is used to determine the travel time of vehicle k travels from node i to node j . Equation (13) specifies that the departure time L t i k of vehicle k from node i is equal to the sum of its arrival time A t i k and the service time h i . Equation (14) enforces the temporal precedence constraint, ensuring that the arrival time A t j k at node j is not earlier than the arrival time at the preceding node i , plus the service time h i at node i and the travel time between nodes i and j . Equation (15) ensures that vehicles return to the depot before the latest allowable depot closing time. Finally, Equation (16) defines the attributes of the decision variables.

4. Solution Methodology

This section presents three significant enhancements to the classical ACO algorithm aimed at capturing the unique features of the TDVRPSPDTW. First, the savings heuristic is employed to construct high-quality initial solutions, which are further utilized to initialize the pheromone trails. Second, the state transition rules are refined by incorporating problem-specific indicators, namely the distance-saving value, the time window deviation factor, and the time window width factor, to better guide the search process. Third, the ALNS strategy is integrated as a local search mechanism to enhance the exploration capability of the algorithm and reduce the risk of premature convergence. The details of these three enhancements are presented in Section 4.1, Section 4.2, Section 4.3 and Section 4.4.

4.1. Initial Pheromone Initialization

One notable limitation of the classical ACO algorithm is the absence of predefined initial pheromone values, which may lead to slow convergence. To address this issue, the present study employs the savings heuristic to generate initial solutions, which are subsequently used for pheromone initialization, as expressed in Equation (17). In this equation, τ 0 represents the initial pheromone value, n denotes the total number of customer nodes to be served, and D 0 represents the total travel distance of the initial solution generated through the savings heuristic.
τ 0 = 1 n D 0
The procedure for constructing the initial solution using the savings heuristic is described as follows:
  • Initialization: Construct independent routes for all customer nodes, each traveling directly to and from the depot, i.e., assign one vehicle per customer node.
  • Savings calculation: Compute the distance savings resulting from merging every pair of routes, and rank these values in descending order.
  • Route merging: Iteratively evaluate the ranked savings list to identify feasible route pairs that satisfy the vehicle load capacity constraint. Merge the first feasible pair, update the savings list, and repeat the process. If no feasible pair remains, the procedure terminates.

4.2. Improved State Transition Rules

The state transition rule is the core mechanism of the ACO algorithm, determining how ants sequentially select the next target node in constructing routes. Following prior research [55], this study adopts a pseudo-random proportional rule that integrates both probabilistic exploration and deterministic exploitation. Specifically, the algorithm compares a random number q [ 0 , 1 ] with a predefined control parameter q 0 to decide whether the next node is selected deterministically or probabilistically.
To further enhance the quality of distribution plans, three additional factors are incorporated into the state transition rule: the distance-saving value g i j , the time window deviation impact factor d i v j , and the time window width impact factor s p a j . These enhancements encourage the selection of customer nodes associated with shorter travel distances, smaller penalties for early or late arrivals, and narrower time windows.
The distance-saving value is calculated using Equation (18). The principle is as follows: consider assigning customer nodes i and j to two separate routes, then compute the difference between this combined route distance and the direct distance between nodes i and j . d i j denotes the direct distance between customer node i and customer node j . A larger g i j indicates a greater likelihood that customer node j will be chosen as the next destination by the ant.
g i j = d i 0 + d 0 j d i j
Because the TDVRPSPDTW problem allows soft time window violations, d i v j is introduced to reduce penalty costs. The degree of deviation is given in Equation (19). If A t j , the arrival time at customer node j falls within [ e j , l j ] , there is no time window deviation, and d i v j is set to 1.
d i v j = e j A t j , A t j < e j 1 , e j A t j l j A t j l j , A t j > l j
Customer nodes differ in the width of their service windows, defined as the difference between the latest and earliest allowable service times. A narrower window implies less scheduling flexibility, making such customers more critical to prioritize. This factor helps guide ants toward serving tighter time windows first, thereby improving vehicle utilization and routing efficiency.
Based on these considerations, the improved state transition rule for an ant moving from node to node is expressed in Equations (20) and (21).
j k = arg max j P E i k τ i j σ g i j d i j ς 1 d i v j π 1 s p a j ω , q q 0 p i j k , q > q 0
p i j k = τ i j σ g i j d i j ς 1 d i v j π 1 s p a j ω h P E i k τ i h σ g i h d i h ς 1 d i v h π 1 s p a h ω , j P E i k 0 , j P E i k
where τ i j denotes the pheromone concentration between node i and node j ; σ , ς , π , and ω represent the coefficients of pheromone importance factor, visibility importance factor, time window deviation factor, and time window width impact factor, respectively; p i j k denotes the state transition probability for ant k selecting the next node j from node i ; and P E i k represents the set of unserved customer nodes that satisfy both the vehicle load capacity constraint and the time window constraint when ant k is located at node i .

4.3. ALNS Local Search

Compared with traditional local search strategies such as 2-opt, insertion, and swap, the ALNS framework incorporates multiple destruction and repair operators. During the iterative process, the algorithm adaptively updates operator weights based on their historical performance, thereby selecting more effective combinations of destruction and repair operators to explore the solution space. This mechanism not only increases the likelihood of finding high-quality solutions but also expands the search neighborhood.
The ALNS strategy is used to intensify the search around the initial solutions generated by the ACO algorithm. It effectively mitigates the tendency of ACO to become trapped in local optima, thereby improving overall solution quality. The specific destruction and repair operators utilized are detailed as follows:

4.3.1. Destruction Operators

(1)
Similarity destruction operator
The implementation procedure is as follows: randomly select a customer node i from the current distribution plan, remove it, and place it in the deletion list R L . According to Equation (22), compute the similarity X ( i , j ) between customer node i and each undeleted customer node by considering four factors: travel distance, time window, pickup–delivery demand, and whether they are on the same route. Sort the customer nodes in ascending order of similarity, then delete the rand a R L t h customer node (where rand is a random number within 0 , 1 , a is a position parameter balancing randomness and similarity selection, and | R L | is the size of the deletion list R L ). Randomly select a deleted customer node from the deletion list R L , and repeat the above operation until R L is empty.
X ( i , j ) = λ 1 d i j max i , j C ( d i j ) + λ 2 s i s j + q i q j max i , j C ( s i s j + q i q j ) + λ 3 e i e j + l i l j max i , j C ( e i e j + l i l j ) + λ 4 G
where λ 1 , λ 2 , λ 3 , and λ 4 are the weight coefficients for travel distance, time window difference, pickup–delivery demand difference, and whether nodes are on the same route between customer nodes i and j , respectively, with λ 1 + λ 2 + λ 3 + λ 4 = 1 ; G equals 1 if nodes i and j are on the same route, and 0 otherwise.
(2)
Worst-cost destruction operator
In each iteration, calculate the reduction in the objective function caused by deleting each unremoved customer node from the current solution. Sort all unremoved customer nodes in descending order according to their corresponding objective cost reduction values. Select the customer node with the largest objective cost reduction for deletion. Repeat this process iteratively until the number of deleted customer nodes reaches R L .
(3)
Worst-route destruction operator
During each iteration, compare the number of customers in each route, select the route with the fewest customers for deletion, and then use a repair operator to reinsert the removed nodes into more suitable positions.
(4)
Random destruction operator
In each iteration, randomly select customer nodes from the current distribution plan and delete them, storing the removed nodes sequentially in the deletion list R L , until a destroyed solution with | R L | removed customer nodes is obtained.

4.3.2. Repair Operators

(1)
Greedy repair operator
Under the premise of satisfying all constraints, the optimal insertion position and the corresponding insertion cost for each customer node in the deletion list R L are calculated within the current distribution plan. Customer nodes are then sorted in ascending order of insertion cost. The node with the smallest insertion cost is inserted at its optimal position, and subsequently removed from R L . If no feasible insertion exists under the constraints, the number of vehicles is incremented by one, and the node is inserted into a new route. After updating the deletion list R L , the insertion costs for the remaining nodes are recalculated, and the sorting and insertion procedure is repeated until all nodes in R L are reinserted.
(2)
Regret value repair operator
Under the premise of satisfying all constraints, the regret value for each customer node in R L is calculated. The regret value is defined as the difference between the insertion cost at the optimal position and that at the second-best position. Customer nodes are then sorted in descending order of regret value, and the node with the largest regret value is inserted at its optimal position. After insertion, the node is removed from R L , and the deletion list is updated. This process is repeated until R L is empty.

4.3.3. Operator Selection Strategy

In the ALNS framework, the selection probability θ i of each operator is computed based on the operator weights for the six destruction and repair operators described above. A roulette-wheel selection mechanism is employed to choose a pair of destruction and repair operators in each iteration, with the selection probability determined by θ i . The formula for θ i is given in Equation (23), where μ i denotes the weight of operator i , and r is the total number of operators.
θ i = μ i j = 1 r μ j ,   i = 1 , 2 , , r
At the beginning of the iterative process, all operators are assigned equal initial weights. One destruction operator is selected using the roulette-wheel method to disrupt the current solution, followed by the selection of a repair operator to restore the solution, producing a repaired solution. Operator performance is recorded using the following scoring rules.
  • If the repaired solution is better than the current solution and constitutes a global optimum, the operator is awarded α 1 points.
  • If the repaired solution is better than the current solution but not a global optimum, the operator is awarded α 2 points.
  • If the repaired solution is accepted as the current solution according to a Metropolis acceptance criterion, the operator is awarded α 3 points.
During the search, the weight μ i of operator i is dynamically updated at the end of each period κ according to Equation (24), based on the cumulative score and number of times the operator has been applied. Specifically, μ i is updated only after each period κ rather than continuously. In Equation (24), φ denotes the operator weight update coefficient, π i denotes the cumulative score of operator i within a given update period, and n i denotes the cumulative number of calls of operator i within the same given update period.
μ i = 1 φ μ i + φ π i / n i

4.4. Solution Process

Figure 3 illustrates the overall solution process of the proposed IACO algorithm. The advantages of the proposed algorithm can be summarized as follows:
First, the savings-based initialization strategy generates high-quality initial solutions, which guide the search toward promising regions of the solution space.
Second, the modified state transition rule jointly considers distance-saving and time window deviation, thereby enhancing solution guidance under time-dependent constraints.
Finally, the embedded adaptive large neighborhood search mechanism improves diversification and repair capability, allowing the algorithm to escape local optima and achieve stable convergence.

5. Experimental Analysis

5.1. Parameter Settings

By reviewing the relevant literature and materials [15,45,56,57], the parameters related to the model are set as follows: the fixed unit departure cost of a vehicle f 1 = 400   CNY , the unit transportation cost per unit time of a vehicle f 2 = 180   CNY / h , the unit carbon emission cost of a vehicle f 3 = 0.05   CNY / kg , the carbon emission factor e = 3.1   CO 2 / kg , the unloaded weight of the vehicle m 0 = 6350   kg , the calorific value of fuel ψ = 3.06 * 10 5   L / kJ , the engine friction coefficient ζ = 0.2   kJ / rev / L , the engine speed Z = 33   rev / s , the engine displacement V = 5   L , the transmission coefficient ε = 2.77 * 10 3 , the air resistance coefficient δ = 1.65 , the gravitational constant g = 9.81   m / s 2 , and the unit time penalty costs for violating the time window are f 4 = 60   CNY / h (early arrival) and f 5 = 120   CNY / h (late arrival), respectively.
The algorithm code was written in MATLAB R2019b and was run in an environment equipped with an AMD Ryzen 7 6800H processor with Radeon graphics (32 GB of RAM) and the Windows 11 operating system. By reviewing relevant literature and materials and adjusting parameters for optimization [38,45], the algorithm parameters are set as follows: the number of ants m = 50 , the maximum number of iterations M a x I t e r = 100 , the transfer control parameter q 0 = 0.5 , the coefficient of pheromone importance factor σ = 2 , the coefficient of visibility importance factor ϑ = 1 , the coefficient of time window deviation factor π = 3 , the coefficient of time window width impact factor ω = 2 , the constant pheromone intensity Q = 1000 , the pheromone evaporation factor ρ   = 0 . 2 , the size of the deletion list (i.e., the number of customer nodes to be deleted) | R L | = [ 0.15 n , 0.25 n ] , the weight coefficients in similarity destruction operator λ 1 = 0.4 , λ 2 = 0.3 , λ 3 = 0.2 , λ 4 = 0.1 , the scoring rules α 1 = 15 , α 2 = 8 , α 3 = 3 , the operator weight update period κ = 50 , and the operator weight update coefficient φ = 0.25 .

5.2. Verification of Algorithm Effectiveness

The TDVRPSPDTW investigated is an extension of the classical VRPSPDTW. To evaluate the effectiveness of the proposed IACO algorithm, we employ internationally recognized benchmark instances of VRPSPDTW. These instances were generated by Wang and Chen [17], who introduced pickup demands into the well-known VRPTW benchmark set originally proposed by Solomon. The dataset consists of 65 instances, including 9 small-scale cases with 10, 25, or 50 customers, and 56 large-scale cases with 100 customers. The 100-customer set is further divided into 6 categories: C1, C2, R1, R2, RC1, and RC2. Specifically, in R-type instances, customer locations are randomly distributed; in C-type instances, customer locations exhibit a clustered distribution; and RC-type instances combine both random and clustered spatial patterns, representing a mixed distribution structure. Given the heterogeneity in instance size and structure, the objective function is defined with a lexicographic priority: first, to minimize the number of vehicles, and second, to minimize the total travel distance. The proposed IACO is tested on all 9 small-scale instances (10, 25, and 50 customers) and on 18 representative large-scale instances with 100 customers.
Table 3 reports a comparative analysis of IACO against CPLEX [22], discrete cuckoo search (DCS) [58], and memetic algorithm with efficient local search and extended neighborhood (MATE) [59] on small-scale instances. Here, NV denotes the number of vehicles used, and TD represents the total travel distance. Due to its limited computational capability, CPLEX is only able to solve five instances: RCdp1001, RCdp1004, RCdp1007, RCdp2501, and RCdp5001. For these cases, IACO obtains solutions identical to those of CPLEX in terms of both NV and TD. Compared to the MATE algorithm, IACO produces slightly inferior results on the RCdp5004 instance, with a difference of less than 0.02%. For all other instances, the results of both methods are identical. In comparison with DCS, the solutions of IACO are also consistent for all but one case, RCdp5004, where the total travel distance differs by only 1.07%.
Table 4 presents a comparison of the VRPSPDTW instances with 100 customers against three metaheuristics: co-evolution genetic algorithm (CO-GA) [17], DCS [58], and sine cosine and firefly perturbed sparrow search algorithm (SFSSA) [60]. Specifically, compared with CO-GA, the proposed IACO reduces the number of vehicles by one in two instances (Rdp110 and RCdp203). Among the remaining 16 instances with the same number of vehicles, IACO achieves equal or superior travel distances in 11 cases, with the maximum improvement reaching 4.65%. Relative to DCS, IACO also reduces the vehicle count by one in instance Rdp110. For the 17 instances with equal vehicle numbers, IACO attains equal or better travel distances in 12 cases, with a maximum improvement of 4.30%. In comparison with SFSSA, IACO reduces the number of vehicles in three instances (RCp110, RCdp105, and RCdp203). Among the 15 instances where the number of vehicles is identical, IACO delivers equal or superior travel distances in 9 cases, achieving up to 5.40% improvement.
These results clearly demonstrate the effectiveness of the proposed IACO in solving VRPSPDTW, highlighting its ability to achieve competitive or superior performance compared with other advanced metaheuristics.

5.3. TDVRPSPDTW Instance Analysis

Currently, no benchmark instances are available for the TDVRPSPDTW problem. Therefore, based on the characteristics of the problem, we construct test instances by extending the VRPSPDTW instances with 10, 25, and 50 customers introduced in Section 5.1. Specifically, the time window constraints of customer nodes are relaxed, allowing vehicles to serve customers either earlier or later than the specified time windows. In addition, the operating horizon of the depot is evenly divided into five periods: [ 0 , 0.2 l 0 ) , [ 0.2 l 0 , 0.4 l 0 ) , [ 0.4 l 0 , 0.6 l 0 ) , [ 0.6 l 0 , 0.8 l 0 ) , and [ 0.8 l 0 , l 0 ] . The time-dependent functions corresponding to four typical traffic scenarios proposed by Andres Figliozzi [42] are summarized in Table 5. According to the relative position of the vehicle departure time with respect to morning and evening peak periods, the speed profiles are classified into four types, denoted as conditions a–d.
Condition a: The vehicle departs during the morning peak period, resulting in low travel speeds in the initial stage due to severe congestion. In the second time interval, traffic demand decreases and vehicle speed increases accordingly. The third interval corresponds to the midday period, during which congestion intensifies again. In the fourth interval, occurring before the evening peak, traffic conditions gradually improve. The final interval coincides with the evening peak, leading to a significant reduction in travel speed.
Condition b: The vehicle departs at an early time when congestion has not yet occurred. The second interval corresponds to the morning peak, during which travel speed decreases. Traffic conditions are alleviated during the midday interval, allowing speeds to recover. In the subsequent interval, the vehicle encounters the evening peak and travel speed decreases again. In the final interval, congestion dissipates as the evening peak ends, and travel speed increases.
Condition c: The vehicle also departs early and is not affected by the morning peak during the first three intervals. The morning peak occurs in the last two intervals, where congestion has a pronounced impact on travel speed.
Condition d: The vehicle departs during the morning peak period, resulting in congested traffic conditions and low travel speeds in the first two intervals. As the morning peak subsides in the remaining intervals, traffic conditions improve and vehicle speed increases accordingly.
For urban logistics distribution, urban arterial roads serve as the primary traffic corridors and are designed with operating speeds in the range of 40–60 km/h. Consistent with assumptions commonly adopted in the related literature [12,52], an average speed of 50 km/h is adopted as the baseline speed in the construction-and-computational-experiment instance of this study.

5.3.1. Algorithm Performance Comparison

To evaluate the performance of the proposed IACO on the TDVRPSPDTW instances, a comparison is conducted against the ant colony optimization with local search (ACO-LS). The ACO-LS algorithm extends the classical ACO by incorporating insertion, swap, and 2-opt operators for local search, while adopting the same state transition rules as those used in this study. The basic parameter settings of ACO-LS are kept consistent with those of the IACO. Each instance is independently solved 10 times. The comparative results are summarized in Table 6, where Best represents the best total distribution cost among the 10 runs, Avg denotes the average total distribution cost, SD indicates the standard deviation, Gap refers to the deviation in the best total distribution cost between IACO and ACO-LS, and Time denotes the average computational time in seconds.
As shown in Table 6, for TDVRPSPDTW instances of different scales, the proposed IACO consistently achieves lower best and average distribution costs compared to ACO-LS. The average relative deviation of the best solutions is 4.23%, and this advantage becomes more pronounced as the number of customers increases, reaching a maximum relative deviation of 11.78% when the customer size is 50. Moreover, in terms of solution stability, the standard deviations obtained by IACO are generally smaller. In terms of computational time, both IACO and ACO-LS exhibit increasing solution times as the problem scale grows. Although IACO requires additional computational effort due to its enhanced search mechanisms, the solution times of both algorithms remain within a practically acceptable range for all tested instances. Figure 4 illustrates the comparison of carbon emission cost (CEC) and total cost (TC) obtained from the best solutions generated by IACO and ACO-LS across different instances. Compared with ACO-LS, the proposed IACO achieves a maximum reduction of 20.68% in carbon emission cost. Taken together, these results demonstrate the effectiveness of the proposed IACO in achieving high-quality and stable solutions across different instance sizes.
Furthermore, for the instance with 100 customer nodes, instance Rcdp101 is selected as a representative case while keeping all other conditions unchanged. Both the ACO-LS and IACO algorithms are independently executed 10 times. The results indicate that, compared with the best distribution cost of 13,921.15 obtained by ACO-LS, the best cost achieved by the IACO algorithm is 12,125.72, corresponding to a reduction of approximately 12.90%. Figure 5 and Figure 6 present the iterative convergence curves of ACO-LS and IACO, respectively, for solving instance Rcdp101. It can be observed that ACO-LS converges after approximately 90 iterations, whereas IACO begins to converge in fewer than 20 iterations. Compared with ACO-LS, the proposed IACO exhibits faster improvement in solution quality during the iterative search process and more stable convergence behavior.
Furthermore, under identical constraint conditions and parameter settings, the proposed model is solved with respect to three different optimization objectives. Specifically, for each objective, 10 independent runs are conducted and the best solution is selected for analysis. The three optimization modes are defined as follows: Mode 1: minimization of the total travel distance; Mode 2: minimization of carbon emission cost; Mode 3: minimization of the total distribution cost.
Here, CEC represents carbon emission cost, TC denotes the total distribution cost. The corresponding results are reported in Table 7. It can be observed that, for each instance, the proposed algorithm is able to obtain the optimal solution under all three objective settings. However, when a single objective formulation is adopted, the total distribution cost increases significantly compared with the integrated model proposed in this study. On average, the total cost increases by 6.15% and 5.41%, respectively, while the maximum increases reach 14.87% and 8.67%. This indicates that minimizing travel distance or carbon emission cost alone generally requires sacrificing economic efficiency. In contrast, the proposed model simultaneously accounts for vehicle fixed costs, travel costs, fuel consumption, and carbon emission costs, enabling a balanced trade-off among multiple factors and achieving the minimum total distribution cost. As a result, the model provides an effective decision support tool for logistics enterprises to enhance distribution efficiency and promote sustainable development.

5.3.2. Influence of Time-Dependent Road Network Characteristics

To investigate the impact of time-dependent road network characteristics on solution quality, computational experiments are conducted on the constructed benchmark instance RCdp5004. Under identical conditions and constraints, 10 independent runs are performed for each scenario, and the best solution is selected for analysis. Using the IACO algorithm, we compared distribution schemes under seven distinct network conditions (Case 1–Case 7). Specifically, Case 1–Case 4 correspond to four sets of time-dependent functions ( TD 1 a = [ 1.00     1.60     1.05     1.60     1.00 ] , TD 1 b = [ 1.60     1.00     1.05     1.00     1.60 ] , TD 1 c = [ 1.60     1.60     1.05     1.00     1.00 ] , TD 1 d = [ 1     1     1.05     1.60     1.60 ] ) proposed by Andres Figliozzi [42], with velocity parameters identical to those specified earlier. Case 5 represents a static network with an average vehicle speed equal to that of case 1, while Case 6 and Case 7 denote static networks with constant speeds of 40 km/h and 60 km/h, respectively. The results for RCdp5004 under these network conditions are reported in Table 8, where TT denotes the total vehicle travel time.
As shown in Table 8, even when the average speed is the same, the distribution schemes differ across networks with distinct time-dependent properties. When comparing Case 2–Case 5 with Case 1, the number of vehicles used remains constant at 6, while travel distance deviates by 3.63%, 0.07%, 5.53%, and 4.91%, respectively; travel time deviates by 2.19%, 1.52%, 6.41%, and 9.21%, respectively; carbon emission cost deviates by 3.45%, 1.93%, 0.88%, and 2.92%, respectively; and delivery cost deviates by 1.40%, 2.00%, 2.82%, and 4.93%. Overall, although the deviations are relatively minor, they confirm that different time-dependent functions yield slightly different solutions. Considering the heterogeneity of road networks in practice, selecting appropriate time-dependent functions improves the realism of the model. The distribution routes for RCdp5001 under Case 1 and Case 5 are shown in Figure 7 and Figure 8.
In contrast, under static networks with different constant speeds, the differences are more pronounced. Compared with Case 5, the solutions for Case 6 and Case 7 involve 8 and 6 vehicles, respectively. Their travel distances deviate by 11.07% and −3.63%, travel times by 37.59% and −20%, carbon emission cost by 20.51% and −3.21%, and total costs by 34.82% and −7.73%. These results indicate that higher vehicle speeds substantially reduce both the total cost and the carbon emission.
In summary, optimal distribution solutions vary substantially under different road network conditions. By replacing static road representations with time-dependent networks, the proposed TDVRPSPDTW framework more accurately captures urban traffic dynamics and improves routing decisions. From a managerial perspective, the results highlight the importance of incorporating time-dependent traffic information to avoid underestimating operational costs and carbon emissions. From a policy perspective, the findings support investments in traffic monitoring and data-sharing infrastructure to facilitate low-carbon and congestion-aware urban logistics planning.

5.3.3. Influence of Time Window Characteristics

To examine the impact of time window characteristics on solution performance, the IACO algorithm is applied to solve the TDVRPSPDTW with strict time window constraints while keeping all other conditions unchanged, where vehicle services must be performed strictly within the specified customer time windows. While keeping all other conditions and parameter settings unchanged, 10 independent runs are conducted, and the best solution is selected for comparison and analysis. Table 9 presents a comparison of results obtained under both soft and hard time windows. In the table, VT denotes the total violation time, i.e., the cumulative time that vehicles arrive earlier or later than customer time windows under the soft time window constraints, whereas WT represents the total waiting time incurred when vehicles arrive earlier than customer time windows under hard time window constraints.
As shown in Table 9, compared with hard time window constraints, allowing early or delayed service through soft time windows with penalty costs can reduce the required fleet size and carbon emissions, thereby lowering the overall distribution cost. Specifically, the computational results indicate that the carbon emission cost can be reduced by up to 31.29%, while the total distribution cost can be reduced by up to 25.14% under soft time window settings.
From a managerial perspective, these results suggest that introducing moderate scheduling flexibility can improve fleet utilization and environmental performance without significantly compromising service quality. From a policy perspective, the findings indicate that flexible delivery time regulations, when supported by appropriate pricing or penalty mechanisms, can lead to measurable reductions in both operational costs and carbon emissions in urban logistics systems. Figure 9 and Figure 10 further illustrate how different time window configurations result in distinct routing structures, for instance, RCdp5001.

5.3.4. Influence of Different Distribution Modes

To further evaluate the advantages of the simultaneous pickup–delivery strategy, additional experiments are conducted on the benchmark instance RCdp5004 under the conventional separate pickup–delivery mode. While keeping all other conditions, constraints, and parameter settings unchanged, 10 independent runs are performed, and the best solution obtained is used for comparison. Table 10 reports the solution results under two distribution modes: simultaneous pickup–delivery and the “separate pickup + separate delivery”. The comparative results indicate that the separate pickup-and-delivery mode requires 12 vehicles, with a total carbon emission cost of 36.78 CNY and a total distribution cost of 9881.49 CNY. Compared with the simultaneous pickup–delivery mode, this represents an increase of 6 vehicles, a 114.96% higher carbon emission cost, and a 99.84% increase in total distribution cost. From a managerial perspective, these results indicate that adopting a simultaneous pickup–delivery strategy can substantially improve fleet utilization and operational efficiency, thereby avoiding redundant trips and excessive vehicle deployment. From a policy perspective, the findings suggest that encouraging integrated pickup–delivery operations through operational guidelines or incentive mechanisms can yield significant reductions in both logistics costs and carbon emissions, contributing to more efficient and sustainable urban freight systems.

6. Conclusions and Future Research

6.1. Conclusions

To promote sustainable urban logistics development, this study extends the classical vehicle routing problem with time windows by formulating a time-dependent vehicle routing problem with simultaneous pickup–delivery and time windows (TDVRPSPDTW), aiming to minimize the total distribution cost. An improved ant colony optimization (IACO) algorithm is developed to efficiently solve the proposed model. Extensive numerical experiments and sensitivity analyses are conducted to validate the effectiveness of the model and algorithm. The main findings and contributions are summarized as follows:
  • First, a TDVRPSPDTW model is constructed by jointly considering time-dependent traffic conditions, simultaneous pickup–delivery demands, and carbon emission costs. It is a further deepening and expansion of the VRP. Based on the comprehensive emission model, it calculates the carbon emission cost of vehicles under time-dependent road networks, combines the time-dependent function to simulate the time-dependent characteristics of the road network and considers the simultaneous pickup–delivery demands of customers.
  • Second, the IACO incorporates several tailored strategies, including a savings-based heuristic for generating high-quality initial solutions, a modified state transition rule that considers distance-saving and time window deviation, and an embedded adaptive large neighborhood search mechanism to enhance exploration and prevent premature convergence. Experimental results on internationally recognized VRPSPDTW benchmark datasets show that the proposed IACO outperforms representative algorithms, such as CPLEX [22], DCS [58], MATE [59], CO-GA [17] and SFSSA [40], demonstrating its effectiveness and robustness in solving complex large-scale distribution problems.
  • Third, comparative experiments on constructed TDVRPSPDTW instances show that the proposed IACO yields lower optimal and average distribution costs than the ACO-LS algorithm. The average relative deviation of the optimal solutions is 4.23%, and the performance gap widens with increasing instance size—reaching up to 11.78% when the number of customers is 50.
  • Fourth, sensitivity analyses conducted on the constructed TDVRPSPDTW instances reveal the influence of time-dependent road networks, time window flexibility, and delivery modes on optimization performance. Compared with static networks, hard time windows, and separate pickup–delivery operations, the proposed model better reflects real urban logistics dynamics and improves routing efficiency. Incorporating time-dependent road networks helps alleviate peak-hour congestion effects; soft time windows reduce carbon emissions and distribution cost by 31.29% and 25.14%, respectively. Further, allowing simultaneous pickup–delivery demands lowers empty-load rates, reducing vehicle usage by 6, and cutting carbon emission and total cost by 53.48% and 50.29%, respectively.
  • Finally, beyond the methodological contributions, the proposed TDVRPSPDTW framework provides clear practical guidance for sustainable urban logistics operations. The model can be directly integrated into existing vehicle dispatching or logistics management systems by incorporating time-dependent traffic information, flexible time window settings, and simultaneous pickup–delivery strategies. From an operational perspective, logistics enterprises may apply the proposed approach in offline planning scenarios, such as daily or shift-based route scheduling, to improve fleet utilization, reduce empty-load rates, and achieve measurable reductions in distribution cost and carbon emissions. These implementation-oriented insights highlight the applicability of the proposed framework as a decision-support tool for low-carbon and congestion-aware urban logistics planning.

6.2. Limitations and Future Research

Despite the encouraging results, several limitations of this study should be acknowledged. To maintain model tractability, a number of simplifying assumptions are adopted, including homogeneous vehicle fleets, single-depot operations, and the exclusion of explicit cargo volume constraints, which may limit the direct applicability of the proposed framework to highly complex logistics systems. In addition, the proposed IACO incorporates an adaptive large neighborhood search mechanism to enhance diversification and convergence robustness, which inevitably introduces additional computational overhead, it remains within a practically acceptable range and allows the TDVRPSPDTW model to be solved effectively. Furthermore, the numerical experiments are conducted on synthetic benchmark instances, which may differ from real-world logistics environments characterized by stochastic demand and highly dynamic traffic conditions. Future research will focus on relaxing the above assumptions, incorporating real operational data, extending the model to heterogeneous fleets and multi-depot settings, as well as conducting a more systematic analysis of algorithmic parameters and adaptive mechanisms to further enhance robustness and scalability.

Author Contributions

Conceptualization, M.H.; methodology, M.H. and J.Z.; software, M.H., J.Z. and M.Y.; validation, M.H. and J.Z.; formal analysis, J.Z., X.Y. and M.Y.; investigation, M.H., J.Z. and X.M.; resources, M.H., X.H. and X.W.; data curation, M.H., J.Z. and M.Y.; writing—original draft, M.H. and J.Z.; writing—review and editing, M.H. and J.Z.; visualization, J.Z. and M.Y.; supervision, M.H. and X.H.; project administration, M.H.; funding acquisition, M.H., X.W. and J.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Postgraduate Research and Practice Innovation Program of Jiangsu Province (Grant number No. KYCX24_3984), Intelligent Policing Key Laboratory of Sichuan Province (Grant number No. ZNJW2026KFMS002, ZNJW2023KFMS004), and the Humanity and Social Science Youth Foundation of the Ministry of Education of China (Grant number No. 21YJCZH180).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Garg, V.; Niranjan, S.; Prybutok, V.; Pohlen, T.; Gligor, D. Drones in Last-Mile Delivery: A Systematic Review on Efficiency, Accessibility, and Sustainability. Transp. Res. Part D Transp. Environ. 2023, 123, 103831. [Google Scholar]
  2. IEA. Global Energy Review 2025; IEA: Paris, France, 2025. [Google Scholar]
  3. Guo, X.L.; Zhang, W.; Liu, B.B. Low-Carbon Routing for Cold-Chain Logistics Considering the Time-Dependent Effects of Traffic Congestion. Transp. Res. Part D Transp. Environ. 2022, 113, 103502. [Google Scholar] [CrossRef]
  4. Zhang, X.; Hao, Y.; Zhang, L.; Yuan, X. Application of Improved Genetic Algorithm to Vehicle Routing Problem Considering the Environmental Self-Regulation of the Freight Companies. Expert. Syst. Appl. 2025, 274, 127010. [Google Scholar] [CrossRef]
  5. Nan, Y. Multiobjective Optimization for Vehicle Routing Optimization Problem in Low-Carbon Intelligent Transportation. IEEE Trans. Intell. Transp. Syst. 2023, 24, 13161–13170. [Google Scholar]
  6. Ren, C.X.; Lu, L.; Teng, J.; Yin, C.C.; Li, J.T.; Ji, H.W.; Wang, X.Q.; Fu, F.F.; Vincent, F.Y. Logistics Distribution Path Optimization Considering Carbon Emissions and Multifuel-Type Vehicles. J. Adv. Transp. 2025, 2025, 6668589. [Google Scholar] [CrossRef]
  7. Bajaj, A.S.; Dhodiya, J.M. Sustainable 4D TSP to Reduce Carbon Emission Using Reference Point MOQO Jaya Algorithm in Uncertain Environment. J. Clean. Prod. 2025, 486, 144487. [Google Scholar] [CrossRef]
  8. Dantzig, G.B.; Ramser, J.H. The Truck Dispatching Problem. Manag. Sci. 1959, 6, 80–91. [Google Scholar] [CrossRef]
  9. Clarke, G.; Wright, J.W. Scheduling of Vehicles from a Central Depot to a Number of Delivery Points. Oper. Res. 1964, 12, 568–581. [Google Scholar] [CrossRef]
  10. Solomon, M.M. Algorithms for the Vehicle Routing and Scheduling Problems with Time Window Constraints. Oper. Res. 1987, 35, 254–265. [Google Scholar] [CrossRef]
  11. Ichoua, S.; Gendreau, M.; Potvin, J. Vehicle Dispatching with Time-Dependent Travel Times. Eur. J. Oper. Res. 2003, 144, 379–396. [Google Scholar] [CrossRef]
  12. Fan, H.M.; Jun, Z.P.; Yu, C.; Xue, R.X. Dynamic Vehicle Routing Problem of Heterogeneous Fleets with Time-Dependent Networks. Syst. Eng.-Theory Pract. 2022, 42, 455–470. [Google Scholar]
  13. Demir, E.; Bektaş, T.; Laporte, G. An Adaptive Large Neighborhood Search Heuristic for the Pollution-Routing Problem. Eur. J. Oper. Res. 2012, 223, 346–359. [Google Scholar] [CrossRef]
  14. Majidi, S.; Hosseini-Motlagh, S.; Ignatius, J. Adaptive Large Neighborhood Search Heuristic for Pollution-Routing Problem with Simultaneous Pickup and Delivery. Soft Comput. 2018, 22, 2851–2865. [Google Scholar] [CrossRef]
  15. Qin, G.; Tao, F.; Li, L.; Chen, Z. Optimization of the Simultaneous Pickup and Delivery Vehicle Routing Problem based on Carbon Tax. Ind. Manag. Data Syst. 2019, 119, 2055–2071. [Google Scholar] [CrossRef]
  16. Chen, J.; Liao, W.; Yu, C. Route Optimization for Cold Chain Logistics of Front Warehouses based on Traffic Congestion and Carbon Emission. Comput. Ind. Eng. 2021, 161, 107663. [Google Scholar] [CrossRef]
  17. Wang, H.F.; Chen, Y.Y. A Genetic Algorithm for the Simultaneous Delivery and Pickup Problems with Time Window. Comput. Ind. Eng. 2012, 62, 84–95. [Google Scholar] [CrossRef]
  18. Wang, H.; Chen, S.H.; Yin, X.Y.; Meng, L.X.; Wang, Z.W.; Wang, Z.F. A Hybrid Fuzzy C-Means Heuristic Approach for Two-Echelon Vehicle Routing with Simultaneous Pickup and Delivery of Multicommodity. IEEE Trans. Fuzzy Syst. 2025, 33, 218–230. [Google Scholar] [CrossRef]
  19. Xiao, Y.; Konak, A. A Simulating Annealing Algorithm to Solve the Green Vehicle Routing & Scheduling Problem with Hierarchical Objectives and Weighted Tardiness. Appl. Soft Comput. 2015, 34, 372–388. [Google Scholar] [CrossRef]
  20. Pan, B.B.; Zhang, Z.Z.; Lim, A. A Hybrid Algorithm for Time-Dependent Vehicle Routing Problem with Time Windows. Comput. Oper. Res. 2021, 128, 105193. [Google Scholar] [CrossRef]
  21. Kyriakakis, N.A.; Sevastopoulos, I.; Marinaki, M.; Marinakis, Y. A Hybrid Tabu Search-Variable Neighborhood Descent Algorithm for the Cumulative Capacitated Vehicle Routing Problem with Time Windows in Humanitarian Applications. Comput. Ind. Eng. 2022, 164, 107868. [Google Scholar] [CrossRef]
  22. Wang, C.; Mu, D.; Zhao, F.; Sutherland, J.W. A Parallel Simulated Annealing Method for the Vehicle Routing Problem with Simultaneous Pickup–Delivery and Time Windows. Comput. Ind. Eng. 2015, 83, 111–122. [Google Scholar] [CrossRef]
  23. Zhao, J.; Poon, M.; Tan, V.Y.F.; Zhang, Z. A Hybrid Genetic Search and Dynamic Programming-based Split Algorithm for the Multi-Trip Time-Dependent Vehicle Routing Problem. Eur. J. Oper. Res. 2024, 317, 921–935. [Google Scholar] [CrossRef]
  24. Wang, S.; Sun, W.; Huang, M. An Adaptive Large Neighborhood Search for the Multi-Depot Dynamic Vehicle Routing Problem with Time Windows. Comput. Ind. Eng. 2024, 191, 110122. [Google Scholar] [CrossRef]
  25. Srivastava, G.; Singh, A.; Mallipeddi, R. NSGA-II with Objective-Specific Variation Operators for Multiobjective Vehicle Routing Problem with Time Windows. Expert. Syst. Appl. 2021, 176, 114779. [Google Scholar] [CrossRef]
  26. Cai, Y.; Cheng, M.; Zhou, Y.; Liu, P.; Guo, J. A Hybrid Evolutionary Multitask Algorithm for the Multiobjective Vehicle Routing Problem with Time Windows. Inform. Sci. 2022, 612, 168–187. [Google Scholar] [CrossRef]
  27. Qi, R.; Li, J.; Wang, J.; Jin, H.; Han, Y. QMOEA: A Q-Learning-based Multiobjective Evolutionary Algorithm for Solving Time-Dependent Green Vehicle Routing Problems with Time Windows. Inform. Sci. 2022, 608, 178–201. [Google Scholar] [CrossRef]
  28. Wang, Y.; Ran, L.; Guan, X.; Fan, J.; Sun, Y.; Wang, H. Collaborative Multicenter Vehicle Routing Problem with Time Windows and Mixed Deliveries and Pickups. Expert. Syst. Appl. 2022, 197, 116690. [Google Scholar] [CrossRef]
  29. Nyako, S.I.; Tayachi, D.; Abdelaziz, F.B. Machine Learning Multi-Objective Optimization for Time-Dependent Green Vehicle Routing Problem. Energ. Econ. 2025, 148, 108628. [Google Scholar] [CrossRef]
  30. Li, Y.; Soleimani, H.; Zohal, M. An Improved Ant Colony Optimization Algorithm for the Multi-Depot Green Vehicle Routing Problem with Multiple Objectives. J. Clean. Prod. 2019, 227, 1161–1172. [Google Scholar] [CrossRef]
  31. Frey, C.M.M.; Jungwirth, A.; Frey, M.; Kolisch, R. The Vehicle Routing Problem with Time Windows and Flexible Delivery Locations. Eur. J. Oper. Res. 2023, 308, 1142–1159. [Google Scholar] [CrossRef]
  32. Liu, J.; Tong, L.; Xia, X. A Genetic Algorithm for Vehicle Routing Problems with Time Windows based on Cluster of Geographic Positions and Time Windows. Appl. Soft Comput. 2025, 169, 112593. [Google Scholar] [CrossRef]
  33. Lai, C.; Chiu, C.; Chen, T. A Nondominated Sorting Simplified Swarm Optimization with Local Search Mechanisms for Multi-Objective Vehicle Routing Problems with Time Windows. Appl. Soft Comput. 2025, 174, 112989. [Google Scholar] [CrossRef]
  34. Wu, Q.; Xia, X.; Song, H.; Zeng, H.; Xu, X.; Zhang, Y.; Yu, F.; Wu, H. A Neighborhood Comprehensive Learning Particle Swarm Optimization for the Vehicle Routing Problem with Time Windows. Swarm Evol. Comput. 2024, 84, 101425. [Google Scholar] [CrossRef]
  35. Maroof, A.; Ayvaz, B.; Naeem, K. Logistics Optimization Using Hybrid Genetic Algorithm (HGA): A Solution to the Vehicle Routing Problem with Time Windows (VRPTW). IEEE Access 2024, 12, 36974–36989. [Google Scholar] [CrossRef]
  36. Gmira, M.; Gendreau, M.; Lodi, A.; Potvin, J. Tabu Search for the Time-Dependent Vehicle Routing Problem with Time Windows on a Road Network. Eur. J. Oper. Res. 2021, 288, 129–140. [Google Scholar] [CrossRef]
  37. Wu, Y.; Ma, Z. Time-Dependent Production-Delivery Problem with Time Windows for Perishable Foods. Syst. Eng.-Theory Pract. 2017, 37, 172–181. [Google Scholar]
  38. Ma, H.; Yang, T. Improved Adaptive Large Neighborhood Search Combined with Simulated Annealing (IALNS-SA) Algorithm for Vehicle Routing Problem with Simultaneous Delivery and Pickup and Time Windows. Electronics 2025, 14, 2375. [Google Scholar] [CrossRef]
  39. Pasupuleti, V.; Bharadwaj, T.; Chandra, S.K.; Malisetty, S. Enhancing Supply Chain Agility and Sustainability through Machine Learning: Optimization Techniques for Logistics and Inventory Management. Logistics 2024, 8, 73. [Google Scholar] [CrossRef]
  40. Liu, F.; Wang, L.; Gui, M.; Zhang, Y.; Lan, Y.; Lai, C.; Zhu, B. A Hybrid Heuristic Algorithm for Urban Distribution with Simultaneous Pickup-Delivery and Time Window. J. Heuristics 2023, 29, 269–311. [Google Scholar] [CrossRef]
  41. Little, J.D.C.; Murty, K.G.; Sweeney, D.W.; Karel, C. An Algorithm for the Traveling Salesman Problem. Oper. Res. 1963, 11, 972–989. [Google Scholar] [CrossRef]
  42. Andres Figliozzi, M. The Time Dependent Vehicle Routing Problem with Time Windows: Benchmark Problems, an Efficient Solution Algorithm, and Solution Characteristics. Transp. Res. Part E Logist. Transp. Rev. 2012, 48, 616–636. [Google Scholar] [CrossRef]
  43. Hof, J.; Schneider, M. An Adaptive Large Neighborhood Search with Path Relinking for a Class of Vehicle-Routing Problems with Simultaneous Pickup and Delivery. Networks 2019, 74, 207–250. [Google Scholar] [CrossRef]
  44. Shi, Y.; Zhou, Y.J.; Boudouh, T.; Grunder, O. A Lexicographic-based Two-Stage Algorithm for Vehicle Routing Problem with Simultaneous Pickup-Delivery and Time Window. Eng. Appl. Artif. Intel. 2020, 95, 103901. [Google Scholar] [CrossRef]
  45. Wu, H.; Gao, Y. An Ant Colony Optimization based on Local Search for the Vehicle Routing Problem with Simultaneous Pickup–Delivery and Time Window. Appl. Soft Comput. 2023, 139, 110203. [Google Scholar] [CrossRef]
  46. Chen, G.; Gao, J.; Chen, D. Research on Vehicle Routing Problem with Time Windows Based on Improved Genetic Algorithm and Ant Colony Algorithm. Electronics 2025, 14, 647. [Google Scholar] [CrossRef]
  47. Ren, T.; Luo, T.; Jia, B.; Yang, B.; Wang, L.; Xing, L. Improved Ant Colony Optimization for the Vehicle Routing Problem with Split Pickup and Split Delivery. Swarm Evol. Comput. 2023, 77, 101228. [Google Scholar] [CrossRef]
  48. Yu, V.F.; Jodiawan, P.; Gunawan, A. An Adaptive Large Neighborhood Search for the Green Mixed Fleet Vehicle Routing Problem with Realistic Energy Consumption and Partial Recharges. Appl. Soft Comput. 2021, 105, 107251. [Google Scholar] [CrossRef]
  49. Liu, W.; Zhou, Y.; Liu, W.; Qiu, J.; Xie, N.; Chang, X.; Chen, J. A Hybrid ACS-VTM Algorithm for the Vehicle Routing Problem with Simultaneous Delivery & Pickup and Real-Time Traffic Condition. Comput. Ind. Eng. 2021, 162, 107747. [Google Scholar]
  50. Erdogdu, K.; Karabulut, K. Bi-Objective Green Vehicle Routing Problem. Int. Trans. Oper. Res. 2022, 29, 1602–1626. [Google Scholar] [CrossRef]
  51. Wen, M.Y.; Sun, W.; Yu, Y.; Tang, J.F.; Ikou, K.K. An Adaptive Large Neighborhood Search for the Larger-Scale Multi Depot Green Vehicle Routing Problem with Time Windows. J. Clean. Prod. 2022, 374, 133916. [Google Scholar] [CrossRef]
  52. Luo, H.; Dridi, M.; Grunder, O. A Branch-Price-and-Cut Algorithm for a Time-Dependent Green Vehicle Routing Problem with the Consideration of Traffic Congestion. Comput. Ind. Eng. 2023, 177, 109093. [Google Scholar] [CrossRef]
  53. Ahmed, Z.H.; Maleki, F.; Yousefikhoshbakht, M.; Haron, H. Solving the Vehicle Routing Problem with Time Windows Using Modified Football Game Algorithm. Egypt. Inform. J. 2023, 24, 100403. [Google Scholar] [CrossRef]
  54. Praxedes, R.; Bulhões, T.; Subramanian, A.; Uchoa, E. A Unified Exact Approach for a Broad Class of Vehicle Routing Problems with Simultaneous Pickup and Delivery. Comput. Oper. Res. 2024, 162, 106467. [Google Scholar] [CrossRef]
  55. Huang, S.; Huang, Y.; Blazquez, C.A.; Chen, C. Solving the Vehicle Routing Problem with Drone for Delivery Services Using an Ant Colony Optimization Algorithm. Adv. Eng. Inform. 2022, 51, 101536. [Google Scholar] [CrossRef]
  56. Wang, Y.; Wang, L.; Chen, G.; Cai, Z.; Zhou, Y.; Xing, L. An Improved Ant Colony Optimization Algorithm to the Periodic Vehicle Routing Problem with Time Window and Service Choice. Swarm Evol. Comput. 2020, 55, 100675. [Google Scholar] [CrossRef]
  57. Zhang, H.; Zhang, Q.; Ma, L.; Zhang, Z.; Liu, Y. A Hybrid Ant Colony Optimization Algorithm for a Multi-Objective Vehicle Routing Problem with Flexible Time Windows. Inform. Sci. 2019, 490, 166–190. [Google Scholar] [CrossRef]
  58. Wang, C.; Liu, C.; Mu, D.; Gao, Y. VRPSPDTW Problem Solving by Discrete Cuckoo Search. Comput. Integr. Manuf. Syst. 2018, 24, 570–582. [Google Scholar]
  59. Liu, S.; Tang, K.; Yao, X. Memetic Search for Vehicle Routing with Simultaneous Pickup-Delivery and Time Windows. Swarm Evol. Comput. 2021, 66, 100927. [Google Scholar] [CrossRef]
  60. Liu, Z.; Wang, W.; He, J.; Zhang, J.; Wang, J.; Li, S.; Sun, Y.; Ren, X. A New Hybrid Algorithm for Vehicle Routing Optimization. Sustainability 2023, 15, 10982. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of TDVRPSPDTW distribution routes.
Figure 1. Schematic diagram of TDVRPSPDTW distribution routes.
Sustainability 18 01430 g001
Figure 2. Discrete speeds and continuous traveling times of vehicles: (a) Speed at different times; (b) Driving distance during different time periods.
Figure 2. Discrete speeds and continuous traveling times of vehicles: (a) Speed at different times; (b) Driving distance during different time periods.
Sustainability 18 01430 g002
Figure 3. Flowchart of improved ant colony optimization algorithm.
Figure 3. Flowchart of improved ant colony optimization algorithm.
Sustainability 18 01430 g003
Figure 4. CEC and TC of IACO and ACO-LS under different TDVRPSPDTW instances.
Figure 4. CEC and TC of IACO and ACO-LS under different TDVRPSPDTW instances.
Sustainability 18 01430 g004
Figure 5. Iterative convergence curve of ACO-LS solving Rcdp101 instance.
Figure 5. Iterative convergence curve of ACO-LS solving Rcdp101 instance.
Sustainability 18 01430 g005
Figure 6. Iterative convergence curve of IACO solving Rcdp101 instance.
Figure 6. Iterative convergence curve of IACO solving Rcdp101 instance.
Sustainability 18 01430 g006
Figure 7. Distribution routes of RCdp5004 instance under Case 1 condition. The square represents the distribution center; the numbered circles represent the customers; different colors are the distribution paths of different distribution vehicles.
Figure 7. Distribution routes of RCdp5004 instance under Case 1 condition. The square represents the distribution center; the numbered circles represent the customers; different colors are the distribution paths of different distribution vehicles.
Sustainability 18 01430 g007
Figure 8. Distribution routes of RCdp5004 instance under Case 5 condition. The square represents the distribution center; the numbered circles represent the customers; different colors are the distribution paths of different distribution vehicles.
Figure 8. Distribution routes of RCdp5004 instance under Case 5 condition. The square represents the distribution center; the numbered circles represent the customers; different colors are the distribution paths of different distribution vehicles.
Sustainability 18 01430 g008
Figure 9. Distribution routes of RCdp5001 instance under soft time window. The square represents the distribution center; the numbered circles represent the customers; different colors are the distribution paths of different distribution vehicles.
Figure 9. Distribution routes of RCdp5001 instance under soft time window. The square represents the distribution center; the numbered circles represent the customers; different colors are the distribution paths of different distribution vehicles.
Sustainability 18 01430 g009
Figure 10. Distribution routes of RCdp5001 instance under hard time window. The square represents the distribution center; the numbered circles represent the customers; different colors are the distribution paths of different distribution vehicles.
Figure 10. Distribution routes of RCdp5001 instance under hard time window. The square represents the distribution center; the numbered circles represent the customers; different colors are the distribution paths of different distribution vehicles.
Sustainability 18 01430 g010
Table 1. Classification of related papers.
Table 1. Classification of related papers.
ReferenceNetwork ConditionObjectivesDistribution ModesResolution
NVTDCECTPC
Yu et al. [48]Static--DeliveryALNS
Liu et al. [49]Time-
dependent
---Pickup and deliveryAnt colony system and virtual transformation method
Chen et al. [16]Time-
dependent
DeliveryHybrid simulated annealing algorithm
Erdogdu and Karabulut [50]Static--DeliveryHybrid-ALNS
Wen et al. [51]Static-DeliveryAdaptive large neighborhood search
Wang et al. [28]Static-Pickup and deliveryGenetic and particle swarm optimization algorithm
Ren et al. [47]StaticPickup and deliveryImproved ant colony optimization
Luo et al. [52]Time-
dependent
---DeliveryBranch-price-and-cut algorithm
Ahmed et al. [53]Static--DeliveryModified football game algorithm
Wu et al. [45]Static--Pickup and deliveryAn ant colony optimization algorithm with destroy and repair strategies
Praxedes et al. [54]Static--Pickup and deliveryBranch-cut-and-price algorithm
Zhao et al. [23]Time-
dependent
--DeliveryTime-dependent split algorithm
Ren et al. [6]Static-DeliveryImproved genetic algorithm
Chen et al. [46]Static--DeliveryImproved genetic ant colony optimization algorithm
Nyako et al. [29]Time-
dependent
-DeliveryNon-dominated sorting genetic Algorithm enhanced with machine learning
This paperTime-
dependent
Pickup and deliveryImproved ant colony optimization
Note: √ indicates this factor is considered in the paper; - indicates it is not.
Table 2. Parameter definitions in mathematical models.
Table 2. Parameter definitions in mathematical models.
ParameterDefinitions
C Customer nodes, C = 1 , 2 , 3 , , c
C 0 All nodes, C 0 = C 0 , 0 represents the depot
E Set of arcs, where E = ( i , j ) | i , j C 0 , i j
K Set of all vehicles, K = 1 , 2 , 3 k
T Set of all time intervals, T = 1 , 2 , 3 , m
f 1 Fixed unit departure cost of a vehicle (CNY)
f 2 Unit transportation cost per unit time of a vehicle (CNY/h)
f 3 Unit carbon emission cost of a vehicle (CNY/kg)
f 4 Unit time penalty cost for a vehicle’s early arrival at a customer node (CNY/h)
f 5 Unit time penalty cost for a vehicle’s late arrival at a customer node (CNY/h)
s j Delivery demand of customer node j , j C (kg)
q j Pickup demand of customer node j , j C (kg)
d i j Distance from node i to node j , i , j C 0 (km)
U Maximum load capacity of a vehicle (kg)
m 0 Unloaded weight (dead weight) of a vehicle (kg)
h i Service time at customer node i , i C (h)
e i , l i Preset time window of customer node i , i C
e 0 , l 0 Opening hours of the depot
A m Start time of the mth time interval
B m End time of the mth time interval
v i j k m Travel speed of vehicle k from node i to node j within the mth time interval, i , j C 0 (km/h)
d i j k m Travel distance of vehicle k from node i to node j within the mth time interval, i , j C 0 (km)
t i j k m Travel time of vehicle k from node i to node j within the mth time interval, i , j C 0 (h)
t i j k Total travel time of vehicle k from node i to node j , i , j C 0 (h)
e Carbon emission factor (CO2/kg)
E i j k m Carbon emissions of vehicle k from node i to node j within the mth time interval, i , j C 0 (kg)
y i j k m Decision variable: equals 1 if vehicle k travels from node i to node j within the mth time interval, and 0 otherwise
L t i k Time when vehicle k departs from customer node i
A t i k Time when vehicle k arrives at customer node i
W i j k Load of vehicle k when traveling from node i to node j (kg)
ψ Calorific value of fuel (L/kJ)
ζ Engine friction coefficient (kJ/rev/L)
Z Engine speed (rev/s)
V Engine displacement (L)
ε Transmission coefficient
δ Air resistance coefficient
Table 3. Comparison of IACO performance on VRPSPDTW instances with 10, 25, and 50 customers.
Table 3. Comparison of IACO performance on VRPSPDTW instances with 10, 25, and 50 customers.
Instance/Number of CustomersCPLEXDCSMETAIACO
NVTDNVTDNVTDNVTD
RCdp1001/103348.983348.983348.983348.98
RCdp1004/102216.692216.692216.692216.69
RCdp1007/102310.812310.812310.812310.81
RCdp2501/255551.055551.055551.055551.05
RCdp2504/257 *738.32 *4473.464473.464473.46
RCdp2507/257 *634.20 *5540.875540.875540.87
RCdp5001/509994.189944.189944.189944.18
RCdp5004/5014 *1961.53 *6725.596733.216733.32
RCdp5007/5013 *1814.33 *7809.727809.727809.72
Note: * indicates exceeding the memory value.
Table 4. Comparison of IACO performance on VRPSPDTW instances with 100 customers.
Table 4. Comparison of IACO performance on VRPSPDTW instances with 100 customers.
InstanceCO-GADCSSFSSAIACO
NVTDNVTDNVTDNVTD
Rdp102171488.04171490.13171485.85171490.08
Rdp107111087.95111084.00111081.90111094.80
Rdp110121116.99121108.81121120.88111135.09
Rdp20531064.4331051.3831016.5431015.71
Rdp2063961.323957.813902.113916.63
Rdp2113839.613819.883806.043805.40
Cdp10511983.1011981.4511983.1011983.10
Cdp10611878.2911878.2911878.2911878.29
Cdp10910940.4910940.4910985.0810931.90
Cdp2023591.563591.563591.563591.56
Cdp2043590.603590.603590.603590.60
Cdp2073588.293588.293588.293588.29
RCdp101151652.90151654.32151654.84151667.57
RCdp105141581.26141581.26151578.78141573.60
RCdp108111175.04111170.12111169.84111203.64
RCdp2034964.6531087.374987.1531064.83
RCdp2043822.023822.023845.553800.89
RCdp20631176.8531166.8831124.531194.97
Table 5. Figliozzi’s speed time dependence function.
Table 5. Figliozzi’s speed time dependence function.
TypeTravel Speed
a TD 1 a =   [ 1.00     1.60     1.05     1.60     1.00 ]
TD 2 a =   [ 1.00     2.00     1.50     2.00     1.00 ]
TD 3 a =   [ 1.00     2.50     1.75     2.50     1.00 ]
b TD 1 b =   [ 1.60     1.00     1.05     1.00     1.60 ]
TD 2 b =   [ 2.00     1.00     1.50     1.00     2.00 ]
TD 3 b = [ 2.50     1.00     1.75     1.00     2.50 ]
c TD 1 c = [ 1.60     1.60     1.05     1.00     1.00 ]
TD 2 c = [ 2.00     2.00     1.50     1.00     1.00 ]
TD 3 c = [ 2.50     2.50     1.75     1.00     1.00 ]
d TD 1 d = [ 1.00     1.00     1.05     1.60     1.60 ]
TD 2 d = [ 1.00     1.00     1.50     2.00     2.00 ]
TD 3 d = [ 1.00     1.00     1.75     2.50     2.50 ]
Table 6. Performance comparison of IACO and ACO-LS for TDVRPSPDTW instances.
Table 6. Performance comparison of IACO and ACO-LS for TDVRPSPDTW instances.
InstanceACO-LSIACOGap(%)
BestAvgSDTimeBestAvgSDTime
RCdp10011903.952035.02232.4018.941903.991903.990.0021.700.00%
RCdp10041588.681588.680.0017.971566.711566.710.0023.75−1.38%
RCdp10071734.531764.8720.2018.301695.801695.800.0023.78−2.23%
RCdp25013504.433912.63310.1169.913504.433508.314.55108.280.00%
RCdp25043445.663566.63214.6472.023450.053493.1444.12106.250.13%
RCdp25073630.523841.11213.6670.603596.303615.8066.96103.01−0.94%
RCdp50016959.937343.34371.14232.476140.326570.14271.45428.72−11.78%
RCdp50045531.575616.8748.09235.374944.775013.7179.75400.36−10.61%
RCdp50075973.286157.94288.49230.255475.336006.12256.03420.05−8.34%
Table 7. Solution results for various optimization objectives.
Table 7. Solution results for various optimization objectives.
InstanceMode 1Mode 2Mode 3
TDCECTCTDCECTCTDCECTC
RCdp5001703.4117.226398.66706.5417.186240.64745.8118.256140.32
RCdp5004690.8617.235614.51692.2216.945112.65699.5717.114944.77
RCdp5007740.8918.135500.49756.1218.035499.58760.3818.735475.33
Table 8. Solution results of RCdp5004 instance under varying road network conditions.
Table 8. Solution results of RCdp5004 instance under varying road network conditions.
Network ConditionsNVTDTTCECTC
Case 16699.57809.6717.114944.77
Case 26724.98827.3917.705014.01
Case 36700.09821.9517.445043.81
Case 46738.24861.5717.265084.45
Case 56733.91884.2317.615188.34
Case 68815.131216.6220.626994.84
Case 76707.27707.2716.564787.06
Table 9. Solution results for TDVRPSPDTW instances under soft and hard time windows.
Table 9. Solution results for TDVRPSPDTW instances under soft and hard time windows.
InstanceSoft Time WindowsHard Time Windows
NVTDVTCECTCNVTDWTCECTC
RCdp10012280.56107.726.881903.993348.98101.238.502442.12
RCdp10042218.6820.625.321566.712218.6820.625.321553.57
RCdp10072246.2769.746.031695.803243.17112.845.922055.25
RCdp25014485.07158.6211.843504.436546.37180.7513.344381.75
RCdp25044515.4151.0212.653450.054558.543.3513.683632.26
RCdp25074517.11179.1012.703596.305562.5433.8813.733973.68
RCdp50016745.81768.7818.256140.32111087.6354.5826.568202.42
RCdp50046699.5786.6117.114944.777796.0548.2119.545574.29
RCdp50076760.38292.8318.735475.338945.5333.8222.636445.24
Table 10. Solution results of the RCdp5004 instance in different distribution modes.
Table 10. Solution results of the RCdp5004 instance in different distribution modes.
Distribution ModesNVTotal NVCECTotal CECTCTotal TC
Separate pickup + separate deliverySeparate delivery61216.9536.784927.619881.49
Separate pickup619.834953.88
Simultaneous pickup–delivery6617.1117.114944.774944.77
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

He, M.; Zhang, J.; Han, X.; Yang, M.; Yang, X.; Wu, X.; Ma, X. Time-Dependent Vehicle Routing Problem with Simultaneous Pickup-and-Delivery and Time Windows Considering Carbon Emission Costs Using an Improved Ant Colony Optimization Algorithm. Sustainability 2026, 18, 1430. https://doi.org/10.3390/su18031430

AMA Style

He M, Zhang J, Han X, Yang M, Yang X, Wu X, Ma X. Time-Dependent Vehicle Routing Problem with Simultaneous Pickup-and-Delivery and Time Windows Considering Carbon Emission Costs Using an Improved Ant Colony Optimization Algorithm. Sustainability. 2026; 18(3):1430. https://doi.org/10.3390/su18031430

Chicago/Turabian Style

He, Meiling, Jin Zhang, Xun Han, Mei Yang, Xi Yang, Xiaohui Wu, and Xiaolai Ma. 2026. "Time-Dependent Vehicle Routing Problem with Simultaneous Pickup-and-Delivery and Time Windows Considering Carbon Emission Costs Using an Improved Ant Colony Optimization Algorithm" Sustainability 18, no. 3: 1430. https://doi.org/10.3390/su18031430

APA Style

He, M., Zhang, J., Han, X., Yang, M., Yang, X., Wu, X., & Ma, X. (2026). Time-Dependent Vehicle Routing Problem with Simultaneous Pickup-and-Delivery and Time Windows Considering Carbon Emission Costs Using an Improved Ant Colony Optimization Algorithm. Sustainability, 18(3), 1430. https://doi.org/10.3390/su18031430

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop