Abstract

To solve the problems of warehouse explosion and delay of logistics distribution network under the sudden explosion of demand on “double 11” and “618,” this paper proposes a logistics distribution network location algorithm that can consider reliability, green environmental protection, and path optimization. Firstly, the transportation model of logistics distribution network location-route optimization is established. Under the condition that the transportation model satisfies the vehicle path reliability constraint, it can minimize the total cost, including logistics distribution cost, transportation oil consumption, and CO2 emission cost. This paper designs an improved imperial competition algorithm to solve it according to the characteristics of the transportation model. Firstly, the competition mechanism of “United Lian Heng” was introduced in the initial national stage, enhancing the information exchange and retaining the superior population. Secondly, in the process of empire assimilation, we can learn from the colonial rule strategy, which is gradually infiltrated and assimilated by all levels of the country to enhance the development ability of the algorithm. Finally, the algorithm designs a mechanism to judge and jump out of local optimum, so as to avoid “premature” affecting the optimization performance. The rationality of the model and the effectiveness of the improved imperial competition algorithm are verified by simulation experiments of different scales, while the influence of reliability level is analyzed. Experimental results show that the proposed method can effectively solve problems of different scales and maintain stable performance under different reliability levels. Moreover, its algorithm performance is better than that of the standard imperial competition algorithm.

1. Introduction

Under the background of regional economic integration and Internet, e-commerce logistics and distribution have developed rapidly. Its characteristics are as follows: (1) facing many customers with small demand, rich varieties, and scattered locations directly, the e-commerce logistics system is complex and costly [1] and (2) customer demand is subject to dynamic fluctuations due to factors such as season, weather, holidays, promotion means, and product life cycle. There is even a sudden surge (“double 11” and “618”). Faced with this kind of disturbance, the resources of each site in the distribution network cannot be accurately balanced. This leads to the phenomena of product explosion and delay, and the risk resistance is poor [24]. The distribution network is the foundation of the logistics distribution system. Reasonable distribution center location and vehicle route planning play an important role in the effective operation of the distribution system [5]. The location routing problem (LRP) integrates both the location problem and the vehicle routing optimization problem [6]. Researchers have studied various LRP problems and their extensions. Michael et al. summarized the related research of LRP in recent years in detail from different angles, including standard LRP, and various extended problems such as multistage LRP, multicycle LRP, and multiobjective LRP [7].

With the enhancement of environmental protection consciousness, people began to pay attention to the environmental pollution caused by CO2 emission in the process of logistics and distribution. Green logistics distribution system design is of great significance to the development of sustainable logistics. There is much research on green LRP. In order to minimize the energy cost related to transportation, Benotmane et al. considered the two-level location routing problem. Genetic algorithm and dynamic island model are used to optimize the green LRP problem. The green LRP problem is a combination of the classical location routing problem and the pollution routing problem. This method can minimize energy costs and carbon dioxide emissions [8]. Wang et al. used an ecological package to optimize the location of green logistics. The pickup and delivery of small eco-packages are established through a cost-minimized synchronous orientation routing model, which is very important for transporting large eco-packages. It is modeled by resource sharing state-time discrete transportation centralized network flow programming in the spatiotemporal network. For the pickup and delivery of small eco-packages, the cost-minimization synchronous guidance positioning path model is adopted [9]. Dukkanci et al. studied the green LRP problem, established a single objective optimization model, minimized the operation cost and emission cost, and considered the time window constraint [10]. Zhang et al. designed a time-dependent green location path problem model with time windows. The model minimizes costs, including the cost of opening warehouses, the cost of starting vehicles, and the cost of fuel consumption [11]. However, the above research does not consider the security problem.

