A particle swarm optimization approach to solve the vehicle routing problem with cross-docking and carbon emissions reduction in logistics management
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Lo, Shih-Che Article A particle swarm optimization approach to solve the vehicle routing problem with cross-docking and carbon emissions reduction in logistics management Logistics Provided in Cooperation with: MDPI – Multidisciplinary Digital Publishing Institute, Basel Suggested Citation: Lo, Shih-Che (2022) : A particle swarm optimization approach to solve the vehicle routing problem with cross-docking and carbon emissions reduction in logistics management, Logistics, ISSN 2305-6290, MDPI, Basel, Vol. 6, Iss. 3, pp. 1-15, https://doi.org/10.3390/logistics6030062 This Version is available at: https://hdl.handle.net/10419/310271 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/
Citation: Lo, S.-C. A Particle Swarm Optimization Approach to Solve the Vehicle Routing Problem with Cross-Docking and Carbon Emissions Reduction in Logistics Management. Logistics 2022,6, 62. https://doi.org/10.3390/ logistics6030062 Academic Editors: Robert Handfield, Pietro Evangelista, Mladen Jardas, Predrag Brlek, David Brˇci´c, Zlatko Sovreski and Ljudevit Krpan Received: 29 June 2022 Accepted: 11 August 2022 Published: 1 September 2022 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2022 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). logistics Article A Particle Swarm Optimization Approach to Solve the Vehicle Routing Problem with Cross-Docking and Carbon Emissions Reduction in Logistics Management Shih-Che Lo Department of Industrial Management, National Taiwan University of Science and Technology, Taipei City 106335, Taiwan; [email protected]; Tel.: +886-2-2737-6351 Abstract: Background: The logistics network design with cross-docking operations enables shipping service providers to integrate the physical flow of products between vendors and dealers in logistics management. The collective goal is to synchronize the goods in both pickup and delivery operations concurrently to reduce the handling cost, inventory cost, and operation cost generated. Therefore, the optimal vehicle routing plan is crucial to generate a truck routing schedule with minimal total cost, fulfilling the purchasing requirements and the distribution demand. Global warming and climate change are important topics due to increasing greenhouse gas emissions. Sustainable logistics management with optimized routes for trucks can assist in reducing greenhouse gas emissions and easing the effects of temperature increases on our living environment. Methods: A heuristic approach based on Particle Swarm Optimization, called ePSO, was proposed and implemented in this paper to solve the vehicle routing problems with cross-docking and carbon emissions reduction at the same time. Results: Performance comparisons were made with the Genetic Algorithm (GA) through the experiments of several vehicle routing problems with pickup and delivery benchmark problems to validate the performance of the ePSO procedure. Conclusions: Experimental results showed that the proposed ePSO approach was better than the GA for most cases by statistical hypothesis testing. Keywords: sustainable logistics management; cross-docking; particle swarm optimization; vehicle routing problem 1. Introduction With the global economic depression during COVID-19 and the war between Russia and Ukraine, enterprises pay much attention to supply chain management (SCM) and global logistics management restructure. One of the most important considerations in implementing SCM is controlling the physical flow of goods in the supply chain efficiently. An efficient and effective logistics operation enables companies to quickly respond to customers’ requirements and to build their own competitive edge over competitors. As a matter of fact, logistics costs weigh on companies’ total production and distribution costs significantly. For example, transportation costs account for one third to two thirds of a company’s overall distribution costs in general. The authors of [ 1 ] identified logistics costs that account for approximately 10% of a company’s revenue, while the authors of [ 2 ] argued that 30 percent of the final cost is incurred in the distribution channel. Therefore, to lower costs, increase profits, and improve a company’s overall performance, a well-organized and highly efficient logistics network appears essential [ 3 , 4 ]. Therefore, cross-docking (CD) operations for depots in the supply chain are considered a good method to reduce inventory and improve responsiveness to various customer demands [5]. CD is a concept of flowing goods from receiving to shipping without ever putting them into the warehouse for storage, with the aim of reducing the delivery time and the storage cost. In a traditional CD warehouse, shipments are unloaded from incoming trucks, which unload goods from suppliers, at the unloading area. Then, warehouse operations are Logistics 2022,6, 62. https://doi.org/10.3390/logistics6030062 https://www.mdpi.com/journal/logistics
Logistics 2022,6, 62 2 of 15 performed, such as unpacking, sorting, and repacking shipments according to the orders of customers, and then loading them into outgoing trucks at the loading area to be delivered to customers. It is also considered as the optimal vehicle route for the associated direct service fulfillment, subject to truck capacity limitations and service time constraints [6–8]. The time for the shipments in a CD warehouse usually does not exceed 24 h [ 9 ]. To achieve an optimized routing plan, the physical flow of goods in the distribution channel and the CD scheduling should be considered together with the routing of outgoing vehicles in a vehicle routing problem with cross-docking (VRPCD) to generate the lowest transport costs and increase the performance of supply chain. For a complete review of VRPCD- related literature, see [ 10 ]. The primary objective of VRPCD is to avoid inventory and handling costs so that there will ideally be no inventory stored in the central warehouse. The author of [ 11 ] mentioned that a successful CD system can bring companies significant benefits, including inventory reduction, low space requirements and transportation costs, increased customer responsiveness, and the smooth control of the distribution process. Figure 1shows a typical layout of the CD operation. The physical flow of goods is collaboratively optimized from suppliers and retailers on both sides of the pickup and delivery processes, respectively, in order to achieve no inventory and no delayed shipment scenario to reduce overall transportation costs as well as to increase customer satisfaction and the speed of responses, as shown in the following Figure 1. Logistics 2022, 6, x FOR PEER REVIEW 2 of 16 CD is a concept of flowing goods from receiving to shipping without ever putting them into the warehouse for storage, with the aim of reducing the delivery time and the storage cost. In a traditional CD warehouse, shipments are unloaded from incoming trucks, which unload goods from suppliers, at the unloading area. Then, warehouse operations are performed, such as unpacking, sorting, and repacking shipments according to the orders of customers, and then loading them into outgoing trucks at the loading area to be delivered to customers. It is also considered as the optimal vehicle route for the associated direct service fulfillment, subject to truck capacity limitations and service time constraints [6–8]. The time for the shipments in a CD warehouse usually does not exceed 24 h [9]. To achieve an optimized routing plan, the physical flow of goods in the distribution channel and the CD scheduling should be considered together with the routing of outgoing vehicles in a vehicle routing problem with cross-docking (VRPCD) to generate the lowest transport costs and increase the performance of supply chain. For a complete review of VRPCD-related literature, see [10]. The primary objective of VRPCD is to avoid inventory and handling costs so that there will ideally be no inventory stored in the central warehouse. The author of [11] mentioned that a successful CD system can bring companies significant benefits, including inventory reduction, low space requirements and transportation costs, increased customer responsiveness, and the smooth control of the distribution process. Figure 1 shows a typical layout of the CD operation. The physical flow of goods is collaboratively optimized from suppliers and retailers on both sides of the pickup and delivery processes, respectively, in order to achieve no inventory and no delayed shipment scenario to reduce overall transportation costs as well as to increase customer satisfaction and the speed of responses, as shown in the following Figure 1. Figure 1. A vehicle routing network begins with picking up raw materials from suppliers, transporting them to the cross-docking center for the sorting, repacking, and dispatching processes, and delivering them to retailers. Climate change causes devastating impacts: extreme weather conditions such as flooding, tsunamis, and storms; polar ice caps melt and sea level rise; increased food insecurity; and other disasters. Global warming and climate change are important topics due to the theoretical increase in greenhouse gas emissions into the atmosphere, and require immediate attention for all countries in the world. One of the interesting observations during COVID-19 beginning from the year 2020 up to the time of this paper’s preparation period is that several regions have been on lockdown for months, especially for areas in East Asia. As people stay at home or work from home for longer than normal times, the pollutants in the atmosphere, especially the troposphere, are reduced by around 9% to 64% [12]. It is obvious that peoples’ behaviors have a huge impact on the amount of pollutants in the atmosphere. In addition, electricity usage increased at the same time due to the power required by air conditioning systems. Therefore, how to reduce greenhouse gases emission in regular activities and manufacturing industries has become an Figure 1. A vehicle routing network begins with picking up raw materials from suppliers, transporting them to the cross-docking center for the sorting, repacking, and dispatching processes, and delivering them to retailers. Climate change causes devastating impacts: extreme weather conditions such as flooding, tsunamis, and storms; polar ice caps melt and sea level rise; increased food insecurity; and other disasters. Global warming and climate change are important topics due to the theoretical increase in greenhouse gas emissions into the atmosphere, and require immediate attention for all countries in the world. One of the interesting observations during COVID-19 beginning from the year 2020 up to the time of this paper’s preparation period is that several regions have been on lockdown for months, especially for areas in East Asia. As people stay at home or work from home for longer than normal times, the pollutants in the atmosphere, especially the troposphere, are reduced by around 9% to 64% [ 12 ]. It is obvious that peoples’ behaviors have a huge impact on the amount of pollutants in the atmosphere. In addition, electricity usage increased at the same time due to the power required by air conditioning systems. Therefore, how to reduce greenhouse gases emission in regular activities and manufacturing industries has become an important issue. Inefficient logistics management produces more greenhouse gas emissions since vehicles need to travel for a longer time and require more gas. International enterprises must pay more attention, not only to protecting our environment but also to handling supply chain disruptions, and take actions to green their supply chains [13]. This paper focuses on solving the vehicle routing problem with cross-docking while reducing CO 2 emissions in sustainable logistics management. To effectively implement
Logistics 2022,6, 62 3 of 15 the CD system into logistics networks, both receiving (pickup) and shipping (delivery) processes must be considered at the same time. The authors of [ 14 ] argued that the core issue in the pickup process is that all routing vehicles must arrive at the CD depot simultaneously. In other words, the early returned vehicle must wait at the depot till all other vehicles arrive from their pickup tasks. Moreover, the number of arrived products from suppliers must be equal to the number of products ready to be delivered to customers from the sorting centers. Then, through the sorting, repacking, and dispatching processes in the CD warehouse, the designated shipments are loaded into each corresponding vehicle for delivery to their respective destinations. In addition, to minimize total processing time (sorting, repacking, dispatching) or to maximize the throughput of the CD system, the authors of [ 15 ] studied a CD system that has a temporary storage area in front of the dispatching dock for automated guided vehicle systems. One of the objectives is to find the best truck docking sequence for both inbound and outbound trucks. In addition to AGVs, several information technology projects were also proposed to assist route planning. The authors of [ 16 ] proposed to track cars (4000 taxis) by using Global Positioning System signals. They developed a cell-based algorithm to forecast travel times to provide traffic conditions for drivers. The authors of [17] proposed industrial information integration by using an elitist nondominated sorting GA to help companies develop supply chain systems. The model was used to minimize transportation, carbon emissions, and time-window penalty costs. Since the VRPCD is a well-known NP hard (non-deterministic polynomial-time hard) problem, applying an efficient heuristics technique is necessary to obtain a best or near optimum solution within a reasonable amount of computation time. The authors of [ 18 ] proposed a modified Ant Colony Optimization (ACO) to solve the vehicle routing problem (VRP) and found out the competitiveness of the proposed multi-ACO algorithm in terms of computation time, particularly when the number of customers is large. The author of [ 19 ] dealt with the pickup and delivery VRP by the tour-partitioning heuristics. The goal was to obtain the optimal set of vehicle routes as well as to minimize the total traveling distance. The author of [ 20 ] deals with the VRP with simultaneous pickup and delivery (VRPSPD) by the adaptive memory algorithm, which proved to be rather effective and efficient than other heuristics. Furthermore, they found some new best-known solutions for the numerous VRPSPD instances. The authors of [ 21 ] proposed a centralized route-management solution for autonomous vehicles in urban areas to control traffic that generates benefits for citizens. Their experimental results proved that their traffic prediction equation on the route server can achieve substantial improvements for average travel speeds and travel times. In this paper, we aim to propose a heuristic approach based on the Particle Swarm Optimization (PSO), called ePSO, to solve the VRPCD by adding CO 2 emissions reduction and CD operation in the objective function and constraints. Research assumptions and the mathematical model’s limitations are listed here: 1. Each route begins and goes back to the same depot. All trucks for delivery depart at the same time. 2. There are no product categories (or stock-keeping units) in the study. 3. Customers are visited exactly once by a service truck during the pickup and delivery route, and have known inhomogeneous demand; the service time is assumed to be close to 0. 4. The location of each customer for pickup and delivery is separately known. 5. Assume every truck has a homogeneous vehicle capacity. The total demand for each route cannot exceed the truck’s capacity. 6. The distance per unit in the plane coordinates is 1 km. 7. Assume that every liter of gas consumed produces 2.2 kg of CO 2 and converts it to an equivalent cost in the mathematical model by [22]. This paper is organized as follows. Section 2provides a literature review of the study. In the third section, research problems and an ePSO approach were proposed to solve the vehicle routing problem with cross-docking while reducing CO 2 emissions at the same time
Logistics 2022,6, 62 4 of 15 in sustainable logistics management. Section 4describes experiments and results. Finally, Section 5reports the conclusions and findings of the study. 2. Literature Review The concept of VRP was initially brought up by the author of [ 23 ] as solving the “Truck Dispatching Problem”, in which a linear programming formulation was proposed to generate a near-best solution for the truck scheduling problem. Afterwards, numerous studies and algorithmic approaches have been proposed to solve the developing routing problems based on their study. The author of [ 24 ] used the TOPSIS multi-criteria technique to identify the most widespread performance objectives for the VRPs and found out the performance objectives in route plans “level of service”, “total number of vehicles” and “total distance traveled” were the most important factors for route planning. The author of [ 25 ] dealt with the multiple pickup and multiple delivery VRP with time windows and heterogeneous fleets by ACO approach. The goal was to obtain the optimal set of vehicle routes as well as to minimize the total travel distance and to solve the problem on the large-scale. Moreover, the authors of [ 26 ] proposed an integer linear programming approach, under constraint relaxation and sub-tour elimination, to solve the VRP with capacity and distance restrictions. The authors of [ 27 ] applied a hybrid heuristic which incorporates a genetic algorithm with neighborhood search to solve the basic VRPs. The results showed that the hybrid GA has a significant improvement over the pure GA and is competitive with the simulated annealing approach [ 28 ] and the tabu search [ 29 , 30 ] based on the comparison of the benchmark problems. The PSO is a newly developed evolutionary meta-heuristic in the field of Swarm Intelligence, like the ACO mentioned in Section 1. It was first introduced by the authors of [ 31 ] as the observation of simplified social models of bird flocks. After the introduction, various modifications have been presented. The authors of [ 32 ] and the authors of [ 33 ] added the inertia weight Wto the original PSO equation. They argued that the Wplays a role in balancing between local and global search and proved that when the value of Wranged from 0.9 to 1.2 on average, this results in a better performance. Moreover, a discrete binary version of PSO was presented by the authors of [ 34 ]. The concept of the PSO function remains the same, except the trajectories are changed in terms of probability. The author of [ 35 ] first applied a discrete-type particle optimizer to the Traveling Salesman Problem (TSP). The author used the integer-based mapping approach to transfer the position of particles to the sequence of TSP’s combinatorial solution. The velocity then is defined as exchange numbers between two positions. Around the same period, the authors of [ 36 ] applied PSO to solve the task assignment problem, where they adopted the real-number-based representation to map an M-task assignment into corresponding M-coordinate particle positions. The result showed the performance of their proposed PSO is better than GA, based on the solution quality and computation time over several randomly generated instances. The authors of [ 37 ] presented a developed PSO algorithm with an indirect real-number- based representation of (n+ 2m) to map the priority lists of an n-customer and m-vehicle. The priority of the customer is assigned based on the value of a given dimension of particles. Next, the concept of the vehicle orientation point is introduced to indirectly cluster the customers and then prioritize each further. At the same time, the same authors of [ 38 ] introduced another representation method of 3mdimensional particles and replaced the concept of the vehicle orientation point with the vehicle coverage radius to construct the routes. The result showed the 3mmapping method outperformed the (n+ 2m) one in solving the capacitated VRP instances. Moreover, the authors of [ 39 ] applied an extended version of discrete PSO (DPSO) to solve the flow-shop scheduling problems, and following the authors of [ 40 ], expanded the proposed DPSO by introducing an inheritance scheme into the particle construction step to solve the lot-streaming flow-shop scheduling problem. Both results showed the
Logistics 2022,6, 62 5 of 15 proposed/improved DPSO algorithms are efficient in solving the benchmark problems for single/multiple-objective flow-shop and lot-streaming flow-shop problems, respectively, over the comparisons with GA/hybrid GA algorithms. With the continuous development of the VRPs, the Pollution-Routing Problems (PRPs) are linked directly to one of the United Nations’ 17 Sustainable Development Goals. The PRPs were first proposed in 2011 by the authors of [ 41 ], which served as a variant of classical VRPs, with objective functions that considered not only the transportation range, but also greenhouse gases emission, gas usage, transportation times, and their costs. Moreover, variants of the PRP attracted many researchers’ attention for environmental-protection purposes. The authors of [ 42 ] extended the PRP into a dual objectives model pertaining to the minimization of fuel consumption and driving time in 2014. They developed an adaptive large neighborhood search method, combined with speed optimization, to solve the bi-objective PRP. The authors of [ 43 ] added time-dependent constraints into the PRP, considering that traffic congestion at peak hours lead to increased CO 2 emissions, for a time-dependent PRP model, in 2017. The authors of [ 44 ] proposed an ε -accurate method in a continuous optimization module to solve the continuous PRP. The authors of [ 45 ] proposed an improved GA approach to solve the PRP by minimizing CO 2 emissions in the objective function and constraints of the PRP’s formulation. Finally, the authors of [ 46 ] dealt with a time-dependent pollution-routing problem with one general period of congestion (PRP-1GPC), where the start and finish times of this period can be set freely. They used an adaptive large neighborhood search to optimize the routing plan. 3. Problem Proposition and Proposed ePSO Heuristics Approach 3.1. Vehicle Routung Problem with Cross-Docking Mathematical Formulation The VRP generally is described as a graph format, with vertices standing for terminal points and arcs as vehicle routes, as shown in Figure 2. The basic notations for all VRPs are shown as follows: G= (V,E∪A), where V= {v0, . . . , vn} is a vertex set; Logistics 2022, 6, x FOR PEER REVIEW 6 of 16 Figure 2. An example of a VRP roadwork. On the problem of the vehicle routing with one CD hub introduced by the authors of [14], the constraints for the simultaneous arrival of each truck from the pickup routes and the equivalent quantity of goods transported in both sides of the supply chain are particularly emphasized. Therefore, several assumptions are made in the VRPCD formulation. First, we have n nodes, which are comprised by both suppliers and retailers serviced by m vehicles. Each vehicle must be sent out and arrived at the CD (i = 0) hub, particularly restricting the simultaneous arrival of vehicles from pickup routes. Second, for each customer, only one vehicle is assigned and associated with a cost amount of Cij. Every customer has the same amount of demand d, which is restricted to the capacity limit q of each truck. Moreover, time horizon T specifies the total distance traveled by trucks which cannot be exceeded. Two types of cost are considered in this model: (1) transportation cost; and (2) CO2-emission-equivalent cost. The overall scope is to obtain the optimal routing schedule while minimizing the number of vehicles used in the planning. The following presents the decision variables of VRPCD model in this paper. Decision variables: Xijk: a binary variable representing the route from i to j is serviced by vehicle k. =.otherwise,0 ; to from tour in the is vehicleif,1 jik Xijk Yijk: loaded quantity of vehicle k from pickup trip i to j. Zijk: unloaded quantity of vehicle k from delivery trip i to j. tcijk: the transportation and CO2 emission cost of vehicle k from customer i to j. etijk: time for vehicle k to move from i to j. δik: service time required by vehicle k to load/unload the quantity demand at i. m: total number of trucks. n: total number of demand points. ck: fixed cost of vehicle k. q: maximum capacity for each vehicle. T: planning horizon. P: unit demand from each pickup stop. D: unit demand from each delivery stop. DTjk: departure time for truck k to leave node j. ATk: arrival time for truck k. Objective function: ===== += m k n j jkk n i n j m k ijkijk XcXtcZ 11 0 001 Minimize (1) Figure 2. An example of a VRP roadwork. A= {(vi,vj): i6=j,vi,vj∈V} denotes the directed arc set; E= {(vi,vj): i<j,vi,vj∈V} denotes the set of undirected edges; v 0 stands for the central depot where pickups and deliveries are made from this point. On the problem of the vehicle routing with one CD hub introduced by the authors of [ 14 ], the constraints for the simultaneous arrival of each truck from the pickup routes and the equivalent quantity of goods transported in both sides of the supply chain are particularly emphasized. Therefore, several assumptions are made in the VRPCD formulation. First, we have nnodes, which are comprised by both suppliers and retailers serviced by mvehicles. Each vehicle must be sent out and arrived at the CD (i= 0) hub, particularly restricting the simultaneous arrival of vehicles from pickup routes. Second, for
Logistics 2022,6, 62 6 of 15 each customer, only one vehicle is assigned and associated with a cost amount of Cij. Every customer has the same amount of demand d, which is restricted to the capacity limit qof each truck. Moreover, time horizon Tspecifies the total distance traveled by trucks which cannot be exceeded. Two types of cost are considered in this model: (1) transportation cost; and (2) CO 2 -emission-equivalent cost. The overall scope is to obtain the optimal routing schedule while minimizing the number of vehicles used in the planning. The following presents the decision variables of VRPCD model in this paper. Decision variables: Xijk: a binary variable representing the route from ito jis serviced by vehicle k. Xijk =(1, if vehicle kis in the tour from ito j; 0, otherwise. Yijk: loaded quantity of vehicle kfrom pickup trip ito j. Zijk: unloaded quantity of vehicle kfrom delivery trip ito j. tcijk: the transportation and CO2emission cost of vehicle kfrom customer ito j. etijk: time for vehicle kto move from ito j. δik: service time required by vehicle kto load/unload the quantity demand at i. m: total number of trucks. n: total number of demand points. ck: fixed cost of vehicle k. q: maximum capacity for each vehicle. T: planning horizon. P: unit demand from each pickup stop. D: unit demand from each delivery stop. DTjk: departure time for truck kto leave node j. ATk: arrival time for truck k. Objective function: Minimize Z= n ∑ i=0 n ∑ j=0 m ∑ k=1 tcijkXijk+ m ∑ k=1 n ∑ j=1 ckX0jk (1) Subject to: n ∑ i=0 m ∑ k=1 Xijk =1, for j=1, 2, . . . , n; (2) n ∑ j=0 m ∑ k=1 Xijk =1, for i=1, 2, . . . , n; (3) n ∑ i=1 Xihk = n ∑ j=1 Xhjk, for k=1, 2, . . . , m;h=1, 2, . . . , n; (4) n ∑ j=1 X0jk ≤1, for k=1, 2, . . . , m; (5) n ∑ i=1 Xi0k≤1, for k=1, 2, . . . , m; (6) Yijk +Zijk ≤ n ∑ i=1 Qi n ∑ j=1 Xijk, for k=1, 2, . . . , m; (7) Yjik −Yijk = Pj, if j∈P,i=1, 2, . . . , n, 0, if j∈D,i=1, 2, . . . , n, −n ∑ i=1 Pi, if j∈0, i=1, 2, . . . , n; (8)
Logistics 2022,6, 62 7 of 15 Zijk −Zjik = 0, if j∈P,i=1, 2, . . . , n, di, if j∈D,i=1, 2, . . . , n, n ∑ i=1 di, if j∈0, i=1, 2, . . . , n; (9) n ∑ i=0 n ∑ j=0 δikXijk + n ∑ i=0 n ∑ j=0 etijkXijk ≤T, for k=1, 2, . . . , m; (10) DTjk =etij +DTik +δjXijk, for k=1, 2, . . . , m; (11) ATk=(eti0+DTik)Xi0k, for k=1, 2, . . . , m; (12) ATk=ATk0, for k06=k. (13) Equation (1) states the overall objective is to minimize transportation costs, CO 2 emission equivalent costs, and fixed costs. Equations (2) and (3) specify that a customer is serviced by only one truck, and Equation (4) means each truck arriving at that customer node must also leave from that node. The constraints of each vehicle are that it is only allowed to start from and return to the CD hub and is used to serve at most one route, which are shown in (5) and (6), respectively. Equation (7) specifies that the loaded and uploaded demand from pickup and delivery processes cannot exceed the vehicle quantity limit. Equations (8) and (9) each detail the quantity limit for pickup and delivery processes. The total distance visited and time traveled cannot exceed the planning horizon specified in Equation (10). Equations (11) and (12) state the departure and arrival time, respectively. Equation (13) constrains the simultaneous arrival of vehicles at the CD hub. 3.2. Particle Swarm Optimization As a metaphor for a group of birds randomly searching for food in an area, the best strategy to find the food is to follow the one who is closest to the source of the food. The velocity (V idt ) of a particle is determined by three terms at each iteration. First, the inertia factor forces the particle to fly in the same direction as its previous iteration. Second, the self-cognitive factor forces a particle to go back to its previous best position (P id ). Third, the social term forces a particle to move to the group’s best position (P gd ). Afterwards, each particle is able to update its current position (X idt ) to the next one (X idt+1 ) based on the new direction generated. Figure 3illustrates the searching behavior of particles. Logistics 2022, 6, x FOR PEER REVIEW 8 of 16 specified in Equation (10). Equations (11) and (12) state the departure and arrival time, respectively. Equation (13) constrains the simultaneous arrival of vehicles at the CD hub. 3.2. Particle Swarm Optimization As a metaphor for a group of birds randomly searching for food in an area, the best strategy to find the food is to follow the one who is closest to the source of the food. The velocity (Vidt) of a particle is determined by three terms at each iteration. First, the inertia factor forces the particle to fly in the same direction as its previous iteration. Second, the self-cognitive factor forces a particle to go back to its previous best position (Pid). Third, the social term forces a particle to move to the group’s best position (Pgd). Afterwards, each particle is able to update its current position (Xidt) to the next one (Xidt+1) based on the new direction generated. Figure 3 illustrates the searching behavior of particles. Figure 3. Search behavior example for particles. The evolutionary step of our proposed PSO heuristics is developed based on the following formulations, where Rand1() and Rand2() are two random-number generators: Vidt = W × Vid + φid1 × Rand1() × (Pid − Xidt) + φid2 × Rand2() × (Pgd − Xidt), (14) Xidt+1←Xidt + Vidt. (15) Subject to: If Vid > Vmax, then Vid = Vmax; If Vid < Vmax, then Vid = –Vmax; In addition, the individual best position is updated using: ≤ > =).()( if , ),()( if , ididid ididid id PfXfX PfXfP P (16) The global best of each individual particle is updated using: {} < =else., ),()(min if,)(minarg gd gdidid gd P PfPfPf P (17) 3.3. Research Methodology To ensure the potential for minimization of the total cost incurred, each dispatched vehicle must serve the maximum number of customers under the capacity limit and the Figure 3. Search behavior example for particles. The evolutionary step of our proposed PSO heuristics is developed based on the following formulations, where Rand1() and Rand2() are two random-number generators: Vidt=W×Vid +ϕid1×Rand1() ×Pid −Xidt+ϕid2×Rand2() ×Pgd −Xidt, (14)
Logistics 2022,6, 62 8 of 15 Xidt+1←Xidt+Vidt. (15) Subject to: If Vid >Vmax, then Vid =Vmax; If Vid <Vmax, then Vid =−Vmax; In addition, the individual best position is updated using: Pid =Pid, if f(Xid)>f(Pid), Xid, if f(Xid)≤f(Pid).(16) The global best of each individual particle is updated using: Pgd =(arg{minf(Pid)}, if min f(Pid)<f(Pgd), Pgd, else. (17) 3.3. Research Methodology To ensure the potential for minimization of the total cost incurred, each dispatched vehicle must serve the maximum number of customers under the capacity limit and the route’s minimum traveling distance. Accordingly, clustering customers based on their area closeness to assigned deliveries must be established first. In this paper, we apply this practical strategy of a two-phase route construction approach to solve the VRPCD problem. Figure 4shows the standard cluster-route shipping approach. Moreover, there are many gene string representations in the literature, including binary representation, floating point representation, and integer representation. In this paper, we chose an integer representation to represent our gene string. Figure 5shows a gene string representation as an example. Logistics 2022, 6, x FOR PEER REVIEW 9 of 16 route’s minimum traveling distance. Accordingly, clustering customers based on their area closeness to assigned deliveries must be established first. In this paper, we apply this practical strategy of a two-phase route construction approach to solve the VRPCD problem. Figure 4 shows the standard cluster-route shipping approach. Moreover, there are many gene string representations in the literature, including binary representation, floating point representation, and integer representation. In this paper, we chose an integer representation to represent our gene string. Figure 5 shows a gene string representation as an example. Figure 4. The typical cluster-route shipping approach. Figure 5. Example of gene string representation for a routing sequence. Every gene can be represented as an integer number, as shown in Figure 5. Each node number is the gene and has a corresponding DNA order. In this paper, number 0 means depot, and other numbers represent customer’s number. This representation in route planning means a vehicle starts from depot 0, visits node 1, node 2, node 3, node 4, node 5, and finally returns to depot 0. In the route-generating phase, the nearest neighbor search or closest point search [47] is executed to circle different shipping networks that cover relatively narrow areas traveled by vehicles in order to fulfill the maximum number of customers under the capacity limit. In this case, we increase the potential of generating the least number of vehicles used and distances traveled by vehicles. Second, a permutation-based mapping technique is developed in the route optimizing phase in order to apply particles’ continuous flying trail to the discrete solution domain of the VRPCD. We inherit the initial routes generated in the first step to determine the number of vehicles needed to fulfill total demands. Within each cluster of customers, the particle dimension is set to be the number of customers served. In other words, we deem different groups of particles as the number of vehicles to move toward each best solution, which represents the best combination of routing sequences we desire. Figure 4. The typical cluster-route shipping approach. Logistics 2022, 6, x FOR PEER REVIEW 9 of 16 route’s minimum traveling distance. Accordingly, clustering customers based on their area closeness to assigned deliveries must be established first. In this paper, we apply this practical strategy of a two-phase route construction approach to solve the VRPCD problem. Figure 4 shows the standard cluster-route shipping approach. Moreover, there are many gene string representations in the literature, including binary representation, floating point representation, and integer representation. In this paper, we chose an integer representation to represent our gene string. Figure 5 shows a gene string representation as an example. Figure 4. The typical cluster-route shipping approach. Figure 5. Example of gene string representation for a routing sequence. Every gene can be represented as an integer number, as shown in Figure 5. Each node number is the gene and has a corresponding DNA order. In this paper, number 0 means depot, and other numbers represent customer’s number. This representation in route planning means a vehicle starts from depot 0, visits node 1, node 2, node 3, node 4, node 5, and finally returns to depot 0. In the route-generating phase, the nearest neighbor search or closest point search [47] is executed to circle different shipping networks that cover relatively narrow areas traveled by vehicles in order to fulfill the maximum number of customers under the capacity limit. In this case, we increase the potential of generating the least number of vehicles used and distances traveled by vehicles. Second, a permutation-based mapping technique is developed in the route optimizing phase in order to apply particles’ continuous flying trail to the discrete solution domain of the VRPCD. We inherit the initial routes generated in the first step to determine the number of vehicles needed to fulfill total demands. Within each cluster of customers, the particle dimension is set to be the number of customers served. In other words, we deem different groups of particles as the number of vehicles to move toward each best solution, which represents the best combination of routing sequences we desire. Figure 5. Example of gene string representation for a routing sequence. Every gene can be represented as an integer number, as shown in Figure 5. Each node number is the gene and has a corresponding DNA order. In this paper, number 0 means depot, and other numbers represent customer’s number. This representation in
Logistics 2022,6, 62 15 of 15 44. Xiao, Y.; Zuo, X.; Huang, J.; Konak, A.; Xu, Y. The continuous pollution routing problem. Appl. Math. Comput. 2020,387, 125072. [CrossRef] 45. Lo, S.-C.; Shih, Y.-C. A genetic algorithm with quantum random number generator for solving the pollution-pouting problem in sustainable logistics management. Sustainability 2021,13, 8381. [CrossRef] 46. Liu, Z.; Chen, Y.; Qin, J. The pollution-routing problem with one general period of congestion. J. Model. Manag. 2022 ,35, 1–46. [CrossRef] 47. Arya, S.; Mount, D.M.; Netanyahu, N.S.; Silverman, R.; Wu, A.Y. An optimal algorithm for approximate nearest neighbor searching fixed dimensions. J. ACM 1998,45, 891–923. [CrossRef] 48. Hu, X.; Shi, Y.; Eberhart, R. Recent Advances in Particles Swarm. In Proceedings of the 2004 Congress on Evolutionary Computation (IEEE Cat. No. 04TH8753), Portland, OR, USA, 19–23 June 2004; Volume 1, pp. 90–97. [CrossRef]