Abstract

Freshness of products and timeliness of delivery are two critical factors which have impact on customer satisfaction in terminal delivery of perishable products. This paper investigates how to make a cost-saving vehicle scheduling for perishable products by maximizing customer satisfaction. Customer satisfaction is defined from the two aspects of freshness and time window. Then we develop a priority function based on customer satisfaction and use the hierarchical clustering method to identify customer service priority. Based on the priority, a multiobjective vehicle scheduling optimization model for perishable products is formulated to maximize customer satisfaction and minimize total delivery costs. To solve the proposed model, a priority-based genetic algorithm (PB-GA) is designed. Numerical experiments and sensitivity analysis are performed to show the validity and advantage of our approach. Results indicate that PB-GA can achieve better solutions than traditional genetic algorithm. The improvement of customer satisfaction is higher than the decrease rate of total costs within a certain shelf life range, which reveals that the proposed method is applicable to the terminal delivery of perishable products.

1. Introduction

With the popularization of online shopping and the improvement of delivery service, more and more customers buy perishable products on Business-to-Customer (B2C) platforms. However, freshness of products and timeliness of delivery are two critical factors affecting customer satisfaction in B2C experience [1]. Thus, it is an important issue to make reasonable delivery plans for perishable products with the consideration of customer satisfaction in terminal delivery.

Perishable products, such as fruits, vegetables, and meat, have short delivery timespans. These products may start deteriorating from the moment they are produced and the freshness appears to be decreasing as transportation time elapses until spoilt [2, 3]. Freshness is one of the primary concerns when customers buy perishable products. However, in China, the damage rate of perishable products reaches up to 30%, much higher than the 5% in developed countries. Especially for terminal delivery, it makes great influences on customer’s overall satisfaction. Therefore, distributors require to take into account the freshness factor in terminal delivery planning. Moreover, timeliness is another important factor of customer satisfaction. If distributors are not able to deliver products on time, the customer satisfaction probably decreases.

Taking these two factors into consideration, it is a difficulty for logistics service providers to ensure freshness and timeliness during terminal delivery because perishable products need to be handled in a special way not the traditional cost-saving way. From the customer satisfaction view, we study a multiobjective vehicle scheduling problem for perishable products in terminal delivery.

To sum up, our contribution includes three aspects. () We define a customer priority function considering the freshness and time window to qualify customer satisfaction and use the hierarchical clustering method to classify customers into different service priorities. () Taking customer service priority as one of constraints, we establish a multiobjective vehicle scheduling optimization model for perishable products. The objective functions consist of maximizing customer satisfaction and minimizing total costs. () Then we design a priority-based genetic algorithm for the proposed model, which could produce satisfactory terminal delivery plans.

The remainder of this paper is organized as follows. Section 2 presents a brief review on related studies. In Section 3, a mathematical model of multiobjective vehicle scheduling optimization for perishable products is formulated. To solve the model, a priority-based genetic algorithm is designed in Section 4. In Section 5, numerical experiments and sensitivity analysis are presented to show the validity and advantage of our work. The paper is concluded in Section 6.

2. Literature Review

Considering customer satisfaction in perishable products delivery has been continuously a concern in both academic research and industry application. In this review, we focus on two parts directly related to delivery problems for perishable products. Firstly, we look into what has been done in perishable products distribution with time windows and the definition of customer satisfaction. Secondly, some related studies on the multiobjective modelling for VRP are briefly reviewed.

2.1. VRPTW for Perishable Products and Definition of Customer Satisfaction

