Next Article in Journal
Intrusion Detection Based on Adaptive Sample Distribution Dual-Experience Replay Reinforcement Learning
Next Article in Special Issue
Location-Routing Optimization for Two-Echelon Cold Chain Logistics of Front Warehouses Based on a Hybrid Ant Colony Algorithm
Previous Article in Journal
The Inverse and General Inverse of Trapezoidal Fuzzy Numbers with Modified Elementary Row Operations
Previous Article in Special Issue
Optimizing Inventory Management: A Comprehensive Analysis of Models Integrating Diverse Fuzzy Demand Functions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Hybrid Adaptive Simulated Annealing and Tempering Algorithm for Solving the Half-Open Multi-Depot Vehicle Routing Problem

1
Logistics Engineering College, Shanghai Maritime University, Shanghai 201306, China
2
Department of Mechanical Engineering, North China Electric Power University, Baoding 071003, China
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(7), 947; https://doi.org/10.3390/math12070947
Submission received: 26 February 2024 / Revised: 18 March 2024 / Accepted: 21 March 2024 / Published: 22 March 2024
(This article belongs to the Special Issue Mathematical Programming, Optimization and Operations Research)

Abstract

:
The half-open multi-depot vehicle routing problem (HOMDVRP) is a typical decision optimization problem in the field of collaborative logistics that considers resource sharing. This study aims to develop an effective meta-heuristic algorithm for solving the HOMDVRP. Firstly, a mixed-integer programming model of HOMDVRP is established to minimize the total travel distance of the vehicles. After that, a novel hybrid adaptive simulated annealing and tempering algorithm (HASATA) is proposed based on the features of HOMDVRP. The proposed algorithm combines the strengths of the simulated annealing algorithm and the large-neighborhood search algorithm to balance the algorithm’s searching capabilities in both breadth and depth. Meanwhile, an adaptive Markov chain length mechanism and a tempering mechanism are designed to improve the algorithm’s computational efficiency and convergence ability. Finally, simulation experiments are conducted to verify the effectiveness of the proposed model and the computational performance of the proposed algorithm. Four comparison algorithms are selected and analyzed using 24 groups of problem instances. The comparison results show that the proposed HASATA can solve the HOMDVRP more efficiently and obtain a solution with better optimization performance and satisfactory stability.

1. Introduction

In order to cope with fierce market competition and meet the diverse needs of customers for logistics services, logistics companies need to deploy multiple logistics distribution centers. Taking express logistics as an example, as of June 2023, China’s express business volume has exceeded 59.5 billion pieces and massive infrastructures such as distribution centers, transfer stations, and forward warehouses have been built to meet express turnover [1]. Driven by the sharing economy and sustainable development strategy, in order to fully utilize the cluster benefits of existing logistics resources, collaborative logistics based on horizontal cooperation or sharing logistics resources among different enterprises has received wide attention [2]. Gansterer and Hartl [3] have stated that horizontal collaborative logistics transportation can economically reduce costs by up to 30%. Wang et al. [4] have discussed the benefits distribution among the participants in cooperative green pickup and delivery problems and have proposed a suitable compensation mechanism. Furthermore, Li et al. [5] have proved that collaborative operation-based logistics resource sharing has become an effective approach for logistics enterprises to reduce fuel costs. Liu et al. [6] have pointed out that collaborative distribution among cold chain logistics companies can alleviate the pressure on carbon emissions of companies. The half-open multi-depot vehicle routing problem (HOMDVRP) is a typical decision optimization problem in the field of collaborative logistics. In this problem, vehicles can return to the nearest depot after completing their transport tasks instead of returning to the initial depot when cooperative logistics companies share the fleet and the distribution centers. To differentiate HOMDVRP from the MDVRP, we refer to the vehicle paths between different depots as half-open vehicle paths. As shown in Figure 1, here’s a example that includes 2 depots and 5 customers, and the number on the arrow denotes the distance between two nodes. The transportation path of MDVRP has a total distance of 16, whereas HOMDVRP decreases the total distance by 6.25% compared to MDVRP by generating half-open vehicle paths between depots 1 and 2. Therefore, HOMDVRP has the potential advantage of decreasing travel distance and reducing logistics costs compared to MDVRP.
Recently, the logistics industry has become more competitive and, as a result, researchers are paying extensive attention to the HOMDVRP [7,8]. This problem is typically studied in the form of collaborative vehicle routing problems to optimize the transportation network, based on the key features of multi-depot and half-open vehicle paths [9]. Moreover, the HOMDVRP and its variants are widely used in scenarios such as cold chain logistics [10], hazardous materials transportation [8], and electric vehicle distribution [11]. This has demonstrated that half-open vehicle paths based on the sharing of logistics resources can effectively reduce vehicle energy consumption and carbon emissions, thus promoting the sustainable development of green logistics.
There are extensive applications based on variants of HOMDVRP. However, HOMDVRP is a problem that is difficult to solve efficiently as it is typically NP-hard. If exact algorithms are used, the half-open path structure can expand the solution space of MDVRP, which results in unacceptable computational time and difficulty in practical applications. If heuristic algorithms are used, HOMDVRP needs to consider both customer sequence optimization and depot–vehicle combination optimization. These decisions are coupled with each other, making it easy to fall into the local optimum and increasing the logistic cost under actual scenarios.
Distinguished from general exact and heuristic algorithms, meta-heuristic algorithms provide flexible and adaptive solutions to complex optimization problems. They are inspired by a variety of phenomena in nature, the behavior of organisms, the laws of physics, the biological sciences, human interactions, the rules of games, and other evolutionary processes [12]. Referring to the work of Montazeri et al. [13], meta-heuristic algorithms are generally categorized into nine classes: swarm-based, biology-based, physics-based, social-based, sports-based, music-based, chemistry-based, plant-based, and mathematics-based approaches. MDVRP, as a classical NP-hard problem in the logistics industry, the genetic algorithm (biology-based) [14], the ant colony algorithm (swarm-based) [15], the simulated annealing algorithm (physics-based) [16], and the local search algorithms based on greedy strategies have been widely used to solve MDVRP and its variants [17]. With the development of algorithmic research, many hybrid meta-heuristic algorithms have been successfully applied to solve such more complex MDVRP variants [18,19]. More detailed descriptions of meta-heuristic algorithms for solving MDVRPs can be found in the review by Montoya-Torres et al. [20].
Compared to MDVRP, the algorithmic research for HOMDVRP is scarce. Liu et al. [21] proposed HOMDVRP and described it as a mixed-integer programming model and the problem was solved by designing a saving algorithm, a sequence insertion algorithm, and a parallel regretted insertion algorithm. Li et al. [22] conducted a study in which they introduced a half-open vehicle path structure within the framework of shared depot resources. Based on this, they proposed a multi-depot vehicle routing problem with time windows under shared depot resources and developed a hybrid genetic algorithm with adaptive local search properties to solve it. Later, they further verified that shared depot resources can save driving distance and fuel consumption in their subsequent work [5]. Ge et al. [23] studied HOMDVRP based on the joint distribution of urban logistics and proposed a cloud-quantum genetic algorithm to optimize the fuel consumption cost.
In recent years, researchers have combined HOMDVRP with real logistics scenarios and accumulated significant research results. For example, Fan et al. [7] studied HOMDVRP based on the multi-center joint distribution of fresh products and designed an ant colony algorithm to solve it. Ma et al. [11] studied the half-open multi-depot vehicle routing problem with time windows based on electric vehicles and used the branch and bound algorithm and ant colony algorithm to solve it. Wang et al. [24] proposed a multi-depot green vehicle routing problem with shared transportation resources and time-dependent speed and it was modeled as a bi-objective model for minimizing carbon emission and logistics costs. Then, a multi-objective particle swarm optimization algorithm combining the Clarke and Wright saving heuristic algorithm and the sweep algorithm was designed to solve this proposed problem. Gu et al. [25] proposed a three-stage improved ant colony algorithm from the problem structure, the multi-distribution center routing problem is converted into multiple single-distribution center routing problems by the K-mediods clustering method, and then it is solved by the multi-ant colony algorithm. Fan et al. [26] proposed a mixed-integer programming model to minimize the total cost for the half-open multi-depot green vehicle routing problem with time windows under a time-varying road network. They also designed a hybrid genetic algorithm with a variable neighborhood search. Later, they proposed an adaptive memetic algorithm and variable neighborhood search for the multi-depot vehicle routing problem with simultaneous deterministic delivery and stochastic pickup based on joint distribution [27]. Zhou et al. [8] studied the half-open multi-depot heterogeneous vehicle routing problem in hazardous materials transportation and obtained the minimized Pareto solution of transportation cost and risk by designing a hybrid heuristic algorithm based on the ε constraint method and genetic algorithm. For the collaborative multi-center vehicle routing problem with time windows and mixed deliveries and pickups. Wang et al. [9] proposed a two-stage hybrid meta-heuristic algorithm combining customer clustering and vehicle path optimization: customers are reassigned to logistics facilities by an improved 3D k-means clustering algorithm and then a hybrid meta-heuristic algorithm combining a genetic algorithm and a particle swarm optimization algorithm is designed. Hasanpour Jesri et al. [28] studied the multi-warehouse traveling purchaser problem with half-open vehicle paths in the context of shared resources and proposed a decomposition-based two-stage heuristic algorithm to solve it. Bai et al. [29] studied a bike rebalancing problem that allows vehicles to return to different depots and a hybrid heuristic algorithm based on variable neighborhood search and dynamic programming to solve it. Chen et al. [10] established a cold chain logistics model considering joint distribution and carbon trading mechanism with the goal of minimizing total logistics costs and solved the problem by designing a hybrid catastrophic genetic algorithm with variable neighborhood search. Table 1 and Table 2 provide a summary of the literature related to the HOMDVRP and abbreviations for problem types, respectively.
Based on the above literature related to HOMDVRP, studies have examined the use of the half-open path structure as a strategy for complex collaborative logistics or joint distribution and have demonstrated the effectiveness of proposed approaches for reducing logistics costs and energy consumption [7,23,24]. Algorithms for the HOMDVRP and its variants have primarily focused on hybrid meta-heuristic algorithms and hybrid heuristic algorithms. However, most of the studies focus on the significance of half-open paths for the improvement in MDVRP based on practical logistics scenarios [9,23,24,28], while there is a lack of algorithmic studies based on the key structural features of HOMDVRP [22,25,27]. This lack of consideration leads to the algorithms for solving the HOMDVRP easily falling into local optimum or unacceptable computational time. It has become an urgent issue to find an algorithm that can efficiently solve the HOMDVRP problem in the collaborative logistics field.
To compensate for the research gap, this study aimed to develop a hybrid meta-heuristic algorithm that effectively addresses the HOMDVRP problem. The contributions are summarized below:
(1)
A mixed-integer programming model for HOMDVRP to minimize the total transportation distance is formulated by analyzing vehicle routing problems in the collaborative logistics under the sharing economy;
(2)
A hybrid adaptive simulated annealing and tempering algorithm (HASATA) based on an improved simulated annealing (ISA) algorithm and an improved large neighborhood search (ILNS) algorithm is proposed, in which an adaptive Markov chain length mechanism and a neighborhood-based searching mechanism are designed considering the features of HOMDVRP;
(3)
The effectiveness and computation efficiency of HASATA in this paper for solving the HOMDVRP are verified by comparing the results obtained by one commercial solver and three existing heuristic algorithms in different scale computational experiments.
The remaining parts are organized as follows. The problem description and modeling of the HOMDVRP are provided in Section 2. Section 3 illustrates the proposed meta-heuristic algorithm to solve the mathematical model, followed by the computational experiments in Section 4 and the conclusions in Section 5.

