Abstract

One of the top issues in logistics management and related research is to establish an effective distribution system that is adaptive to new retail and capable of lowering the cost of logistics while enhancing consumer satisfaction. Aimed at reversing the weak points of current logistics distribution patterns, a dual-objective bipolar model with optimal logistics cost and consumer satisfaction by restraining distribution time and load is tested in this paper to figure out the proper nodes and vehicle routes. Data from general and front warehouses of PuPu mall, a Fuzhou-based online retail enterprise, are made into a case study. Moreover, the immune algorithm and genetic algorithm are adopted to achieve the model solution. It is found that the immune algorithm is more efficient than the genetic algorithm in searching solutions, thus having better adaptivity and effectiveness, and also that the type of distribution vehicle plays a significant role in determining the total distribution cost.

1. Introduction

In recent years, online retail (also known as new retail) has shown a rapid growth trend. In 2020, China’s online retail sales reached 11760.1 billion yuan, an increase of 10.9% over the previous year. Among them, the online retail sales of physical goods reached 9759 billion yuan with an increase of 14.8%, accounting for 24.9% of the total retail sales of social consumer goods. Logistics generation and order generation are the two basic links of online retail, and the evolution of the combination mode of the two constantly reshapes the format of e-commerce, resulting in the rapid updating and iteration of new retail modes. At present, the mainstream of the industry consists of three trends: integrating offline with online (such as https://www.Suning.com), integrating online with offline plus self-run logistics service (such as https://www.JD.com), and online order plus front warehouse distribution and delivery (such as https://www.pupumall.com, Fuzhou). The distribution networks of these new retail logistics have the following common characteristics: they directly face the terminal customers, they have adjacent distribution outlets for customers and fast circulation, there are high requirements for customized and timely delivery, and there is low certainty of distribution quantity and frequency. A key problem of the new retail industry to solve as well as a research hotspot in related fields is to figure out how to adapt to the changes of new retail logistics distribution to reduce logistics costs and improve customer satisfaction, the core of which is to optimize the logistics path, including the optimization of logistics nodes and the paths from terminal nodes to distribution terminals (addresses of online shopping customers).

Scholars at home and abroad have taken large-scale online-to-offline (O2O) retail enterprises (such as Suning Appliance), their offline experience stores and distribution networks, and their terminal customers (mainly in cities where e-commerce is well developed) as research objects to reach various research targets [1, 2], such as minimizing total logistics cost, minimizing driving distance [3, 4], achieving greater customer satisfaction with the optimal distribution cost, or having the best goods circulation ability and logistics service level. The proposed models were solved by various algorithms to establish the optimal logistics distribution network nodes and paths [58]. Generally, the genetic algorithm [912] and immune algorithm [1315] are widely applied to solve practical models. For example, Hou et al. [10] tried to develop a given refining schedule for the crude oil operations, which were transformed into an assignment problem of charging tanks and distillers. The problem was solved by a genetic algorithm. Wang et al. [11] constructed a multiperiod portfolio model by considering a conditional value-at-risk constraint for the multiperiod investment decisions. The model was solved by a variable neighborhood search-based hybrid genetic algorithm. Guo et al. [12] considered a multiobjective resource-constrained and sequence-dependent disassembly optimization problem with disassembly precedence constraints. This multiobjective optimization problem with a combinatorial nature was solved by a genetic algorithm efficiently.

However, some parts have still been left behind and need to be further tapped into the literature. First, there has not been pertinent and comprehensive research on the logistics distribution networks of regional new retail enterprises in China. Second, there is no comprehensive analysis of the influencing factors of customer satisfaction and minimizing the logistics cost of outlets has not been involved in the overall consideration. Third, there is no in-depth analysis of the impact of the influencing factors on customers’ choice of front warehouses on logistics network operating costs.

In view of the limitations of the existing research results on new retail logistics terminal node layout and considering customer satisfaction and total logistics cost, this paper constructs a dual-objective bilevel programming model for site selection and layout optimization of new retail distribution centers and their front warehouses. An immune algorithm is adopted to seek solutions, aiming to provide technical support for solving new retail logistics problems.

2. Problem Prototypes and Models

2.1. Problem Description

Based on the logistics distribution network of https://www.pupumall.com, a regional new retail enterprise, this paper investigates the solutions to this kind of network by modeling, which involves optimizing distribution lines from the general warehouse to each front warehouse, selecting the sites of front warehouses, and covering the service area. The general warehouse is responsible for storage, sorting, transportation, distribution, distribution processing, order information processing, and so on, as well as delivering goods to the front warehouses within the region. The front warehouses are located where there is easy and quick access to customers and are responsible for temporary storage, transfer, sorting, order processing, and other functions, and it is required that goods be delivered within 30 minutes after receiving a customer’s order. Light trucks are used for transportation from the general warehouse to the front warehouses, while electric vehicles are used from the front warehouses to the terminal customers. The total cost of logistics distribution includes both the transportation cost from the general warehouse to the front warehouses and the distribution cost from front warehouses to customers.

Customer satisfaction with the front warehouses is determined by factors such as distribution time, pickup distance, service price, service quality, and goods turnover ability [7]. As https://www.pupumall.com delivers goods directly to the door without the need for customers to pick up the goods themselves, customer satisfaction mainly depends on the distribution time, since the logistics distribution market is quite transparent and the prices are consistent, so they do not need to be considered. Therefore, customer satisfaction with the front warehouses is mainly influenced by three factors: distribution time, turnover capacity, and service quality.

2.2. Solution Model

To facilitate the search for a solution and increase the practical value of the model, the following assumptions are made for the logistics networks in this study:(i)There is only one general warehouse, which is responsible for supplying goods to each front warehouse(ii)The maximum processing capacity of an alternative front warehouse is the same as that of those in use, and the location is known(iii)Electric vehicles are employed to transport goods from front warehouses to terminal customers and are capable of circular distribution(iv)The maximum capacity of each vehicle is limited(v)The demand for goods from each front warehouse is met, and only one vehicle services the goods(vi)The length of each distribution path shall not exceed the maximum driving distance of the vehicle in service(vi)The fixed cost of each front warehouse is different(vii)The delivery time from a front warehouse to a customer is expected to be within 30 minutes

Moreover, the model sets, parameters, and decision variables used throughout the paper are as follows:Sets: is the set of vehicles used between the general warehouse and front warehouses is the set of vehicles used between the general warehouse and front warehouses is the collection of front warehouses is the collection of locations of terminal customers is the collection of terminal distribution of electric vehiclesIndex: is the index of general warehouse is the index of vehicles of vehicle set is the index of vehicles of vehicle set is the index of front warehouses is the index of terminal customersParameters: is the transportation rate from the general warehouse to a front warehouse (RMB/(kg·km)) is the transportation rate from a front warehouse to a terminal customer (RMB/(kg·km)) is the weight of the customer satisfaction on distribution time is the weight of the customer satisfaction on turnover capacity is the weight of the customer satisfaction on service quality is the distance from the general warehouse to a front warehouse, and represents the distance from a front warehouse to a terminal customer is the freight volume of each front warehouse is the demand quantity of customers is the fixed operating cost of each front warehouse is the service level of the front warehouse is the starting time point of the expected time window of customer on warehouse is the ending time point of the expected time window of customer on warehouse is the maximum acceptance time of customer on warehouse is the distance between customer and warehouse is the capacity of vehicle , is the capacity of vehicle , is the driving distance capacity of vehicle , is the driving distance capacity of vehicle , Decision variables: binary variable, 1 indicates moving goods from the general warehouse to front warehouses by vehicle binary variable, 1 indicates moving goods from the front warehouse to terminal customer by electric vehicles binary variable, 1 if customer is designated to warehouse binary variable, 1 indicates the front warehouse being selected is the customer satisfaction of customer on distribution time is the customer satisfaction of customer on turnover capacity is the customer satisfaction of customer on service quality is the customer satisfaction of customer on distribution time regarding is the customer satisfaction of customer on turnover capacity

Based on the description of the problem and the variables, an optimization model of logistics outlets under the two-stage new retail model is established.

The objective function of this paper features cost minimization and customer satisfaction maximization, thus taking the minimum value of in formula (2) and the maximum value of in formula (3) with no direct weighting and obtaining the minimum value by calculating the reciprocal of satisfaction degree. Because the order of magnitude between the two functions is not uniform, the transformation factor is introduced to transform the dual-objective model into a single-objective model, as shown in formula (1). To be specific, formula (2) shows the objective function of the total cost, which consists of the transportation cost from the general warehouse to the front warehouses, the distribution cost from the front warehouses to terminal customers, and the fixed operating cost of the front warehouses. Formula (3) represents the function of customer satisfaction, which is determined by three factors, namely, the distribution time , goods turnover capacity , and service quality , which can be obtained by formulas (4)–(6). In formula (4), represents the membership degree of terminal customers to a front warehouse in terms of distribution time, which can be calculated using formula (7). Similarly, the customer satisfaction of customer on turnover capacity involved in formula (5) can be calculated by formula (8), in which and in the function represent the customized coefficients for customers.

The above two objective functions have the nature of conflict. In other words, given a certain number of vehicles, if we reduce the transportation cost, distribution cost, and fixed operating cost, customer satisfaction will be improved. In this case, there is no conflict. However, the first objective function is a minimal one and the second objective function is a maximal one. Once one of them is optimized, the other objective would be impaired for certain.

Formula (9) presupposes that goods from a front warehouse can be delivered by only one vehicle. Formulas (10) and (11) guarantee that the goods loaded on the vehicle does not exceed its loading capacity. Similarly, formulas (12) and (13) presuppose that the length of the distribution line does not exceed the driving distance capacity. Formula (14) determines that each customer should be designated to one of the front warehouses. Formula (15) presumes that customers can be served by the front warehouse only when the front warehouse is selected. Formula (16) presupposes that the amount of goods in a front warehouse is not less than the amount demanded by its terminal customers. Formula (16) presets the load limit of the electric vehicle assigned to a front warehouse. Formula (17) presumes that the delivery time from a front warehouse to its customers shall not exceed 0.5 hours.

3. Algorithm Solutions

The immune algorithm is a new calculation method inspired by the antigens and antibodies of biological immune systems. It has the self-adaptive characteristic of obtaining the optimal solution of a multiobjective function by multiple mechanisms and thus can avoid being “premature” (converging to a local extreme value) to a large extent. In the immune algorithm, antigens correspond to problems to be solved and antibodies correspond to solutions. In the process of seeking a solution, the algorithm generates the optimal solution by simulating the biological immune system. The specific algorithm flow is as follows. First, input the antigen and expect the initial antibody to be generated and then calculate the affinity between antibodies; when the antibodies are varied to cause the metabolism of immune cells, new antibodies are generated by the selection, intersection, mutation operators, and immune operators. Under the influence mechanism of a set of judgment conditions, the antibody population of the immune algorithm is constantly adjusted, updated, and evolved, to search for the optimal antibody, that is, the optimal solution to the problem.

3.1. Antigen Input

The objective function and restrictive conditions of the problem are input as the antigen of the immune algorithm, and the solution to the problem is accordingly regarded as the antibody.

3.2. Initial Antibody Generation

In the algorithm, the immune system generates the initial antibody by searching memory cells, activating the memory function of the immune mechanism. After the memory mechanism obtains the solution (antibody) to a problem, it selects and retains a certain scale of high-quality individuals. In the process of antibody renewal, many excellent individuals are stored and the inferior ones are replaced in the memory bank.

3.3. Affinity Calculation

The affinity is a concept representing the relationship between an antigen and an antibody. The former is done with a fitness function to extract the target function . The latter suggests the similarity between antibodies, which is calculated with the following formula:

In this formula, refers to the same digits of two antibodies and refers to the length of the antibody.

Antibody concentration (i.e., the proportion of similar antibodies in the population) is calculated with the following formula:

In this formula, is the total number of antibodies and , with serving as a preset threshold.

3.4. Antibody Metabolism (Intersection and Variation)

The metabolism of immune cells is caused by the intersection and variation of antibodies. In this paper, two randomly generated numbers are used as insertion points to exchange customer information, and the same elements in the new antibody are successively deleted while the missing customer numbers are filled back in to form two new legal antibodies. To let the filial generation inherit more genes of the parental generation, an evolutionary reversal operator mutation method is adopted to generate a new gene string. After comparing the fitness of the new antibody and the original antibody, the one with higher fitness enters the next generation.

3.5. Promotion and Inhibition of Antibody Generation

In the process of finding the optimal solution, when the antibody concentration exceeds a certain value, the solution process will converge too early to get a globally optimal solution. The problem of too many antibodies or too many similar antibodies can be solved by controlling antibody concentration to prevent population degeneration.

Formula (19) calculates the antibody concentration. If individuals with higher concentration are defined as , the concentration probability of individuals can be calculated by the following formula:

When , the concentration probability of the other individuals is

The individual selection probability is made up of the fitness probability and concentration probability :

In the above formulas, is the affinity coefficient, , and and . Equation (23) suggests that the greater the individual fitness, the greater the selection probability, whereas the greater the individual concentration, the smaller the selection probability. Thus, not only can individuals with high fitness be retained, but also the diversity of individuals can be ensured, better avoiding premature convergence.

3.6. Group Renewal

Two antibodies can be randomly selected to undergo mutation according to the mutation probability set in the previous steps and then intersect with each other. Steps 3–5 are repeated until the termination condition of the algorithm is met.

3.7. The Judgment of Termination Conditions

When all parameters have met the termination conditions of the algorithm, the algorithm stops when the maximum number of iterations is reached and the algorithm ends when the best individual is the optimal solution; otherwise, return to Step 3 and repeat the above cycle.

4. Case Study

4.1. Data and Model Parameters

A Fuzhou-based Internet retail enterprise, https://www.pupumall.com, was made a case study here. Its general warehouse is located in Zeyang village, Nantong, Minhou County, Fuzhou, and it has 30 front warehouses available. Each front warehouse is responsible for the distribution of goods to several communities. The layout of the front warehouses is shown in Figure 1, and the quantity demand of each warehouse is shown in Table 1. Customers in 298 communities are covered by the service offered by https://www.pupumall.com. The parameters involved in the model are shown in Table 2.

4.2. Model Solution Output

The parameters of the immune algorithm are as follows: population size N = 80, crossover probability Pc = 0.8, mutation probability is 0.2, and iteration times are 100. The algorithm runs 80 times before finding the final solution, and the minimum value of the total cost is 960,630. Table 3 and Figure 2 compare the genetic algorithm and the immune algorithm, and the data suggest that each index of the immune algorithm is better than that of the genetic algorithm. The corresponding routes from the general warehouse to the front warehouses are shown in Figure 3, and the corresponding routes from front warehouses to customers are shown in Figure 4.

After 90 and 80 iterations, the genetic algorithm and immune algorithm reach the maximum fitness value of 0.762. Meanwhile, the average time needed for the immune algorithm to converge to get the final solution is 97.8 seconds, 9.2 seconds faster than the genetic algorithm. It can be seen that the immune algorithm has better convergence and stability. Besides, compared with the genetic algorithm, the immune algorithm used in this paper can facilitate getting the final routes of vehicles in a shorter time.

We calculated the impact of two-vehicle models on the total cost of new retail logistics distribution. Table 4 shows that, with a 5-ton vehicle load, the total cost is 1.08% which is less than that of a 4-ton load, even with 20% fewer vehicles required, yet with better maximum fitness. It is therefore quite obvious that selecting vehicles with the same loading capacity as the demand capacity of the front warehouse will likely reduce the cost of logistics distribution.

5. Conclusions

This paper focuses on optimization problems of logistics nodes and vehicle paths that need to be solved jointly for new retail enterprises (such as https://www.pupumall.com) using the operation mode of online order plus front warehouse distribution and delivery. A dual-objective optimization model is therefore established with the minimum logistics cost and maximum customer satisfaction. Data of logistics distribution from the general warehouse and front warehouses of https://www.pupumall.com were made into a case study, and the immune and general genetic algorithms were used to obtain model solutions. The conclusions are as follows.

First, the immune algorithm adopted to solve the optimization model established in this paper is capable of effectively preventing the degradation of the genetic algorithm in the later stage and is superior to the genetic algorithm in search speed, fitness, and optimization effect.

Second, with the restrictive conditions in this paper taken into consideration, the case study shows that the cost of the corresponding logistics distribution scheme suggested by the immune algorithm is lower than the corresponding index value of the genetic algorithm, and the former is more practical. Besides, the logistics distribution vehicle model has a significant impact on the total logistics cost. The vehicle model with the same loading capacity as the demand capacity of the designated front warehouse is more likely to reduce the distribution cost.

In this paper, it is presumed that the number of end nodes is limited and the road traffic is smooth when conducting the optimization. It will be the goal of the follow-up study to obtain a more practical solution by expanding the search scope to fully cover the service area and account for the situation of traffic congestion and restriction.

Data Availability

The data used to support the findings of this study are included within this article.

Conflicts of Interest

The authors declare that there are no potential conflicts of interest.

Acknowledgments

This paper was funded by the logistics research team of Chuanzheng Communications College (205165).