The well-known vehicle routing problem with time windows (VRPTW) has been discussed deeply in the literature. In recent years, many scholars have studied VRPTW for perishable products in various aspects. Osvald and Stirn [4] extended a heuristic algorithm for distributing fresh vegetables where perishability was set as a critical factor. The problem was formulated as a VRPTW with time-dependent travel time (VRPTWTD). Considering the randomness of perishable products in delivery process, Hsu et al. [5] extended the VRPTWTD model that the perishability cost was served as a stochastic manner. Chen et al. [6] focused on production scheduling and vehicle routing with time windows to maximize the expected total profit of supplier. Ahumada and Villalobos [7] and Yan et al. [8] followed a produce through all stages of production and distribution to build an integrated model for perishable products. Wang and Yu [9] took different delivery modes into consideration and established a perishable product delivery network to minimize the total costs. Coelho and Laporte [10] compared two suboptimal policies and computed optimal joint replenishment and delivery decisions for perishable products effectively. Firoozi et al. [11] developed an efficient network for storage and perishable products distribution. Ruan and Shi [12] formulated an Internet of Things-based framework for monitoring and assessing the freshness of in-transit fruits. These studies mainly belonged to traditional VRPTW, and most researches took the minimization of total costs as the optimization objective. They converted the damage rate of perishable products into corresponding damage cost and entrusted with different weights for each cost. However, the weighting method has a certain degree of subjectivity. Moreover, perishable products have the characteristic of perishability and the spoilt products can decrease customer satisfaction tremendously. In this sense, the above studies only simply considered the economic perspective and ignored customer satisfaction for distributing perishable products.

Some researchers took customer satisfaction into consideration. Rong et al. [13] determined product deterioration by time and temperature. If the customer requirement was not satisfied, a penalty cost would be incurred for the spoilt food. Considering quality time window, Jia et al. [14] formulated a production-distribution-inventory model to control product quality and satisfy customer requirement. Amorim and Almada-Lobo [15] examined relationship between distribution scenarios and the cost-freshness trade-off. Cao et al. [16] introduced fuzzy appointment time to reflect customer preference time window and defined service start time of fuzzy membership functions as customer satisfaction. The above studies play an important role for the following research works, but the studies mainly describe customer satisfaction from the view of delivery timeliness. For perishable products, freshness is a key factor affecting customer satisfaction while these studies do not take into account the perishability.

2.2. Multiobjective Modelling for VRP

Multiobjective modelling for VRP is commonly used in fields of microcalamities management and emergency logistics, which take humanitarian factors into consideration [1722]. With perishability concerned in this paper, we mainly concentrate on multiobjective VRP for perishable products. Amorim et al. [23] developed a novel model that decoupled the minimization of delivery costs from the maximization of the freshness state of delivered products. Atashbar and Baboli [24] designed a multiobjective routing problem for perishable items in a disaster relief. In this situation, the first objective was to maximize satisfaction and demands coverage, and the second objective was to minimize the total time needed to transfer perishable products. Bortolini et al. [25] constructed a multiobjective perishable distribution model considering distribution costs, delivery time, and carbon emissions. Rahimi et al. [26] applied social issue to perishable products delivery, aiming at minimizing distribution costs and maximizing social issue which was calculated by vehicle accident rate and number of expired products. Wang et al. [27] proposed an effective distribution route that minimized the total costs and maximized freshness state of delivered products. We noted that the above studies enhanced the traditional multiobjective models for VRP to make them more adaptable for perishable products delivery. However, these studies formulated multiobjective models from different perspectives which made objective functions different from each other. In this paper, our focus is mainly on maximizing customer satisfaction and minimizing total logistics costs.

According to the above analysis, we try to define customer satisfaction from the aspects of freshness and time window. Moreover, we combine customer satisfaction with terminal delivery which can make a reasonable vehicle scheduling for perishable products. A multiobjective mathematical model and hybrid algorithm are proposed to solve the problem.

3. Problem Description and Formulation

3.1. Problem Description

The delivery processes of perishable products are as follows: customers buy perishable products on B2C platform and submit orders to suppliers. When vehicles start their travel from suppliers, the freshness is assumed to be perfect. During long-distance transportation to local distribution centers (LDCs), the freshness decreases based on freshness reduction rate of each product. In this paper, we deal with a vehicle routing problem from a LDC (depot) to customers for delivering perishable products.

A terminal delivery network is described by a graph , where is the set of nodes and is the set of arcs. In the network, the node set consists of the set of customers and the depot is denoted as , and the arc set represents shortest distance routes among nodes in the network. The assumptions are as follows:(1)Demand of each customer is less than the maximum capacity of vehicles.(2)A type of perishable products is with the same shelf life.(3)A type of vehicles is with the same capacity.

3.2. Definitions of Customer Satisfaction and Service Priority