2. Problem Description and Mathematical Modeling

2.1. Problem Description

The HOMDVRP, which involves multiple depots and a group of customers with a fixed demand within a given area is focused on. The objective is to find the shortest routes for a fleet of identical vehicles with a defined capacity to travel from one depot to serve customers and return to a nearby depot. Additionally, it is assumed that the transportation process meets the following assumptions and constraints:
(1)
The distance between each node is known;
(2)
Each customer’s demand is satisfied by one vehicle service only once;
(3)
The number of vehicles is sufficient;
(4)
The vehicle’s departure and termination depots can be inconsistent;
(5)
Vehicles cannot travel directly between depots;
(6)
The total customer demand on the route does not exceed the loading capacity of the vehicle.
Table 3 lists notations used in the proposed formulation of the HOMDVRP mathematical model.

2.2. Mathematical Modeling

The mixed-integer programming model of HOMDVRP can be formulated as
M i n   Z = i N j N k V x i j k d i j
s.t.
j N k V x c j k = 1 ,           c C ,   c j
i N x i c k j N x c j k = 0 ,           c C ,   k V ,   c i ,   c j
i D D c C x i c k = c C j D D x c j k 1 ,   k V
i D D j D D x i j k = 0 ,   k V
c C j N x c j k d c Q , k V ,   c j
u i u j + M x i j k M 1 ,   i C D ,   j C D ,   k V ,   i j
x i j k 0 , 1 ,     u i 0 ,     u i Z ,   i , j N ,   k V    
Equation (1) indicates that the objective of HOMDVRP is to minimize the total travel distance of the vehicles. Equations (2) and (3) indicate that each customer c can only be served once by one vehicle k . Equation (4) means that once a vehicle k is dispatched, it needs to depart from the current depot and can return to any depot after visiting the customer c, where starting depot i is not necessarily the same as ending depot j. Equation (5) represents that any vehicle k cannot travel directly between two depots. Equation (6) denotes that the total demand on any vehicle path is not greater than the vehicle load limit. Equation (7) is used to eliminate the vehicle sub-tours. Equation (8) declares the range of values of the decision variables.

3. Hybrid Adaptive Simulated Annealing and Tempering Algorithm

