Abstract
Due to mismanagement of supply chain operations, fresh produce, which deteriorates highly depending on time and operating environment (including temperature and humidity), will suffer huge losses in transit, resulting in substantial monetary losses. Crossdocking, as an efficient logistics operation strategy, has been widely used in fresh produce distribution in the cold supply chain, whereas it has not received adequate attention in the scientific literature. In order to improve the efficiency of fresh produce distribution, this study formulates a novel mixedinteger mathematical formulation model that allows repeated loading of outbound trucks to minimize the total deterioration (TD) of all the fresh produce in the crossdocking center. To solve this problem, an advanced genetic algorithm is proposed based on a constructional mixed chromosome with two parts and three levels. The numerical analyses are conducted on 10 typical instances under different combinations of parameters. Results show that our proposed model based on the repeated loading mode can effectively decrease the total deterioration compared with the traditional nonrepeated loading mode. And this superiority becomes more significant, as the value of truck changeover time and lot loading quantity (called lot size in the text) decrease. In particular, when the truck changeover time equals 0, the total deterioration obtained under repeated loading mode will be more than 31.8% on average smaller than that under nonrepeated loading mode.
1. Introduction
Fresh produce, including fruits, vegetables, meat, and seafood, damage greatly during supply chain operations, which leads to great losses of revenues in fresh produce supply chains [1–3]. In Europe, the deterioration of fresh fruits and vegetables accounted for nearly 20% of losses in the retail and foodservice industry [4]. In China, the average deterioration of fruit and vegetable products reached up to 25%–30% in circulation, causing more than $17 billion of losses per year [5]. In the United States alone, more than 30% of perishable products (fresh produce accounts for the majority), worth almost $50 billion, are thrown away every year [6]. Such a significant waste of products occurs due to the mismanagement of supply chain operations, and efficient logistics operations can significantly decrease this damage [7, 8]. Thus, how to effectively improve operations to decrease these losses has been a great challenge in research and practice.
Crossdocking, as an efficient logistics operation strategy, has been proved to shorten the circulation cycle, increase the delivery efficiency, and reduce losses in practice for fresh produce truck scheduling problems [9–11]. In a crossdocking center (CDC), products are unloaded from inbound trucks, transferred either automatically (on conveyor belts) or manually (by operators), sorted out based on customer demands, and finally loaded into outbound trucks with as small inventory quantity as possible [12]. Figure 1 shows the flow of products in a typical CDC. When the inbound trucks arrive at the receiving dock, the products are unloaded. Then, they are sorted and consolidated for reshipment at the shipping dock. If the products are not immediately uploaded on the outbound truck(s), they are stored in temporary storage until the scheduled truck arrives at the shipping dock. Reallife practice of crossdocking implementation, such as WalMart [13], UPS [14], and Toyota [15], shows its competitive importance.
Therefore, crossdocking can be effectively applied in the transition of fresh produce to reduce their deterioration [16]. Previous literature has attempted to use crossdocking mode to reduce deterioration for fresh produce from different perspectives. However, these studies are largely based on the perspective of justintime strategy, coldchain transportation strategy, multidocks strategy, etc. In fact, according to Yu’s [17] work on the classification of crossdocking research issues, there are two holding patterns for inbound/outbound trucks, namely, nonrepeat and repeat truck holding patterns at the receiving/shipping dock. In this paper, we only focus on the repeat truck holding pattern for outbound trucks. Since the outbound truck is required to complete the loading task, this paper abbreviates this pattern as repeated loading. In this case, the outbound trucks can enter and leave the shipping docks intermittently. Therefore, it is possible that an outbound truck “A” loads some of its products, leaves the shipping dock for another outbound truck “B,” and waits until outbound truck “B” completes the formulated loading task, and then outbound truck “A” goes into the shipping dock again to load all or part of its remaining products. Crossdocking with repeated loading can be regarded as a more flexible type of operation, and it has been proved that the optimal solution in this pattern is, at least, as good as or better than the optimal solution obtained in the nonrepeated loading pattern from the viewpoint of makespan [18]. Therefore, applying the repeated loading strategy to crossdocking scheduling for fresh produce can reduce deterioration effectively.
This paper formulates a novel mixedinteger mathematical formulation model and proposes a solution framework based on the genetic algorithm (GA) with repeated loading of outbound trucks to minimize the total deterioration (TD) of all the fresh produce in the crossdocking center. According to the concept of repeated loading, we design the loading rule to stipulate the quantity of each loading process, and based on this, a constructional mixed chromosome with two parts and three levels for the genetic algorithm is proposed. Correspondingly, crossover and mutation operations are carried out based on the constructional mixed chromosome. The numerical analyses are conducted on 10 typical instances under different combinations of parameters. Comparing with the traditional nonrepeated loading rule, results show that our proposed model presents a strong economic incentive and benefit in decreasing the total deterioration. The parametric sensitivity analyses are also performed to draw some significant managerial implications to the supply chain stakeholder.
The remainder of this paper is organized as follows. In Section 2, we review the literature related to crossdocking scheduling in general and crossdocking scheduling for fresh produce in particular. In Section 3, we describe the loading rules and develop a mixedinteger mathematical formulation model. The advanced genetic algorithm applied to solve this model is proposed in Section 4. In Section 5, we summarize our computational results from numerical experiments. Finally, the conclusion and future research are represented in Section 6.
2. Literature Review
The literature related to our work mainly includes the following streams: truck scheduling problems in a crossdocking center and truck scheduling for fresh produce in a crossdocking center. Then, Section 2.3 summarizes the stateoftheart and contributions of our work.
2.1. Truck Scheduling in a CrossDocking Center
Boysen and Fliedner [15] summarized three structures of the truck scheduling problems in a crossdocking center: door environments, operational characteristics, and objective functions. The door environment mainly refers to the number of dock doors. Molavi et al. [19] extended the cases of a single receiving dock and a single shipping dock into a multipledoor problem and determined the schedules for inbound and outbound trucks at a crossdocking center with fixed due dates for the outbound trucks. Guemri et al. [20] researched the crossdocking assignment problem (CDAP), in which the goal is to assign the inbound/outbound trucks to receiving/shipping dock doors to minimize the material handling cost with respecting the capacity and assignment constraints. Wisittipanich et al. [21] paid attention to the integration problem between multiple crossdockings. They addressed the novel problem in a crossdocking network and synchronized all inbound/outbound trucks throughout the network to minimize total operational time.
Operational characteristics influence the structure of truck scheduling, which is mainly as constraints for truck scheduling problems. A classic crossdocking model with infinite temporary storage capacity was constructed by Yu and Egbelu [22]; they also proposed nine heuristic algorithms for determining the optimal truck schedules for inbound and outbound trucks to minimize the total operation time. Furthermore, Boysen et al. [23] introduced a more generalized model for scheduling trucks at a crossdocking center, in which the time horizon was divided into discrete time slots, and the individual handling times of products were merged into the service slots to which the trucks were assigned. Baniamerian et al. [24] integrated the truck routing problem with the scheduling problem at crossdocking centers to minimize the total transportation cost and deviation cost of customer dissatisfaction. Tadumadze et al. [25] modified the assumption that unloading/loading times of trucks are fixed and proposed mixedinteger models integrating workforce planning and truck scheduling in the distribution center and crossdocking context. Similar work can also be found in Corsten et al. [26]; they assumed that the workforce consists of permanent and temporary workers, and the number of permanent workers is fixed, while temporary workers can be requested daily from an external personnel service provider. A linear programming model, which integrates the truck and workforce scheduling, is proposed with the goal of minimizing costs for engaging temporary workers.
With respect to the objective function of truck scheduling, Ladier and Alpan [9] summarized the possible objective function for crossdocking, including inventory level, travel distance, congestion, total product stay time, total loading or unloading time, and schedule length or makespan. Both Boloori Arabani et al. [27] and MadaniIsfahani et al. [28] took the makespan, which is the most common consideration in truck scheduling problems, as the objective to establish model. Rijal et al. [29] proposed an integrated problem with the trucktodoor assignment to minimize the transportation cost, temporary storage cost, and tardiness cost of outbound trucks. Besides, an adaptive large neighborhood search algorithm was proposed to solve the integrated problem. Dulebenets [30] constructed a novel diploid evolutionary algorithm to solve the truck scheduling problem of minimizing the total truck service cost. Numerical experiments demonstrate the developed algorithm effective in the aspect of total truck handling time, total truck waiting time, and total truck delayed departure time. Furthermore, Dulebenets [31] then took the total weighted truck service cost as the objective function to establish a mixedinteger programming model with the truck service priority and service order restrictions. Ladier and Alpan [32] regarded the total number of pallets put in storage on the planning horizon as the objective function.
2.2. CrossDocking Scheduling for Fresh Produce
Several studies analyzed different topics related to truck scheduling for fresh or perishable products. Boysen [33] focused on a special truck scheduling problem arising at a crossdocking, where products subject to deterioration were not allowed to be stored at the crossdocking and were instead required to be immediately loaded onto refrigerated outbound trucks. Various objectives (minimization of the flow time, the processing time, and the tardiness of the outbound trucks) were investigated, and suitable algorithms were proposed to solve this problem. Agustina et al. [34] introduced a cost minimization model to study truck scheduling and routing problems for fresh produce at crossdocking centers. This integrated model accounted for both product consolidation and delivery time windows. To reduce the size of the solution space, customer zones and hard time windows were considered to solve larger instances. Compared to Agustina et al. [34], Rahbari et al. [7] paid more attention to truck scheduling and routing problems for fresh produce at crossdockings subject to uncertainty. They aimed to analyze the effects of uncertainty in travel time and uncertainty in freshness life on the optimal schedule. Accordingly, a biobjective mixedinteger linear programming model was proposed to solve this problem, where the upper objective was to minimize the total cost, and the lower objective was to maximize the total weighted freshness of the delivered fresh produce. Bilgen and Celebi [35] addressed the production scheduling and distribution planning problems in the yogurt production lines of multiproduct dairy plants. The model obtained the optimal production plan for each product type on each production line in each period, as well as the delivery plan. Pan et al. [36] considered that the perishable products deterioration rate may vary due to the unstable logistic environment and proposed a mixedinteger programming model with minimizing the total deterioration rate variation within the crossdocking service platform.
2.3. Literature Summary and Contributions
Although much literature has discussed the truck scheduling problem for crossdocking, only a few researchers have concentrated on more flexible truck operations, in which repeated loading or unloading could be allowed. Mohtashami [18] considered two scenarios of operations for outbound trucks at a crossdocking center: operations with repeated loading allowed and operations with repeated loading prohibited. He proposed a genetic algorithm for scheduling inbound and outbound trucks to minimize the total operation time at a crossdocking, where repeated loading was allowed. To illustrate the performance of truck scheduling with repeated loading, several numerical experiments were presented, and the results were compared with the minimum total operation times obtained with repeated loading prohibited. Similarly, Alpan et al. [37] and Fazel Zarandi et al. [38] also focused on the truck scheduling problem for a crossdocking with repeated loading. Different from that of Mohtashami [18], the objective function of Alpan et al. [37] was designed to minimize inventory holding and truck changeover costs, whereas Fazel Zarandi et al. [38] aimed to determine the optimal schedule to minimize the total costs of earliness and tardiness and the number of preemption for outbound trucks. Alpan et al. [39] presented a crossdocking environment with multiple receiving and shipping doors, where the objective function was formulated to determine the optimal flexible schedule for inbound and outbound trucks that could minimize the total operational cost. Shahmardan and Sajadieh [40] studied a truckscheduling problem in a crossdocking center, where compound trucks, which refer to the inbound trucks that can also be served as outbound trucks, can be partially unloaded. They proposed a new heuristic algorithm, and several reinforcement learningbased simulated annealing algorithms to solve the NPHard integrated model. Theophilus et al. [41] believed that future truck scheduling studies for crossdocking should focus on the modeling of crossdocking, where repeated loading or unloading is allowed.
All of the above studies were aimed at determining the optimal truck schedules at crossdockings for fresh produce to minimize either the total operation time or total operation cost. However, different fresh produce have different deterioration rates. If two types of fresh produce are to be scheduled at the same time, the fresh produce with a higher deterioration rate should be scheduled first. Consequently, scheduling by minimizing the total operation time or total operation cost may not be suitable for fresh produce. Therefore, we propose a crossdocking scheduling model for fresh produce with repeated loading. The objective is to determine the optimal schedule for inbound and outbound trucks that minimizes the Total Deterioration (TD) of all fresh produce.
3. Mathematical Model
3.1. Assumptions and Notations
Consider a crossdocking center that has a receiving dock that is designated to serve a set R of inbound trucks and a shipping dock that is designated to serve a set S of outbound trucks. Each inbound truck is loaded with different types of fresh produce. The quantity of fresh produce type k initially loaded on inbound truck i is denoted by . After arriving at the receiving dock, the inbound truck i needs to unload all of its fresh produce before leaving. Once unloaded, these products must be sent to the shipping dock and either loaded directly onto outbound trucks or stored in temporary storage with no capacity restrictions for a short wait. At the shipping dock, each outbound truck needs to be loaded with a predetermined quantity of product type k. Unlike inbound trucks, repeated loading is allowed for outbound trucks. In other words, it is possible that an outbound truck may be loaded with some of its products, leave the shipping dock to make room for another truck, and wait and later return to the shipping dock to be loaded with all or part of its remaining fresh produce.
In addition to the operational conditions stated above, the following assumptions are applicable to our model:(1)All inbound and outbound trucks are available at time zero(2)The loading and unloading times are the same for all fresh produce types, and either loading or unloading takes one unit of time for one unit of product.(3)It also takes one unit of time to unload one unit of fresh produce from a conveyor to the temporary storage or to load one unit of fresh produce from the temporary storage onto an outbound truck.(4)Only one unit of a given type of fresh produce can be loaded onto an outbound truck at a time. Therefore, loading fresh produce simultaneously from the conveyor and the temporary storage onto an outbound truck is prohibited.(5)The truck changeover time is the same for all inbound and outbound trucks.(6)The time required to move fresh produce from the receiving dock to the shipping dock is certain and deterministic.(7)The deterioration rate of the fresh produce when exposed to the crossdocking center is different from the of the deterioration rate on the inbound/outbound trucks.
In the study of crossdocking scheduling problem with one exclusive receiving dock and one exclusive shipping dock, assumptions (1)–(6) are generally adopted for many researchers, such as Yu and Egbelu [22], Keshtzari et al. [42], and GolshahiRoudbaneh et al. [43]. According to the research of Grunow and Piramuthu [44] on refrigerated truck scheduling, assumption (7) is also adopted in their research.
The parameters and decision variables are defined as follows: Parameters R: set of inbound trucks, S: set of outbound trucks, N: set of fresh produce types, P: set of slots in the docking sequence for outbound trucks, : quantity of fresh produce type k loaded in the inbound truck i : quantity of fresh produce type k needed for the outbound truck j : lot size : number of slots required for the outbound truck to load a quantity of fresh produce type : quantity of products for the outbound truck loading fresh produce type for each loading operation, D: truck changeover time V: time required to move fresh produce from the receiving dock to the shipping dock : deterioration rate of fresh produce type k in inbound/outbound trucks : deterioration rate of fresh produce type k during handling and storage at the crossdocking : the initial freshness of fresh produce type M: large number Decision variables : time at which inbound truck i enters the receiving dock : time at which inbound truck i leaves the receiving dock : time at which outbound truck j enters the shipping dock for loading the fresh produce type in the slot : time at which outbound truck j completes loading the fresh produce type in the slot and leaves the shipping dock : time at which outbound truck j leaves the shipping dock after loading all the products it needs : quantity of fresh produce type k to be transferred from inbound truck i to outbound truck j : a binary variable that is 1 if inbound truck i precedes inbound truck i’ in the sequence, and 0 otherwise : a binary variable that is 1 if outbound truck j is assigned to the slot in the docking sequence for fresh produce type at the shipping dock, and 0 otherwise : a binary variable that is 1 if inbound truck i transfer fresh produce type to outbound truck j, and 0 otherwise
3.2. Loading Rules
We extend the study of Mohtashami [18] to transform the outbound truck docking sequence for fresh produce at a crossdocking with repeated loading. The loading rules are designed based on the outbound trucks and the product types and quantities to be loaded onto them. Moreover, a lot size is introduced to represent that whenever an outbound truck is at the shipping dock, it should be loaded with a fixed quantity of products for a specified fresh produce type . Based on the lot size, we can compute the number of slots required for an outbound truck to load a quantity of the type fresh produce with
Here, the meaning of the “floor” representation is taking an integer down. If the total quantity of fresh produce type k required to be loaded on outbound truck j is less than the lot size, then the slot number is equal to 1 instead of 0. Based on the slot number, we set the number of products to be loaded on an outbound truck from each slot according to the following rules:(1)If , which means that , then the loading quantity for outbound truck of fresh produce type k is equal to .(2)If , the outbound truck needs to load the type product several times. At slot 1 to , quantity products are loaded each time, and at the slot, all remaining quantities are loaded, i.e., .
In summary, depending on the value of and , three values of the quantity of loads per slot exist, i.e., , , and . For the convenience of modeling, we use to represent this loading quantity uniformly.
In order to better explain the above computation and equation (1) as well, we provide a simple numerical example with three outbound trucks and three types of perishable products with lot size . Detailed information can be expressed as matrix :
We can obtain that outbound truck 3 should appear in the docking sequence 2 times for the loading of fresh produce type 2, and 10, 15 units of product are loaded from each slot. Besides, it occupies 1 slot for the first type product with a quantity of 15 and 3 slots for the first and third type product with a quantity of 10 products from each slot. Therefore, in total, outbound trucks should occupy 6 slots in the docking sequence to be loaded with all the fresh produce it needs. That is, the number of slots to be occupied by all the outbound trucks can be obtained by adding up all the product types of all outbound trucks with , which is formulated with the following equation:where represents the length of the set .
In order to depict the loading information of outbound trucks at each slot, we then depict the shipping docking sequence for outbound trucks as a matrix with 3 rows and columns, which is shown in Table 1. The meaning of the three numbers in the second column of the table is that outbound truck 2 loads the first type of product with 10 units from slot 1. Besides, under the matrix mentioned previously, we can only determine the slot number as 6, whereas the specific sequence of outbound trucks is undetermined. Table 1 also presents two possible sequences of outbound truck sequences. If the sequence is 213223, considering that the fourth and fifth slots are both outbound truck 2, therefore, the number of outbound trucks repeatedly entering and leaving the shipping dock is 5; we mark the repeat number as 5. Similarly, we can compute the repeat number of the second possible sequence 221233 is 4.
3.3. Total Deterioration
In general, the total deterioration (TD) should be an increasing function of the operation time, deterioration rates, and quantities corresponding to the different types of fresh produce. Consider the fact that (1) the environment (such as temperature and humidity) on inbound/outbound truck area and crossdocking center area is different; (2) the environment on trucks (usually refrigerated trucks) is relatively stable, and the temperature is low, meaning that the deterioration rate on trucks remains at a low level; (3) the TD of all the fresh products is dependent on the batch quantity , the deterioration time on inbound/outbound truck areas or crossdocking center area, and the deterioration rates of products on these areas. Rahbari et al. [7] and Wang and Li [45] also used these three elements to calculate the deterioration of fresh produce.
Therefore, the deterioration process of a batch quantity fresh produce within the crossdocking center can be divided into three stages: (1) the first stage is from time 0 to the time when the products start to be unloaded from inbound truck (i.e., ); (2) the second stage is from to the time when the products are loaded onto outbound truck j. Here, based on the loading rules, only records the departure time of the loaded products, and only when , it means that the products indeed come from the inbound truck ; therefore, the duration time of the second stage is ; (3) the third stage starts from the second stage to the time when outbound truck has met all its demand and leaves the shipping dock.
We then formulate the total deterioration of all the fresh produce throughout the crossdocking processes. Wang and Li [45] described the deterioration changing that follows a linear to exponential decay, and the exponential form is the most common description for predicting the deterioration of fresh produce. As they stated, if the initial quality of a product is , after the deterioration time of and with respective deterioration rate , , then the quality is equal to . Therefore, the formula for calculating the total deterioration of one product is . Based on the calculation formula, we can derive the total deterioration (TD) of all the fresh produce in a crossdocking as follows:where represents the total duration time that a certain batch of products stays on the inbound and outbound trucks and represents the duration time of these batch products staying in the crossdocking area.
3.4. Model Formulation
The fresh produce truck scheduling problem in a crossdocking center with repeated loading can, therefore, be formulated as follows:subject to
The objective function, equation (6), minimizes the TD of all the fresh produce. Constraints (7) and (8) represent the balance of the quantity of fresh produce (i.e., the total quantity of fresh produce of type k received on inbound trucks must be equal to the total quantity of fresh produce sent out on outbound trucks). Constraint (9) enforces the correct relationship between the variables and the variables. The inbound constraints are described by equations (10)–(13). Constraint (10) indicates that the departure time of each inbound truck is equal to the sum of its arrival time and the time required to unload all products. Constraints (11) and (12) construct an effective sequence of arrival and departure times for the inbound trucks based on their order. Constraint (13) ensures that no inbound truck can precede itself in the receiving dock sequence. The outbound constraints are described by equations (14)–(22), and constraints (14)–(15) have been described previous. Constraint (16) represents the relationship between and . Constraint (17) ensures that each slot in the docking sequence must be occupied by an outbound truck with loading products. Constraints (18)–(20) construct an effective sequence of arrival and departure times for the outbound trucks based on their slot sequence. Constraints (21)–(22) ensure the correct value of outbound trucks at the earliest and latest time.
4. Advanced Genetic Algorithm
Genetic algorithms are a wellknown class of probabilistic search methods developed by Holland [46]. In a genetic algorithm, chromosomes are evolved from generation to generation through operations such as crossover and mutation and finally converge to the most suitable chromosome, representing either the optimal solution or a satisfactory solution to the problem. To accelerate the calculation of the objective function and find the optimal truck schedule for fresh produce at a crossdocking with repeated loading, an advanced genetic algorithm is proposed in this paper. The main steps are as follows.
4.1. Representation Scheme of Solutions
The mixed chromosome representation in this paper consists of two parts (Part I and Part O) and three levels (inbound/outbound truck, fresh produce type, and loading quantity). Part I and Part O represent the sequence and loading information about inbound and outbound trucks, respectively. It should be noted that the unloading process of the inbound trucks is different from the loading process of the outbound trucks. Once an inbound truck enters the receiving dock, all its unloading activities must be completed before the truck leaves the dock. Therefore, we can only concentrate on the possible sequences of inbound trucks concerning Part I. And the second level of inbound trucks can be labeled as 0, while, for the third level (the loading quantity), we also just count the total quantity of products loading on the inbound trucks. The sorting rules of outbound trucks are the same as those in Table 1. The complete chromosome form containing the inbound and outbound truck sequences is shown in Table 2.
In general, the initial solutions are a set of twopart, threelevel mixed chromosomes, and the inbound part (Part I) and the outbound part (Part O) need to be crossed and mutated separately because of the different rule regarding with unloading and loading process. Besides, the corresponding genes on the three levels in the chromosome should be exchanged simultaneously.
4.2. Fitness Value Evaluation
The objective function is formulated to minimize the TD of all fresh produce, which is related to their operation times, quantities, and deterioration rates. The deterioration value of single fresh produce is multiplied by the deterioration rate and the operation time during the inbound/outbound trucks and crossdocking area. The deterioration value of all types of fresh produce is summed to obtain the TD corresponding to the current chromosome. In the genetic algorithm, a higher fitness value means a greater probability of being selected and inheriting a good gene to the next generation. In this paper, we adopt the inverse ratio form to compute the fitness values and the fitness value equals 1/TD. And the calculation method and idea follow the model in Section 3.4.
4.3. Selection Operation
Based on the constructional rule of mixed chromosomes with twopart and threelevel, we can generate the initial population. And the individuals need to be selected from the population with a certain probability. The probability of an individual being selected is related to the fitness value. The greater the individual fitness value, the greater the probability of being selected. We adopt the traditional method of roulette to do the selection operation.
4.4. Crossover Operation
The crossover operator exchanges genes between two chromosomes, which allows the genetic algorithm to explore new solutions while still retaining some structured parts of previously discovered solutions.
4.4.1. Crossover Operation for Inbound Trucks
With respect to the sequence of inbound trucks, each one must stay in the receiving dock until it finishes its unloading process once it comes into the receiving dock. In other words, each inbound truck enters the receiving dock only once; therefore, an inbound truck is located once in the sequence of inbound trucks. In order to retain this property, a modified random singlepoint crossover operator is proposed in Algorithm 1.