As discussed in the Introduction, customer satisfaction mainly comes from the freshness and timeliness of delivered products. In this section, we define customer satisfaction from these two factors, respectively, and then convert it into customer service priority.

(1) Satisfaction on Freshness. In general, freshness of perishable products often decreases with the duration time of transportation. According to the existing studies, freshness of unit product purchased by customer can be defined as , where is the transportation time from depot to customer and is the shelf life of products [28]. Additionally, the more the customer demands are, the greater the loss will be for the same duration time. Therefore, we take the proportion of total demands into consideration, so the freshness satisfaction for customer is defined aswhere is the demand of customer and is the number of customers.

(2) Satisfaction on Time Window. Delivery plans often route vehicles based on customer specific time window. But in many real-life cases, the deviation of time window does not directly incur any penalty cost, and it only has negative effect on satisfaction level [29]. Hence, we apply the fuzzy theory to describe this reality. The satisfaction on time window for customer is defined aswhere represents the expected arrival time interval for customer during which the satisfaction level will be 100%. The lower bound represents the earliest arrival time that a customer can endure when a service starts earlier than . Similarly, the upper bound represents the latest arrival time that customer can endure when service starts later than . When customer is served within or , the satisfaction level is with an ascending or a descending linear relationship with actual arrival time , respectively. Otherwise, the satisfaction level will be 0. Figure 1 denotes the satisfaction on time window at different arrival times.

(3) Customer Satisfaction. Both freshness and time window have great influence on customer satisfaction. Based on the definitions in Formulas (1) and (2), the customer satisfaction can be expressed aswhere is freshness sensitivity coefficient, is time window sensitivity coefficient, and .

(4) Service Priority Based on Customer Satisfaction. The priority refers to the service order for each customer. Higher priority often needs earlier service. In this paper, we identify service priority based on the customer satisfaction on both freshness and time window. Under constraints of the number of vehicles and capacity limits, it is reasonable to prioritize the customers in order to maximize the freshness satisfaction and meet expected time window. Based on the above analysis on customer satisfaction, we construct a priority evaluation function for customer as follows:where the freshness of perishable products for customer is , is the maximal demand of all customers, and is the travel time from depot to customer .

The first item in Formula (4) reflects the freshness factor. Obviously, the smaller the distance and the bigger the demand , the smaller the first item, that is, to provide high service priorities for the customers with closer distances to depot and larger demands. Similarly, the second item reflects the time window factor. When , then ; when , then , that is, to provide high service priorities for the customers who are more consistent with the expected time window. Thus, the smaller value of , the higher service priority for customer .

Meanwhile, we deal with Formula (4) to eliminate dimension. Let be the first item in Formula (4), and is the maximum of . Similarly, let be the second item, and is the maximum of . Thus, standardized priority evaluation function for customer is defined:

Formula (5) means that when , the evaluation function only considers the time window factor and does not take freshness into consideration. On the contrary, when , it only considers the freshness factor and ignores the time window. Similar to , the smaller the value of , the higher the service priority for customer . At the same time, all customers will be served from high priority to low.

(5) Hierarchical Clustering for Service Priority. According to the above analysis, we can calculate for each customer, but different values of refer to different priority levels. Moreover, too many levels may greatly limit the selection of delivery routes. Thus, it is better to assign customers with similar values of into the same priority level, which can also mean the same cluster. Hierarchical clustering [30] is a useful pattern recognition method for organizing items into groups or clusters. The degree of similarity is high between items in the same cluster and low in different clusters. Given a set of items to be clustered, the basic procedures of the hierarchical clustering are as follows.

Step 1. Assign items to clusters. Each cluster contains just one item. Calculate the distance (or similarity) matrix.

Step 2. Merge the two clusters with the largest similarity into one single cluster. In this step, two clusters are reduced and one new cluster is created.

Step 3. Compute distances (or similarities) between the new cluster and each of the old clusters. Update distance matrix.

Step 4. Repeat Steps and until all items are clustered into a single cluster of size .

Based on the hierarchical clustering, we can group customer service priorities into clusters. According to results of clustering, we redefine customer service priority as for customer (each value of represents a cluster). More details are stated in Section 5.2.