The HOMDVRP is an NP-hard problem containing path sequence optimization and vehicle-depot combination optimization problems. The simulated annealing (SA) algorithm, as a classical heuristic algorithm with excellent global search capability, has been widely used in various types of VRP [30,31]. Therefore, in this study, a hybrid adaptive simulated annealing and tempering algorithm (HASATA) based on the framework of the SA is proposed for solving the presented problem. In HASATA, we designed an improved simulated annealing (ISA) algorithm and an improved large-neighborhood search (ILNS) algorithm to enhance the search performance for the half-open path structure in HOMDVRP. Furthermore, adaptive Markov chain length and tempering mechanism are designed to improve the efficiency of the algorithm and the ability to jump out of local optimal solutions. The flowchart of HASATA is shown in Figure 2.
As shown in Figure 2, firstly, the parameters of HASATA are initialized. Secondly, initial feasible solutions are generated based on the constraints of the HOMDVRP model. Thirdly, during the pre-annealing phase, the ISA embedded in the adaptive Markov chain length setting algorithm is invoked to search for a better solution, meanwhile, the proposed algorithm outputs the effective number of searches (i.e., the number of times the current solution is updated) and the adaptive Markov chain length (also known as the number of searches in the inner layer of the algorithm), which are used as a basis for the algorithmic choices in the next step. Fourthly, if the current solution is updated at least once in the pre-annealing phase, the algorithm will enter the annealing phase and apply the ISA to search for a better solution until the loop reaches the adaptive Markov chain length; otherwise, the algorithm will enter the tempering phase and, after the tempering criterion is satisfied, the temperature is elevated and the ILNS is invoked to search in-depth until the loop reaches the maximum Markov chain length. Finally, when the algorithm reaches the number of inner adaptive searches, the temperature decreases and the number of outer iterations is updated. Steps 3 to 5 are repeated until the algorithm meets the termination criteria.
In the following sections, we describe the main procedures of the proposed HASATA in detail. The parameter symbols in the proposed algorithm and their descriptions are listed in Table 4.

3.1. Initialization of the Parameters

In the initial phase of the proposed algorithm, define the initial temperature T 0 , the final temperature T e n d , the cooling rate ψ , and the outer maximum number of loops H m a x . Set the number of tempering N equal to zero and define the tempering factor as γ . Define the maximum Markov chain length L k m a x . Then, define the Markov chain length at temperature k in pre-annealing as L k p r e . It usually takes the value of one-fifth of L k m a x .

3.2. Initial Solution Representation

As shown in Figure 3, for a HOMDVRP with m depots and n customers, since the outgoing and terminating depots of vehicle k may not coincide, we determine a vehicle path by every two neighboring depots from left to right in the coding string. Furthermore, since the number of vehicles is sufficient, we quickly generate an initial feasible solution by randomly assigning each customer c to the starting and ending depots only under the consideration of vehicle loading constraints. Therefore, the encoding length of the feasible solution is 3 n .

3.3. Adaptive Markov Chain Length Mechanism

In the SA, the Markov chain length L k is also known as the number of searches in the inner layers of the algorithm at temperature T k . Its value has a significant impact on the performance of the algorithm. Different from the previous empirical judgment, Li et al. [32] proposed a connection between the solution value at T k and L k and they presented an inequality for the theoretical upper bound valuation of the L k as shown in Equation (9).
L k 4 S c S b S n S c
where S c , S n , and S b are the current solution, new solution, and current best solution, respectively. Here, “4” is a constant derived and has no practical significance. Therefore, the formula about L k is reformulated as shown in Equation (10).
L k = S c S b S n S c
We design an adaptive Markov chain length setting algorithm based on Equation (10), which is used to compute L k at T k while searching for a better solution. Algorithm 1 briefly explains its general structure.
Algorithm 1 The pseudo-code of adaptive Markov chain length setting algorithm
1:Input :   S c ,   S b , T k L k p r e ,   and   L k m a x
2:Initialization: L k 0 ;   s k 0 ;   i 0
3:while  i L k p r e  do
4:     Apply   perturbations   of   the   ISA   to   generate   new   solution   S n
5:   if  S n < S c  then
6:                   s k s k + 1
7: if     S n < S b  then
8: S b S n
9:    end if
10:           L k L k + S c S b S n S c
11:           S c S n
12:   end if
13:  else if  S n > S c and   e x p S c S n T k > r a n d o m 0 , 1 )  then
14:                   s k s k + 1
15:                   L k L k + S c S b S n S c
16:                   S c S n
17:   end else if
18:           i i + 1
19:end while
20:if  s k > 0  then
21:   L k m i n c e i l L k s k , L k m a x
22:end if
23:if  s k = 0  then
24:   L k L k m a x
25:end if
26:Output :   S c ,   S b ,   L k ,   and   s k
After initializing the parameters, S n is accepted probabilistically through the ISA with the Metropolis rule as shown in Equation (11).
  P = 1                                                 , S n S c < 0 exp S n S c T k ,   S n S c > 0
Each time the S n is updated, the s k is increased by 1 (lines 6 and 14) and then Equation (10) is computed cumulatively (lines 10 and 15). At the end of the loop, if s k = 0 , we consider the algorithm to be trapped in a local optimum and subsequently enter the tempering phase; if s k > 0 , L k is calculated by the formula in line 21 and subsequently enter the annealing phase. Considering the fluctuation in the solution objective value in the real-world problems, we preset the maximum Markov chain length L k m a x .

3.4. Tempering Mechanism

In the tempering mechanism, if the s k equals 0, it means that the new solution will be no longer accepted. We introduce the tempering mechanism at this time to try to jump out the local optimal solution. Specifically, the temperature will rise to double the current temperature T k . In addition, to avoid frequent tempering, which affects efficiency, we design the tempering criteria as shown in Equation (12) with reference to Li et al. [33].
S b S n + N γ > R a n d o m [ 0 , 1 )
where N denotes the number of tempering of HASATA and its initial value is set to zero. The index γ of N is the tempering factor and its suitable value interval is [2,5]. Imitating the Metropolis rule, in the early stage of HASATA, the tempering criteria is greatly influenced by S b and S n , when S n is close to S b , then it is easy to temper frequently. With the N gradually increasing, in the middle and late stage of the algorithm, the tempering criteria is greatly influenced by N , when N is large enough, the probability of tempering tends to be approximately 0. Therefore, the tempering criteria can make HASATA quickly stabilize in the late stage.

3.5. Perturbations in the ISA

Based on the SA, we add the perturbation method of depot mutation to the customer sequence perturbation for the characteristics of the half-open vehicle path structure in HOMDVRP. ISA is applied to the pre-annealing and annealing phases of the proposed algorithm to search for a better solution. The four perturbation methods designed are shown below.
(1)
Reverse: As shown in Figure 4, two customers, 1 and 3, are first randomly selected within a path and then the customer segments containing customers 1 and 3 are sorted in reverse order.
(2)
0-1 Insertion: Select two customers randomly and then insert the first selected customer to the right neighboring position of the second customer. As shown in Figure 5a, when the selected customers are all on the same path, then it is an intra-route 0-1 insertion, otherwise, it is inter-route 0-1 insertion, as shown in Figure 5b, under the premise of satisfying the vehicle load constraints, the inter-route 0-1 insertion may produce an infeasible solution situation of direct access between two depots, so after executing the inter-route 0-1 insertion, it is necessary to judge and delete the infeasible vehicle path in solution.
(3)
1-1 Exchange: Figure 6a,b shows examples of intra-route and inter-route exchanges, respectively. Notably, the inter-route 1-1 exchange needs to ensure that vehicle load constraints are not violated.
(4)
Depot mutation: in order to search for the optimal combination solution of vehicles and depots in a half-open vehicle path structure, we design the depot mutation perturbation method. As shown in Figure 7, a better solution in HOMDVRP is searched by randomly selecting a depot in a route and then replacing it with any depot in the depot set.
The procedures of the ISA are shown in Algorithm 2. The four perturbation methods mentioned above are selected by roulette to search for better solutions (lines 3–5), where the value of L k is output by Algorithm 1, which is adaptively adjusted as the algorithm converges and can therefore improve the computational efficiency of ISA.
Algorithm 2 The pseudo-code of ISA algorithm
1:Input :   S c ,   S b ,   T k , L k
2:while  j L k    do
3:while  S n is infeasible do
4:   S n p e r t u r b a t i o n ( S c )
5:end while
6:if    S n < S c  then
7:    S c S n
8:      if    S n < S b  then
9:      S b S n
10:       end if
11:end if
12:else if   S n S c and   e x p S c S n T k > r a n d o m 0 , 1 )  then
13:         S c S n
14:end else if
15: j j + 1
16:end while
17: T k ψ T k ; h h + 1
18:if  T k T e n d or   h H m a x then
19:      Computation terminated
20:else
21:      Turn to Algorithm 1
22:end if
23:Output :   S c ,   S b