In Algorithm 1, represents the crossover probability and represents the total number of inbound trucks. The word “legitimate genes” in Algorithm 1 means that we should delete the genes that are identical in the offspring and replace them sequentially with genes that are not present in the offspring in sequence. Figure 2 illustrates a legitimate crossover operation for inbound and outbound trucks with the example in Table 2.
4.4.2. Crossover Operation for Outbound Trucks
Although the outbound trucks can repeatedly enter and leave the shipping dock for multiple loading operations, once the sequence is determined, the crossover operation is similar to Algorithm 1. And the process of generating the outbound truck sequence has already been described in Section 3.2. Detailed crossover operations are illustrated in Figure 2 with regard to the example in Table 2.
4.5. Mutation Operation
Both the mutation operation of inbound and outbound trucks are adopted the interchange method in this paper. In this case, two genes that are not adjacent are selected randomly and then change their positions. We just take the mutation operation of inbound trucks as an example to represent the interchange method, and a detailed algorithm is performed in Algorithm 2:

4.6. Stopping Criteria
Two different criteria are used for termination: a maximum number of iterations and the convergence degree of the best solution. More specifically, the first is the common criterion of GAs, which is the specification of a maximum number of generations. The algorithm will terminate once the iteration number reaches the maximum number of generations. However, we may not need to run so many iterations. The second stopping criterion considers that when the same best solution has not been improved in a fixed number of iterations, the solution is considered to be the best solution, and thus, the GA can be terminated.
The default parameter values used in the advanced genetic algorithm are as follows: size of the initial population is 1000, maximum number of iterations is 500, selection probability is 0.9, crossover probability is 0.8, and mutation probability is 0.1.
The procedure of the proposed GA is presented in Figure 3.
5. Numerical Analyses
5.1. Data Generation
To compare the optimal truck schedules between the scenarios in which repeated loading is allowed and prohibited (abbreviated as repeated loading mode and nonrepeated loading mode) at the crossdocking for the scheduling of fresh produce, 10 sets of instances given in Yu and Egbelu [22] are adopted for numerical experiments. The scenario of nonrepeated loading mode means that once an inbound truck enters the receiving dock, it must stay there until all the products it required have been unloaded. The detailed 10 test instances are represented in Table 3. For each instance, the deterioration rates of all fresh produce in inbound/outbound trucks are assumed to be approximately zero. Therefore, we mainly calculate the total deterioration of fresh produce in the crossdocking center with a deterioration rate of . The initial freshness of all the fresh produce is set to 1. And, in all cases, the time required for transferring the fresh produce from the receiving dock to the shipping dock is assumed to be equal to 100 units time. The optimal schedules and minimum TDs for these 10 instances under the repeated loading mode and nonrepeated loading mode are recorded after 3 runs by the GA. The ranges of other parameters in the sensitivity analysis are given as follows.(i)Lot size : .(ii)Truck changeover time : .(iii)Deterioration rates : from Table 3, we can detect that instance 10 possesses the largest number of product types, which equals 9. Without loss of generality, we set the deterioration rate of the first quarter product type as , and the remaining three quarters product type as .
In the last two columns of Table 3, we calculate the total number of slots of outbound trucks in the shipping sequence under two lot size levels and . Taking instance 1 as an example, which consists of 5 outbound trucks loading with 990 units of 4 types of fresh produce, through equation (1), it can be calculated that when , the first outbound truck needs 4 slots calculated by the loading matrix [151, 0, 0, 87], and the others are 3, 5, 3, 3 slots with loading matrix [0 106 33 0], [0 264 0 0], [61 132 0 0], [0 26 130 0], respectively. Therefore, instance 1 needs 18 slots in the shipping sequence. The calculation of slot number in the other instances is similar and is listed in the last two columns of Table 3.
5.2. Sensitivity Analysis of Lot Size
We have already known from Table 3 that selecting a larger lot size will make the slot number decrease, while the reduction degree of slot number is different for each increase in lot size by a certain number. Figure 4 then detects the relationship between lot size from 10 to 100 with 10 as the interval and slot number . As shown in Figure 4, the number of slots is a subtraction function of lot size , and the degree of reduction is first large and then small. Besides, when the lot size increases to 50, the number of slots begins to stabilize. This result presents the insight that when the practitioner makes truck scheduling decisions, they do not need to analyze and calculate the TD values calculated under each . Instead, they can only pick the value of around 50.
(a)
(b)
As for the relationship between lot size and the total deterioration (TD), this paper takes a representative instance 1 as an example to investigate the influence of (with range ) on TD in Figure 5. We further set the truck changeover time to three values: , , and . Detailed discussions on the relationship between truck changeover time and TD are presented in Section 5.3.
From Figure 5, the following conclusions can be obtained: (1) with the increase of lot size , the value of TD will also increase. This is mainly because smaller ensures that the loading process of outbound trucks will be more finely divided, which makes the solution closer to the global optimal solution. However, this is not absolutely the case, because smaller can also greatly increase the solution space of the algorithm, making it easy to fall into the local optimum solution and difficult to find a better solution within a limited time or number of iterations. In the case of truck changeover time , by reducing the value of from 100 to 10, the TD decreases from 22.5 to 16.59 with a decrease of 26.3%. And the decreasing rates in the other two cases are 21.8% and 16.6%, respectively. (2) The slope of TD to gradually increases. When is small, increasing its value makes TD slightly increase. When becomes larger, increasing its value makes TD significantly increase. This is mainly because when is small, it is already extremely close to the optimal solution, and changing its value has less effect. (3) The value of TD increases as truck changeover time increases, which is mainly due to larger that will also significantly increase the completion time, thereby increasing the value of TD.
5.3. Sensitivity Analysis of Truck Changeover Time
If the truck changeover time is short, repeated entries and exits to the shipping dock allow the outbound truck to complete the loading process as flexibly as possible without significantly increasing the completion time. At the extreme, if , then the products unloaded from inbound trucks can be loaded onto outbound trucks without interruption, thus significantly reducing the completion time. Therefore, it is also necessary to explore the effect of on TD in this paper.
Figure 6 investigate the influence of on TD under and . Similar to the analysis in Section 5.2, we can come to the following conclusions: (1) there is a linear growth tendency for TD as the value of truck changeover time increases and the average slopes in the two cases are 0.0318 and 0.0334, respectively, and (2) the increase of lot size will increase the value of TD, but it does not significantly change the slope of TD to .
5.4. Comparing the TDs under Repeat and Nonrepeat Modes
Traditional crossdocking models study nonrepeat mode of the trucks, and scheduling truck sequences are the main purpose of their researches. While the repeat mode focuses on scheduling the loading and unloading tasks, therefore, it is more flexible. In this paper, we adopt Yu and Egbelu [22] instances to compare the TD values calculated by the two modes to show the advantages and disadvantages of the repeated loading mode.
Table 4 takes instance 1 as an example to compare the TDs under repeat and nonrepeat modes with different truck changeover time. As mentioned before, when , the loading process of outbound trucks under repeated mode is continuous, which leads to the loading efficiency greatly improved. Specifically, when , the percentage deviation (calculated by equation (25)) of TD between repeated loading and nonrepeated loading reaches 28.9%. Besides, as increases, the percentage deviation between the two modes becomes smaller. It can be predicted that when is large enough, the repeated loading mode will converge infinitely to the nonrepeated loading mode. This is mainly because, in this case, additional entry and exit of the outbound truck will waste a lot of time, which tends to be the nonrepeated mode finally.
The results of other instances are shown in Table 5. Similarly, we divide the value of into three levels: , , and ; and the value of into two levels: and . By analyzing the results, several conclusions can be drawn:(1)Decreasing the value of can obtain smaller TD value. At the extreme, if , we can obtain the global optimal solution of TD in the repeated loading mode, and this value would be smaller than all the TD values in the table. However, setting smaller will greatly increase the computational complexity, which is almost impossible to obtain in a limited time. Therefore, this section only takes that is equal to 30 and 60.(2)Compared with the nonrepeat mode, repeated loading can result in a lower TD for fresh produce; specifically, when , there is more than 31.8% reduction on average among these instances. This phenomenon is particularly evident in instances 3, 5, and 8.(3)Increasing the value of will increase the value of TD in both modes and reduce the superiority of repeated loading mode compared to the nonrepeat mode. As stated before, when is large enough, the TD values obtained by the repeated mode will be close to those by the nonrepeat mode. This trend can also be seen from the changes in from 0 to 100 and 100 to 200 in the table.
6. Conclusion and Future Research
We formulate a truck scheduling model for the crossdocking of fresh produce under repeated loading mode and present a definition of the total deterioration (TD) that considers the operation times, deterioration rates, and quantities corresponding to different types of fresh produce. Accordingly, the objective of this paper is to determine the optimal schedule for inbound and outbound trucks, such that the TD of all fresh produce is minimized. To solve this model, specific loading rules are presented to transform the outbound truck sequence into a slot docking sequence, and an advanced genetic algorithm is proposed to solve the problem. In the advanced genetic algorithm, a mixed chromosome representation consisting of two parts and three levels is utilized for each solution. In addition, the main steps of the algorithm (solution representation; crossover, mutation operation; fitness value evaluation, and stopping criteria) are introduced in this paper. To compare the optimal truck schedules and minimum TDs between the repeat mode and nonrepeat modes, 10 instances under different truck changeover time and lot size are solved using the genetic algorithm. Computational results show that the repeat mode can effectively decrease the TD value of fresh produce compared with nonrepeat mode, and this superiority decreases with the increase of and values. In particular, when the truck changeover time equals 0, the value of TD obtained under repeated loading mode will be more than 31.8% on average smaller than that under nonrepeated loading mode.
This research contributes to enabling better truck scheduling problems for fresh produce at crossdocking centers. For further studies on this problem, the following extensions are also worthy to investigate: (1) considering repetitive dock patterns for both inbound and outbound trucks, and the performance between these patterns can be further evaluated; (2) we can not only regard the total deteriorated proposed in this paper as the cost function, but also consider incorporating other important components in crossdocking operations as the elements of cost function (e.g., waiting cost of trucks, service cost of trucks, and delayed departure cost of trucks) and finally integrate these costs as the objective function for optimization; (3) we assumed that there are only one receiving dock and one shipping dock. Future researchers can consider more than one dock; (4) the parameters of the proposed genetic algorithm of this paper are determined by an experimental approach. Some other approaches, e.g., designing experiments to evaluate the possibility of obtaining better solutions, can also be adapted to determine the parameters.
Data Availability
The data supporting this METAANALYSIS are from previously reported studies and datasets, which have been cited by Yu and Egbelu [22]. The processed data are available in the Supplementary Materials.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
Acknowledgments
This work was supported by the National Natural Science Foundation of China (grant numbers 72032001 and 71972071) and the Fundamental Research Funds for the Central Universities.
Supplementary Materials
The supplementary material lists the detailed dataset of “inbound/outbound truck and fresh product type,” which had been used in the section of numerical analyses in this paper. (Supplementary Materials)