3.3. Optimization Model

In this study, we deal with terminal delivery of perishable products considering customer satisfaction using a vehicle scheduling model. The parameters and variables are defined as follows.

Parameters: a set of customers, .: a set of depot and customers where denotes the depot, .: a set of vehicles, .: transportation cost per unit distance.: distance between customers and .: fixed vehicle cost per trip.: service time for customer (min).: long-distance travel time before arriving LDC (h).: maximum capacity per vehicle (kg).: demand of customer (kg).: average travel speed (km/h).: shelf life of perishable product (h).

Variables: freshness of products for customer .: travel time from customer to .: arrival time of customer is the initial time.: delivery time window of customer .: priority of customer .: binary variable, if vehicle travels from customer to ; otherwise .

On the basis of Section 3.2, we can determine the priority of each customer. Then a mathematical model of multiobjective vehicle scheduling optimization for perishable products considering customer satisfaction can be given as follows:

In this model we formulate two objective functions: objective (6) maximizes the average customer satisfaction from the freshness and time window. We note that the definition of is the same as that in Formula (2). Objective (7) minimizes the total logistics cost which includes transportation cost and fixed cost. Constraint (8) ensures that number of used vehicles should not exceed the number of available vehicles. Constraint (9) guarantees that a vehicle leaves from the depot center and must return back after completing its delivery task. Constraint (10) limits each vehicle from being overweight on one route. Constraints (11) and (12) ensure each customer is served only once by one vehicle. Constraint (13) ensures each vehicle serves the customers on one route from high priority to low. Constraint (14) is freshness function of products for customer . Constraint (15) expresses the arrival time for customer . Constraint (16) indicates is a binary decision variable, which equals 1 if vehicle travels from customer to .

4. Priority-Based Genetic Algorithms

The customer data and service priority based on Section 3.2 are given as initial parameters. Then we propose a priority-based genetic algorithm (PB-GA), comparing to the traditional genetic algorithm (T-GA). There are somewhat differences between two algorithms. Feasible solutions for initial population are created by two strategies: “Priority Rule + Nearest Neighbor Rule” and “random generation.” Then we transform constraints into fitness function and evaluate it based on sorting matrix; in addition, improved genetic operators are used to ensure customer service priority in crossover and mutation operations. The procedure of PB-GA is shown in Figure 2. The details will be stated below.

4.1. Encoding and Initial Population

We use sequence encoding with natural numbers to express delivery routes, where means the depot. Feasible solutions for initial population are created by two strategies: the first strategy is “Priority Rule + Nearest Neighbor Rule” with probability , and the second one is random generation with probability . At first we define two rules.

Rule 1 (priority rule). In each subroute, delivery order of each vehicle is carried out by customer service priority from high to low.

Rule 2 (nearest neighbor rule). Select the nearest Euclidean distance from current node as the next delivery node.

On the basis of these two rules, the “Priority Rule + Nearest Neighbor Rule” strategy is explained in detail as in the following steps.

Step 1. Sort customer service priority from high to low. If there is more than one customer with the same value of , then sort them according to the ascending order in Euclidean distance from the LDC.

Step 2. Select the first customer point from sort order in Step ; if this customer is not served by any vehicle, then set it as Seed which is the first service point for a vehicle and then move to Step . If all customers have been served, then move to Step .

Step 3. Select other customer points to generate the route. Pick the next unserved customer point based on Rules 1 and 2 and calculate total demands in the subroute. If , then combine it to form the subroute and move to Step ; otherwise move to Step .

Step 4. Iterate Step , until the total amount of current subroute exceeds the maximum capacity of vehicle. Then move to Step .

Step 5. Stop the current subroute, and move back to Step .

Step 6. Output vehicle routing results.

4.2. Genetic Operators
4.2.1. Selection Operator

A roulette wheel selection mechanism will be used to select the prospective parents based on their fitness computed by the evaluation function. The probability of an individual being selected is positive proportional to fitness. That is, the probability of selected individual is , , where is the population size and is the fitness of individual .

4.2.2. Crossover and Mutation Operators