3.6. Destroy and Repair Operators in ILNS

The large neighborhood search (LNS) algorithm has good global search capability and is highly scalable [34,35]. Therefore, we improve the destroy and repair operators of LNS based on the features of HOMDVRP. After tempering, the local optimal solution is attempted to be jumped out by ILNS. The destroy and repair operators designed in the proposed algorithm are as follows.
The following five destroy operators are designed.
(1)
Random customer removal: this operator removes customers from the current solution at random, with the percentage of removal ranging from 0% to 10% of all customers;
(2)
Cluster removal: the operator randomly selects a customer c and set d m a x as the distance between customer c and its farthest neighborhood and then remove customer c and all customers within its 1 / 5 d m a x radius;
(3)
Route removal: the operator calculates the average number of customers n ¯ across all routes, if the number of customers on a randomly selected route is greater than n ¯ , then n ¯ customers will be removed randomly, otherwise, the entire route will be removed;
(4)
Relevance removal: a customer c is randomly selected, then the relevance values R v c c of customer c with other customer c are calculated by Equation (13) and finally customer c and the first q 1 customers with the highest relevance are removed.
R v c c = 1 / d c c μ 1 m a x ( d c c ) + X μ 2
Equation (13) is the difference degree formula and its inverse is used to represent the relevance degree. If customer c is in the same route as customer c , then X is 0, otherwise it is 1. μ 1 and μ 2 denote the weight factors, which are taken as 0.4 and 0.6, respectively.
(5)
Random depot removal: similar to the depot mutation in ISA, this operator randomly selects and records the indexes of certain warehouses and then deletes them.
To repair the infeasible solutions after being disrupted by the destroy operations, the following four repair operators are designed:
(1)
Random insertion: this operator randomly inserts a customer into an arbitrarily chosen route, and if the generated solution is not feasible, a new route is created for that customer. This operation is repeated until all customers are inserted into the route;
(2)
Sequential greedy repair: this operator randomly selects a customer from the customer pool and inserts it into the best position, then updates the current solution. Repeat this operation until all customers are inserted into the route;
(3)
Random depot repair: this operator randomly selects a depot from the pool and inserts it into the current position of the destroyed depot. Repeat this operation until all depots have been repaired;
(4)
Greedy depot repair: the operator selects a depot from the depot set and inserts it into the current position of the destroyed depot according to the principle of minimum cost increase.
The general procedure of ILNS is shown in Algorithm 3. In the fifth line of the pseudo-code, the destroy operator is performed on the current solution followed by repair (line 5). The above destroy and repair operators used are chosen by roulette. Considering the existence of both customer-specific and depot-specific operators in ILNS, we apply the destroy and repair operators for customers and depots separately in combination to ensure the effectiveness of the algorithm.
Algorithm 3 The pseudo-code of ILNS algorithm
1:Input :   S c ,   S b ,   T k ,   L k
2:if meet tempering criteria then
3:   T k 2 T k ;   N N + 1 ; q 0
4:while  q L k  do
5:   S n r e p a i r ( d e s t r o y S c )
6:  if    S n < S c  then
7:    S c S n
8:   if    S n < S b  then
9:          S b S n
10:       end if
11:  end if
12:  else if  S n S c  and   e x p S c S n T k > r a n d o m 0 , 1 )  then
13:    S c S n
14:   end else if
15:   q q + 1
16:end while
17: T k ψ T k ; h h + 1
18:if  T k T e n d or   h H m a x  then
19:  Computation terminated
20:else
21:  Turn to Algorithm 1
22:end if
23:else
24: T k ψ T k ; h h + 1
25:    if T k T e n d or   h H m a x  then
26:  Computation terminated
27:    else
28:  Turn to Algorithm 1
29:    end if
30:end if
31:Output :   S c ,   S b

3.7. Termination Criteria

In the HASATA, the tempering mechanism may result in the temperature never cooling to the T e n d , which in turn prevents the algorithm from terminating the run. Therefore, in this paper, the algorithm is set to terminate the computation when the temperature reaches T e n d or the number of outer loops H m a x reaches a preset value.

4. Computational Experiments and Analysis

