1. Introduction
Each industrial revolution has introduced technological advancements that improved human comfort and prosperity. Energy, a fundamental element of these revolutions, has powered various sectors, including agriculture, commerce, construction, and transportation [
1]. Historically, energy production has relied heavily on burning fossil fuels, a process that generates greenhouse gas (GHG) emissions such as methane (CH
), carbon dioxide (CO
), nitrous oxide (N
O), and ozone (O
). According to the United States Environmental Protection Agency, CO
emissions in 2021 amounted to 6.340 million metric tons, with transportation contributing 28% of total emissions [
1]. In response to these environmental challenges, recent years have witnessed significant scientific efforts to develop strategies to mitigate the environmental impact of transportation, particularly through advances in operations research.
Over the past two decades, green logistics has evolved to include a subfield focused on green vehicle routing problems (GVRPs), with the aim of developing environmentally friendly routing strategies [
2,
3]. A key objective within this domain is to minimize fuel consumption, which is critical to reducing GHG emissions [
4]. Bektas and Laporte [
5] introduced the Pollution-Routing Problem (PRP), a variant of the Vehicle Routing Problem (VRP), to integrate fuel consumption into route planning. Other studies have also explored similar environmental objectives in routing, focusing on minimizing emissions, fuel consumption, and other ecological impacts in the context of logistics and transportation optimization.
Pollution from road vehicles is influenced by various factors, including fuel type and environmental conditions [
6]. Accurate emission estimation requires accounting for variables such as distance traveled, vehicle weight, speed, and external conditions [
7]. Numerous mathematical models have been developed to estimate fuel consumption, each differing in the factors considered and the experimental settings under which they were validated. Turkensteen [
8] demonstrated that assuming a constant vehicle speed can result in deviations of up to 80% compared to real-world data.
The contributions of this paper are three-fold: First, it introduces a practical routing problem, termed the Volume-Based Pollutant-Routing Problem with Time Windows (VPRPTW), which incorporates multiple factors affecting emissions, with a specific focus on the impact of speed on fuel consumption using average speed values for each route. Second, the VPRPTW is formulated as a mixed-integer non-linear programming model aimed at minimizing total emissions, providing a comprehensive framework for environmentally conscious routing. Third, a probabilistic TS algorithm is developed to efficiently solve the problem, utilizing the Google Distance Matrix API to construct asymmetric distance and speed matrices.
The study found that daily fleet size decreased from 16 to 12, indicating improved operational efficiency. However, shorter distances did not always lead to lower energy consumption, as greater distances were associated with reduced energy use. The study also highlighted the impact of vehicle speed on fuel consumption, with variable speeds leading to deviations exceeding 20%. The findings underscore the importance of fine-tuning speed profiles for reducing energy consumption and improving environmental sustainability.
The paper is organized as follows:
Section 2 provides a review of the literature on various GVRP variants.
Section 3 outlines the problem definition, case study, and its formulation.
Section 4 details the solution methodology, while
Section 5 describes the numerical experiments and analyzes the results. Lastly,
Section 6 offers concluding remarks, key insights, and limitations.
2. Literature Review
The GVRP is a crucial field of research in transportation and logistics that aims to minimize environmental effects. The purpose of this review of the literature is to summarize the body of knowledge regarding GVRP and the use of the Tabu Search algorithm as a well-known methodological technique. Determining the scope of the review among the many works in the literature was to rely on two bases, the most recent, and give an overview of GVRP by highlighting different variants of GVRP, single or multi-objectives, and different addressing methods.
The VRP, first introduced by Dantzig and Ramser in 1959 [
9], is widely recognized as one of the most extensively studied operational-level transportation problems. Over the years, numerous variants of the VRP have been developed, with one notable extension being the GVRP. The GVRP has gained increasing attention in recent years due to growing concerns about the environmental impact of transportation, particularly last-mile logistics.
A significant body of literature has emerged that addresses various aspects of GVRP. For example, Fan et al. [
10] proposed an integer programming model for the multi-depot VRP with a time-varying road network aimed at minimizing total costs. The authors used a hybrid genetic A = algorithm (GA) combined with a variable neighborhood search (VNS) and the Methodologies for Estimating Air Pollutant Emissions from Transport (MEET) model to estimate fuel consumption. Similarly, Gutiérrez-Padilla et al. [
11] introduced the discrete speed PRPTW and proposed a mixed-integer linear programming model. Their model incorporated factors such as road slope, discrete speeds, pollution, and transport costs in the Colombian context. Dutta et al. [
12] introduced a bi-objective model for GVRP, which was solved using the Non-Dominated Sorting Genetic Algorithm II (NSGA-II), considering both distance and emissions.
To further reduce CO
emissions, several recent studies have explored variable vehicle speeds in the context of the GVRP. Yao et al. [
13] proposed a green vehicle routing optimization model that accounts for the impact of varying vehicle speeds on emissions, reflecting actual road conditions in emission calculations. Their model was solved using GA on the standard Solomon dataset. In another notable study, Shi and Lin [
14] developed a bi-objective optimization model for the multi-depot GVRP with time windows, focusing on operating costs and emissions. They solved the problem using the NSGA-II algorithm. Wang et al. [
15] investigated the effects of traffic restrictions on distribution logistics, proposing a multi-objective GVRP model with soft time windows. This model minimizes both delivery time and emissions, and the authors applied an improved ant colony optimization algorithm to solve it.
Liu et al. [
16] introduced an adaptive large neighborhood search (ALNS) algorithm for the time-dependent GVRP with time windows (GVRPTW). The ALNS algorithm uses time discretization and feasibility checks to determine departure times, showing effective performance in solving small-sized instances and providing high-quality solutions for larger instances with up to 1000 customers. Zhang et al. [
17] investigated the impact of driver behavior on fuel consumption and CO
emissions in road freight transportation. Using a dataset of over 4000 driving records, the study identified key behaviors, such as harsh acceleration and cornering, that significantly impact fuel consumption. The authors introduced an advanced fuel consumption model that incorporates these driver behaviors. For electric vehicles, Cataldo-Díaz et al. [
18] explored the electric VRPTW (E-VRPTW), considering the battery state of charge. Their study compared linear and non-linear charging methods and found that non-linear charging reduced overall route time by minimizing unnecessary charging stops.
In a recent study, Lou et al. [
19] addressed the low-carbon VRP with time-dependent speeds, speed fluctuations, road conditions, and time windows. They proposed a hybrid GA combined with adaptive-VNS, which was validated using a case study from Jingzhou, China. Ferreira et al. [
20] proposed a GVRP model with two-dimensional loading constraints and split deliveries to reduce emissions, solving it using a variable neighborhood search method. Finally, Gkyrtis [
21] examined the impact of road design on fuel consumption, particularly for heavy vehicles in urban freight transport. The study found that road design, particularly the longitudinal slope of highways, significantly influences fuel economy, with fuel consumption increasing by up to 2.5 times when the slope increases from 2% to 7%. This body of research highlights the growing recognition of environmental concerns in vehicle routing and the diverse approaches explored to reduce emissions and fuel consumption in logistics and transportation.
The TS algorithm is a neighborhood-based metaheuristic based on local search (LS) methods created by [
22] in 1989; although it is relatively ancient, it has proven its effectiveness and is still widely used today, as it has several advantages, including the ability to escape the local optimum. Therefore, we will briefly review the literature: in 2021, Gmira et al. [
23] proposed a TS algorithm for solving a vehicle routing problem with time-dependent travel times, with the computational results showing that this strategy provides near-optimal solutions. Another recent study used a hybrid TS called simulated annealing TS for solving the Time-Dependent Vehicle Routing Problem with Soft Time windows presented by Liao and Shao [
24]. Tlili et al. [
25] addressed the ambulance routing problem with two algorithms derived from TS: hybrid TS (HTS) and TS-based hyper-heuristic (TSHH).
A closer look at the previous literature and
Table 1, in particular, as well as many articles that are too numerous to mention, makes it clear that there is a scientific gap that needs to be covered. In PRP, the models that are used are considered rather old; the most famous and widely used example is the MEET model, which first appeared in 1998. Despite its simplicity, it lacks the study of many factors; usually, only the distance and speed factor are studied. On the other hand, previous studies have not addressed the complex interplay of route optimization and energy dynamics, as it is common knowledge that longer distances inevitably lead to more energy consumption.
3. Problem Description and Formulation
This section outlines the problem and its features. First, we introduce the case study and formally define the problem. Then, we present a mixed-integer non-linear programming model for the problem. In addition, the energy consumption method is introduced within the objective function.
This study focuses on a real-world case problem concerning a pharmaceutical company that owns a limited number of homogeneous vehicles with limited capacity (load and volume). The company’s goal is to distribute pharmaceutical products to customers scattered in several cities in Algeria. The company’s objective is to shift to environmentally friendly routing solutions that reduce energy consumption while satisfying customers according to the company’s available resources.
The current distribution strategy involves aggregating customer requests each night for service on the following day. In addition, each vehicle is assigned a specific number of customers within a particular city. Basically, vehicles travel to their designated area daily, regardless of the actual number of customers to be served, even if it is just one customer. This approach encounters challenges related to energy consumption and the inability to ensure customer satisfaction, particularly when serving them later in the day. In addition, when the volume of customers is substantial, there is often a delay in servicing some customers. The company management also classified customers according to their loyalty to the company. A higher number of transactions results in a more favorable classification, ensuring priority satisfaction and early service compared to other customers. To implement this, time windows are established that correspond to each customer’s classification. The management determines these time windows based on the loyalty criteria mentioned earlier. Typically, customers are available from morning to evening, except for exceptional cases specified within the time window. Consequently, the determination of customers’ time windows is structured primarily on loyalty, with consideration given to exceptional availability.
On the other hand, to estimate the energy consumed, fuel consumption models can be used, which are influenced by several factors that have been studied in [
7,
26,
27]. These factors were collected by Demir et al. [
28] and organised into five categories: vehicle, environment, traffic, driver, and operations. Usually, the focus is on vehicle, traffic, and environmental influences when estimating energy consumption. In particular, factors related to distance, payload, and vehicle speed are widely used. Using these factors as constants along the route may lead to inaccurate results.
3.1. Energy Consumption Model
Equation (
1) is the objective function by which we want to reduce the energy consumed, and thus we can conclude the amount of CO
emissions (or fuel consumption) corresponding to each. We use an instantaneous energy consumption model, developed by Chaim and Shmerling [
29], as an extension of the Guzzella and Sciarretta model [
30] with more factors. This feature is very important compared to other models, as more factors can be included. Most models proposed in the literature require a map of engine consumption, assuming that fuel consumption is constant regardless of all operating modes. However, there is no doubt that this is inaccurate and does not apply in practice [
29]. The proposed model addresses this drawback by incorporating calculations for energy requirement and fuel consumption based on the instantaneous specific fuel consumption. The most important feature of this chosen model is the consideration of changes in the movement pattern.
Equations (
1)–(
13) belong to Ben-Chaim and Shmerling [
29] and Ben-Chaim et al. [
31]. We have used these models to facilitate understanding of the model in an integrated, clear, and logical sequence.
The energy consumption formula between customer
i and customer
j is expressed as:
Given the complexity of the equation, it has been decomposed into several simpler equations for clarity. For the full logical sequence and detailed explanation, please refer to
Appendix A.
This model in Equation (
1) is based on the assumption that the engine is operating in two main modes. The first mode in which the movement is at average speed,
is the energy required to overcome the resistance forces in this mode. The second mode is based on episodic accelerations, where
is the kinetic energy required, given by the joule (J). The models of
and
are given in Equations (
2) and (
3).
so:
All of these parameters are described in
Table 2.
The factor
represents the efficiency of the engine, which depends on the degree of power utilization and the speed of the engine. This is calculated by the following formula:
,
, and
are calculated as follows:
where:
The remaining parameters are explained in
Table 3.
The formulas for calculating both
and
are as follows.
3.2. A Mixed-Integer Non-Linear Programming Formulation
We consider the formulation of VPRPTW in which we have a set
K of homogeneous vehicles with load capacity
Q and volume capacity
V. Each customer
i has an associated pair of values
. It is a time window that represents the earliest and the latest time when unloading can start. However, any vehicle is allowed to start serving customer
i even if the vehicle arrives before it is ready, without waiting for the start of the time window
. This is due to the synchronized time windows
for all customers in the time matrix. The time constraints are modelled as two constraints (
26) and (
27), which makes this a soft time windows problem.
The VPRPTW model is defined on a complete graph with a set of nodes representing customers and the depot and a set of arcs A representing the roads between customers. We consider customers numbered from 1 to n, and node 0 is the depot. There are also two auxiliary vertices with numbers 0 and representing the depot node for the route start and finish, respectively.
We also have the energy consumption
E, where
indicates the energy consumption of traveling from customer
i to customer
j, calculated using Equation (
1). The matrix of travel times
T specifies the time units
required to get from customer
i to customer
j, and the distance from
i to
j is denoted by
. The set
is a customer set without the depot. Parameters
and
determine the earliest time when a vehicle can leave the depot and the latest time when it can return. The decision variables are specified as follows.
The MINLP formulation for the VPRPTW is given as follows.
Objective function (
16) is subject to the following constraints:
The objective function (
16) minimizes the total energy consumption across all routes in the solution. Constraints (
17) and (
18) ensure that each customer is served by exactly one vehicle. Constraints (
19) and (
20) ensure that a vehicle departs from a depot and returns to the same depot only once. Constraints (
21) enforce the continuity of the route by requiring that a vehicle proceeds from one customer to the next. Constraints (
22) and (
23) prevent overloads on the route by limiting total demand not to exceed vehicle capacity, considering both weight (
Q) and volume (
V). Constraints (
24) define the relationship between the departure time of a vehicle from a customer and its immediate successor. Constraints (
25)–(
29) ensure feasibility in relation to the specified time windows. Constraints (
30) eliminate sub-cycles within the solution. Finally, constraints (
31) restrict the decision variable
to a binary value.
4. Solution Methodology
This section provides the details of the proposed algorithm. To solve VRP and its variants, the TS metaheuristic has been frequently used in the literature, as it has a number of advantages, iteratively exploring the solution space, employing memory structures to prevent the re-examination of previously investigated solutions, and integrating methods to evade local optima, thus facilitating a more extensive search for the global optimum. The problem at hand is an NP-hard problem, and only small-sized instances can be solved to optimality. Given the novelty of the problem, we opted to create a new algorithm for its solution based on the TS algorithm.
Algorithm 1 shows the steps of the proposed algorithm. In the initial stage, the algorithm generates data matrices on distance, time, and speed using the Distance Matrix API. Subsequently, it defines variables such as
maxIteration,
iteration,
tabuTenure,
bestSolution, and
currentSolution. These variables represent, respectively, the maximum number of iterations in the main loop (a stop condition), the current iteration, the time or number of iterations an arc stays in the Tabu list, the best solution across all iterations, and the most recently obtained solution.
Algorithm 1 Probabilistic Tabu search for the VPRPTW |
- 1:
Initialize: - 2:
Create data matrixes (distance, time, and speed) using Distance Matrix API - 3:
Generate a feasible initial solution x using greedy insertion - 4:
- 5:
- 6:
while do - 7:
- 8:
- 9:
Generate a random number p ▹ - 10:
if then - 11:
Use 0-1 exchange strategy - 12:
else - 13:
Use i-cross exchange strategy - 14:
end if - 15:
for do - 16:
- 17:
if ) then - 18:
- 19:
- 20:
if then - 21:
break - 22:
end if - 23:
end if - 24:
end for - 25:
Update tabu list - 26:
Generate a random number d ▹ - 27:
▹ for new arcs in besMove - 28:
▹ for each old arc in besMove - 29:
- 30:
- 31:
- 32:
if then - 33:
- 34:
end if - 35:
end while - 36:
return
|
The main loop stop condition occurs when we reach a certain number of predetermined iterations. The bestNeighborCost is declared, which is the best difference between the cost of the current situation and all possible moves. It is followed by the variable bestMove, which returns the best move among the moves in the current situation. Variable p is the probability of moving between the two strategies, i-cross exchange and 1-0 exchange. The candidate transition is qualified by the allPossibleMoves function, which considers all the conditions of weight, volume, time windows, and if the move is not Tabu.
After choosing one of the two strategies, the getCost function calculates the difference between the cost of the current situation and all possible moves and stores the value in the neighborCost variable. If it is better than bestNeighborCost, then bestNeighborCost takes its value, and the bestMove is the current move. After completing all possible moves, the Tabu list is updated as previously explained, and the move is applied to the currentSolution. If the currentSolution is better than the bestSolution, the bestSolution is updated. When the condition for stopping is met, the bestSolution is returned.
First, an initial solution is obtained using greedy insertion. It is the current solution and the base to start the algorithm. It is obtained most often after creating distance and time matrices. The algorithm remains operational until the stopping criterion is met. The best solution is adopted during the search, while at each iteration, the current solution is the best in the neighborhood, without comparing it with the previous solution regardless of whether it is better or worse. The iCROSS exchange and 1-0 exchange strategies were adopted to generate the current solution in the neighborhood structure. In the following section, we explain the important elements of the proposed algorithm.
4.1. Creation of Data Matrixes
In VRP with time windows, we need to know the distance and the time required to travel the distance between every two points (customers) back and forth. The way back may differ from the outbound journey, resulting in asymmetric matrices for distance, time, and speed. In practice, measuring these distances and times, especially with a considerable number of customers, is impractical due to the associated high costs and time constraints.
For this, we use The Distance Matrix Application Programming Interface (API), which is one of the Google Maps services that provide us with the distance and time of the matrix of origins and destinations between the start and endpoints on the recommended route [
32]. Requests for Distance Matrix API are restricted to a maximum of 100 elements per (server-side and client-side) request. The total number of elements is determined by multiplying the number of origins by the number of destinations; 100 elements are calculated as (10 origins multiplied by 10 destinations). Through our review of the literature, we did not notice that a significant number of elements were used as in our case, which used 39,204 elements in each matrix (distance, time, and speed).
Following the asymmetric creation of distance and time matrices for all arcs, we generate the speed matrix using the established formula: speed(
v) = distance(
d)/time(
t).
The algorithm was implemented using the Java programming language and various libraries, the most notable being Google Maps Services 0.2.9 and GMapsFX-2.10.0. The Google Distance Matrix API, which provides trip time estimates based on crowdsourced data from Google users’ mobile phones, was used in the implementation [
33]. This API was first used by [
34] to address routing problems. The study by [
35] demonstrated that the Distance Matrix API delivers geographical data consistent with real-world conditions.
4.2. An Initial Solution
In the initial solution, routes are constructed sequentially using the greedy insertion heuristic. In each iteration, the algorithm attempts to sequentially assign customers to the current route until the constraints are satisfied. During the creation of each route, the next customer is selected from the unselected customers who will achieve the best solution for that route. The algorithm stops when an acceptable current solution is reached after visiting all customers, with the key advantage of the greedy heuristic being its ability to quickly obtain a feasible local solution.
4.3. The Neighborhood Structure
Choosing a neighborhood structure to exploit space solutions is the most important step in designing the TS algorithm [
36]. The CROSS exchange [
37] is the most convenient and widely used method for problems with time windows. The basic idea of the CROSS exchange is clear through its name, as two segments of two different routes are exchanged (swapped) in the form of a cross, as illustrated in
Figure 1. Bräysy et al. [
38] introduced an extension of the CROSS exchange where the segments to be exchanged were inverted. On this basis, it is called the inverted CROSS exchange (iCROSS exchange). The exchange depends on deleting and creating some arcs, so
,
from the first route and
,
from the second route are deleted. To achieve an inverse exchange of the two segments
and
, that is,
and
, between the two routes,
,
, and
,
arcs are created. Details of how these exchanges work are illustrated in Algorithm 2. It is evident in this proposed solution that the number of customers in the segments is not restricted but is within the range of 1 to (length route − 2).
When using the iCROSS exchange strategy alone, we observed that the results were generally good. However, when we replaced it with the 1-0 exchange strategy, we found that while some results were better, we often encountered the issue of the search becoming stagnant in a specific region. Based on these observations, we experimented with incorporating both strategies and proposed using one of them in each iteration based on probability. Specifically, in each iteration, the probability of selecting the iCROSS exchange strategy was set at 80%, while the probability for the 1-0 exchange strategy was 20%. This approach helps strike a balance between exploration and exploitation during the search process, which is a key challenge in LS algorithms.
Algorithm 2 iCROSS exchange function |
- 1:
best cost = Max value - 2:
, , , - 3:
for do - 4:
for do - 5:
for do - 6:
for do - 7:
calculate new demand in - 8:
calculate new volume in - 9:
if and then - 10:
update - 11:
calculate total time in - 12:
if and then - 13:
calculate - 14:
calculate - 15:
if then - 16:
- 17:
end if - 18:
- 19:
end if - 20:
end if - 21:
end for - 22:
end for - 23:
end for - 24:
end forreturn
|
4.4. Tabu List
The Tabu list, organized as a matrix with each cell representing an arc, is initialized with all values set to 0 in the first iteration. After each iteration, which concludes with the selection of a strategy (iCROSS exchange or 0-1 exchange) based on probability and results in obtaining a current solution, we update the Tabu list. This involves subtracting 1 from the value of each arc where the current value is greater than 0. Additionally, a specific number of iterations, referred to as the Tabu tenure, is added to the arcs that have been modified. These arcs include , , , and according to the defined neighborhood structure. In addition to the Tabu tenure, a random number between 0 and 4 is added. Assigning a random number to each arc ensures that all arcs are not simultaneously removed from the Tabu list and that they are added together in a specific iteration.
5. Computational Experiments and Analysis
The probabilistic TS algorithm is applied to address real-life case study instances involving a pharmaceutical distribution company operating in Algeria, as illustrated in
Figure 2. All datasets feature 16 identical vehicles with a specific capacity load and volume of 1200 kg and 5 cubic meters, respectively. The total number of customers is 198, distributed across four instances representing consecutive days of the week, chosen randomly to emulate diverse scenarios throughout the year. Key customer data include time windows, service time (estimated at 10 min), demand in kilograms, and order volume in cubic meters. The stopping condition for all tests is set at 500 iterations, with a Tabu tenure length of 15. The algorithm is executed on an Intel Core i3-4030U processor with 1.9 GHz and 4GB RAM using Java NetBeans IDE 8.2, running on Windows 7.
We address the problem by introducing time windows based on customer classifications. Each category, determined by the company’s management, is associated with a specific time window according to the loyalty status. Typically, customers are available from morning to evening, except for exceptional cases, and are served between 8 am and 2 pm. To eliminate waiting time, the customer readiness time is set at 8 am, ensuring all time windows open simultaneously at 8 am. Time window closing times are distributed as follows: 9 am, 11 am, 12 pm, and 2 pm, with priority given to loyalty in determining the closing time. The depot is available from 5 am to 8 pm.
Table 4 provides the list of parameters with their values.
To understand the impact of speed on the prediction of energy consumption during trips, we investigate scenarios involving a fixed speed for each trip, fixed speeds for individual vehicles within the same trip (referred to as varying speeds), and the average speed between each arc.
Table 5 presents the results obtained to solve the problem using the speed of Google Maps services, which means that the speed varies at each arc. The results of the energy consumption of fixed speeds along the path were segmented into a range from 40 to 100 km/h at intervals of 20 km/h (40, 60, 80, 100). More details on the results obtained are provided in Tables 8–11. For example, Table 8 illustrates the results obtained for solving the problem at a constant speed of 40 km/h throughout the trip.
As shown in
Table 5, the first column represents the dataset divided into four sections: the weeks represented by the letter
w, followed by the letter
d, which represents the day in that week. Knowing the amount of energy consumed, we can deduce the emissions as well as the amount of fuel. Regarding the column of CO
emissions, its results were obtained depending on the amount of energy consumed by reducing the amount of emissions emitted through Equation (
32), including diesel engine compatibility [
39].
The first note that draws attention is the number of vehicles used during trips every day, which ranged from a minimum of 8 vehicles to a maximum of 16 vehicles that were used every day. An average of 12 cars were used per day, with fewer than 4 vehicles operating on some days. This is a good improvement, especially in economic terms. A distance of 2857.61 km was obtained as the lowest distance traveled in the dataset, corresponding to a minimum of emissions estimated at 340.82 kg in . On the other hand, a maximum distance of 6373.45 km was recorded in , which corresponded to the amount of emissions of 1105.06 kg. However, this was not the maximum emission, which was recorded in at 1122.29 kg over a distance of 6366.49 km. The difference between and was 6.96 km in distance and 17.23 kg in emissions. This shows that a long distance does not necessarily mean more fuel consumption. In the previous example, despite the decrease in distance by about 7 km, the emissions increased by 17 kg. This is explained by factors that control energy consumption, such as speed and weight.
To compare the performance of our proposed algorithm, TS, we evaluated it against an initial solution obtained using the greedy insertion heuristic in
Table 6. The greedy insertion heuristic provides a feasible, yet suboptimal, solution by iteratively inserting the best available option into the current solution. In contrast, the Tabu Search algorithm, with its memory-based approach and flexibility in exploring the solution space, refines the initial solution to achieve better optimization results. The comparison highlights the efficiency and effectiveness of TS in improving solution quality beyond the capabilities of the greedy insertion heuristic.
When trying to solve the problem, we identified some interesting results, which are shown in
Table 7. In particular, for solutions employing a smaller number of vehicles, the company favors the adoption of new routes because of their increased profitability.
Table 7 presents a comparison of two different solutions for the same case, where one involves a greater distance but results in fewer emissions.
The company prioritizes solutions that involve fewer vehicle usages when the emissions are relatively similar. For example, in the case of , the alternative solution presented a distance of 120 km with one less vehicle, despite an increase of 7.79 kg in emissions. Similarly, in , an alternative solution suggested using one less vehicle but resulted in a 10.66 kg increase in emissions. In the remaining cases, the number of vehicles remained the same.
Concerning the discrepancy between distance and emissions, we note the lowest distance difference with an increase of 5.77 km in
in contrast to 7.23 kg less emissions, while an increase in distance of 197 km with 13.7 kg of emission reduction was recorded in
. The bottom line is that the distance length does not always indicate the amount of CO
emissions. There are exceptional cases where the distance is longer, but the amount of emissions is lower, as shown in
Figure 3, where path A is the longest compared to path B, but the emissions in path A are lower than in path B.
This outcome highlights the critical role of route optimization in reducing fuel consumption and emissions. Optimized routes often involve smoother driving patterns with fewer stops, less idling, and reduced speed fluctuations, all of which contribute to improved fuel efficiency. Furthermore, optimized routes tend to bypass high-traffic or congested areas, where vehicles are prone to burning excess fuel due to frequent braking and acceleration. This suggests that route characteristics, such as traffic flow, terrain, and driving conditions, can have a significant impact on emissions, sometimes outweighing the effect of distance alone.
Moreover, fleet management efficiency plays a role in cases like and , where fewer vehicles are used despite a longer distance, leading to a lower overall carbon footprint. This emphasizes the need for logistics systems to focus not only on minimizing distance but also on optimizing other variables like traffic avoidance, load balancing, and fuel economy to achieve sustainable outcomes. Therefore, the results provide strong evidence that route optimization strategies can deliver environmental and economic benefits by decoupling emissions from the distance traveled.
To assess the impact of speed on the prediction of energy consumption or emissions, we analyze the variations in results at different speeds using both Google Maps services and fixed speeds in the study. The speed obtained from Google Maps services is called the real speed in our investigation.
The results of constant speeds along the route are shown in
Table 8,
Table 9,
Table 10 and
Table 11 and the corresponding
Figure 4a–d. In this experiment, each proposed solution is generated based on a constant speed along the path, simulating the optimization scenario with a constant speed. The algorithm’s results are correlated to the objective function, where speed is one of its components. This approach contrasts with proposing a single solution and deducing the corresponding emission results at constant speeds.
To determine the difference between the emissions, the constant speed and the real speed are calculated as the percentage deviation. We define it as the difference between the corresponding real emissions CO and the obtained CO emissions divided by the obtained CO emissions and all multiplied by 100.
The results revealed significant variations for each speed setting. At 40 km/h, the average deviation reached 12.13%, with the highest deviation at 14.45% and the lowest at 1.21%, as detailed in
Table 8. This variance in deviation is evident on all days, as shown in
Figure 4a. For the fixed speed of 60 km/h (
Table 9), the highest and lowest deviation rates were 4.77% and 0.01%, respectively, averaging at 0.71%—a relatively weak but non-negligible deviation. In particular, in
, the emission difference at the highest deviation rate was 37.14 kg, yet
Figure 4b indicates that the constant speed and the real speed are nearly identical. There is a direct relationship between constant speed and deviation percentage, with deviations increasing at speeds of 80 km/h and 100 km/h (
Table 10 and
Table 11). The highest deviation rates were recorded at 12.86% and 20.34%, respectively, with the lowest deviation rates at 7.29% and 12.32%, averaging at 8.71% and 17.26%, respectively. In particular, in
at 100 km/h, there was a significant emission difference of 142.21 kg, surpassing the deviation of 20%.
Figure 4c,d illustrates the substantial differences between the real speed results for speeds of 80 km/h and 100 km/h.
Using the results of
Table 5 and
Table 8,
Table 9,
Table 10 and
Table 11, we have created the graph represented in
Figure 5, which represents a comparison between emissions for the real speed in
Table 5 with the rest of the fixed speeds in
Table 8,
Table 9,
Table 10 and
Table 11. We note that the emissions are almost identical at a speed of 60 km/h. Compared with the rest of the results, the difference in value can reach proportions that cannot be discounted, as the farther the speed is from the value within 60 km/h, the greater the variance. Therefore, the increase or decrease in speed from the previous value leads to a variance with positive or negative values, respectively.
Statistical Analysis and Validation
An analysis of variance (one-way ANOVA) test was conducted to validate the observed differences in emissions and energy consumption across various speed profiles. The one-way ANOVA method is used to determine if there are statistically significant differences between the means of multiple groups. The speed profiles here represent the different groups being compared. Using one-way ANOVA, we can determine whether the observed variations in emissions and energy consumption are due to changes in speed profiles or if they are simply random. One-way ANOVA test results are considered significant if the p-value is less than 0.05 and the F-statistic values are high. By using this rigorous statistical approach, the observed differences are not only noticeable but also statistically significant.
To check if the mean emissions and energy consumption significantly differ across the four speed profiles (40 km/h, 60 km/h, 80 km/h, and 100 km/h), we perform a one-way ANOVA.
The probabilities of p-values :
The results of the one-way ANOVA tests are as follows in
Table 12.
The results indicate significant variations in both CO emissions and energy consumption between the speed profiles, highlighting the impact of vehicle speed on environmental and energy-related factors. The findings suggest that vehicle speed plays a critical role in determining emissions and energy usage, with higher speeds generally corresponding to increased values.
To evaluate the proposed algorithm, we performed 10 independent runs using different random number generator seeds at real speeds to assess the robustness of our non-deterministic approach. The results were analyzed by computing the average and standard deviation “S D” of the objective function, which is the energy consumed, across these runs, as shown in the
Table 13,
Table 14,
Table 15 and
Table 16. The percentage of the standard deviation “% S D”, ranging from 1.06% to 4.04%, highlights the stability of the method in optimizing energy consumption. These relatively small variations demonstrate consistent performance across different runs, underscoring the reliability of the proposed approach under varying conditions.
6. Conclusions
Reducing the environmental impact of transport operations through sustainable practices has been an urgent priority. To address this challenge, our research has introduced a variant of VRP that considers different types of customer groups. Specifically, we examined a fleet of homogeneous vehicles, constrained by both volume and weight capacities, tasked with distributing pharmaceuticals to pharmacies located across Algeria. Aiming to minimize GHG emissions, we developed an MINLP model tailored to this problem. In this research, we defined a so-called VPRPTW and proposed a probabilistic TS algorithm utilizing the Google Distance Matrix API. The algorithm incorporates a probabilistic neighborhood structure to alternate between the iCROSS exchange and 0-1 exchange methods and integrates customer loyalty-based time windows. We also formulated an MINLP model to consider both vehicle volume and weight constraints, integrating an energy consumption equation to account for various operational factors.
Our results revealed significant insights. The daily fleet size was reduced from an average of 16 vehicles to 12, demonstrating improved operational efficiency. Interestingly, while distance is a critical factor in energy consumption, shorter distances do not always result in lower energy use. In some scenarios, greater distances were associated with reduced energy consumption, underscoring the complex interplay of route optimization and energy dynamics. In addition, the findings highlighted the influence of vehicle speed on fuel consumption. Specifically, maintaining variable speeds, as opposed to constant speeds, led to deviations in energy consumption exceeding 20%, as observed through API data. These results emphasize the critical role of fine-tuning speed profiles in reducing energy consumption and improving environmental sustainability. The results of this study were consistent with some results in the literature regarding the effect of the speed factor on energy consumption. However, the results on the distance factor were interesting; while it was prevalent in the logistics field that cost is related to distance, the studied model showed that the opposite can happen.
This study provides managers and policymakers with actionable insights to improve transport fleet operations, reduce emissions, and achieve sustainability goals. By reducing the number of vehicles in use, it enables managers to reduce both fixed costs (vehicle maintenance) and variable costs (fuel and employment). By addressing the trade-off between distance and energy use, the companies’ goal is to minimize costs; therefore, these models can be adopted to reduce energy consumption, and they can verify that each route consumes less energy by conducting several experiments on alternative routes since the proposed model integrates real data from Google services. Moreover, the results of the study confirm the necessity of speed regulation to reduce fuel consumption, so decision-makers can guide and train drivers to travel at speeds that achieve environmental goals.
While this study provides valuable insights into green logistics, several limitations should be acknowledged. First, we did not study the problem with several algorithms to compare and find the most appropriate algorithm for the problem. Second, although the most important feature of the study is the multi-factor model, it does not include an important factor, which is the road gradient. Finally, the results of this study are within the framework of the proposed model, which limits the generalizability of the results.
Despite these limitations, the findings contribute to the growing body of evidence on green logistics and offer a foundation for future investigation. Future research should focus on refining vehicle speed management strategies to further optimize operational efficiency and minimize the environmental footprint of transport operations. To ensure that the proposed approach produces a stable and ideal solution, it will be essential to evaluate its convergence in further research. This evaluation will assist in verifying whether the selected parameter values are suitable and whether they improve the efficacy and efficiency of the algorithm. The no free lunch theorem (NFL), which states that no single algorithm performs well on all problem types, should also be considered. This emphasizes the necessity of researching and contrasting different metaheuristic strategies to determine which is most suited for the given problem. These assessments will provide a more thorough understanding of the effectiveness of the approach and areas for improvement. It is interesting to compare the results of the proposed model with other models when it relates to energy consumption amounts.