Currently, people pay more and more attention to the security of various systems. Interference inside or outside the distribution system will bring interruption risk to the system, thus affecting the normal operation of the system. Therefore, it is of practical significance to design a safe logistics distribution system. Recently, some scholars have done some research on reliability LRP considering interruption. Raziez et al. designed an LRP model with three types of interruptions in view of the high possibility of interruption of route capacity. According to the NP-hard property of the model, a genetic algorithm is proposed to solve the large-size problem [12]. Badakhshian et al. considered labor interruption or failure caused by bad weather conditions and designed a reliable logistics network by strengthening existing facilities and defining standby facilities to avoid interruption. They proposed a column generation method to model and solve all three logistics problems [13]. Considering the interruption risk of the distribution center, Huang et al. studied the reliable fourth-party logistics routing problem in network design. They established a scenario-based integer programming model to locate the distribution center and minimize the total cost of the proposed problem [14]. In order to make the network resist interruption, Dehghan et al. added interruption in the design stage of the network to reduce the impact of the disaster on LRP. They put forward a mixed-integer programming model. In the supply chain distribution network, the model formulated the reliable capacity positioning path problem with synchronous delivery and service delivery [15]. However, so far, the LRP problem considering the reliability of CO2 emission has been less studied.

Considering reliability and green environmental protection, this paper studies the location path optimization problem of reliable green logistics distribution in order to deal with the warehouse explosion and delay of logistics distribution network under the sudden demand explosion of “double 11” and “618.” Different from the existing research on LRP, this paper calculates the fuel consumption and CO2 emission cost based on the network for transport and environment (NTM) method and defines the vehicle routing reliability. This algorithm aims at minimizing the total cost and establishing the logistics distribution location routing optimization model with vehicle routing reliability constraints, designing an improved imperial competition algorithm to solve the transportation model. The improved algorithm explores and solves the problems that the original imperial competitive algorithm (ICA) is greatly influenced by the initial country, lacking effective information interaction between empires. The algorithm is easy to be collected and can be collected early. Finally, the rationality of the model and the effectiveness of the algorithm are verified by experiments.

2. Problem Description and Model Establishment

As shown in Figure 1, the logistics distribution network includes distribution centers, customers, distribution vehicles, and distribution lines. Starting from the distribution center, vehicles are distributed by different customers in turn and then returned to the distribution center. In reality, due to the influence of uncertain factors, distribution centers and transportation routes may be interrupted. The interruption will affect the normal operation of the distribution system. In addition, oil consumption and CO2 emission during transportation will cause environmental pollution. The problem of location-route optimization of reliable green logistics distribution can minimize the total logistics cost, fuel consumption, and CO2 emission costs by selecting and opening distribution centers and optimizing the driving routes of different vehicles and at the same time satisfy the constraints of vehicle route reliability.

The model assumes the following conditions. (1) The location, quantity, and demand of customer points are known. (2) The location, quantity, opening cost, capacity, and interruption probability of distribution centers are known. (3) The distance between any two points and the probability of interruption are known. (4) The types of vehicles are different and the number is known, and the fixed operation cost, transportation capacity, transportation cost per unit distance, empty and full fuel consumption of each vehicle are known. (5) At any customer point, only one car must pass. (6) Each vehicle can only start from one distribution center and return to the distribution center. Each distribution center allows multiple vehicles to exit and enter.

2.1. Symbols and Variables

The model symbols are defined as follows:I: collection of customer points.J: collection of distribution centers.O = I ⋃ J.S: vehicle collection.Di: the demand of customer point .Rj: fixed opening cost of distribution center jJ.Aj: the capacity of distribution center .Pj: the interruption probability of distribution center .Hs: fixed operating cost of vehicle .Ts: transport capacity of vehicle .TCs: transportation cost per unit distance of vehicle .: empty fuel consumption of vehicle .: full-load fuel consumption of vehicle .e: cost coefficient of oil consumption and CO2 emission.Dil: the distance from point to point .pil: the interruption probability of the line between point and point .τ: operating period (τ = 365).

Decision variables are defined as follows:

indicates the traffic volume of vehicle between point and point .

Let , .

2.2. Optimization Model

Based on the above symbols and variable definitions, a reliable green logistics distribution network location-path model is established as follows:

The objective function (4) minimizes the total cost, including the opening cost of the distribution center, the fixed operation cost of the vehicle, the transportation cost, the transportation oil consumption, and the CO2 emission cost, where FCils represents the transportation fuel consumption of vehicle s on the line between point and point . Formula (5) is the path reliability constraint of the vehicle s, where the reliability of the vehicle path is defined as the probability that the path keeps running normally. is the required reliability level. Constraint (6) indicates that vehicle s is assigned to distribution center j. Constraint (7) means that vehicles must leave the distribution center. Constraint (8) means that if the distribution center is not opened, no vehicles will leave. Constraint (9) means that the vehicle enters from a point but exits from that point; that is, the path is guaranteed to be a loop. Constraint (10) avoids the formation of subloops between various customer points. Constraint (11) ensures that each vehicle can only exit from one distribution center at most. Constraint (12) ensures that each customer point must have one and only one vehicle service. Constraint (13) requires no vehicle route between any two distribution centers. Constraint (14) represents the capacity constraint of the vehicle. Constraint (15) indicates the capacity constraint of the distribution center. Formula (16) represents the balance constraint of flow at both ends of the customer point. Formula (17) represents the upper limit and lower limit constraint of line flow between two points. Formulas (18)–(20) are binary variable constraints. Formula (21) is the nonnegative constraint of flow between two points.

2.3. Calculation of Transportation Oil Consumption

In this paper, the network for transport and environment (NTM) method is used to calculate the fuel consumption of transport vehicles. Based on the NTM method, the fuel consumption of transport vehicles can be calculated by where is the fuel consumption of unloaded vehicles. is the fuel consumption of fully loaded vehicles. lc is the load coefficient.

The transportation fuel consumption of the vehicle between the lines between point and point is

3. Logistics Distribution Location Algorithm Based on Improved Imperial Competition Algorithm

The location-routing problem of reliable green logistics distribution is an extension of the classical LRP problem. Thus, it is also an NP-hard problem. When the scale is large, it is difficult to solve the problem. Thus an intelligent optimization algorithm is designed. In view of the characteristics of the problem model, this paper designs an improved imperial competitive algorithm (IICA) to solve the problem based on the competitive hegemony of vassal states in the Spring and Autumn period and the Warring States period in Chinese history. The IICA algorithm explores and solves the problems that the original ICA is greatly influenced by the initial country, the lack of effective information exchange between empires, and the easy early collection and early collection.

3.1. Historical Background of Spring and Autumn Period and the Warring States Period

The Spring and Autumn period (770 BC–221 BC) is also called the Eastern Zhou Dynasty. In the early Zhou Dynasty, the Zhou Dynasty divided the imperial clan and heroes into strategic places or around the royal family to fulfill the duties of screening the royal family and expanding the territory, thus forming thousands of vassal states. At the beginning of the Spring and Autumn period, Ping Wang moved to Luoyang, and Zhou Shi began to decline. Because of the different social and economic conditions, the situation of competing for hegemony among countries in the Central Plains gradually appeared. Relying on powerful political and military forces, big countries constantly embezzled and annexed small countries and strengthened their sphere of influence. Small countries also tried to gain a certain living space by means of reform and merger. After two or three hundred years, to the late Spring and Autumn period, only a few dozen larger vassal states remained. During the Warring States period, the pattern of hegemony was formed until Qin destroyed the six countries and unified the world.

During this historical period, a peculiar diplomatic strategy came into being “uniting Lian Heng.” That is, in the process of national struggle, weaker countries unite with each other to resist the invasion of powerful countries in order to survive. Once the resistance failed, they took refuge in the powerful countries in order to protect themselves, forming the “vertical” strategy of “uniting the weak to attack the strong” and the “horizontal” strategy of “uniting the strong to attack the weak.”

3.2. Improved Imperial Competition Algorithm

