Next Article in Journal
Numerical and Experimental Study of the Blade Profile of a Savonius Type Rotor Implementing a Multi-Blade Geometry
Next Article in Special Issue
A Novel Adaptive Sparrow Search Algorithm Based on Chaotic Mapping and T-Distribution Mutation
Previous Article in Journal
Blockchain-Based Healthcare Information Preservation Using Extended Chaotic Maps for HIPAA Privacy/Security Regulations
Previous Article in Special Issue
An Improved Image Filtering Algorithm for Mixed Noise
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

TDGVRPSTW of Fresh Agricultural Products Distribution: Considering Both Economic Cost and Environmental Cost

1
College of Economics and Management, Shanghai Ocean University, Shanghai 201306, China
2
Nanchang Institute of Technology, Economic and Technological Development Zone, Nanchang 330044, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(22), 10579; https://doi.org/10.3390/app112210579
Submission received: 24 September 2021 / Revised: 2 November 2021 / Accepted: 3 November 2021 / Published: 10 November 2021
(This article belongs to the Special Issue Soft Computing Application to Engineering Design)

Abstract

:
The time-dependent vehicle routing problem of time windows of fresh agricultural products distribution have been studied by considering both economic cost and environmental cost. A calculation method for road travel time across time periods is designed in this study. A freshness measure function of agricultural products and a measure function of carbon emission rate are employed by considering time-varying vehicle speeds, fuel consumptions, carbon emissions, perishable agricultural products, customers’ time windows, and minimum freshness. A time-dependent green vehicle routing problem with soft time windows (TDGVRPSTW) model is formulated. The object of the TDGVRPSTW model is to minimize the sum of economic cost and environmental cost. According to the characteristics of the model, a new variable neighborhood adaptive genetic algorithm is designed, which integrates the global search ability of the genetic algorithm and the local search ability of the variable neighborhood descent algorithm. Finally, the experimental data show that the proposed approaches effectively avoid traffic congestions, reduce total distribution costs, and promote energy conservation and emission reduction.

1. Introduction

In recent years, climate change and carbon emissions have gradually become a common challenge for human society. In the work report of the Chinese government in 2021, carbon peak and carbon neutralization were first mentioned and immediately became the focus of social discussion. According to the CO2 Emissions from Fuel Combustion: Overview report released by the International Energy Agency in 2020, global carbon dioxide emissions reached a record 33.5 billion tons in 2018, with transport accounting for 24 percent of the total at 8.04 billion tons, while road transport accounted for three-quarters of the total carbon emissions in the transport sector. Therefore, it is of great practical significance to deeply study the green vehicle routing problem and promote energy- saving and emission reduction in the delivery of fresh products.
Previous studies on the green vehicle routing problem (GVRP) can be divided into three categories: vehicle routing problem related to reverse logistics [1], vehicle routing problem related to new energy vehicles, and fuel vehicle routing problem aiming to reduce environmental pollution. The GVRP problem defined in this article refers only to the last one. Bektaş and Laporte [2] proposed the pollution routing problem (PRP) for the first time in 2011. Green vehicle routing problem (GVRP) was first proposed by Erdoğan et al. [3] in 2012. Although the two concepts have different names, they are essentially the same, and this paper defines them both as GVRP. However, relevant studies can be traced back to the relationship between vehicle fuel consumption rate and driving speed proposed by Chang and Morlok in 2005 [4]. Subsequently, many scholars have conducted in-depth research on this issue.
The literature can be divided into three categories based on different objective functions, and the three categories are as follows.
  • The first category takes carbon emission or fuel consumption as the optimization target. Aiming to minimize fuel consumption, Suzuki [5] established the pollution routing problem (PRP) model with capacity and vehicle number constraints. Li et al. [6] established a multi-depot vehicle routing problem (MDVRP) model that can share depot resources. Considering that the speed of vehicles on various sections depends on the time of departure and the time period in which the vehicles are travelling, Alinaghian and Naderipour [7] established the time-dependent vehicle routing problems (TDVRP) model and allowed multiple paths to be selected between nodes; aiming to minimize carbon emissions, Manerba et al. [8] used the emission factor model to convert the mileage of vehicles into carbon emissions. Yu et al. [9] constructed the heterogeneous fleet green vehicle routing problem with time windows (HFGVRPTW). Ehmke et al. [10] considered that vehicle speed changed with different time periods and road sections. The vehicle speed was defined as a random variable, and the influence of speed and load on the path to carbon emission minimization was analyzed. A TDVRP model with vehicle numbers constraint was constructed.
  • The second type takes environmental cost and economic cost as the optimization target. Micale et al. [11] built models including maximum vehicle capacity, speed, carbon emissions, asymmetric paths, and time windows constraints, and applied the technique for order performance by similarity to ideal solution (TOPSIS) technology to integrate economic and environmental factors. TOPSIS is a criterion for selecting the most suitable solution. Fukasawa et al. [12] took the speed as a continuous decision variable, adopted the road section speed optimization strategy to make vehicles run at the optimal speed in each road section, and took the minimization of the total cost composed of fuel consumption cost and driver’s salary as the optimization objective, respectively, and constructed a PRP model and open green vehicle routing problem with time windows (GVRPTW) model with vehicle numbers and time window constraints. Aiming at the one-to-one pickup and delivery problem, Soysal et al. [13] constructed a heterogeneous VRPTW model with the optimization objective of minimizing the total cost composed of fuel consumption cost, driver wage cost, and penalty cost for violating the time windows, considering that vehicle speed varies with urban and non-urban sections.
  • The third category takes two or more conflicting optimization objectives as objective functions. Giallanza and Puma [14] assumed that customer demand was a fuzzy number simulated by a time-dependent algorithm and established a multi-objective fuzzy chance-constrained programming model. Ghannadpour and Zarrabi [K] established a multi-objective heterogeneous VRPTW model with fuel consumption, minimizing vehicle use and maximizing customer satisfaction as optimization objectives. Zulvia et al. [15] constructed a multi-objective GVRPTW model of perishable products, with operating cost, deterioration cost, carbon emission minimization, and customer satisfaction maximization as optimization objectives. Bravo et al. [16] constructed a multi-objective PRPTW model for heterogeneous VRPPD with the optimization objectives of minimizing total fuel consumption and total driving time and maximizing the number of customers served.
In the literature on the vehicle routing problem with time windows, some literature explored the relationship between time windows and pollution emission [17,18,19]. Representative works include the following: Manerba et al. [8] analyzed the impact of two different distribution policies on carbon emissions and proved that the VRPTW model had lower carbon emissions than the DCVRP model at the same time interval through practical cases. However, they used the emission factor model to estimate carbon emissions, and simply converted the distance of vehicles into carbon emissions without considering the impact of vehicle speed, load, slope, and other factors on carbon emissions. Munoz-villamizar et al. [20] proposed an approach using a mixed-integer linear programming model to assess the impact of extended delivery times, using data from real cases to analyze the impact of different extended delivery times on distance traveled, transportation costs, and carbon emissions. Experimental results show that delivery times of up to four days can save 57% of total mileage, 61% of total cost, and 56% of fuel consumption and/or CO2 emissions. However, the experiment lacked the overall consideration of the three optimization objectives, and its case scale was small, so the method is not suitable for solving large-scale problems. Liu et al. [21] established a TDVRPTW model with the optimization objective of minimizing the sum of driver cost, fuel consumption, and carbon emission, and proposed an improved ant colony algorithm (IACACAA) with a congestion avoidance method to solve the model. Experiments were designed to compare the large time window and the tight time window, proving that cases with short service time and a large time window could obtain vehicle routes with lower total cost and thus reduce carbon emissions.
For the above three types of GVRP models, solving algorithms can be divided into the precise algorithm, traditional heuristic algorithm, and meta-heuristic algorithm. The specific summary is as follows.
  • The precise algorithm is one that can find an optimal solution to a problem. Yu et al. [9] proposed an improved branch price algorithm (BAP) to solve HFGVRPTW, and the results showed that the improved BAP algorithm greatly reduces the branch and calculation time. The model established by Xiao and Konak [22] took into account capacity and mileage constraints, time windows constraints, heterogeneous fleets, and time-varying road network conditions and proposed a hybrid algorithm of mixed integer linear programming (MIP) and iterative neighborhood search.
  • The basic idea of the traditional heuristic algorithm is to start from the current solution, search for a better solution in the neighborhood of the current solution and continue to search until there is no better solution. Li et al. [23] improved the local search stage of the Clarke and Wright heuristic algorithms to solve the two-echelon position path problem (2E-LRP). In the hybrid heuristic algorithm designed by Wang et al. [24], the Clarke and Wright savings heuristic algorithm (CWSHA) and the sweep algorithm were used to generate the initial population continuously.
  • Metaheuristic algorithm is an improvement of the heuristic algorithm, which is the combination of the random algorithm and local search algorithm. Demir et al. [25] proposed an adaptive large-scale neighborhood search algorithm based on simulated annealing. Eight removal operators and four insertion operators were used to search the neighborhood to generate a new solution and simulated annealing acceptance rules were used to determine whether to select the new solution as the current solution. Sadati et al. [26] developed a hybrid general variable neighborhood search and tabu search approach to solve the model effectively.