Classical Order Crossover (OX) can better retain neighbor relationship in chromosome. But it may also produce infeasible route sequence because of priority violation. Therefore, this paper employs a priority-based crossover. When the initial solution is generated by “Priority Rule + Nearest Neighbor Rule,” crossover operator should not be applied to the Seed (the first delivery point of a subroute). Hence, it can reduce the change of order priority in a route. The mutation operator first selects randomly two break points in a chromosome and then makes an exchange of these two points. Also the mutation operator should not be applied to the Seed.

4.3. Constraints Handling and Fitness Function

To meet the constraints of the number of vehicles, capacity of vehicle, and service priority, this paper converts these three constraints into a penalty term and adds it as a new objective function. The expression of is given bywhere , , and (large positive numbers) represent penalty coefficients of the number of vehicles, capacity of vehicle, and service priority, respectively. Constraints handling and evaluation of fitness function are as follows.

Step 1. represents constraints of this model, so we set as the first goal. Subsequently, the other objectives are downgraded in turn. Thus, three objectives are reformed for each individual: , , and . And we express the multiple objectives as , , and .

Step 2. Calculate the , , and of all population chromosomes, and then rank them from small to large.

Step 3. After sorting chromosomes, the individual fitness of the three objectives is calculated and the overall fitness of each chromosome is calculated by sorting matrix [31]. where is the ranking number of the th objective function for chromosome , and , is the fitness value of chromosome in objective is the overall fitness of chromosome is the population size, and is a constant to increase the fitness value for the optimal individual.

5. Numerical Experiments

In order to validate the mathematical model and heuristic algorithm, numerical experiments are designed with a randomly generated 50-point example. Afterwards, the computational results are shown and the proposed method is compared. Furthermore, sensitivity analysis of the shelf life of perishable products is presented to explore the applicability of this paper.

5.1. Data Description

Fifty customer nodes are randomly generated on the two-dimensional plane with a range between (0 km, 0 km) and (100 km, 100 km). The depot is located at (40 km, 50 km). For simplicity, we set the lower and upper bound of fuzzy time window , , and service time . More detailed customer data are shown in Table 1, such as , expected arrival time window , and customer demand . Another parameter setting is shown in Table 2.

5.2. Results of Hierarchical Clustering for Customer Service Priority

In this section, we use the hierarchical clustering method to divide 50 customer priorities into several groups. Figure 3 shows the clustering results. Noticeably, when the reference value equals 5, all 50 customers are divided into four clusters.

In terms of clustering results, we can calculate average priority value for each cluster (AVG ) in Table 3. As we illustrate in Section 3.2, a small value of corresponds to a high service priority for customer . Therefore if a cluster has a small value of average priority, it comes to a high service priority for this cluster. As average priority value of cluster 1 is smallest among the other clusters, which present the highest priority, we set it as . By that analogy, four other clusters are assigned to four different service priority levels. The service priority level for customer can be expressed as , where represents the highest priority and represents the lowest one. In this way, customers will be served from high to low priority.

5.3. Experimental Results of Vehicle Scheduling

Numerical experiments are implemented with MATLAB R2011b. We set GA parameters as follows: population size , crossover rate , mutation rate , and maximum iterations . Ten times of experiments by PB-GA and T-GA are carried out, respectively. The optimal vehicle routes for each algorithm are as follows.

(1) Optimal Vehicle Routes by PB-GA. Table 4 and Figure 4 show the optimal vehicle schedule by PB-GA. The result indicates that the delivery plans by PB-GA are directly affected by the priority constraint; namely, the service sequence order established in each subroute is from high priority to low. In this situation, the number of vehicles is 7, customer satisfaction LP1 is 80.12%, and the total cost LP2 is 1294.26.

(2) Optimal Vehicle Routes by T-GA. Table 5 and Figure 5 describe the optimal vehicle schedule by T-GA where the number of vehicles is the same with that by PB-GA, but customers are not served as priority order. In this case, due to the loose of priority constraint, the customer satisfaction LP1 is 74.96% which is lower than that by PG-GA and the total cost LP2 drops to 1272.57.

5.4. Experimental Results Analysis
5.4.1. Results Analysis 1: Comparison of Optimal Results