Imperial competition algorithm is an intelligent optimization algorithm based on social and political evolution proposed by Atashpaz-Gargari and Lucas. The algorithm can solve the optimization problem by simulating the competition process of imperialist colonies in human society. The ICA algorithm has been applied to solve problems in different fields, such as traveling salesman problem, static synchronous compensator design problem, flexible job shop scheduling problem, and mixed-flow bilateral assembly line balancing problem. The performance of the algorithm has been verified in application. The basic process of ICA can be summarized into four processes: national initialization, colonial assimilation, imperial competition, and national convergence.

ICA simulates the imperial competition mechanism and realizes the optimization ability by approaching the nonoptimal solution to the optimal solution, updating the position of the optimal solution, and competing for convergence [16]. On that basis of retaining the core idea of ICA, IICA proposes three improvement measures, and the specific steps are as follows:(1)Initialization settings, including the initial number of countries Ncou, number of empires Nsuz, number of colonies Ncol, movement parameter values , and number of iterations.(2)The initial countries are randomly generated, and the strong country and the weak country are distinguished according to the normalized power value. The strong countries are directly retained, and the weak countries jointly generate a new country. The size of the power value of the new country will determine whether it will replace the existing powerful country or be eliminated, and the remaining country will enter the imperial competition.(3)The most powerful Nsuz countries served as suzerainties to form empires and occupy a corresponding proportion of colonies. The eigenvectors of each colony in the empire move closer to the eigenvectors corresponding to the suzerain. If the colonial power value is greater than the suzerain in the moving process, other colonies will move to the new suzerain instead.(4)By calculating the total normalized power value of the empire, the weakest colony of the weakest empire will be occupied by other empires, and the occupation probability is directly proportional to the imperial power. The empire with zero colonies will be eliminated and destroyed.(5)If the same optimal value appears continuously, judge whether it falls into local optimum, and get out of trouble according to the set jump-out scheme.(6)Iterate until the set maximum number of iterations is reached.

The flow of the improved algorithm is shown in Figure 2.

3.2.1. Improve the Initial State Generation Mechanism

It is difficult to guarantee the quality and stability of the population because the initial country is randomly generated according to the principle analysis of ICA. Based on the historical situation of the elimination of vassal states in the Spring and Autumn period and the Warring States period, this paper attempts a new initial state generation mechanism.

At the beginning of the algorithm, a large number of countries are randomly generated, which is generally 2∼4 times the number of ICA countries, so that countries with better quality can be retained through competitive screening, and the complexity and operation efficiency of the algorithm will not be greatly affected. Among them, some countries with strong power are retained, while the remaining relatively weak countries avoid elimination via uniting with other countries to strengthen their power in order to protect themselves. Specific steps are as follows:(1)A certain number of countries are selected randomly.(2)Calculate the power of each country and obtain the weight.(3)Take the location information of each country according to the weight to form and merge into a new country. If the power value of the new country exceeds the retained country, it will be replaced; otherwise, it will be eliminated.

The above competitive screening process enhances the information exchange among countries, retains excellent location information, and forms a better algorithm initial population.

3.2.2. Improve the Way of Empire Assimilation

The process of ICA empire assimilation is realized by moving the colony to the overlord as a whole to improve the way of empire assimilation ICA. The movement parameter is set to 1.8 to ensure that the colony approaches the overlord from the front and back directions. In the real world, colonial assimilation is generally accompanied by infiltration and transformation in politics, economy, and culture. Using this idea for reference, the process of moving the colonial country is changed to the process of moving each feature component to the feature component corresponding to the suzerain country, as shown in Figure 3.

Each feature component moves independently. If the moving parameter value is , its maximum moving distance iswhere () is the distance between each characteristic component of the colony and the corresponding characteristic component of the empire. The value of should be greater than 1.0 in order to ensure the approach from both sides to the target. After repeated tests and experiments, it is proved that when the value of is gradually increased from 1.0, the solution accuracy is gradually improved. Different test functions can obtain the best optimization accuracy when the value is between 1.5 and 1.8. After is taken as 1.8, the solution accuracy gradually decreases as the value of increases. Therefore, for different objective functions, limiting the value of the movement parameter to the interval between 1.5 and 1.8 can achieve better results. In experiments or practical applications, a simple substitution test can be performed first to clarify the parameter values.