Population-based metaheuristics have good global searching ability and can carry out distributed computation conveniently and speed up the solving speed by using inherent parallelism. The latest multi-point heuristic algorithm includes the quantum evolutionary algorithm (QEA) [27], quantum inspired differential evolution algorithm (QDE) [28], improved differential evolution (DE) algorithm [29], etc. However, the local searching ability of the multi-point heuristic algorithm is poor, and the searching efficiency is low in the later stage of calculation. In recent studies, many scholars at home and abroad combine various meta-heuristic algorithms together to form a hybrid meta-heuristic algorithm and make substantial improvements on the basis of some basic algorithms so that the efficiency of the algorithm is greatly improved, and there are abundant achievements in this aspect. This paper designs the algorithm based on the above research results.
In particular, this paper focuses on a certain type of GVRP, i.e., the GVRP of fresh agricultural products. There are relatively few previous studies on GVRP of fresh agricultural products. Zulvia [15] consider the GVRP model of perishable products with operational costs, deterioration costs, carbon emissions, and customer satisfaction as optimization targets, and the objective gradient evolution algorithm was used to solve the model. Rahbari et al. [30] presented a bi-objective mixed integer linear programming (MILP) model for the vehicle routing and scheduling problem with cross-docking for perishable products. Alkaabneh et al. [31] considered the inventory routing problem for perishable products and aimed at maximizing supplier profits and minimizing the cost of fuel consumption, inventory retention, and greenhouse gas emissions, and they developed a precise method based on Bender decomposition to find high-quality solutions in a reasonable time. However, these studies did not focus on the impact of time sensitivity of different fresh agricultural products on distribution planning. At the same time, under different optimization objectives the proportion of freshness loss cost and carbon emission cost to the total cost has not been proven.
The model formulated in this paper belongs to the second type of GVRP model, and the algorithm adopted is a hybrid meta-heuristic algorithm. In this paper, a time-dependent green vehicle routing problem with soft time windows (TDGVRPSTW) for fresh products distribution is established. The TDGVRPSTW problem is an extension of the traditional GVRP model, which adds time-dependent road network conditions and soft time windows. Time-dependent means that the speed of a vehicle on each road section is related to its time period, and the speed is different in different time periods. Adding time-dependent conditions to the model can make the model closer to reality. The soft time windows are relative to the traditional hard time windows. In the soft time windows model, the time when the vehicle arrives at the customer is not strictly limited. The vehicle can start service at any time when it arrives at the customer, but it needs to pay a penalty cost to start service outside the service time windows. A hybrid algorithm combining the genetic algorithm and variable neighborhood descent algorithm is used to solve the model. It also analyzes the relationship between distribution economic cost and environmental cost, hoping to provide fresh products and a decision-making reference for distribution.
The innovations and contributions of this paper are described as follows.
  • A hybrid algorithm combining adaptive genetic algorithm and neighborhood search algorithm is designed, which considers both the search breadth and the search depth. The chromosomes in the population are disturbed by the crossover and mutation operation of the genetic algorithm, and the excellent chromosomes in the population are deeply searched by the neighborhood search algorithm.
  • Different fresh agricultural products have different perishability. Does the difference in perishability of fresh agricultural products have an impact on driving routes and customer assignment schemes? This paper will clarify the problem through experiments.
  • In order to improve the quality and diversity of the initial population, three different methods were used to generate the initial population in this paper. The three methods are, respectively, the CW saving algorithm, nearest neighbor insertion algorithm, and random method.
The remainder of this paper is organized as follows. In Section 2, we give a detailed description of the TDGVRPSTW model formulated in this paper. Section 3 presents the proposed variable neighborhood adaptive genetic algorithm. Experimental results and analyses are given in Section 4. Finally, conclusions are given in Section 5.

2. Problem Description and Model Formulation

2.1. Problem Description

A distribution center distributes fresh agricultural products to customers. The customer location, demand, time window, and service time are known. The vehicle can start serving the customer before or after the time window, but the vehicle has to pay a penalty cost. Vehicles have a fixed cost, driving cost, penalty cost, and carbon emission cost. Fresh products will produce a freshness loss cost over time. The total cost as the optimization objective includes vehicle transportation cost, vehicle fixed use cost, time window penalty cost, carbon emission cost, and freshness loss cost. Decision problem: how do we make a distribution plan to minimize the total cost?
The following assumptions are made:
  • The vehicle is of the same type and the driving speed is different in different time periods at the same time, and you can start at different times and return to the distribution center after completing the task;
  • The customer demand is less than the vehicle capacity, and there is only one vehicle for its services;
  • The distribution center has a time window within which vehicles must leave and return;
  • The engine is switched off while the vehicle is waiting and during customer service, and there is no fuel consumption or carbon emission.

2.2. Model Formulation

2.2.1. Calculation Method of Travel Time for the Cross Time Section

A driving time calculation method was designed based on time division. The working time of the distribution center is divided into multiple time periods, and the vehicle driving speed is different in different time periods. Let F be the length of the period;   H = { H 0 , H 1 , , H L } is a set of all time, [ H h 1 , H h ] is the h t h period. The driving speed of vehicles in different time periods is shown in Figure 1. d i j k h , t i j k h and g i j k h respectively represent the distance, time, and speed of vehicle k on the road section ( i , j ) within the time period h ; D i j is the distance of the road section ( i , j ) ; D i j h is the distance of vehicle k finishing ( i , j ) remaining distance after time h ; L i k is the point in time when vehicle k leaves customer i ; h k is the remaining drivable time of vehicle k within the time period h , then the calculation steps of vehicle k ’s driving time t i j k on the road section ( i , j ) are as follows:
  • Calculate the travel time in the initial period.   d i j k h = g i j k h h k . If d i j k h D i j , then t i j k h = D i j / g i j k h , t i j k = t i j k h , end of calculation; If d i j k h < D i j , D i j h = D i j d i j k h , t i j k h = h k , turn to step 2.
  • ζ = 1 ; d i j k h + ζ = g i j k h + ζ F , if d i j k h + ζ < D i j h + ζ 1 , then t i j k h + ζ = F , D i j h + ζ = D i j h + ζ 1 d i j k h + ζ , repeat step 2; otherwise, t i j k h + ζ = D i j h + ζ 1 / g i j k h + ζ , t i j k = h H t i j k h , the calculation of the driving time of section ( i , j ) is completed.
Figure 1. Vehicle speed in different time periods.
Figure 1. Vehicle speed in different time periods.
Applsci 11 10579 g001

2.2.2. Freshness Loss Coefficient Function

The freshness loss coefficient in the literature [32] was used to measure the freshness loss of fresh products: ξ 0 i = ( T i s / T ) r , where T is the shelf life of agricultural products and the time when customers receive fresh products T i s T , r ϵ ( 0 , 1 ) is the time-sensitive adjustment factor. Different fresh products have different values, and the smaller the r value, the more sensitive the agricultural products are to time.

2.2.3. Carbon Emission Estimation Function

In order to quantitatively study the calculation of carbon emissions, this paper refers to the carbon emission estimation model in reference [33]. The carbon emission estimation function of freight cars with vehicle weight between 3.5 t and 40 t is:
ε h ( v ) = a 0 + a 1 v + a 2 v 2 + a 3 v 3 + a 4 v + a 5 v 2 + a 6 v 3
where ε h ( v ) is the carbon emission rate (g/km) of the vehicle when it is empty and running on the road with slope of 0, v is the average speed of the vehicle (km/h), and the value of parameter ( a 0 , a 1 , a 2 , a 3 , a 4 , a 5 , a 6 ) is related to the weight range of the vehicle.
Load correction function is:
λ h ( v , φ ) = b 0 + b 1 φ + b 2 φ 2 + b 3 φ 3 + b 4 v + b 5 v 2 + b 6 v 3 + b 7 v
where φ is the ratio of the actual load of the vehicle to its capacity, ν is vehicle speed (km/h), the parameter b for the correction coefficient of load, the value is related to the weight range of the vehicle. If the driving distance of vehicle k in time period h is d h i j k (km), the calculation formula of its carbon emission E h i j k (kg) is shown as follows:
E h i j k = ε h · λ h · d h i j k 1000

2.2.4. Soft Time Windows Model