This paper conducts a further comparison of optimal gaps in subgoal LP1 (customer satisfaction) and subgoal LP2 (the total costs) between two algorithms. Components of each subgoal are shown in Table 6.

() Compared with T-GA, the optimal gap of PB-GA in subgoal LP1 is 6.89%. In particular, the degrees of satisfaction with freshness and time window are effective, with the improvement of 3.29% and 12.27%, respectively. Thus, it reveals that PB-GA can promote the freshness of perishable products as well as achieve better solutions to satisfy the expected arrival time for customers.

() In terms of subgoal LP2, PB-GA has higher total costs than T-GA. However, with an overall perspective of two subobjectives, PB-GA only costs 1.7% more and gets 6.89% improvement rate in customer satisfaction with the same number of vehicles. Obviously, this increased cost is acceptable for logistics service providers, whereas the customer satisfaction can be enhanced significantly in comparison with T-GA. Thus, PB-GA tends to achieve better solutions for terminal delivery of perishable products.

5.4.2. Results Analysis 2: Sensitivity Analysis of Shelf Life for Perishable Products

It is worth noting that perishable products are characterized as time-sensitive items. Their shelf life has a great influence on perishable products’ quality and freshness. In this section, we make a sensitivity analysis of shelf life to explore two algorithms’ effects on customer satisfaction and the total costs.

It is observed from Figure 6 that as shelf life of products becomes longer, both of the algorithms have stronger effect. That is because a longer shelf life will keep perishable products with higher quality of freshness; moreover, it can increase customer satisfaction. Additionally, it is evident from this figure that PB-GA gets better solutions in customer satisfaction than T-GA within the shelf life interval of 20–55 h. That is because customer service priority is set based on subgoal LP1, and PB-GA will make every effort to improve customer satisfaction. We can figure out that it is effective to solve the delivery problem of perishable products by PB-GA.

Figure 7 illustrates that the total cost by PB-GA is higher than that by T-GA. That is because PB-GA will have a concern about the priority of customer to guarantee the satisfaction, so it will make the cost a little more than T-GA. However, the two total costs are close.

Compared with T-GA, Table 7 shows the optimal gaps of subgoals LP1 and LP2 by PB-GA under different shelf lives. It shows that, between 20 and 40 h, the optimal gap of satisfaction increases remarkably which is higher than the dropped cost gap. However, between 45 and 55 h, the increased cost gap is higher than the improvement of customer satisfaction. That is because when shelf life turns to be quite long, it no longer has the feature of perishability. Under these circumstances, PB-GA does not fit the normal products with long shelf life and T-GA is better. But in this paper, what we focus on are perishable products and the proposed algorithm still has a better effect on products within 45 h shelf life. So the applicability of PB-GA mainly focuses on perishable products with short shelf life.

6. Conclusions

This paper considers customer satisfaction in terminal delivery in order to deal with vehicle scheduling problem for perishable products. The main contributions of this paper include the following. () We qualify customer satisfaction from aspects of product freshness and time window. Based on priority evaluation function, we identify service priority for each customer as the service order in vehicle scheduling. () We construct a multiobjective vehicle scheduling optimization model for perishable products considering customer satisfaction. A priority-based genetic algorithm is designed to solve the problem. () Numerical experiments illustrate effectiveness of the proposed method which has improvements for customer satisfaction within a certain shelf life range. The sensitivity analysis reveals the adaptability in solving perishable products terminal delivery problem.

It is worth noting that some places need to be improved; for example, we did not consider multiple depots, multiple vehicle types, or multiple types of perishable products; however, these cases commonly exist in fresh products B2C e-commerce environment. We will conduct further studies considering the above problems.

Competing Interests

The authors declare that they have no competing interests.

Acknowledgments

This work is supported by the National Natural Science Foundation of China by Grant (nos. 71471025, 71531002), the Natural Science Basic Research Project in Shaanxi Province (no. 2016JQ7005), China Ministry of Education Social Sciences and Humanities Research Youth Fund Project titled as “Delivery Optimization of Maturity-Based Fruit B2C Ecommerce-Taking Shaanxi Kiwifruit as the Example” (no. 16YJC630102), and Project funded by China Postdoctoral Science Foundation (no. 2016M600209).