In this section, in order to analyze the performance of HASATA, we compare the proposed algorithm with the cardinal optimizer (COPT) [36], the hybrid adaptive large neighborhood search (HALNS) algorithm, the improved simulated annealing (ISA) algorithm, and the adaptive simulated annealing and tempering algorithm (ASATA). All the algorithms were coded in Python 3.12 and executed on 13th Gen Intel(R) Core (TM) i5-13500HX 2.50 GHz × 14 machines with 16 GB of RAM under the Windows 10 operating system.
There are 24 sets of instances generated for HOMDVRP based on the MDVRPTW instance set published by NEO (Available at http://neo.lcc.uma.es/vrp/vrp-instances/multiple-depot-vrp-with-time-windows-instances/ (accessed on 21 November 2023)). Among them, there are 12 sets for small-scale instances and 12 sets for large-scale instances. Taking instance S12-C30-D4-Q200 as an example, it implies that the small-scale 12th instance has 30 customers and 4 depot nodes and the maximum load capacity of vehicles is 200.
This section first shows the procedures for tuning the parameters. Then, we present and analyze the small-scale experimental results and large-scale experimental results.

4.1. Experiment Setting

The parameters have a large impact on the performance of meta-heuristic algorithms. Setting appropriate parameters for an algorithm can improve the optimization performance. The Taguchi analysis method is widely used as a class of statistical methods for parameter tuning, so it is adopted for the parameter tuning of HASATA.
Firstly, we select four key parameters that have the greatest impact on the proposed algorithm, which are initial temperature, cooling rate, tempering factor, and maximum Markov chain length. Then, we set low, medium, and high-level values for each of the selected parameters based on a large number of experiments to generate a table of orthogonal experiments with nine tours. Finally, we randomly selected S5-C20-D2-Q100, S12-C30-D4-Q200, L4-C50-D4-Q200, and L7-C60-D2-Q200 as sample instances and ran the algorithm 10 times with different parameter combinations to obtain the average objective value and average solution time.
Since we expect the proposed algorithm to obtain a smaller objective value in a shorter computational time, the level with the highest signal-to-noise ratio for each given parameter was determined to be the optimal level for that parameter. The alternative values for each parameter and the level that was finally chosen are listed in Table 5.
Overall, the initial temperature T 0 , cooling rate ψ , tempering factor γ , and maximum Markov chain length L k m a x are tuned to 2000, 0.98, 3, and 250, respectively. The Markov chain length in pre-annealing L k p r e is set to one-fifth of L k m a x .

4.2. The Comparison Algorithms

In this section, the parameters of the comparison algorithms are introduced as follows.
COPT: It uses a branch-and-cut exact algorithm to solve mixed-integer programming models. The solver is programmed based on Python 12.1 API and we limit COPT to stop the program when the time reaches 7200 s or the memory limit is exceeded.
HALNS: The HALNS algorithm is adapted from Lahyani et al. [37]. In this paper, the initial temperature T 0 is set to 1000, the cooling rate ψ = 0.01 / T 0 10 / i t e r m a x , and the Markov chain length L k = 20 and the temperature is periodically reset to T 0 every i t e r m a x / 10 iterations; the rewards for updating S b , S c and accepting S n are 10, 5, and 3, respectively, and the weights are updated every 200 generations.
ISA: The ISA algorithm is based on the framework of the classical simulated annealing algorithm, which uses the perturbation method designed for half-open path structures in the proposed algorithm. Its T 0 is set to 5000 and ψ =   0.99 ; L k = 300 and the final temperature T e n d = 0.001 .
ASATA: The ASATA is the same parameter settings as HASATA, using perturbations instead of ILNS after tempering.
Considering the stochastic nature of the solution process of the meta-heuristic algorithms, we compare the average objective value and running time of each meta-heuristic algorithm for 20 runs in each instance.

4.3. Experimental Results of Small-Scale Instances

In this section, we compare the results of HASATA with those of the COPT solver, ISA, HALNS, and ASATA for solving 12 sets of small-scale instances. The results of the small-scale experiments shown in Table 6 verify the validity of the proposed model and algorithm.
As seen from Table 6, HASATA obtains the optimal solution for 10 out of the 12 sets of small-scale arithmetic instances and its average elapsed time of 7.5 s is much lower than COPT solver’s 2477.9 s. Meanwhile, the average gap between HASATA and COPT is −0.46%, while the average gaps between HALNS, ISA and ASATA, and COPT are 1.41%, 0.91%, and 0.63%, respectively, their results are all inferior to the results given by HASATA. Moreover, it can be seen from Table 6 that the COPT solver did not find the optimal solution, for instance, S9 in 7200 s, while it took only 126.1 s to find the optimal solution for instance S12. The reason is that in the instance of the same number of customers and depot, the larger the vehicle load, the fewer vehicles are used, and it is very easy to generate feasible long-distance half-open vehicle paths. Figure 8 illustrates the optimal solution for S12, where all three paths are half-open. The convergence of the four algorithms on instance S12 is illustrated in Figure 9, where it can be seen that, compared to the other algorithms, HASATA can converge quickly in the early stage and converge to a better solution in the later stage by tempering and ILNS.
To further compare the computational stability of the four comparison algorithms, we adopt Figure 10 to show the box plots of the four algorithms for solving 12 sets of small-scale instances. From the figures, it is found that the HASATA can obtain all the optimal median values for the 12 sets of small-scale instances, while with satisfactory performance stability that significantly exceeds the comparison algorithms.
From the above analysis of the simulation results for the small-scale problem instances, the effectiveness of the proposed HASATA for solving the established HOMDVRP is verified. Meanwhile, the simulation results comparison also validates the optimization performance, computational efficiency, and performance stability of the HASATA.

4.4. Experimental Results of Large-Scale Instances

To further analyze the performance of HASATA for solving the large-scale instances of HOMDVRP, 12 groups of computational experiments are conducted. Table 7 shows the results of the numerical experiments. As the problem size increases, COPT cannot obtain the optimal solution for any set of instances within 7200 s. The other four types of heuristic algorithms outperform COPT. The average gap between HALNS, ISA, ASATA, and HASATA and COPT is −37.55%, −35.99%, −33.94%, and −38.04%, respectively. The results obtained by HASATA are better than all the comparison algorithms, which obtained the eight best solutions in the 12 group experiments. Meanwhile, the average computation time of HASATA is 41.2 s, which is within the acceptable time range for all the large-scale problem instances.
Similarly, we use Figure 11 to show the convergence of the four comparison algorithms in the large-scale instance S24, which demonstrates the convergence ability of the HASATA. It is also found that the HALNS has a good convergence ability for both the large-scale and small-scale problems. But in most of the cases, it is easier to fall into the local optimum, which is the reason that only four optimal solutions are obtained among the 12 instances. Meanwhile, the computational time of ALNS apparently exceeds that of HASATA.
To analyze the performance stability of the HASATA for solving large-scale problem instances, we use Figure 12, which shows the box plots of the four algorithms solving 12 sets of large-scale instances.
In all of the 12 large-scale instances, HASATA outperforms the ISA and ASATA. However, in 4 sets over the 12, the HALNS outperforms the proposed HATASA, which is shown in Figure 12c,g,i,k. In the other 8 sets, the HASATA has better performance stability concerning the average value and variations. As for the computational efficiency, the HATASA outperforms the HALNS over all the large-scale instances. From the above analysis, it can be concluded that the performance stability of HATASA is satisfactory for solving the large-scale HOMDVRP.

5. Conclusions

This study aims to reduce logistics costs by studying the half-open multi-depot vehicle routing problem commonly found in collaborative logistics. Specifically, it proposes an effective hybrid meta-heuristic algorithm that is specially tailored to address the HOMDVRP with features of collaborative vehicle routing problems. To achieve this, the simulated annealing algorithm is utilized as the framework to solve the half-open multi-depot vehicle routing problem.
Firstly, a mixed-integer programming model is established to minimize the travel distance of vehicles in HOMDVRP, taking into account its features and constraints. However, due to the problem being NP-hard with a larger feasible solution space and complex problem structure, a solution representation scheme is designed based on the half-open vehicle path structure. Furthermore, the HASATA based on ISA and ILNS under the framework of SA is proposed to balance the algorithm’s breadth-search and depth-search performances. The adaptive Markov chain length and tempering mechanism are then designed to improve the computational efficiency and convergence ability of the HASATA. In the simulation experiments, 24 groups of problem instances of different scales are provided and the results verify the validity of the provided mixed-integer programming model of HOMDVRP, as well as the efficiency of the proposed HASATA for solving it. It is concluded that the HASATA outperforms all four comparison algorithms in terms of optimization performance, computational efficiency, and performance stability. Therefore, we can conclude that the provided HOMDVRP and the HASATA can generate satisfactory solutions for decision-makers in the field of collaborative logistics.
However, meta-heuristic algorithms have the characteristic of stochastic searching, so the optimization result of the proposed HASATA may vary when dealing with large-scale HOMDVRP. In addition, meta-heuristic algorithms are not problem-specific algorithms; therefore, some improved mechanisms and heuristic rules designed for HOMDVRP are incorporated into the components of HASATA in this paper. It results in the proposed algorithm requiring more parameters to be set.
In future research, benefiting from the malleability of meta-heuristic algorithms, the HASATA can be further modified to obtain better solutions in more large-scale HOMDVRP. Moreover, only the basic HOMDVRP model is considered in this study. It would be valuable to investigate the variants of the problem based on more complex collaborative logistics scenarios and apply the proposed algorithm to solve it.

Author Contributions

Conceptualization, S.X. and P.P.; Formal analysis, S.X., P.P. and Z.W.; Funding acquisition, P.Z.; Investigation, Z.W.; Methodology, S.X., P.P. and Z.W.; Resources, P.Z.; Software, P.P.; Supervision, S.X.; Validation, S.X., P.P. and P.Z.; Writing—original draft, S.X. and P.P.; Writing—review and editing, S.X. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (No. 72371155), and the Shanghai Municipal Commission of Science and Technology (No. 20692193300 and 23692121400).

Data Availability Statement

The authors confirm that the data supporting the findings of this study are available within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Fan, H.; Sun, Y.; Yun, L.; Yu, R. A Joint distribution pricing model of express enterprises based on dynamic game theory. Mathematics 2023, 11, 4054. [Google Scholar] [CrossRef]
  2. Ferrell, W.; Ellis, K.; Kaminsky, P.; Rainwater, C. Horizontal collaboration: Opportunities for improved logistics planning. Int. J. Prod. Res. 2020, 58, 4267–4284. [Google Scholar] [CrossRef]
  3. Gansterer, M.; Hartl, R.F. Collaborative vehicle routing: A survey. Eur. J. Oper. Res. 2018, 268, 1–12. [Google Scholar] [CrossRef]
  4. Wang, J.; Yu, Y.; Tang, J. Compensation and profit distribution for cooperative green pickup and delivery problem. Transp. Res. Part B Methodol. 2018, 113, 54–69. [Google Scholar] [CrossRef]
  5. Li, J.; Wang, R.; Li, T.T.; Lu, Z.X.; 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]
  6. Liu, G.; Hu, J.; Yang, Y.; Xia, S.; Lim, K.M. Vehicle routing problem in cold Chain logistics: A joint distribution model with carbon trading mechanisms. Resour. Conserv. Recycl. 2020, 156, 104715. [Google Scholar] [CrossRef]
  7. Fan, H.; Yang, X.; Li, D.; Li, Y.; Liu, P.; Wu, J. Half-open multi-depot vehicle routing problem based on joint distribution mode of fresh food. Comput. Integr. Manuf. Syst. 2019, 25, 256–266. [Google Scholar] [CrossRef]
  8. Zhou, Z.; Ha, M.; Hu, H.; Ma, H. Half open multi-depot heterogeneous vehicle routing problem for hazardous materials transportation. Sustainability 2021, 13, 1262. [Google Scholar] [CrossRef]
  9. Wang, Y.; Ran, L.; Guan, X.; Fan, J.; Sun, Y.; Wang, H. Collaborative multicenter vehicle routing problem with time windows and mixed deliveries and pickups. Expert Syst. Appl. 2022, 197, 116690. [Google Scholar] [CrossRef]
  10. Chen, Y.; Gan, H.; Chen, L. Cold chain logistics model based on joint distribution and its optimization algorithm under the background of double carbon. Control Decis. 2023, 38, 1951–1959. [Google Scholar] [CrossRef]
  11. Ma, B.; Hu, D.; Chen, X.; Hu, H. An optimization of pure electric vehicle routing problem on half-open multi-distribution center. J. Transp. Syst. Eng. Inf. Technol. 2019, 19, 199–205. [Google Scholar] [CrossRef]
  12. Dehghani, M.; Montazeri, Z.; Trojovská, E.; Trojovský, P. Coati Optimization Algorithm: A new bio-inspired metaheuristic algorithm for solving optimization problems. Knowl.-Based Syst. 2023, 259, 110011. [Google Scholar] [CrossRef]
  13. Montazeri, Z.; Niknam, T.; Aghaei, J.; Malik, O.P.; Dehghani, M.; Dhiman, G. Golf optimization algorithm: A new game-based metaheuristic algorithm and its application to energy commitment problem considering resilience. Biomimetics 2023, 8, 386. [Google Scholar] [CrossRef] [PubMed]
  14. Ho, W.; Ho, G.T.S.; Ji, P.; Lau, H.C.W. A hybrid genetic algorithm for the multi-depot vehicle routing problem. Eng. Appl. Artif. Intel. 2008, 21, 548–557. [Google Scholar] [CrossRef]
  15. Venkata Narasimha, K.; Kivelevitch, E.; Sharma, B.; Kumar, M. An ant colony optimization technique for solving min–max multi-depot vehicle routing problem. Swarm Evol. Comput. 2013, 13, 63–73. [Google Scholar] [CrossRef]
  16. Masmoudi, M.A.; Hosny, M.; Braekers, K.; Dammak, A. Three effective metaheuristics to solve the multi-depot multi-trip heterogeneous dial-a-ride problem. Transp. Res. Part E Logist. Transp. Rev. 2016, 96, 60–80. [Google Scholar] [CrossRef]
  17. Li, J.; Pardalos, P.M.; Sun, H.; Pei, J.; Zhang, Y. Iterated local search embedded adaptive neighborhood selection approach for the multi-depot vehicle routing problem with simultaneous deliveries and pickups. Expert Syst. Appl. 2015, 42, 3551–3561. [Google Scholar] [CrossRef]
  18. Braekers, K.; Caris, A.; Janssens, G.K. Exact and meta-heuristic approach for a general heterogeneous dial-a-ride problem with multiple depots. Transp. Res. Part B Methodol. 2014, 67, 166–186. [Google Scholar] [CrossRef]
  19. Hesam Sadati, M.E.; Çatay, B.; Aksen, D. An efficient variable neighborhood search with tabu shaking for a class of multi-depot vehicle routing problems. Comput Oper. Res. 2021, 133, 105269. [Google Scholar] [CrossRef]
  20. Montoya-Torres, J.R.; López Franco, J.; Nieto Isaza, S.; Felizzola Jiménez, H.; Herazo-Padilla, N. A literature review on the vehicle routing problem with multiple depots. Comput. Ind. Eng. 2015, 79, 115–129. [Google Scholar] [CrossRef]
  21. Liu, R.; Jiang, Z.; Geng, N.; Liu, T. The half open multi-depot vehicle routing problem. J. Shanghai Jiaotong Univ. 2010, 44, 1539–1545. [Google Scholar] [CrossRef]
  22. Li, J.; Li, Y.; Pardalos, P.M. Multi-depot vehicle routing problem with time windows under shared depot resources. J. Comb. Optim. 2014, 31, 515–532. [Google Scholar] [CrossRef]
  23. Ge, X.; Xu, M.; Wang, X. Route optimization of urban logistics in joint distribution. Control Decis. 2016, 31, 503–512. [Google Scholar] [CrossRef]
  24. Wang, Y.; Assogba, K.; Fan, J.X.; Xu, M.Z.; Liu, Y.; Wang, H.Z. 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. Gu, Y.; Yuan, Y.; Zhang, L.; Duan, J. Multi-depot half open vehicle routing problem with time windows. China Mech. Eng. 2020, 13, 1733–1740. [Google Scholar] [CrossRef]
  26. Fan, H.; Zhang, Y.; Tian, P.; Lv, Y.; Fan, H. Time-dependent multi-depot green vehicle routing problem with time windows considering temporal-spatial distance. Comput Oper. Res. 2021, 129, 105211. [Google Scholar] [CrossRef]
  27. Fan, H.; Liu, P.; Liu, H.; Hou, D. The multi-depot vehicle routing problem with simultaneous deterministic delivery and stochastic pickup based on joint distribution. Acta Autom. Sin. 2021, 47, 1646–1660. [Google Scholar] [CrossRef]
  28. Hasanpour Jesri, Z.S.; Eshghi, K.; Rafiee, M.; Van Woensel, T. The multi-depot traveling purchaser problem with shared resources. Sustainability 2022, 14, 10190. [Google Scholar] [CrossRef]
  29. Bai, X.; Ma, N.; Chin, K.-S. Hybrid heuristic for the multi-depot static bike rebalancing and collection problem. Mathematics 2022, 10, 4583. [Google Scholar] [CrossRef]
  30. Xiao, Y.; Konak, A. A simulating annealing algorithm to solve the green vehicle routing & scheduling problem with hierarchical objectives and weighted tardiness. Appl. Soft Comput. 2015, 34, 372–388. [Google Scholar] [CrossRef]
  31. Kuo, Y. Using simulated annealing to minimize fuel consumption for the time-dependent vehicle routing problem. Comput. Ind. Eng. 2010, 59, 157–165. [Google Scholar] [CrossRef]
  32. Li, Y.; Xiang, Z.; Zhang, W. A relaxation model and time complexity analysis for simulated annealing algorithm. Chin. J. Comput. 2020, 43, 16. [Google Scholar] [CrossRef]
  33. Li, Y.; Jiang, W.; Xiang, Z.; Zhang, W. Relaxation model based temperature setting methods for simulated annealing algorithm. Chin. J. Comput. 2020, 43, 17. [Google Scholar] [CrossRef]
  34. Ropke, S.; Pisinger, D. An adaptive large neighborhood search heuristic for the pickup and delivery problem with time windows. Transport. Sci. 2006, 40, 455–472. [Google Scholar] [CrossRef]
  35. Ropke, S.; Pisinger, D. A unified heuristic for a large class of vehicle routing problems with backhauls. Eur. J. Oper. Res. 2006, 171, 750–775. [Google Scholar] [CrossRef]
  36. Ge, D.; Huangfu, Q.; Wang, Z.; Wu, J.; Ye, Y. Cardinal Optimizer (COPT) User Guide. Available online: https://guide.coap.online/copt/en-doc (accessed on 18 February 2024).
  37. Lahyani, R.; Gouguenheim, A.L.; Coelho, L.C. A hybrid adaptive large neighbourhood search for multi-depot open vehicle routing problems. Int. J. Prod. Res. 2019, 57, 6963–6976. [Google Scholar] [CrossRef]