Compared with the traditional hard time windows, soft time windows have many advantages [34]. For example, if the time window is set as soft, the number of vehicles used and the total mileage of vehicles can be greatly saved; the soft time windows model is more general and contains the requirements of hard time windows, so the algorithm designed for solving soft time window models can be used to solve the problem with hard time windows by appropriately increasing the penalty value when deviating from the time windows. In some cases, there may be no feasible solution according to the requirements of hard time windows, but there is always a feasible solution according to the requirements of soft time windows.
The broken line soft time windows model was proposed by Han et al. [35]. The broken line soft time window adds a period that can be tolerated by customers based on the ordinary soft time window. The penalty cost curve is shown in Figure 2. The period [ E T i , L T i ] is the optimal time window, and no penalty cost is needed to start the service within this period. When the vehicle starts service in [ E E T i , E T i ] or [ L T i , E L T i ] , there is less penalty cost; if the service start time is not within the range of [ E E T i , E L T i ] , a high penalty cost is required. Limits of time points that the customer can tolerate can be determined by   E E T i = E T i θ s i ,   E L T i = L T i + θ s i , where θ is the customer tolerance coefficient and s i is the service time of customer i .
The penalty cost function under the broken line soft time windows is as follows:
P c ( T i k ) = { p 1 ( E E T i T i s ) + p 2 ( E T i E E T i ) , T i s E E T i   p 2 ( E T i T i s ) , E E T i < T i s E T i       0 , E T i < T i s L T i       p 3 ( T i s L T i ) , L T i < T i s E L T i   p 3 ( E L T i L T i ) + p 4 ( T i s E L T i ) , E L T i < T i s
where p 1 , p 2 , p 3 , p 4 are penalty costs per unit of time in the corresponding period, respectively.

2.2.5. Symbol and Variable Definitions

N is the set of all nodes in the distribution network, including the distribution center and all customer points;
N = N \ { 0 } is the set of all customer points;
K is the collection of vehicle serial numbers;
H is the set of all time periods;
D i j denotes the distance between nodes i , j ;
φ is the vehicle unit distance driving cost;
δ is the fixed use cost of the vehicle;
T i k is the time when the vehicle K arrives at the customer i ;
T i s refers to the time when the vehicle starts to serve customer i and the time when the customer receives fresh products;
P c ( T i k ) is the penalty cost function of the time window;
E i j k h is the carbon emission (kg) of vehicle k on the road section ( i , j ) in the period h ;
μ represents unit carbon emission cost (yuan /kg);
ξ 0 j indicates freshness loss coefficient;
p is the price of fresh products (yuan/kg);
q j represents the demand (kg) of customer j ;
Q represents the demand of all customers in the distribution network;
t i j k h represents the time for vehicle k to travel on section ( i , j ) within the period h ;
d i j h represents the distance traveled by vehicle k on the road section ( i , j ) within the time period h ; s i indicates the service duration for customer i .
t i j k represents the total time for vehicle k to travel on section ( i , j ) ;
L i k is the point in time when vehicle k leaves customer i ;
X i j k is a variable of 0–1. X i j k = 1 when the vehicle k travels on the section ( i , j ) , otherwise X i j k = 0 ;
x i j k h is a variable of 0–1. x i j k h = 1 when the vehicle k travels on the road section ( i , j ) within the time period h , otherwise x i j k h = 0 ;
y i k is a variable of 0–1. When vehicle k visits customer i , y i k = 1 ; otherwise, y i k = 0 ;
z k is a 0–1 variable, if vehicle k is used z k = 1 , otherwise z k = 0 .

2.2.6. TDGVRPSTW Model Formulation

The TDGVRPSTW model is built as follows:
m i n C = C 1 + C 2 + C 3
Among them
C 1 = i N j N k K X i j k D i j φ + k K z k δ + i N P c ( T i k )
C 2 = h H i N j N k K x i j k h E i j k h μ
C 3 = k K j N ξ 0 j p q j y j k
Subject to:
i N q i y i k Q , k K
j N X 0 j k 1 , k K
k K y i k = 1 , i N
i N X i j k = j N X i j k , k K
t i j k = h H X i j k t i j k h , i N , j N , k K
D i j = h H d i j k h X i j k , i N , j N , k K
E T 0 X i 0 k ( T i s + s i + t i 0 k ) L T 0 , i N , k K
T i s T i k , i N , k K
L i k = T i s + s i , i N , j N , k K
t 0 i = T i s , i N , k K
j N X 0 j k 1 , k K
x i j k h { 0 , 1 } , X i j k { 0 , 1 } , y i k { 0 , 1 } , z k { 0 , 1 }
Equation (5) of the objective function represents cost minimization, where C 1 represents distribution cost, including vehicle transportation cost, vehicle fixed use cost, and soft time window penalty cost. The time windows penalty cost is defined in Equation (4). C 2 represents the cost of carbon emission and C 3 represents the cost of freshness loss. Carbon emission cost is defined in Equation (3), and freshness loss cost is defined in Section 2.2.2. Equation (6) represents the load limit of each vehicle. Equation (7) indicates that each car can only be used once. Equation (8) indicates that each customer must be served only once. Equation (9) indicates that the number of departing and arriving vehicles at each node should be balanced. Equation (10) represents the relationship between the road section driving time and the vehicle driving time within the time period. Equation (11) represents the relationship between the road section distance and the distance traveled by the vehicle in each period. Equation (12) indicates that vehicles returning to the distribution center should meet the constraints of the distribution center’s working time window. Equation (13) represents the relationship between the start time of service and the arrival time. Equation (14) represents the relationship between the service start time, duration, and departure time. Equation (15) indicates the time when the customer receives the fresh products. Equation (16) indicates that the customer’s demand is less than the vehicle capacity, and there is only one vehicle to serve them. Equation (17) represents the variable value constraint.

3. Variable Neighborhood Adaptive Genetic Algorithm

3.1. Algorithm Model

The adaptive genetic algorithm (AGA), compared with simple genetic algorithm, has the advantages of fast convergence and superior optimization ability. The variable neighborhood descent algorithm (VND) can combine with other heuristic rules for effective local search. Based on the advantages of the two algorithms, a variable neighborhood adaptive genetic algorithm (VNAGA) is designed to solve the TDGVRPSTW model in this paper. The algorithm solving process is shown in Figure 3.

3.2. Initial Population

The chromosomes adopt the form of natural number coding, with the natural numbers from 1 ~ n representing the customer nodes. Each chromosome is an arrangement of natural numbers with equal length. When the chromosome is decoded into vehicle paths, the path segments are divided according to the vehicle load and the latest operation time of the distribution center. In order to ensure the diversity of the population, this paper uses the Clarke–Wright saving algorithm (CW saving algorithm), nearest neighbor insertion method, and random method to generate the initial population. In order to take into account the quality and diversity of chromosomes at the same time, the number of chromosomes generated by different methods is allocated according to the following rules: first, a chromosome is generated by the CW saving algorithm, and the chromosome is copied n o s times into the population, where n o s is a random integer between [ 1 ,   0.5 p o p s i z e ] . Next, the nearest neighbor insertion method is used to generate the number of ( 0.5 p o p s i z e ) n o s   chromosomes and adds them to the population. Finally, the random method generates the number of 0.5 p o p s i z e solutions to complete the initialization of the population. The specific operation steps of each part are as follows.
Firstly, the improved CW saving algorithm [36] is adopted. Since in the estimation function of carbon emissions the deadweight will impact carbon emissions, it is helpful to place the nodes with large demand in the first part of the route to reduce the overall carbon emissions. Accordingly, this paper considers the deadweight based on the traditional saving algorithm, and the formula for calculating the amount of saving is S ( i , j ) = D 0 i + D 0 j D i j + γ ( q i + q j ) , where γ is the load factor. See Figure 4a for the specific steps. The route constraint in the Figure 4 refers to the vehicle load limit and the latest time limit for returning to the distribution center, while the global constraint in the figure refers to the vehicle number limit and node number limit.
The second method to generate the initial population is the nearest neighbor insertion algorithm [37]: the formula for calculating the insertion value is B ( i , j ) = σ 1 D i j + σ 2 ( T j s L i k ) + σ 3 ( L T j T j k ) , where ( T j s L i k ) is the difference between the time when node j starts service and the time when node i completes service and is used to represent the proximity degree of nodes i , j in time. ( L T j T j k ) is the difference between the lower limit of the optimal service time window of node j and the time point of reaching node j , which is used to represent the tension degree of the time window. The weight is σ 1 + σ 2 + σ 3 = 1 , and σ 1 , σ 2 , σ 3 > 0 . See Figure 4b for specific calculation steps.

3.3. Fitness Function

The traditional fitness function is in the form of f n = 1 / c n . When using this form of the fitness function, if the fitness value difference of each chromosome is not obvious, the probability of each chromosome being selected is not different, which may lead to mediocre chromosomes being selected into the next generation and excellent chromosomes being eliminated. In order to reduce this situation as much as possible, this paper adopts the principle of pressure, using f n = α { m a x ( c n ) } c n to express the fitness function, where c n represents the objective function value of the current chromosome, m a x ( c n ) represents the maximum objective function value of the current population, and α is a constant greater than 1. This function can increase the difference between the fitness of each chromosome.

3.4. Genetic Operators

3.4.1. Selection Operator

In this paper, the optimal protection strategy and roulette selection method were used to select chromosomes. The specific steps of the optimal protection strategy were to find out the two chromosomes with the highest fitness and the lowest fitness in the current population; the fitness value of the chromosome with the highest fitness was compared with the highest fitness value of each generation in history. If the current value was high, it was regarded as the best-protected chromosome; otherwise, the best-protected object remained unchanged, and it was still the best one in history. The chromosome with the worst fitness value in the current population was replaced by the one with the best protection. In roulette, the probability of each chromosome being selected is p n = f n / ( n f n ) . The greater the fitness of the chromosome, the more likely it is to be selected for cross-mutation operation.

3.4.2. Crossover Operator

In this paper, we improved the crossover method. Firstly, two crossover gene points ( A and B ) were generated randomly on the paternal chromosomes and divided into two paternal chromosomes in the first segment, middle segment, and the third segment. The middle segment of chromosome A and chromosome B were removed and placed on the first segment of chromosome B 1 and the third segment of chromosome A 1 , respectively. The remaining first and third segments of the parent chromosomes A and B were spliced to the back of the first segment of chromosome B 1 and the front of the third segment of chromosome A 1 , respectively. The genes in the two intersecting segments were kept unchanged in the two offspring chromosomes, and the genes that were duplicated in the intersecting segments in the remaining locations were eliminated. The specific crossover process is shown in Figure 5a. This method integrates the number of iterations, the fitness values of chromosomes and population, and the number of unchanged chromosomes in each generation of population, as shown in Formula (18).
P c = { P c 1 ( P c 1 P c 2 ) ( f l f a v g ) ( f max f a v g ) [ 1 + exp ( g e n × U M × p o p s i z e ) ] , f l f a v g P c 1 [ 1 + exp ( g e n × U M × S ) ] ,                                 f l < f a v g
In this function, p c represents the adaptive crossover probability, p c 1 and p c 2 are adaptive adjustment parameters, p c 1 > p c 2 , f l represents the fitness value of individuals with greater fitness in the chromosomes to be crossed, f a v g represents the average fitness value in each generation of the population, and f m a x represents the maximum fitness value in each generation of the population. g e n represents the current number of iterations, M represents the maximum number of iterations, U represents the number of individuals with unchanged chromosomes, and p o p s i z e represents the population size.

3.4.3. Mutation Operator

In this paper, the mutation method of randomly exchanging gene positions is adopted. The specific steps are as follows: first, select the chromosome to undergo the mutation operation, and randomly select any two gene positions on the chromosome; an entirely new chromosome is created by swapping genes at the location of the two genes. The mutation process is shown in Figure 5b. The adaptive function of mutation probability is shown as follows:
P m = { P m 1 ( P m 1 P m 2 ) ( f max f ) ( f max f a v g ) [ 1 + exp ( g e n × U M × p o p s i z e ) ] , f f a v g P m 1 [ 1 + exp ( g e n × U M × S ) ]                                   , f < f a v g
p m represents adaptive mutation probability, p m 1 and p m 2 are adaptive adjustment parameters, and p m 1 > p m 2 , f is the fitness value of the chromosome to be mutated.

3.5. Variable Neighborhood Descent Operator

The operation objects of variable neighborhood descent are the excellent chromosomes in the population. The chromosomes in the population are sorted in order of fitness from high to low, and the chromosomes ranked in the first half are the excellent chromosomes. In each neighborhood search operator, a node is randomly selected first, and then the distance between this node and all other nodes is calculated. The other nodes are arranged in ascending order to form a list of distance values.

3.5.1. Gene Fragment Inversion Operator

A gene site i was randomly selected on the chromosome. Select a node from the distance value list of node i in order as gene position j ; a gene fragment is formed between i and j (including j but not including   i ) on the chromosome. The gene fragment is taken out, reversed, and inserted back into the original position of the chromosome, so that i and j are adjacent. If fitness is improved, this operation is retained; otherwise, this operation is repeated until better chromosomes are found, or the maximum number of searches is reached, as shown in Figure 6a.

3.5.2. Insertion Operator of Single Gene Location

A gene site i is randomly taken from the chromosome; gene locus j is selected sequentially from the distance value list of gene locus i . The gene locus i is inserted after the gene locus j , so that i is adjacent to j . The fitness value of the inserted chromosome is calculated. If the fitness is improved, the operation is retained; otherwise, the operation is repeated until a better chromosome is found or the maximum number of searches is reached, as shown in Figure 6b.

3.5.3. Insertion Operator of Double Gene Location

Two adjacent nodes in the chromosome are randomly selected, and the node in front is node i . Select node j in the distance value list of node i to insert the two adjacent nodes behind node j , making i and j adjacent. The changes of fitness of chromosomes before and after insertion were compared. If the fitness was improved, the operation was retained; otherwise, the operation was repeated until better chromosomes were found or the maximum search times were reached, as shown in Figure 6c.

4. Computational Experiments and Analyses

4.1. Data and Parameter Setting

This paper used part of the data in the Solomn [37] standard sample data set for experiments. These experiments were implemented using Python3.8 programming. After repeated tests, the setting of the relevant parameters of the algorithm was related to the size of the data set used in the experiment, as follows: p c 1 = 0.7 , p c 2 = 0.5 , p m 1 = 0.01 , p m 2 = 0.008 , maximum iteration number m a x i t = 100 ~ 300 , population p o p s i z e = 100 ~ 200 , maximum field search times S t = 15 ~ 30 . The weights of the nearest neighbor insertion method were set as follows: σ 1 = 0.4 , σ 2 = 0.4 , σ 3 = 0.2 . In order to get close to the real traffic situation, relevant parameters of the time-varying road network were set as follows: the time of 0 in the distribution center is 7:00 a.m., the traffic jam period is 7:30–9:00 and 17:30–19:00, and the speed is 20 km/h. The setting of vehicle speed refers to the research of Xiao et al. [22], with settings as follows: for the time period h , according to the remainder function η = h   m o d   3 , when η is set to (1,2,0), it corresponds to (54,72,42) km/h, respectively, with three time-varying velocities. In the CW saving algorithm, the load factor γ = 1 . Time window-related parameters [35] are: θ = 0.5 , p 1 = 1 , p 2 = 0.5 , p 3 = 1.5 , p 4 = 2 , φ = 8 , δ = 60 . Referring to Xiao et al. [22], the correlation coefficient of carbon emission model is shown below: a 0 = 110 , a 1 = 0 , a 2 = 0 , a 3 = 0.000375 , a 4 = 8702 , a 5 = 0 , a 6 = 0 , b 0 = 1.27 , b 1 = 0.0614 , b 2 = 0 , b 3 = 0.0011 , b 4 = 0.00235 , b 5 = 0 , b 6 = 0 , b 7 = 1.33 . Fresh products price p = 5 yuan /kg, shelf life T = 36 h, regulatory factor r = 0.3 . The unit price of carbon emission is set at μ = 0.0528 yuan /kg according to the trading price of Beijing carbon emission market on 30 April 2021, and all the experiments were repeated ten times to get the best result.

4.2. Algorithm Comparison Experiment in VRPSTW Model

In order to verify the effectiveness of the proposed algorithm in the broken line soft time window model, the R101 data set was used in this experiment. One distribution center and the first 25 customers were selected from the data set for validation. The maximum number of vehicles is 25, and the vehicle load capacity is 200 units. As there is minimal literature on vehicle routing problems with broken line soft time window under time-varying road network conditions, there are no studies that can be directly compared; this experiment refers to the broken line soft time windows model of Han et al. [35] to verify and analyze the algorithm. Aiming to minimize the total cost of transportation and distribution, Han et al. [35] constructed a general mathematical model for VRP with flexible time windows. Meanwhile, a commonality hyper-heuristic genetic algorithm was presented. The algorithm uses genetic algorithm as the upper search algorithm and three heuristic algorithms as the underlying search rules, and optimizes the algorithm by pre-sorting, local search, and global optimization. The difference between this model and this paper is that the vehicle speed is fixed, and the objective function only includes the C 1 part of the objective function in this paper. Therefore, to make a comparison, the distance and time between different nodes are set in this experiment to be converted into the same unit, which is consistent with the literature and has the same objective function. The other parameters remain the same.
The comparison between the optimal solution obtained by the algorithm and the reference literature is shown in Table 1, where TC represents the total cost (unit: yuan), IT represents number of iterations, VN represents the number of vehicles, VR represents vehicle route, LR represents vehicle loading rate, and RT represents return time.
As shown in Table 1, the optimal solution of the objective function obtained by the variable neighborhood adaptive genetic algorithm in this paper was 4627.1, which was 2.95% lower than the reference. The number of iterations to reach the optimal solution was 14 generations, which was greatly reduced by 63.2%. The number of vehicles was four, which was the same as the reference. The return time of each vehicle was within the time window of the distribution center and did not violate the constraints of the time window. The optimal vehicle roadmap is shown in Figure 7. It can be seen that the variable neighborhood adaptive genetic algorithm proposed in this paper can better solve the vehicle path model with soft time windows, and the convergence speed is faster. The variable neighborhood adaptive genetic algorithm proposed in this paper was better than the hyper-heuristic genetic algorithm.

4.3. Algorithm Comparison Experiment in TDGVRPSTW Model

In order to evaluate the efficiency of the proposed approach in the TDGVRPSTW model, two GA-based algorithms are used for comparison. There are many variants of GA for GVRP model [38], among which adaptive genetic algorithm (AGA) and hybrid genetic algorithm (HGA) are commonly used [39]. AGA and HGA are coded as follows:
  • The initial population of both algorithms is generated by random method.
  • The adaptive function, crossover operator, and mutation operator in AGA are consistent with those described in Section 3.4.
  • HGA is composed of GA and local search, which are called sequentially.
  • The exchange method of local search is to exchange the path fragments of any two individuals in the population [40].
Table 2 lists the results obtained by the three algorithms. Each data set contains data for one distribution center and 25 customers, with a maximum of 25 vehicles. The total cost (TC) in this experiment refers to the objective function of this model: Equation (5). VNAGA is the variable neighborhood adaptive genetic algorithm, which is the proposed approach in this paper. Gap_a% and Gap_h%, respectively, represent the optimized percentage of TC values of AGA and HGA, for example, G a p _ a % = ( A G A T C V N A G A T C ) / V N A G A T C × 100 % .
As shown in Table 2, the average optimization percentage of TC value of the proposed approach compared with AGA and HGA is 2.09% and 1.42%, respectively. For the selected 12 data sets, the TC values of the proposed approach were superior to AGA and HGA, and the proposed approach had a greater advantage over AGA than HGA. For C-type data sets and RC data sets, the proposed approach has a relatively large advantage over the two algorithms, while for R-type data sets, the proposed approach does not have a large advantage. This shows that the proposed approach can obtain good optimal solutions for centrally distributed customers and mixed customers, while the proposed scheme has no obvious advantages for uniformly distributed customers. The IT value of the proposed approach is better than that of the other two algorithms, and the advantages of the proposed approach compared with AGA are greater than those of HGA. For the selected 12 data sets, the IT values of the proposed approach are all better than the corresponding values of AGA, and most of the IT values of the proposed approach are better than the corresponding values of HGA. Moreover, according to the average results of TC and IT, the proposed method is superior to HGA, and HGA is superior to AGA. It is noted that both the proposed method and HGA search for a better solution by changing the neighborhood structure of the solution. The difference is that the proposed method includes multiple different domain structures while HGA only contains one neighborhood structure. The diversity of solution space of the proposed method is better than that of HGA. This proves that the systematic change of neighborhood structure proposed in the literature [26] can improve the search efficiency of the solution space.
To sum up, in the TDGVRPSTW model, the approach proposed in this paper can obtain better solutions than AGA and HGA for all types of data, with fewer iterations. The different distribution of customers will also affect the result and efficiency of the solution. The proposed approach is more suitable for clients with C-type and RC-type distribution. The proposed approach is better and more efficient than the other two algorithms. The diversity of neighborhood structure also improves the optimization performance of the algorithm.

4.4. Experiments with Different Optimization Objectives

The method presented in this paper was applied to three models with different optimization objectives, namely, minimum total cost, minimum carbon emission, and minimum freshness loss, and other conditions of the model remained unchanged. Twelve calculation examples with 25 customer sizes were selected from the example database for testing. The experimental results are shown in Table 3, where TC represents the total cost (unit: yuan), CE represents the cost of carbon emission (unit: yuan), and FL represents the cost of freshness loss (unit: yuan).
It can be seen from Table 3 from both the cost value and the proportion of each cost in the total cost, the method in this paper can get better results when faced with different optimization objectives. First, a longitudinal comparison was made: (1) compared with other types of data, the proportion of carbon emissions in the total cost of C type data was lower; (2) compared with other types of data, the proportion of freshness loss in the total cost of R type data was lower than others; (3) when the optimization objective is the total cost or carbon emission, carbon emission cost was the lowest among all costs. For horizontal comparison: (1) the TC value of total cost minimization was compared with the TC value of carbon emission minimization, and the average reduction was 29.5%, among which the C-type data had the largest reduction. Compared with the TC value that minimizes the total cost and the TC value that minimizes the loss of freshness, the average reduction was 54.2%, and each type of data had a significant reduction. (2) Compared with the CE value of the total cost minimization, the CE value of the carbon emission minimization reduced by 7.3% on average. However, the CE value of the carbon emission minimization reduced by 61.6% on average, compared with the CE value of the freshness loss minimization. (3) Compared with the FL value with the minimum total cost, the FL value with the minimum freshness loss decreased by an average of 11%, and the FL value with the minimum freshness loss decreased by an average of 17.1% compared with the FL value with the minimum carbon emission.
According to the experimental results in the literature [6], the geographical distribution of customers has a significant impact on delivery cost, while the relationship between vehicle speed and delivery cost is not significant. On this basis, the experiment further concludes that the geographical distribution of customers will significantly affect the proportion of each cost in the total cost. Therefore, when choosing optimization objectives, enterprises need to make decisions according to the types of customer distribution and actual needs. Taking the lowest carbon emission and the lowest freshness loss as the optimization objective cannot minimize the total cost, but choosing the minimum total cost as the optimization objective can minimize the overall cost. At the same time, for each item cost, taking the total cost as the optimization goal can reduce the maximum cost compared with other optimization targets. The above analysis can show that the method in this paper is effective and that the selection of optimization objectives is reasonable.

4.5. Experiments of Different Regulatory Factors

In the freshness loss coefficient function, the time-sensitive regulating factor r corresponds to the perishability of different fresh products. In order to test the impact of different values of r on the cost and distribution plan, the data of the first 50 customers in the R202 data set was used in this experiment. The value of r is between 0.1 and 0.9, and the step size of the value is 0.1. The experimental results are shown in Table 4 and Table 5. DT represents the departure time of the vehicle from the distribution center, and RT represents the return time of the vehicle to the distribution center.
It can be seen from Table 4, Figure 8, and Table 5 that: (1) with the increase of r value, the total cost, freshness loss cost, and the proportion of freshness loss in the total cost all decreased to different degrees. Compared with the maximum value, the lowest value of total cost decreased by 33.6%, the lowest value of freshness loss cost decreased by 72.4%, and the proportion of freshness loss decreased by 58.5%. This indicates that freshness loss on the total cost will gradually decrease with the decrease of the time-sensitivity of fresh products. (2) It can also be concluded from the degree of inclination of the curve that when the value of r is small, the cost decreases greatly with each 0.1-point increase in the value of r; when the value of r is large, the cost decreases slightly with each 0.1-point increase in the value of r. (3) According to the distribution plans corresponding to different r values, although the number of vehicles in each distribution plan is equal, the distribution vehicle paths will be significantly different. When r = 0.9 , the delivery route of the first car is the longest among all the distribution plans, and the number of customers to be delivered reaches 26. The delivery route of the third car is the shortest among all the distribution plans, with only nine customers. The reason for this significant difference is that each customer has a different optimal service time window. In order to reduce the penalty cost of the time window, vehicles need to try to reach the customer within the optimal service time. (4) From the departure and return time, it can be seen that the vehicle departure time from the distribution center is not limited to 0. However, the best departure time point is selected according to the customer time window and time-varying road network conditions. The vehicle return time also meets the time window requirements of the distribution center. Based on the above analysis, it can be seen that enterprises should consider the sensitivity of different kinds of fresh products to time, the best service time of customers, and time-varying road network conditions for scientific and reasonable arrangement when distributing fresh products to realize the lowest total cost.

4.6. Experiments to Analyze the Relationship among Distribution Cost, Carbon Emission Cost, and Freshness Loss

In order to analyze the relationship among distribution cost, carbon emission cost, and freshness loss, these three costs were assigned weight ω 1 , ω 2 and ω 3 , respectively, where ω 1 + ω 2 + ω 3 = 1 , 0 < ω 1 < 1 , 0 < ω 2 < 1 , 0 < ω 3 < 1 , and the weight step is 0.1. In order to emphasize the importance of carbon emission and ensure that the weight of distribution cost and freshness loss is not 0, let 0.5 ω 2 < 0.9 . The first 50 customer data points from the R202 dataset were selected for the experiment. The experimental results are shown in Table 6. DC represents distribution cost and WV represents weighted objective function value. All costs units are yuan.
The following conclusions can be drawn from the data in Table 6: (1) in the total cost, the cost of each item in descending order is distribution cost > freshness loss > carbon emission cost. The proportion of distribution cost to total cost is 68.2% at the lowest and 69.9% at the highest. When ω 1 = 0.4 , ω 2 = 0.5 , ω 3 = 0.1 , the distribution cost is the lowest, and the total cost is also the lowest. This shows the importance of distribution cost to total cost—only by reducing distribution cost can the total cost be significantly reduced. The proportion of carbon emission cost in the total cost ranges from 9.7% to 10.6%, and this ratio is the lowest among all costs; the current carbon trading price hardly encourages enterprises to reduce emissions. (2) When the weight coefficient of a kind of cost increases, its corresponding itemized cost will decrease. With the increase of ω 2 , the cost of carbon emission gradually decreases, but the total cost gradually increases. In contrast, with the increase of ω 1 or ω 3 , the total cost gradually decreases. This shows that if enterprises attach importance to reducing carbon emissions, the total cost will increase and the burden of enterprises will be increased. If the enterprise pays more attention to reduce distribution costs or freshness loss, the total cost will be reduced.

5. Discussion

According to the above experimental results and the verification of previous studies, the most valuable findings are discussed below.
  • According to previous studies, soft time windows have many advantages over traditional hard time windows [34]. The penalty cost setting of broken line soft time windows is closer to the actual feeling of customers [18]. This paper further verifies that the proposed approach can obtain better solutions and is more efficient compared with the hyper-heuristic genetic algorithm through the comparison experiment of the broken line soft time windows model. The proposed approach is more suitable for the broken line soft time windows model.
  • In the TDGVRPSTW model, the optimal solution found by the proposed approach was better than AGA and HGA, and the number of iterations was less, so the proposed approach is more efficient in optimizing. The literature [26] has proved that a systematic change of neighborhood structure can optimize the search of the solution space. This paper experiments with the sorting of the optimal solutions of three algorithms and shows that the diversity of neighborhood structure is very important for search results and efficiency, and the more diverse the neighborhood structure, the better the results and efficiency.
  • According to previous studies [6], the geographical distribution of customers will have a great impact on the distribution cost. Through experiments on standard data sets, this paper further found that the geographical distribution of customers will affect the proportion of each part of the total cost. Enterprises can design different optimization objective functions according to different geographical distribution types of customers.
  • Experimental results of different regulatory factors show that the difference in time sensitivity of fresh agricultural products has a great impact on the total cost and distribution plan. With the reduction of time sensitivity of fresh agricultural products, the total cost will be greatly reduced, and the proportion of fresh loss cost to total cost will also be greatly reduced.
  • The experiments on the relationship between itemized costs show that carbon emission costs account for the lowest proportion of total costs. Assign weight to each itemized cost. If the weight of carbon emission cost increases, the cost of carbon emission will decrease while the total cost will increase. If the weight of distribution cost and freshness loss cost increases, the total cost decreases. That is, when companies focus on reducing carbon emissions, the total cost increases.
  • In this paper, standard calculation examples were used for the experiment. The standard calculation examples lack road slope data, which have an impact on the carbon emissions of vehicles. Future studies can be conducted on the basis of real cases with road slope, and more accurate conclusions on carbon emissions will be drawn.

6. Conclusions

In order to reduce carbon emissions and reduce the total cost of fresh product distribution, this paper constructed the TDGVRPSTW model and designed the variable neighborhood adaptive genetic algorithm to solve the problem. The experimental results which were constructed based on the standard example show that the proposed approach has a faster convergence speed and better optimization ability than the comparison method. Through experiments, this paper found that the geographical distribution of customers will affect the proportion of each part in the total cost. The experiment also explores the influence of the time-sensitive adjustment factor in the freshness loss coefficient function on delivery planning. The last experiment explored the relationship between different costs in the total cost.
Based on the experimental findings in this paper, the following recommendations are put forward.
  • In practice, the enterprise should rationally choose the optimization goal and arrange the vehicle distribution plan according to the distribution law of customers, the time-sensitivity of fresh products, the customer time window, and the time-varying road network conditions.
  • Before making a distribution plan, enterprises should have a reasonable estimate of the time sensitivity of fresh agricultural products to be distributed. When agricultural products are time-sensitive, freshness loss has a great impact on the total cost, and enterprises should pay attention to reducing freshness loss. When agricultural products are time-insensitive, freshness loss has little impact on the total cost, and enterprises can give priority to other cost indicators, such as carbon emissions.
  • The proportion of carbon emission cost in the total cost is relatively low, so the carbon trading price can be appropriately raised to attract enterprises to pay attention to the reducing of carbon emission.
  • The preference of enterprises for different optimization objectives in the total cost will significantly affect the total cost, so the weight should be allocated according to the actual situation to achieve the purpose of enterprises.
This paper is only an exploratory study on the time-dependent green vehicle routing problem with soft time window constraints. The following cases are worthy of further study.
  • The research in this paper is based on the same fresh agricultural products transported by all vehicles, but in reality, the fresh agricultural products transported by each vehicle may be different, and a variety of fresh agricultural products may be mixed in one vehicle. In these cases, the relationship between freshness loss and total cost, as well as the influence of time sensitivity of agricultural products on distribution plan, need to be further explored.
  • Furthermore, consider the situation of customer orders. A customer’s order may contain a variety of fresh agricultural products, and the splitting and merging of customer orders will make transportation more efficient and should be considered, as well as how to do the splitting and merging of orders. These problems require further study.
  • The study in this paper is based on a static scenario, and a study of the dynamic scenario of TDGVRPSTW has not been carried out. The design of research methods in dynamic situations can become the direction of future research.

Author Contributions

D.W.: Conceptualization, Funding acquisition, Supervision, Methodology & Writing—original draft. C.W.: Formal analysis, Validation, Resources, Software & editing. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the China Education Ministry of Humanities and Social Science Research Youth Fund project (No. 18YJCZH192), the Applied Undergraduate Pilot Project for Logistics Management of Shanghai Ocean University (No. B1-5002-18-0000), the Open Project Program of Artificial Intelligence Key Laboratory of Sichuan province (No. 2015RYJ01), and the Social Science Project in Hunan province (No.16YBA316).

Data Availability Statement

All experimental data in this paper come from: https://people.idsia.ch//~luca/macs-vrptw/problems/welcome.htm (accessed on 2 September 2021).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lin, C.; Choy, K.; Ho, G.; Chung, S.; Lam, H. Survey of Green Vehicle Routing Problem: Past and future trends. Expert Syst. Appl. 2014, 41, 1118–1138. [Google Scholar] [CrossRef]
  2. Bektaş, T.; Laporte, G. The Pollution-Routing Problem. Transp. Res. Part B Methodol. 2011, 45, 1232–1250. [Google Scholar] [CrossRef]
  3. Erdoğan, S.; Miller-Hooks, E. A Green Vehicle Routing Problem. Transp. Res. Part E Logist. Transp. Rev. 2012, 48, 100–114. [Google Scholar] [CrossRef]
  4. Chang, D.J.; Morlok, E.K. Vehicle Speed Profiles to Minimize Work and Fuel Consumption. J. Transp. Eng. 2005, 131, 173–182. [Google Scholar] [CrossRef]
  5. Suzuki, Y. A dual-objective metaheuristic approach to solve practical pollution routing problem. Int. J. Prod. Econ. 2016, 176, 143–153. [Google Scholar] [CrossRef]
  6. Li, J.; Wang, R.; Li, T.; Lu, Z.; Pardalos, P.M. Benefit analysis of shared depot resources for multi-depot vehicle routing problem with fuel consumption. Transp. Res. Part D Transp. Environ. 2018, 59, 417–432. [Google Scholar] [CrossRef]
  7. Alinaghian, M.; Naderipour, M. A novel comprehensive macroscopic model for time-dependent vehicle routing problem with multi-alternative graph to reduce fuel consumption: A case study. Comput. Ind. Eng. 2016, 99, 210–222. [Google Scholar] [CrossRef]
  8. Manerba, D.; Mansini, R.; Zanotti, R. Attended Home Delivery: Reducing last-mile environmental impact by changing customer habits. IFAC-PapersOnLine 2018, 51, 55–60. [Google Scholar] [CrossRef]
  9. Yu, Y.; Wang, S.; Wang, J.; Huang, M. A branch-and-price algorithm for the heterogeneous fleet green vehicle routing problem with time windows. Transp. Res. Part B Methodol. 2019, 122, 511–527. [Google Scholar] [CrossRef]
  10. Ehmke, J.F.; Campbell, A.; Thomas, B.W. Vehicle routing to minimize time-dependent emissions in urban areas. Eur. J. Oper. Res. 2016, 251, 478–494. [Google Scholar] [CrossRef]
  11. Micale, R.; Marannano, G.; Giallanza, A.; Miglietta, P.; Agnusdei, G.; La Scalia, G. Sustainable vehicle routing based on firefly algorithm and TOPSIS methodology. Sustain. Future 2019, 1, 100001. [Google Scholar] [CrossRef]
  12. Fukasawa, R.; He, Q.; Song, Y. A disjunctive convex programming approach to the pollution-routing problem. Transp. Res. Part B Methodol. 2016, 94, 61–79. [Google Scholar] [CrossRef]
  13. Soysal, M.; Çimen, M.; Demir, E. On the mathematical modeling of green one-to-one pickup and delivery problem with road segmentation. J. Clean. Prod. 2018, 174, 1664–1678. [Google Scholar] [CrossRef] [Green Version]
  14. Giallanza, A.; Puma, G.L. Fuzzy green vehicle routing problem for designing a three echelons supply chain. J. Clean. Prod. 2020, 259, 120774. [Google Scholar] [CrossRef]
  15. Zulvia, F.E.; Kuo, R.; Nugroho, D.Y. A many-objective gradient evolution algorithm for solving a green vehicle routing problem with time windows and time dependency for perishable products. J. Clean. Prod. 2020, 242, 118428. [Google Scholar] [CrossRef]
  16. Bravo, M.; Rojas, L.P.; Parada, V. An evolutionary algorithm for the multi-objective pick-up and delivery pollution-routing problem. Int. Trans. Oper. Res. 2017, 26, 302–317. [Google Scholar] [CrossRef]
  17. Wu, D.; Liu, Y.; Zhou, K.; Li, K.; Li, J. A multi-objective particle swarm optimization algorithm based on human social behavior for environmental economics dispatch problems. Environ. Eng. Manag. J. 2019, 18, 1599–1607. [Google Scholar] [CrossRef]
  18. Wu, D.Q.; Dong, M.; Li, H.Y. Vehicle Routing Problem with Time Windows Using Multi-Objective Co-Evolutionary Approach. Int. J. Simul. Model. 2016, 15, 742–753. [Google Scholar] [CrossRef]
  19. Wu, D.; Huo, J.; Zhang, G.; Zhang, W. Minimization of Logistics Cost and Carbon Emissions Based on Quantum Particle Swarm Optimization. Sustainability 2018, 10, 3791. [Google Scholar] [CrossRef] [Green Version]
  20. Muñoz-Villamizar, A.; Velázquez-Martínez, J.C.; Mejía-Argueta, C.; Gámez-Pérez, K. The impact of shipment consolidation strategies for green home delivery: A case study in a Mexican retail company. Int. J. Prod. Res. 2021, 1–18. [Google Scholar] [CrossRef]
  21. Liu, C.; Kou, G.; Zhou, X.; Peng, Y.; Sheng, H.; Alsaadi, F.E. Time-dependent vehicle routing problem with time windows of city logistics with a congestion avoidance approach. Knowl.-Based Syst. 2020, 188, 104813. [Google Scholar] [CrossRef]
  22. Xiao, Y.; Konak, A. The heterogeneous green vehicle routing and scheduling problem with time-varying traffic congestion. Transp. Res. Part E Logist. Transp. Rev. 2016, 88, 146–166. [Google Scholar] [CrossRef]
  23. Li, H.; Zhang, L.; Lv, T.; Chang, X. The two-echelon time-constrained vehicle routing problem in linehaul-delivery systems. Transp. Res. Part B Methodol. 2016, 94, 231–245. [Google Scholar] [CrossRef]
  24. Wang, Y.; Assogba, K.; Fan, J.; Xu, M.; Liu, Y.; Wang, H. Multi-depot green vehicle routing problem with shared transportation resource: Integration of time-dependent speed and piecewise penalty cost. J. Clean. Prod. 2019, 232, 12–29. [Google Scholar] [CrossRef]
  25. Franceschetti, A.; Demir, E.; Honhon, D.; Van Woensel, T.; Laporte, G.; Stobbe, M. A metaheuristic for the time-dependent pollution-routing problem. Eur. J. Oper. Res. 2017, 259, 972–991. [Google Scholar] [CrossRef] [Green Version]
  26. Sadati, M.E.H.; Çatay, B. A hybrid variable neighborhood search approach for the multi-depot green vehicle routing problem. Transp. Res. Part E Logist. Transp. Rev. 2021, 149, 102293. [Google Scholar] [CrossRef]
  27. Deng, W.; Xu, J.; Zhao, H.; Song, Y. A Novel Gate Resource Allocation Method Using Improved PSO-Based QEA. IEEE Trans. Intell. Transp. Syst. 2020, 1–9. [Google Scholar] [CrossRef]
  28. Deng, W.; Xu, J.; Gao, X.-Z.; Zhao, H. An Enhanced MSIQDE Algorithm With Novel Multiple Strategies for Global Optimization Problems. IEEE Trans. Syst. Man Cybern. Syst. 2020, 1–10. [Google Scholar] [CrossRef]
  29. Deng, W.; Shang, S.; Cai, X.; Zhao, H.; Zhou, Y.; Chen, H.; Deng, W. Quantum differential evolution with cooperative coevolution framework and hybrid mutation strategy for large scale optimization. Knowl.-Based Syst. 2021, 224, 107080. [Google Scholar] [CrossRef]
  30. Rahbari, A.; Nasiri, M.M.; Werner, F.; Musavi, M.; Jolai, F. The vehicle routing and scheduling problem with cross-docking for perishable products under uncertainty: Two robust bi-objective models. Appl. Math. Model. 2019, 70, 605–625. [Google Scholar] [CrossRef]
  31. Alkaabneh, F.; Diabat, A.; Gao, H.O. Benders decomposition for the inventory vehicle routing problem with perishable products and environmental costs. Comput. Oper. Res. 2020, 113, 104751. [Google Scholar] [CrossRef]
  32. Shao, J.; Cao, Q.; Shen, M.; Sun, Y. Research on Multi-objective Optimization for Fresh products VRP Problem. Ind. Eng. Manag. Syst. 2015, 20, 122–127+134. [Google Scholar]
  33. Zhou, X.C.; Zhou, K.J.; Wang, L.; Liu, C.S.; Huang, X.B. Review of green vehicle routing model and its algorithm in logistics distribution. Syst. Eng. Theory Pract. 2021, 41, 213–230. [Google Scholar]
  34. Fu, Z.; Eglese, R.W.; Li, L. A unified tabu search algorithm for vehicle routing problems with soft time windows. J. Oper. Res. Soc. 2008, 59, 663–673. [Google Scholar] [CrossRef] [Green Version]
  35. Han, Y.J.; Peng, Y.F.; Wei, H.; Shi, B.L. Hyper-heuristic genetic algorithm for vehicle routing problem with soft time windows. Comput. Integr. Manuf. Syst. 2019, 25, 2571–2579. [Google Scholar]
  36. Pamosoaji, A.K.; Dewa, P.K.; Krisnanta, J.V. Proposed Modified Clarke-Wright Saving Algorithm for Capacitated Vehicle Routing Problem. J. Ind. Eng. Manag. 2019, 1, 9–15. [Google Scholar] [CrossRef]
  37. Solomon, M.M. Algorithms for the Vehicle Routing and Scheduling Problems with Time Window Constraints. Oper. Res. 1987, 35, 254–265. [Google Scholar] [CrossRef] [Green Version]
  38. Vidal, T.; Crainic, T.G.; Gendreau, M.; Prins, C. Heuristics for multi-attribute vehicle routing problems: A survey and synthesis. Eur. J. Oper. Res. 2013, 231, 1–21. [Google Scholar] [CrossRef]
  39. Liu, Z.; Chen, Y.; Li, J.; Zhang, D. Spatiotemporal-Dependent Vehicle Routing Problem Considering Carbon Emissions. Discret. Dyn. Nat. Soc. 2021, 2021, 9729784. [Google Scholar] [CrossRef]
  40. Ghannadpour, S.F.; Zarrabi, A. Multi-objective heterogeneous vehicle routing and scheduling problem with energy minimizing. Swarm Evol. Comput. 2019, 44, 728–747. [Google Scholar] [CrossRef]
Figure 2. Penalty cost curve under the broken line soft time window.
Figure 2. Penalty cost curve under the broken line soft time window.
Applsci 11 10579 g002
Figure 3. Algorithm flow chart.
Figure 3. Algorithm flow chart.
Applsci 11 10579 g003
Figure 4. Flowchart of the saving algorithm and nearest neighbor insertion algorithm. (a) The flowchart of improved CW saving algorithm; (b) the flowchart of nearest neighbor insertion algorithm.
Figure 4. Flowchart of the saving algorithm and nearest neighbor insertion algorithm. (a) The flowchart of improved CW saving algorithm; (b) the flowchart of nearest neighbor insertion algorithm.
Applsci 11 10579 g004
Figure 5. Crossover mutation diagram. (a) An example of a crossover process; (b) an example of a mutation process.
Figure 5. Crossover mutation diagram. (a) An example of a crossover process; (b) an example of a mutation process.
Applsci 11 10579 g005
Figure 6. Variable neighborhood descent operator. (a) An example of gene fragment inversion process; (b) an example of single locus insertion process; (c) an example of double locus insertion process.
Figure 6. Variable neighborhood descent operator. (a) An example of gene fragment inversion process; (b) an example of single locus insertion process; (c) an example of double locus insertion process.
Applsci 11 10579 g006
Figure 7. Optimal distribution roadmap in the comparison experiment.
Figure 7. Optimal distribution roadmap in the comparison experiment.
Applsci 11 10579 g007
Figure 8. Adjustment factor and cost curve.
Figure 8. Adjustment factor and cost curve.
Applsci 11 10579 g008
Table 1. Comparison of experimental results in VRPSTW model.
Table 1. Comparison of experimental results in VRPSTW model.
Variable Neighborhood Adaptive Genetic AlgorithmHyper-Heuristic Genetic Algorithm
TCITVNVRLR/%RTTCITVNVRLR/%RT
4627.11440-11-19-7-10-20-9-1-042.5229.414763.83840-5-16-6-18-8-17-13-047.0220.25
0-14-15-2-22-23-25-4-053.5223.00-14-15-2-22-23-4-25-053.5212.74
0-21-12-3-24-023.0190.00-21-12-3-24-1-028.0221.02
0-5-16-6-18-8-17-13-047.0221.260-11-19-7-10-20-9-037.5218.40
Table 2. Comparison of experimental results in TDGVRPSTW model.
Table 2. Comparison of experimental results in TDGVRPSTW model.
Data setVNAGAAGAHGAGap_a%Gap_h%
TCITTCITTCIT
C1023534.94343607.76 46 3586.20412.061.45
C1043333.77223397.78 35 3371.44231.921.13
C1064291.84184540.34 42 4427.89165.793.17
C2044097.12324180.29 59 4187.67282.032.21
R1035520.32655616.37 71 5623.00891.741.86
R1095880.64305968.69 52 5921.22241.500.69
R1115423.99515473.31 95 5473.84530.910.92
R2044632.26364648.47 34 4640.60470.350.18
RC1034901.52275091.85 45 5012.69203.882.27
RC1044303.35534370.36 64 4351.55661.561.12
RC1074275.99244360.23 58 4307.63311.970.74
RC2084340.03364400.36 47 4398.62391.391.35
Average4544.65364637.98 54 4608.53402.091.42
Table 3. Comparison of experimental results of different optimization objectives.
Table 3. Comparison of experimental results of different optimization objectives.
Data SetMinimize Total CostMinimize Carbon EmissionsMinimize Freshness Loss
TCCECE/TCFLFL/TCTCCECE/TCFLFL/TCTCCECE/TCFLFL/TC
C1023534.94284.018.03%1346.9338.10%10,604.01249.352.35%1373.3112.95%10,044.25617.346.15%1218.0512.13%
C1043333.77259.517.78%1315.6939.47%6547.7247.363.78%1488.222.73%5543.9514.499.28%1153.9420.81%
C1064291.84358.658.36%1341.431.25%9387.17250.832.67%1442.7115.37%6407.58496.97.75%1303.5320.34%
C2044097.12287.827.02%1951.847.64%6479.35268.394.14%2043.8131.54%13,985.59666.464.77%1642.8411.75%
R1035520.32586.0510.62%651.1811.80%5549.46585.2910.55%662.8811.94%9361.531198.1612.80%570.786.10%
R1095880.64694.0311.80%659.6611.22%6129.95642.7210.48%698.9911.40%10,083.331342.9213.32%593.035.88%
R1115423.99644.5711.88%673.6912.42%5977.12641.7610.74%668.0711.18%10,953.241435.9413.11%580.65.30%
R2044632.26487.5510.53%924.2219.95%5385.83428.657.96%1066.7719.81%6476.78764.2511.80%798.2412.32%
RC1034901.52509.0510.39%1124.4122.94%5265.35507.219.63%1151.6221.87%13,142.211721.6313.10%1003.827.64%
RC1044303.35425.439.89%1069.9924.86%4442.85420.979.48%1108.224.94%11,768.281534.6913.04%971.718.26%
RC1074275.99430.9110.08%1085.9925.40%4298.93421.159.80%1121.8626.10%13,065.521723.613.19%982.17.52%
RC2084340.03384.518.86%1536.2535.40%7334.66298.594.07%1856.0725.31%8149.18914.8411.23%1359.8116.69%
Average4544.65446.019.81%1140.1025.09%6450.20413.526.41%1223.5418.97%9915.121077.6010.87%1014.8710.24%
Table 4. The impact of different regulatory factors on cost.
Table 4. The impact of different regulatory factors on cost.
rTCFLFL/TC
0.112,573.783030.280.241
0.211,143.332529.540.227
0.310,339.71985.220.192
0.49752.061833.390.188
0.59375.411546.940.165
0.69107.991256.900.138
0.78928.381053.550.118
0.88840.07919.370.104
0.98834.48865.780.098
Table 5. The influence of different regulatory factors on the distribution plan.
Table 5. The influence of different regulatory factors on the distribution plan.
rVRDTRT
0.10-45-47-36-11-19-16-44-38-40-9-20-10-32-35-34-3-12-5-48-7-00937.35
0-15-42-14-37-31-30-1-6-18-8-46-17-49-21-4-25-24-26-0141.55971.23
0-27-28-50-33-29-39-23-22-41-43-2-13-089730.35
0.20-42-14-45-5-6-18-8-46-49-10-32-20-9-35-24-25-4-43-00937.16
0-33-29-39-23-15-38-44-16-17-37-13-2-21-26-12-3-34-50-1-09.16990.13
0-28-27-7-48-47-36-19-11-30-31-40-22-41-095.03464.66
0.30-5-45-48-47-36-19-11-7-18-8-46-49-10-32-20-35-34-24-12-17-31-00952.44
0-37-42-14-44-16-38-15-41-22-40-6-13-4-25-43-2-00936.57
0-33-50-27-28-26-21-23-39-29-3-30-9-1-09.16456.48
0.40-28-27-45-36-47-48-19-11-30-31-7-18-6-40-50-9-20-32-35-34-3-24-12-17-5-095.03941.92
0-33-29-39-23-22-41-43-4-25-21-13-2-26-09.16937.57
0-37-42-15-14-38-44-16-8-46-49-10-1-00648.39
0.50-31-7-47-36-19-11-30-9-35-34-20-32-48-17-5-37-13-00943.74
0-45-27-28-50-33-29-39-23-41-22-40-2-43-21-4-25-24-3-12-26-00932.79
0-14-42-15-38-44-16-6-18-8-46-49-10-1-00638.53
0.60-27-28-50-33-29-39-23-41-22-40-21-4-25-24-12-26-2-089943.97
0-45-36-47-48-7-31-30-11-19-49-46-10-32-20-9-35-34-3-17-1-00940.84
0-42-15-14-38-44-16-5-8-18-6-37-43-13-00728.44
0.70-5-45-48-47-36-19-11-31-30-9-20-10-32-35-34-3-26-24-21-12-00939.08
0-15-42-14-38-44-16-6-18-8-7-49-46-17-37-43-13-4-25-2-0141.55948.67
0-1-27-28-50-33-29-39-23-41-22-40-00458.85
0.80-27-28-42-15-14-38-44-16-5-6-18-8-46-49-10-32-20-1-50-26-2-13-37-17-089923.48
0-23-39-29-33-12-40-21-22-41-43-4-25-24-34-3-0166.79940.08
0-45-48-47-36-11-19-7-31-30-9-35-00755.60
0.90-28-3-33-29-39-23-40-6-18-8-46-49-7-31-10-32-20-35-13-5-17-37-2-21-26-12-095.03999.46
0-27-42-14-16-38-44-15-41-22-43-4-25-24-34-1-089942.22
0-45-36-47-48-19-11-30-9-50-00459.99
Table 6. Experimental results of different weight combination of distribution cost, carbon emission cost, and freshness loss.
Table 6. Experimental results of different weight combination of distribution cost, carbon emission cost, and freshness loss.
ω 1 ω 2 ω 3 DCCEFLTCWV
0.10.50.47188.211053.292058.8310,300.332069
0.10.60.37206.431034.512070.5710,311.511962.52
0.10.70.27213.841012.652100.6110,327.11850.36
0.10.80.17194.61998.272141.1510,334.031732.19
0.20.50.37100.591061.712079.8710,242.172574.93
0.20.60.27092.371048.932107.2810,248.582469.29
0.20.70.17095.681019.112142.7810,257.572346.79
0.30.50.26964.81073.492079.8710,118.163042.16
0.30.60.16985.661034.512129.8110,149.982929.39
0.40.50.16767.451030.932115.129913.53433.96
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wu, D.; Wu, C. TDGVRPSTW of Fresh Agricultural Products Distribution: Considering Both Economic Cost and Environmental Cost. Appl. Sci. 2021, 11, 10579. https://doi.org/10.3390/app112210579

AMA Style

Wu D, Wu C. TDGVRPSTW of Fresh Agricultural Products Distribution: Considering Both Economic Cost and Environmental Cost. Applied Sciences. 2021; 11(22):10579. https://doi.org/10.3390/app112210579

Chicago/Turabian Style

Wu, Daqing, and Chenxiang Wu. 2021. "TDGVRPSTW of Fresh Agricultural Products Distribution: Considering Both Economic Cost and Environmental Cost" Applied Sciences 11, no. 22: 10579. https://doi.org/10.3390/app112210579

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