In order to compare the difference between the improved algorithm and the original algorithm in the moving mechanism, Figure 4 shows the difference in search range between the two algorithms in the two-dimensional plane. The search range of ICA is a sector with a radius of 2d, while the improved algorithm is a rectangle with the maximum moving range of each component as its side. On the one hand, the independent movement of each feature component enhances the flexibility and randomness, and the development ability is stronger. On the other hand, the rectangular search range is relatively small, which improves the overlap and coverage of search areas when multiple targets are close (Figure 5), and has higher efficiency.

3.2.3. Increase the Strategy of Jumping Out of Local Optimum

Aiming at the premature problem of the original ICA, a strategy of jumping out of the local optimum is proposed. If the same optimal value appears many times in succession, it is judged to fall into the local optimum. At this time, the suzerain jumps out of the local optimum according to the selected scheme.

There are many schemes for jumping out of the local optimum. Three schemes are given and tested in this paper. Firstly, take the arithmetic mean of each suzerain as the new moving target point, which is denoted IICA-I in this paper. Secondly, according to the power of each suzerain, the weighted average is taken as a new moving target point, which is recorded as IICA-II in this paper. Thirdly, a certain percentage of the location information of the suzerain changed randomly, which was set as 10% in this paper and marked as IICA-III. The new moving target points constructed by the first two schemes all contain the information of other suzerain countries, which enhances the information interaction. The third scheme jumps out of the local optimum through random changes, which improves the population diversity.

3.3. The Development and Exploration Ability of the Improved Algorithm and Their Balance Analysis

ICA is deficient in balancing development and exploration capabilities and lacks effective information interaction. The merger and collapse of empires rapidly reduce population diversity, and the applicability of high-dimensional functions is not strong. In view of the above problems, IICA uses a competitive elimination mechanism to enhance information exchange and retain dominant populations in the initial national stage. After many iterations, the mechanism of jumping out of local optimum is added in the stage of greatly reducing population diversity, which provides a path for the recovery of population diversity. At the same time, the improvement of the assimilation mechanism enhances the flexibility and efficiency of search and improves the development ability without affecting the exploration ability. Therefore, compared with ICA, the development and exploration capabilities of the improved algorithm are enhanced simultaneously, and there are more measures to improve the exploration capabilities. The balance between the two algorithms is more reasonable.

3.4. Cost Function

Given an imperialist country or a colonial country, the solution is obtained by decoding, and the national cost function is calculated according to

Among them, is the objective function expression (4), and the path reliability constraint (5), vehicle capacity constraint (14), and distribution center capacity constraint (15) are added to the evaluation function as penalty items. , , and are penalty coefficients. ()+means that if the value in brackets is positive, the value will be taken. represents the level of reliability. represents the outage probability of the distribution center. represents interruption probability of the line between point and point . represents customer demand. represents the transportation capacity of the vehicle. represents vehicle unit distance transportation cost.

4. Experimental Results and Analysis

4.1. Experimental Parameter Setting

In order to verify the rationality of the model and the effectiveness of the IICA algorithm, different numerical examples are tested. Table 1 shows the scale of different examples, including the number of distribution centers, customers, and vehicles. The calculated parameters are generated according to the uniform distribution in Table 2. The algorithm is realized by python programming, and the experimental environment for all tests is a computer with Intel Core i7 CPU 2.6 GHz and memory 8 GB and operating system Windows 10.

4.2. Experimental Results

This algorithm is compared with the existing methods in order to verify the effectiveness of this method. Comparison methods are standard ICA and hybrid harmonic search-simulated annealing (HS-SA) algorithm proposed in [17]. The HS-SA algorithm combines the dynamic value of harmony memory considering the speed and pitch adjustment rate with local optimization technology and combines the idea of probability acceptance rule of simulated annealing to avoid local extreme points.