Figure 1. An illustrative case for half-open multi-depot vehicle routing problem.
Figure 1. An illustrative case for half-open multi-depot vehicle routing problem.
Mathematics 12 00947 g001
Figure 2. The flowchart of HASATA.
Figure 2. The flowchart of HASATA.
Mathematics 12 00947 g002
Figure 3. The initial solution representation.
Figure 3. The initial solution representation.
Mathematics 12 00947 g003
Figure 4. Reverse.
Figure 4. Reverse.
Mathematics 12 00947 g004
Figure 5. 0-1 insertion.
Figure 5. 0-1 insertion.
Mathematics 12 00947 g005
Figure 6. 1-1 exchange.
Figure 6. 1-1 exchange.
Mathematics 12 00947 g006
Figure 7. Depot mutation.
Figure 7. Depot mutation.
Mathematics 12 00947 g007
Figure 8. The optimal solution for instance S12-C30-D4-Q200.
Figure 8. The optimal solution for instance S12-C30-D4-Q200.
Mathematics 12 00947 g008
Figure 9. Convergence curves of the algorithms for instance S12-C30-D4-Q200.
Figure 9. Convergence curves of the algorithms for instance S12-C30-D4-Q200.
Mathematics 12 00947 g009
Figure 10. Box plots of the results of the algorithms on the 12 small-scale instances.
Figure 10. Box plots of the results of the algorithms on the 12 small-scale instances.
Mathematics 12 00947 g010
Figure 11. Convergence curves of the algorithms for instance L12-C70-D4-Q200.
Figure 11. Convergence curves of the algorithms for instance L12-C70-D4-Q200.
Mathematics 12 00947 g011
Figure 12. Box plots of the results of the algorithms on the 12 large-scale instances.
Figure 12. Box plots of the results of the algorithms on the 12 large-scale instances.
Mathematics 12 00947 g012
Table 1. Literature related to the HOMDVRP.
Table 1. Literature related to the HOMDVRP.
ReferenceAlgorithmsProblemsObjectivesAlgorithms Designed for Half-Open Path?Other Issues
[21]HeuristicHOMDVRPDistance--
[22]Hybrid heuristicHOMDVRPTWDistanceShared depot resources
[23]Meta-heuristicUL-JDFuel cost-Urban logistics;
Joint distribution
[7]Meta-heuristicHOMDVRPTotal cost-Fresh logistics;
Joint distribution
[11]Meta-heuristic;
Exact algorithm
HOMDEVRPTWTotal cost--
[24]Hybrid heuristicMDGVRPcarbon emission;
Total cost
-Collaborative logistics;
Shared transportation resource;
Time-dependent speed
[25]Meta-heuristicHOMDVRPTWTotal cost-
[26]Hybrid meta-heuristicTDMDGVRPTWTotal cost-Time-varying road network;
Vehicle fuel consumption
[27]Hybrid meta-heuristicMDVRPSDDSPJDDistance-
[8]Hybrid meta-heuristicHOMDHVRPRisk;
Cost
-Hazardous material transportation
[9]Hybrid heuristicCMVRPTWMDPTotal cost-Collaborative logistics;
Shared transportation resource
[28]Hybrid heuristicMDTPPSRDistance-Sustainable logistics
[29]Hybrid heuristic;
Exact algorithm
BRPWorking time;
Fixed cost
-Multi-depot;
Broken bike collection
[10]Hybrid meta-heuristicCCL-JDTotal cost-Cold chain logistics;
Carbon trading mechanism
This workHybrid meta-heuristic;
Exact algorithm
HOMDVRPDistanceCollaborative logistics
Notes: the symbol “√” means that the half-open path structure is considered into the designed algorithm; the symbol “-” means that the related items are not emphasized in their works.
Table 2. Abbreviations for problem types.
Table 2. Abbreviations for problem types.
AbbreviationsProblems
HOMDVRPTWHalf-open multi-depot vehicle routing problem with time windows
UL-JDUrban logistics based on joint distribution
HOMDEVRPTWHalf-open multi-depot electric vehicle routing problem with time windows
MDGVRPMulti-depot green vehicle routing problem
TDMDGVRPTWTime-dependent multi-depot green vehicle routing problem with time windows
MDVRPSDDSPJDMulti-depot vehicle routing problem with simultaneous deterministic delivery and stochastic pickup based on joint distribution
HOMDHVRPHalf-open multi-depot heterogeneous vehicle routing problem
CMVRPTWMDPCollaborative multi-center vehicle routing problem with time windows and mixed deliveries and pickups
MDTPPSRMulti-depot traveling purchaser problem under shared resources
BRPBike rebalancing problem
CCL-JDCold chain logistics based on joint distribution
Table 3. The notations of the mathematical model.
Table 3. The notations of the mathematical model.
NotationsDefinitions
Sets
C Index set of customers, where C = 1,2 , , c , , C
N Index set of all nodes, where N = D C D = 1,2 , , i , j , , N
D Index set of depots
D Index set of dummy depots
V Index set of vehicles, where V = 1,2 , , k , ,   V
Parameters
d c The demand of the customer c
d i j The distance from node i to node j
Q The maximum load capacity of the vehicle
M The sum of the number of actual depot nodes and customer nodes, where M = D C
Variables
x i j k x i j k equals 1 if vehicle k drives from node i to node j ,
otherwise x i j k equals 0
u i The sequence of vehicle arrivals at nodes i
Table 4. The notations of the proposed algorithm.
Table 4. The notations of the proposed algorithm.
Algorithmic ParameterDescription
T 0 The initial temperature
T e n d The final temperature
T k The current temperature
ψ The cooling rate
S c The current solution
S b The best solution
S n The new solution
s k The   number   of   effective   searches   ( the   times   of   S c is updated)
N The number of tempering
γ The tempering factor
L k The adaptive Markov chain length
L k p r e The   Markov   chain   length   at   T k   in pre-annealing phase
L k m a x The maximum Markov chain length
H m a x The outer maximum number of loops
Table 5. Tuning results for the parameters of HASATA.
Table 5. Tuning results for the parameters of HASATA.
ParametersLow LevelMedium LevelHigh LevelSelected Level
T 0 200050008000Low level
ψ 0.970.980.99Medium level
γ 234Medium level
L k m a x 200250300Medium level
Table 6. The small-scale experimental results.
Table 6. The small-scale experimental results.
InstancesCOPTHALNSISAASATAHASATA
O b j 1 T i m e 1
(s)
O b j 2 T i m e 2
(s)
G a p 1 O b j 3 T i m e 3
(s)
G a p 2 O b j 4 T i m e 4
(s)
G a p 3 O b j 5 T i m e 5
(s)
G a p 4
S1-C10-D2-Q100224.00.7224.09.40.00%224.09.50.00%224.02.00.00%224.05.50.00%
S2-C10-D4-Q100192.00.4192.19.90.05%192.09.10.00%192.01.90.00%192.05.20.00%
S3-C10-D2-Q200166.00.1182.618.910.00%166.05.80.00%166.01.30.00%166.02.40.00%
S4-C10-D4-Q200161.00.1173.515.47.76%161.05.60.00%161.01.30.00%161.02.40.00%
S5-C20-D2-Q100330.07200.0330.515.50.15%331.035.60.30%333.06.80.91%330.65.80.17%
S6-C20-D4-Q100288.0799.2289.015.60.35%289.425.60.47%289.54.60.52%288.25.90.07%
S7-C20-D2-Q200262.06.8262.022.30.00%269.311.82.77%270.12.53.09%262.05.00.00%
S8-C20-D4-Q200247.01.1247.023.00.00%253.211.72.49%248.42.40.55%247.04.90.00%
S9-C30-D2-Q100463.07200.0438.030.2−5.40%441.722.9−4.60%442.66.0−4.41%436.312.4−5.78%
S10-C30-D4-Q100361.07200.0373.930.03.57%371.722.42.95%368.27.71.99%361.014.80.00%
S11-C30-D2-Q200335.07200.0335.044.70.00%344.915.22.96%340.64.81.66%335.012.90.00%
S12-C30-D4-Q200309.0126.1310.544.40.47%319.915.03.53%319.08.83.24%309.013.40.00%
Average278.22477.9279.823.31.41%280.315.90.91%279.54.20.63%276.07.5−0.46%
Notes: G a p i 1 = O b j i O b j 1 / O b j 1 × 100 % , i = 2, …, 5. Bold text indicates better results for same-dimension comparisons.
Table 7. The large-scale experimental results.
Table 7. The large-scale experimental results.
InstancesCOPTHALNSISAASATAHASATA
O b j 1 T i m e 1
(s)
O b j 2 T i m e 2
(s)
G a p 1 O b j 3 T i m e 3
(s)
G a p 2 O b j 4 T i m e 4
(s)
G a p 3 O b j 5 T i m e 5
(s)
G a p 4
L1-C50-D2-Q100941.07200.0635.558.9−32.47%649.434.9−30.99%658.014.0−30.08%633.831.6−32.65%
L2-C50-D4-Q100847.07200.0550.060.9−35.06%547.333.9−35.38%553.610.8−34.64%528.334.4−37.63%
L3-C50-D2-Q200589.07200.0482.676.3−18.07%506.822.5−13.96%521.37.9−11.50%483.126.1−17.99%
L4-C50-D4-Q200488.07200.0458.676.8−6.02%468.222.4−4.07%481.26.6−1.39%452.927.2−7.19%
L5-C60-D2-Q1002044.07200.0823.148.7−59.73%847.649.7−58.53%850.021.8−58.41%821.037.1−59.83%
L6-C60-D4-Q100962.07200.0631.951.7−34.32%628.848.6−34.64%645.816.8−32.87%619.441.5−35.62%
L7-C60-D2-Q2001089.07200.0573.066.9−47.38%599.031.8−45.00%618.19.4−43.24%579.629.0−46.78%
L8-C60-D4-Q200854.07200.0526.367.7−38.37%537.530.3−37.06%547.28.2−35.93%520.233.8−39.09%
L9-C70-D2-Q1001698.07200.0938.487.7−44.73%957.573.9−43.61%1002.617.8−40.96%944.960.1−44.36%
L10-C70-D4-Q1001162.07200.0735.790.8−36.69%743.951.6−35.98%783.417.7−32.58%729.865.2−37.19%
L11-C70-D2-Q2001424.07200.0638.7115.6−55.15%688.733.7−51.64%735.311.5−48.36%647.051.7−54.57%
L12-C70-D4-Q2001041.07200.0597.3120.3−42.63%614.033.0−41.02%653.311.1−37.25%586.856.7−43.64%
Average1094.97200.0632.676.9−37.55%649.038.9−35.99%670.812.8−33.94%628.941.2−38.04%
Notes: G a p i 1 = O b j i O b j 1 / O b j 1 × 100 % , i = 2, …, 5. Bold text indicates better results for same-dimension comparisons.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Xiao, S.; Peng, P.; Zheng, P.; Wu, Z. A Hybrid Adaptive Simulated Annealing and Tempering Algorithm for Solving the Half-Open Multi-Depot Vehicle Routing Problem. Mathematics 2024, 12, 947. https://doi.org/10.3390/math12070947

AMA Style

Xiao S, Peng P, Zheng P, Wu Z. A Hybrid Adaptive Simulated Annealing and Tempering Algorithm for Solving the Half-Open Multi-Depot Vehicle Routing Problem. Mathematics. 2024; 12(7):947. https://doi.org/10.3390/math12070947

Chicago/Turabian Style

Xiao, Shichang, Pan Peng, Peng Zheng, and Zigao Wu. 2024. "A Hybrid Adaptive Simulated Annealing and Tempering Algorithm for Solving the Half-Open Multi-Depot Vehicle Routing Problem" Mathematics 12, no. 7: 947. https://doi.org/10.3390/math12070947

APA Style

Xiao, S., Peng, P., Zheng, P., & Wu, Z. (2024). A Hybrid Adaptive Simulated Annealing and Tempering Algorithm for Solving the Half-Open Multi-Depot Vehicle Routing Problem. Mathematics, 12(7), 947. https://doi.org/10.3390/math12070947

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