Firstly, the performance of IICA is tested by solving I1∼I6 examples of different scales, and the results are compared with the standard ICA algorithm and HS-SA algorithm. Among them, the reliability level of all examples is 0.5. For a fair comparison, the number of initial countries of the IICA algorithm and standard ICA algorithm is 100, the number of initial empires is 10, and the maximum number of iterations is 100. The value of constant f of the IICA algorithm is 1.5. The HS-SA algorithm has a population size of 100, a maximum number of iterations of 100.

For each example, each algorithm is run 10 times, respectively. Table 3 shows the results’ comparison of the IICA, ICA, and HS-SA algorithms under different scales, including best value, worst value, average value, average deviation rate, and average CPU running time. Among them, the average deviation rate is defined as ((average value − best value of average)/best value) × 100%.

It can be seen from Table 4 that the best value, the worst value, the average value, and the average deviation rate of the IICA algorithm are lower than those of the standard ICA algorithm and HS-SA algorithm for examples of different scales. Among them, the average deviation rate of the IICA algorithm varies from 2.0% to 3.1%. However, the average deviation rate of the standard ICA algorithm varies from 3.9% to 15.1%, and that of the HS-SA algorithm varies from 3.5% to 9.8%. It can be seen that the IICA algorithm can effectively solve examples of different scales, and with the increase of problem scale, the IICA algorithm can still maintain good performance. In addition, the average running time of the IICA algorithm is lower because of the improved empire assimilation method and the strategy of jumping out of the local optimum.

Figure 6 shows the detailed results of examples I1∼I6, including the opening cost of the distribution center, the fixed operation cost of vehicles, transportation cost, transportation oil consumption, and CO2 emission cost. It can be seen from Figure 6 that the larger the scale of logistics distribution, the greater the vehicle operating cost, transportation cost, transportation fuel consumption, and CO2 emission cost, which ultimately leads to an increase in the total cost.

In order to analyze the influence of reliability level on algorithm performance and optimization decision results, an example I3 is taken as an example. Among them, the reliability level is 0.3∼0.8. For different reliability levels, each algorithm is run 10 times, respectively. Table 4 shows the results’ comparison between the IICA algorithm and standard ICA algorithm under different reliability. It can be seen from Table 4 that the average deviation rate of the IICA algorithm ranges from 2.9% to 12.6%, while the average deviation rate of the standard ICA algorithm is between 9.3% and 16.9%. The best value, the worst value, and the average value of the IICA algorithm are also superior to the standard ICA algorithm. Therefore, the IICA algorithm can still maintain stable performance under different reliability levels, and its solution effect is better than that of the standard ICA algorithm.

5. Conclusion

In this paper, the problem of location-route optimization for reliable green logistics distribution is studied, and an optimization model is established to minimize the total cost, including the opening cost of the distribution center, vehicle operation cost, transportation cost, transportation oil consumption, and CO2 emission cost, under the condition of satisfying the constraint of route reliability. An improved imperial competition algorithm (IICA) is designed according to the characteristics of the problem. Finally, the performance of the algorithm is tested by a numerical example, and the important parameters are analyzed. The experimental results show that the average deviation rate of the IICA algorithm varies from 2.5% to 8.3%, which is better than that of the standard ICA algorithm and HS-SA algorithm. IICA algorithm can effectively solve different scale examples. Furthermore, with the increase of the problem scale, the IICA algorithm can still maintain good performance. In addition, with the increase of reliability level, the number of vehicles increases, which increases the vehicle operating cost, transportation cost, transportation fuel consumption, and CO2 emission cost and finally leads to the increase in the total cost. In future research, the reliability of green logistics distribution location-route optimization in a dynamic environment can be further considered.

Data Availability

The labeled dataset used to support the findings of this study is available upon request to the author.

Conflicts of Interest

The author declares no conflicts of interest.