Next Article in Journal
Effects of Blue-Light Laser Irradiation on the Enzymatic Activities and Sporulation of Trichoderma atroviride Grown on Rice Husks
Next Article in Special Issue
Optimal Siting of EV Fleet Charging Station Considering EV Mobility and Microgrid Formation for Enhanced Grid Resilience
Previous Article in Journal
Orthodontic Treatment in Pediatric Patients with Autism Spectrum Disorder: Compliance and Satisfaction: Pilot Study
Previous Article in Special Issue
Enhanced Distributed Non-Linear Voltage Regulation and Power Apportion Technique for an Islanded DC Microgrid
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Electric Vehicle Routing Problem with Time Windows, Partial Recharges, and Parcel Lockers

1
Department of Industrial Management, National Taiwan University of Science and Technology, Taipei 106, Taiwan
2
Center for Cyber-Physical System Innovation, National Taiwan University of Science and Technology, Taipei 106, Taiwan
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(16), 9190; https://doi.org/10.3390/app13169190
Submission received: 13 July 2023 / Revised: 8 August 2023 / Accepted: 9 August 2023 / Published: 12 August 2023

Abstract

:
This paper presents an extension of the Electric Vehicle Routing Problem with Time Windows and Partial Recharges (EVRPTW-PR), which incorporates the use of parcel lockers as a delivery method (i.e., self-pickup method). This variant, named the electric vehicle routing problem with time windows, partial recharges, and parcel lockers (EVRPTW-PR-PL), focuses on minimizing delivery costs by employing a homogeneous fleet of electric vehicles (EVs) and providing two delivery methods for serving customers: home delivery and self-pickup methods. We derive a mathematical formulation and propose an adaptive large neighborhood search (ALNS) algorithm to address EVRPTW-PR-PL. Moreover, in ALNS, the solution representation is constructed to handle the assignment of delivery methods. The performance of our proposed ALNS algorithm is evaluated by solving EVRPTW-PR benchmark instances. Finally, the results of EVRPTW-PR-PL obtained by using the GUROBI solver and our ALNS algorithm are provided, accompanied by managerial insights on the implementation of parcel lockers.

1. Introduction

The COVID-19 pandemic has stimulated the growth of the e-commerce market, which is projected to exceed US$6.388 trillion in 2024 with an annual growth rate of approximately 13.5% [1]. In addition, the number of people who have used online shopping services has significantly increased, reaching 3 billion people in 2018, and this growth has further accelerated due to the challenges of pandemics [2]. Last-mile logistics are a key point for addressing these bottlenecks. However, last-mile activities are costly and environmentally polluting, accounting for 13–75% of overall logistics costs [3]. According to a report by Forum [4], the number of delivery vehicles used is expected to increase by 36%, but effective solutions can lead to a 30% reduction in waste emissions and a nearly 25% decrease in total logistics costs. Logistics companies aim to offer diverse services along with faster deliveries to enhance customer satisfaction and reduce operating costs. Environmental concerns, such as noise and air pollution, prompt them to invest in and implement alternative systems [5].
To effectively address environmental concerns, there is a growing trend to replace fuel-consuming vehicles with those powered by sustainable and renewable energy sources. Electric vehicles (EVs) are widely recognized as one of the cleanest transportation means for both private and commercial purposes that generate no local greenhouse gas (GHG) emissions and help reduce noise pollution. Therefore, logistics companies such as DHL, Amazon, and FedEx have already implemented fleets of EVs into their logistics networks. From the perspective of operation research, the use of EVs in last-mile delivery networks to serve customers is studied by ref. [6], which establishes a more sustainable delivery network. Variants of the electric vehicle routing problem (EVRP) have been developed and extended over the past decade. Keskin and Çatay [7] investigate recharge policies to tackle the limitations of battery capacities with shorter recharging durations, named the electric vehicle routing problem with time windows and partial recharges (EVRPTW-PR).
The conventional last-mile delivery method (i.e., home delivery method) faces various challenges in serving customers within the limitations of time windows and dealing with the possibility of customers being unavailable. Moreover, the problem of urban traffic congestion further causes delays in delivery. These factors contribute to a significant risk of delivery failures, resulting in increased air pollution and logistics costs and decreased customer satisfaction levels. Consequently, logistics companies investigate alternative delivery methods to overcome these challenges. One of the potential alternatives is the self-pickup method, wherein couriers drop customers’ parcels at assigned parcel lockers, allowing customers to conveniently retrieve their packages at any time. In practice, parcel locker systems used for delivery have been successfully installed and implemented in more than 20 countries, such as the U.S., UK, Germany, and Canada, which ensure reliable, responsive, and professional delivery experiences [8]. In addition, this delivery method proves particularly suitable during a pandemic as it eliminates the need for direct customer interactions [9].
From the perspective of operations research, we study the integration of parcel lockers into sustainable last-mile delivery networks so as to provide routing plans while minimizing logistics costs, called the electric vehicle routing problem with time windows, partial recharges, and parcel lockers (EVRPTW-PR-PL). While the concept of our study has also been explored by ref. [10], our proposed network differs from them in two features: (1) the locations of parcel lockers and recharging stations (CSs) are distinguished, and (2) each customer is associated only with a designated parcel locker if the self-pickup method is offered. To sum up, our main contributions are highlighted as follows.
  • We study the implementation of parcel lockers based on the concepts of EVRPTW-PR, called the Electric Vehicle Routing Problem with Time Windows, Partial Recharges, and Parcel Lockers (EVRPTW-PR-PL).
  • We formulate a mixed-integer programming (MIP) model and design an adaptive large neighborhood search (ALNS) for solving both EVRPTW-PR and EVRPTW-PR-PL.
  • The performance of the proposed ALNS is shown by solving the EVRPTW-PR benchmark instances.
  • We provide some managerial insights from the implementation of parcel lockers.
The remaining parts of this study are structured as follows. Section 2 reviews papers related to EVRPTW-PR and the implementation of parcel lockers. Section 3 formulates MILP to solve EVRPTW-PR-PL along with a formal description. Section 4 presents an ALNS algorithm that incorporates operators designed for addressing parcel lockers in the network. Section 5 conducts numerical experiments related to ALNS performance and the implementation of parcel lockers. Section 6 discusses the effects of parcel lockers on the problems. Finally, we give some conclusions and potential research in Section 7.

2. Related Work

The literature on variants of vehicle routing problems (VRPs) related to electric vehicles (EVs) and delivery methods is presented as follows. Section 2.1 begins with papers that focus on electric vehicle routing problems (EVRPs). Section 2.2 covers the literature on the utilization of parcel lockers in VRPs.

2.1. Electric Vehicle Routing Problems

The utilization of EVs is first investigated by ref. [6], where they implement a fleet of EVs in a classical VRP. The EVs are assumed to recharge to a minimum of 80% battery capacity with a constant charging rate. The authors devise a mixed-integer non-linear programming model to present the proposed problem. Schneider et al. [11] expand upon the initial concept of integrating EVs into VRPs by introducing electric vehicle routing with time windows (EVRPTW). This model assumes that the batteries of EVs are fully charged when they visit recharging stations (CSs), while also considering the time required for recharging. An efficient mixed integer linear programming (MILP) model is provided that can track the battery status of EVs at each visited node. In addition, they generate well-known benchmark instances for EVRPTW, which are widely used in subsequent studies related to EVRPs.
To analyze the effects of different battery strategies in EVRPTW, Keskin and Çatay [7] investigate a relaxation of the full recharge policy by allowing partial recharges. This relaxation results in the formulation of a new problem known as the electric vehicle routing problem with time windows and partial recharges (EVRPTW-PR). The research highlights the benefits of the partial recharge policy. To effectively solve EVRPTW with both full and partial recharge policies, Desaulniers et al. [12] propose branch-and-price-and-cut algorithms, which attempt to obtain optimal solutions for these problems. Hiermann et al. [13] consider a mixed fleet consisting of three vehicle types: EVs, internal combustion vehicles (ICVs), and hybrid vehicles. The research shows that utilizing a mixed fleet can reduce total transportation costs. Furthermore, Cortés-Murcia et al. [14] investigate the use of alternative means such as walking, bikes, and drones for customer service to leverage the time for recharging EVs’ batteries.
To enhance the practicality of routing plans for EVs, many studies consider realistic energy consumption models by providing more accurate estimations of battery charging and discharging rates. Keskin and Çatay [15] investigate three recharging specifications with varying recharging speeds and costs, and their results reveal tradeoffs between the speeds and costs, which highlight the significant benefits of rapid recharges. Rastani and Çatay [16] focus on the impacts of load-dependent energy consumption on the EVs’ routing plans, where fleet sizes and the current loading of vehicles are load-dependent factors when minimizing total energy consumption. Montoya et al. [17] propose a more accurate charging time estimation (i.e., a piecewise linear approximation) to capture charging behavior accurately. Froger et al. [18] offer an arc-based formulation and an exact labeling algorithm to efficiently solve the [17] problem.
A combination of both electrical and fossil engine vehicles is utilized by refs. [19,20]. In addition, Mancini [21] and Hiermann et al. [13] investigate the use of hybrid vehicles that switch to consuming fossil fuels when their batteries are fully discharged. Other concepts of EVRPs are extended, such as time-dependent waiting times at public CSs [22,23], time synchronization at CSs with recharging policies [22,24,25], the implementation of battery swapping stations [26,27,28], and the impact of traffic on EVs’ driving speed [29]. Other applications of electric vehicles (EVs) in goods distribution appear in the survey conducted by ref. [30].

2.2. Delivery Options in Last-Mile Delivery

Logistic companies face challenges in the sustainability and efficiency of their delivery networks due to factors such as traditional vehicles, traffic congestion, and urbanization [31]. A comprehensive review of recent and future last-mile delivery concepts is presented by ref. [9], who emphasize the significant benefits of alternative delivery options and address key decision problems using established operations research methods.
Regarding alternative delivery options, the concept of considering multiple time windows for each customer was first introduced by ref. [32], called VRP with multiple time windows (VRPMTW). Later, several variants of VRPMTW are studied, such as VRP with multiple interdependent time windows [33] and VRP with multiple prioritized time windows [34]. In addition, Belhaiza et al. [35] develop a hybrid variable neighborhood tabu search heuristic to effectively solve VRPMTW. Reyes et al. [36] further extend VRPMTW to VRP with roaming delivery locations (VRPRDL), where multiple delivery locations are provided with different non-overlapping time slots for customers. Ozbaygin et al. [37] offer an exact algorithm to solve both VRPRDL and the dynamic version of VRPRDL proposed by ref. [38]. In the dynamic version, routing plans are rescheduled in response to changes during the transportation execution. Another extension of VRPRDL is proposed by ref. [39], where parcel lockers are used as shared delivery locations with limited service capacities, replacing the trunks of cars. In addition, Dumez et al. [40] extend VRP with delivery options (VRPDO), where customers’ parcels can be delivered to various locations such as their private addresses, lockers, or car trunks.
Parcel lockers are especially used for proposing a delivery method (i.e., the self-pickup method where customers pick up the packages by themselves), which provides more flexibility and efficiency in serving customers. The use of parcel lockers in last-mile delivery can reduce up to 66% of total delivery costs compared with traditional methods [8]. Applications for parcel lockers for current and future logistics networks have been presented in a survey conducted by ref. [9]. Zhou et al. [41] investigate parcel lockers into a two-echelon VRP, where each customer can be served at either their home or a designated shared location (i.e., parcel locker), but time windows are not considered. Sitek and Wikarek [42] address alternative delivery methods to accommodate customer preferences where the capacity of shared locations (i.e., parcel lockers and post offices) is limited. Enthoven et al. [43] use parcel lockers as covering locations where nearby customers can pick up their parcels. This problem provides two delivery options: self-pickup and home delivery. Carotenuto et al. [44] compare the advantages of parcel lockers in reducing pollution by evaluating the results obtained from home delivery systems and parcel locker systems. Their findings contribute to understanding the positive environmental impact of parcel lockers as an alternative delivery method. Yu et al. [45] address the use of parcel lockers in VRPTW, which provides three delivery methods for serving customers. The concept of delivery methods in this paper is investigated in our problem. Other studies also investigate the applications of parcel lockers in last-mile delivery, such as automated parcel locker systems [46] and heterogeneous locker boxes [47].

3. Problem Description and Mathematical Model

With the presence of parcel lockers, there are two delivery methods offered, including (1) home delivery and (2) self-pickup at parcel lockers. With these delivery methods, we propose three types of customers for our problem. The first type is home delivery customers (H), who are required to directly receive parcels at their home locations. The second type is self-pickup customers (S), who come to the designated parcel lockers to pick up parcels. Each self-pickup customer is allowed to select a preferred parcel locker, which is convenient for collecting parcels. The last type is flexible customers (F), who are willing to be served by either home delivery or self-pickup methods. Note that the preferred delivery method for each customer is known in advance.
Let C = { C H C S C F } be a set of all customers (i.e., consisting of three subsets of home delivery, self-pickup, and flexible customers, respectively), P denotes a set of parcel lockers, F denotes the set of recharging stations (CSs), and { 0 , 0 } is the origin and destination depots. We define EVRPTW-PR-PL as a directed graph G = ( N , A ) , where the set of nodes N can be separated into subsets as N = { 0 , 0 } C P F . Note that set F includes set F and its copies of each CS to allow multiple visits to CSs. For later formal expressions, we denote subsets N = N \ { 0 , 0 } , N ( o ) = N \ { 0 } , N ( d ) = N \ { 0 } , and F + = F { 0 } . The set of arcs A is defined by A = { ( i , j ) | i N ( s ) , j N ( d ) , i j } . For each arc ( i , j ) A , travel cost and travel time are defined by c i j and t i j , respectively.
All customers are served by a homogeneous fleet of EVs (denoted by set K) with a load capacity of Q, battery capacity of B, and electric consumption rate of r. Each utilized EV starts at the depot with a fully charged battery and ends at the depot. During transportation, each EV is allowed to recharge its battery at CSs with a charging rate of g. Note that each CS may serve EVs multiple times. Furthermore, each parcel locker with a capacity limited by the number of customers (denoted by Q ) may serve several self-pickup and flexible customers and can be visited by one or more vehicles. Let ξ denote the designated parcel locker of customer i C S C F . Consequently, each parcel locker i P has a subset of associated customers C i C S C F , which represents the possible connection between the parcel locker and customers in the subset. Each customer i C has a predefined time window [ e i , l i ] , a non-negative demand d i , and a service time s i . Demand and service time of the remaining vertices (i.e., parcel lockers and CSs) are set to 0, while their time windows are denoted by [ 0 , T m a x ] , with T m a x as the maximum duration of the routing plan.
Figure 1 presents an illustrative network including 4 home delivery customers (1–4), 4 self-pickup customers (5–8), 4 flexible customers (9–12), 4 parcel lockers (P1–P4), 3 recharging stations (CS1–CS3), and depot 0. Regarding the self-pickup method, the sets of possible connections for parcel lockers are C 1 = { 5 , 8 , 10 } , C 2 = { 9 , 11 } , C 3 = { 6 , 12 } , and C 4 = { 7 } (see hash lines in Figure 1). The figure depicts a routing plan for serving all customers along with their corresponding delivery methods by using three EVs. All home delivery customers have their parcels delivered to their homes, while self-pickup customers receive their parcels at parcel lockers (see red hashed lines in Figure 1). Flexible customers 9 and 11 are not assigned to the self-pickup method (see black hashed lines in Figure 1), while customers 10 and 12 take their orders from the parcel lockers. In particular, route 1 visits parcel locker P4 to drop off parcels for customer 7. Similarly, route 2 delivers parcels from customers 6 and 12 to parcel locker P3. Finally, route 3 involves a visit to parcel locker P1, where customers 5, 8, and 10 retrieve their parcels. Some CSs are also visited by EVs to recharge their batteries.
For seeking the routing plans on EVRPTW-PR-PL, the model uses the following decision variables: binary variable x i j is equal to 1 if arc ( i , j ) A is traversed and 0 otherwise. Let o i for all i C S C F be a binary variable equal to 1 if the self-pickup method is chosen for customer i and 0 otherwise (indicating the home delivery method). The non-negative variable w i for all i P then determines the total parcels delivered to the parcel locker i. Regarding the battery level, non-negative variables y i and Y i present the battery state when coming to and departing from vertex i N , respectively. Finally, non-negative variables τ i and u i track the service starting time and current load when the EV arrives at vertex i N .
Objective function:
Minimize ( i , j ) A c i j x i j
The objective function (1) minimizes the total travel distance of the EVs.
Constraints:
( i , j ) A x i j = 1 , i C H
( i , j ) A x i j = 1 o i , i C S C F
( i , j ) A x i j 1 , i F
Q ( i , j ) A x i j w i , i P
( j , i ) A x j i ( i , j ) A x i j = 0 , i N
( 0 , i ) A x 0 i | K |
Constraints (2) and (3) enforce the associated delivery methods for all customers. Constraint (4) addresses arc connectivity related to CSs. Constraint (5) ensures that the parcel locker must be visited by vehicles if it keeps parcels for at least one customer. Constraint (6) conserves EV’s flows at each node within routes. Constraint (7) limits the number of used electric vehicles.
τ i + ( t i j + s i ) x i j b 0 ( 1 x i j ) τ j , i C P , ( i , j ) A
τ i + t i j x i j + g ( Y i y i ) b 0 ( 1 x i j ) τ j , i F , ( i , j ) A
e i τ i l i , i N \ ( C S C F )
e i ( 1 o i ) τ i l i ( 1 o i ) , i C S C F
u j u i d i x i j + Q ( 1 x i j ) , ( i , j ) A
u j u i w i x i j + Q ( 1 x i j ) , i P , ( i , j ) A
u i Q , i N
w i = j C i d j o j , i P
j C i o j Q , i P
o i = 1 , i C S
Constraints (8) and (9) track the starting time for serving at each node. Constraints (10) and (11) impose that vehicles can only visit nodes within their predefined time windows. The current loading of EVs at each node is recorded by constraints (12) and (13). Constraint (14) guarantees that a vehicle’s total load does not exceed its capacity. Constraint (15) states that the actual demand of each parcel locker equals the total demand from customers picking up their parcels at that specific parcel locker. Constraint (16) limits that the number of customers assigned to each parcel locker does not exceed the parcel locker’s capacity. Constraint (17) imposes that each self-pickup customer must be assigned to the self-pickup method.
y j Y i r c i j x i j + B ( 1 x i j ) , i F + , ( i , j ) A
y j y i r c i j x i j + B ( 1 x i j ) , i C P , ( i , j ) A
y i Y i B , i F +
Constraints (18) and (19) track the remaining battery capacity when the EVs visit CSs and the remaining nodes, respectively. Constraint (20) ensures that the battery state of charge does not exceed its capacity at CSs.

4. Solution Method

To solve EVRPTW-PR-PL, we propose an ALNS algorithm that has successfully solved a broad range of routing problems, such as pickup and delivery problems [48], the two-echelon vehicle routing problem (2E-VRP) [49], VRP with handling uncertainty [50], EVRP variants [7,51,52], and VRP with delivery options (VRPDO) [40]. Schiffer and Walther [52] derive a set of functions to efficiently check the feasibility of EV routes in O ( 1 ) time complexity. The efficient operators for handling delivery options described in one study [40] are also utilized in our problem.
A solution of EVRPTW-PR-PL is represented by two arrays. Array 1 represents a set of sequences that include served customers who may visit some CSs in order. Array 2 is associated with array 1, which reports the delivery methods for customers. In particular, if a customer within array 1 is assigned to the self-pickup method, then the designated parcel locker is placed in the corresponding position of the customer in array 1; otherwise, the remaining positions are copied from array 1. Based on this representation, the preferred delivery methods are always ensured for all customers, and the total demand for parcel lockers is also guaranteed. However, it is possible for infeasible solutions to arise that can violate time window, battery, and load violations, resulting in penalties (see Section 1). We note that total cost and penalties are determined based on the second array (see Section 4.4).
Figure 2 presents the solution of the illustrative example (as shown in Figure 1). With array 1, white cells represent home delivery customers and CSs, while blue and red cells represent self-pickup and flexible customers, respectively. Array 2 is then associated with array 1, where all blue cells must be replaced by the designated parcel lockers of self-pickup customers, and red cells can represent either the customers themselves or the designated parcel lockers. For example, route 2 is represented as 0 11 CS 1 P 3 3 0 , where the flexible customer 11 is assigned to the home delivery method, while another flexible customer 12 is assigned to the self-pickup method at parcel locker 3 (as indicated in array 2). In addition, when two consecutive parcel lockers are the same on a route, we can combine them when updating the routes.

4.1. Construction Algorithm

Based on the structure of a solution representation, an initial solution for ALNS is generated by using a modified nearest neighborhood algorithm that includes two stages. In the first stage, we iteratively select the customer in the set of unassigned customers with the lowest cost increment (i.e., Δ f g e n = f g e n a f t e r f g e n b e f o r e ) and then insert it into the solution. The first stage terminates when all customers are served. In the second stage, an attempt is then made to reduce the battery violation by implementing the station insertion operator (see Section 4.4.3).
To find the best insertion, all customers are tested to be inserted into all positions in the incomplete solution. The customer who results in the lowest cost increment is selected. It is important to note that the three types of customers are considered in different ways: (1) For home delivery customers: the customer locations are taken into account when evaluating cost increments; (2) For self-pickup customers: the designated parcel lockers are considered when evaluating cost increments; and (3) For flexible customers: both the aforementioned cases (i.e., home delivery and self-pickup) are considered when evaluating cost increments, resulting in a lower cost increment.

4.2. Evaluation of Penalties

To extend the search space, we accept infeasible solutions in terms of time windows, battery consumption, and vehicle loading, along with adding penalty costs [53]. Let σ = { V 1 , , V n } denote a solution consisting of a set of n routes. The generalized cost function of a solution σ is denoted by f g e n ( σ ) as follows. Next, the total cost function (1) is generalized by taking into account three penalty terms related to time windows, battery, and vehicle load, as shown in the following expression.
f g e n ( σ ) = V σ f g e n ( V ) = f ( σ ) + V σ ρ t w λ t w ( V ) + ρ b a λ b a ( V ) + ρ l o λ l o ( V )
Here, f ( σ ) is equivalent to the total cost (1). Values λ t w ( V ) , λ b a ( V ) , and λ v l ( V ) denote the time window, battery, and load penalties, respectively. These penalties are included in the generalized total cost with associated weights ρ t w ,   ρ b a , and ρ l o , which are initialized with ρ t w 0 , ρ b a 0 , and ρ l o 0 . These weights are adjusted during the ALNS procedure with the ranges [ ρ t w m i n , ρ t w m a x ] ,   [ ρ b a m i n , ρ b a m a x ] , and [ ρ l o m i n , ρ l o m a x ] . Based on [53], lower bounds are set as 0.5, and upper bounds are set as the objective value of the initial solution.
It is worth noting that dynamic penalty weights are used to reduce the occurrence of infeasible solutions during the execution of our ALNS procedure. More specifically, the penalty weights are increased to prevent infeasible solutions when the algorithm keeps failing to explore feasible solutions. This concept has been successfully implemented to solve EVRP variants such as [52,53,54].
Load penalty λ l o is easily determined in O ( 1 ) time complexity [55]. Battery and time window penalties are more challenging, but Schiffer and Walther [52] propose an efficient approach by introducing a set of forward and backward variables. For the sake of calculations, all variables mentioned in this section are used in the same unit as travel time. We also introduce some supported parameters; i.e., h i j = g r d i j denotes the recharge time with enough energy to traverse an arc ( i , j ) , and H = g B denotes the time for recharging a full battery capacity. All variables are applied to concatenation operators for evaluating these penalties in O ( 1 ) time complexity. In more detail, forward and backward functions are explained as follows.

4.2.1. Forward Functions

We introduce a set of variables for propagating from node i to node j. In particular, variable a j m i n (resp. a j m a x ) denotes the earliest allowed arrival time adding the minimum required (resp. the maximum possible) charging time at previous CSs. Variables a ˜ j m i n and a ˜ j m a x replace a j m i n and a j m a x , respectively, when penalties occur in order to avoid over-penalization. In addition, slack time due to the waiting time before node j is served results in the available time for charging, denoted by a i j s l . Variable a j r t tracks the inverse residual battery capacity at node j. Finally, variable a i j a d d determines the minimum charging time in order to reach from node i to node j. Forward equations derived from [52] are shown as follows. To shorten forward and backward functions, values t i j also involve service time at node i.
a j m i n = max { e j , a ˜ i m i n + t i j } + a i j a d d
a j m a x = max { e j , a ˜ i m i n + max { 0 , a i r t s i } + t i j } if i F max { e j , a ˜ i m a x + t i j } else
a ˜ j m i n = min { a j m i n , a j m a x , l j }
a ˜ j m a x = min { l j , a ˜ j m i n + max { a j m a x a j m i n , 0 } }
a i j s l = max { 0 , e j a ˜ i m i n t i j }
a j r t = min { H , max { 0 , a i r t s i a j s l } + h i j } if i F min { H , max { 0 , a i r t min { a j s l , a ˜ i m a x a ˜ i m i n } } + h i j } else
a i j a d d = max { 0 , max { 0 , a i r t s i a j s l } + h i j H } if i F max { 0 , max { 0 , a i r t min { a j s l , a ˜ i m a x , a ˜ i m i n } } + h i j H } else
At the starting depot 0, all values (i.e., a 0 m i n , a 0 m a x , a 0 s l , a 0 r t , and a 0 a d d ) are initialized as 0. Based on the above-mentioned variables, forward battery λ B and time window λ T penalties for each route r are computed as follows.
λ B ( V ) = j r max { a j m i n a j m a x , 0 }
λ T ( V ) = j r max { min { a j m i n , a j m a x } l j , 0 }

4.2.2. Backward Functions

The backward variables consisting of b x , x { m i n , m a x , s l , r t , a d d } , as well as b ˜ m i n and b ˜ m a x are similarly used with the same terminology to update backward penalties. By considering an arc ( i , j ) , the backward variables are updated backwardly from node j to node i as the following equations.
b i m i n = min { l i , b ˜ j m i n t i j } + b i j a d d
b i m a x = max { l i , b ˜ j m i n max { 0 , b j r t s j } t i j } if j F max { l i , b ˜ j m a x t i j } else
b ˜ i m i n = max { b i m i n , b i m a x , e i }
b ˜ i m a x = max { e i , b ˜ i m i n max { b i m i n b i m a x , 0 } }
b i s l = max { 0 , b ˜ j m i n t i j l i }
b i r t = min { H , max { 0 , b j r t s j b i s l } + h i j } if j F min { H , max { 0 , b j r t min { b i s l , b ˜ j m i n b ˜ j m a x } } + h i j } else
b j a d d = max { 0 , max { 0 , b j r t s j b i s l } + h i j H } if j F max { 0 , max { 0 , b j r t min { b i s l , b ˜ j m i n , b ˜ j m a x } } + h i j H } else
λ B ( V ) = j V max { b j m a x b j m i n , 0 }
λ T ( V ) = j V max { e j max { b j m i n , b j m a x } , 0 }

4.2.3. Concatenation Operators

By utilizing forward and backward variables, concatenation operators allow us to obtain the penalties in O ( 1 ) time complexity for two cases: (1) when inserting a node into a route, and (2) when removing a node from a route. However, when route segments (i.e., at least two vertices) are inserted, either forward or backward penalties have to be updated for the route segment first before implementing the two above-mentioned cases. (1) Insert a node v into a route V, expressed as V = { 0 , , x , v , y , , 0 } . There are two partial routes partitioned by node v; i.e., V 1 = { 0 , , x } and V 2 = { y , , 0 } . Forward and backward variables at node v are calculated by Equations (22)–(28) and Equations (31)–(37), respectively. Time window violation ( λ T ( V ) ) and battery violation ( λ B ( V ) ) are then obtained as follows.
λ T ( V ) = λ T ( V 1 ) + λ T ( V 2 ) + max { 0 , a v m i n l v max { 0 , a v m i n a v m a x } } + max { 0 , min { l v , max { e v , a v m i n } } b v m i n max { 0 , b v m a x b v m i n } }
λ B ( V ) = λ B ( V 1 ) + λ B ( V 2 ) + max { 0 , a v m i n a v m a x } + max { 0 , b v m a x b v m i n } + Δ ( i )
where Δ ( i ) = max { 0 , a v r t + b v r t H min { a v r t , max { 0 , max { b v m a x , b v m i n } min { a v m i n , a v m a x } } } } if v F max { 0 , a v r t + b v r t H min { H , max { 0 , b v m i n b v m a x } + max { 0 , a v m a x a v m i n } , max { 0 , min { l v , max { b v m i n , b v m a x } } min { a v m i n , a v m a x } } } } else .
(2) Removing a node v from a route V, we obtain two partial routes V 1 = { 0 , , x } and V 2 = { y , , 0 } . First, forward variables at node y are extended by Equations (22)–(28). Second, Equations (42) and (43) are derived to calculate the time windows and battery violations, respectively.
λ T ( V ) = λ T ( V 1 ) + λ T ( V 2 ) + max { 0 , a y m i n l y max { 0 , a y m i n a y m a x } } + max { 0 , max { e y , min { a y m i n , a y m a x , l y } } b ˜ y m i n }
λ B ( V ) = λ B ( V 1 ) + λ B ( V 2 ) + max { 0 , a y m i n a y m a x } + Δ ( r )
where Δ ( r ) = max { 0 , a y r t + b y r t H min { a y r t , max { 0 , b y m i n min { a y m i n , a y m a x } } } } if y F max { 0 , a y r t + b y r t H min { H , max { 0 , b y m i n b y m a x } + max { 0 , a y m a x a y m i n } , max { 0 , min { l y , max { b y m i n , b y m a x } } min { a y m i n , a y m a x } } } } else .
These operators never underestimate the total time window and battery violations, although the equations do not provide exact penalty values for each component.

4.3. Adaptive Large Neighborhood Search

Algorithm 1 presents our proposed ALNS, adopted by ref. [52]. ALNS is an individual-based algorithm, which works on a current solution σ initialized by the construction algorithm (see Section 4.1). We set the current best solution σ * as σ . While σ * accepts an infeasible solution, σ f * records the current best feasible solutions. During the ALNS procedure, we utilize a temporary solution σ to execute removal and insertion operators. The algorithm terminates when either of the two following conditions is met: (1) the algorithm reaches η m a x iterations or (2) no improved solution is found after η n o i m p iterations.
Algorithm 1 ALNS pseudocode
  1:
σ initializeSol ( )
  2:
σ , σ * σ , σ f * , ι 0 , ι n o i 0 , T T 0
  3:
if isFeasible ( σ )  then
  4:
     σ f * σ
  5:
while  ( ι < η m a x )   and   ( ι ι n o i < η n o i m p )  do
  6:
     σ  customerRemovalInsertion()    ▹ mentioned in Section 4.4.1
  7:
    if random(0,1) < δ L  then
  8:
         σ  lockerRemovalInsertion()     ▹ mentioned in Section 4.4.2
  9:
     σ  stationremovalinsertion()      ▹ mentioned in Section 4.4.3
10:
    if  f g e n ( σ ) < f g e n ( σ )  then
11:
         σ σ
12:
        if  f g e n ( σ ) < f g e n ( σ * )  then
13:
            σ * σ
14:
           if isFeasible( σ ) and   f g e n ( σ ) < f g e n ( σ f * )  then
15:
                σ f * σ
16:
                ι n o i ι
17:
    else
18:
         ι n o i ι n o i + 1
19:
        acceptanceWorse ( σ , σ , T )       ▹ mentioned in Section 4.5
20:
    if  modulo   ( ι , η p e n a l t y ) = 0  then
21:
        updatePenaltyWeights()
22:
    if  modulo   ( ι , η p r o b a ) = 0  then
23:
        updateSelectionProb()
24:
     ι ι + 1 , T α T
25:
return  σ f *
Each iteration starts by implementing customerRemovalInsertion() into the temporary solution and then applying lockerRemovalInsertion() with a probability of δ L . After that, stationremovalinsertion() is executed to complete the removal and insertion phases. The obtained temporary solution σ is then compared with the updated solutions in ALNS: (1) σ replaces σ if σ is better than σ , (2) σ also replaces σ * if σ is better than σ * , and (3) if a better feasible solution is obtained, then σ f * is updated with σ . These conditions govern the updating process at each iteration. However, we still accept a worse solution σ to be σ with a probability based on the temperature T, denoted by acceptanceWorse ( σ , σ , T ) (see Section 4.5).
Dynamic parameters are then updated based on the performance of operators. The penalty weights are updated (updatePenaltyWeights()) based on the following. If no violation occurs within η p e n a l t y iterations, then the associated penalty weight is divided by a constant ω p e n a l t y ; otherwise, the penalty weight is multiplied by ω p e n a l t y . Similarly, the probability of removal and insertion operators is updated (updateSelectionProb()) after η p r o b a consecutive iterations (see Section 4.4). Before proceeding to the next iteration, the temperature of the acceptance criteria is updated with a cooling rate of α . We note that the cooling rate α and the initial SA temperature T 0 are from [53].

4.4. Removal and Insertion Algorithms

This section introduces three classes of removal and insertion algorithms to address the features of our problem, i.e., the solution representation takes into account not only customer nodes, but also parcel lockers and recharging stations (CSs). Removal and insertion algorithms associated with customers are first presented in Section 4.4.1. Section 4.4.2 then introduces removal and insertion mechanisms designed for parcel lockers. Finally, Section 4.4.3 proposes station removal and insertion algorithms, which exclusively consider recharging stations.

4.4.1. Customer Removal and Insertion

Customers are removed from the solution by three removal operators, while they are re-inserted into the solution by three insertion operators based on array 1 of the solution representation (denoted by customerRemovalInsertion()). The customer removal and insertion algorithms are selected in an adaptive manner [53]. The probabilities of selections are re-computed by a smoothing rate ω p r o b after a learning period (i.e., η p r o b a iterations). During a learning period, when a new solution is generated, the associated removal and insertion algorithms are rewarded based on their performance. The rewards, denoted as ϵ f , ϵ b , ϵ i , and ϵ w , correspond to different scenarios, which are gained when a new best feasible solution, a new best solution (which may be infeasible), a solution improving the current solution, and a worse solution, respectively, are found.
For each customer removal operator, η r e m customers are removed. The number of removed customers η r e m is randomly selected within a range η r e m 1 , | C | . The following removal operators are implemented in our ALNS:
  • Random removal randomly removes η r e m customers from a given solution.
  • Worst removal is adopted by ref. [53], which iteratively removes the customer that increases the generalized total cost the most, defined by Δ f g e n = f g e n a f g e n b , where f g e n b and f g e n a represent the generalized costs before and after removing the customer, respectively. Moreover, to avoid being trapped at local optimum points, we consider randomness by controlling a randomness level δ n o i s e . Instead of choosing the highest cost reduction, the r δ n o i s e | L w o r s t | -th highest cost reduction is then selected for removal from the solution, where r is a random variable drawn from a uniform distribution U [ 0 , 1 ] , and L w o r s t is a list of customers sorted in descending order by the cost reduction.
  • Shaw removal was first introduced in [56] and aims to remove customers that are similar to each other with respect to four criteria (i.e., travel distance, time window, demand, and delivery method). The procedure begins by randomly removing a customer and storing it in a list (denoted by L s h a w ). The removal process is then repeated until η r e m customers are removed. At every iteration, a customer j in the route is selected for removal based on its relatedness to a randomly chosen customer i from the list L s h a w . The relatedness between customers i and j is evaluated using the following equation:
    R ( i , j ) = ϕ 1 d i j + ϕ 2 | q i q j | + ϕ 3 | e i e j | + P ( i , j )
    Here, the four terms correspond to the relatedness of travel distance, the earliest time, demand, and delivery method, respectively. For the first three terms, each criterion is weighted by ϕ 1 , ϕ 2 , and ϕ 3 , respectively. In addition, P ( i , j ) equals 0 if both customers are assigned the same delivery method (either home delivery or self-pickup method) and 1 otherwise. We note that a lower R ( i , j ) represents more relatedness between customers i and j.
For each insertion operator, the set of absent customers due to the removals is re-inserted into the solution. Infeasible solutions in terms of time windows, load, and battery are taken into account by the generalized objective function (see Section 4.2). The insertion operators are briefly described as follows.
  • Greedy insertion is adopted by ref. [48] and iteratively selects a customer from the list of absent customers with the best insertion for inserting into the solution until all customers are re-inserted. In each iteration, the customer with the best insertion is determined based on the increase in the generalized objective value. Note that for the home delivery method, customer locations are considered for insertion, while for the self-pickup method, parcel locker locations are taken into account.
  • k-regret insertion was first described by ref. [48] and aims to anticipate the future impact of insertion operations. The process involves iteratively inserting the set of absent customers based on their regret-k cost value. The regret-k value of a customer is determined by calculating the difference between the sum of costs for inserting the customer in the n-th lowest-cost position (denoted by c i , n r , given n = 2 k ) and the cost of inserting the customer in the lowest-cost position (denoted by c i , 1 r ). Our paper implements this operator with k = 2 and k = 3 .

4.4.2. Locker Removal and Insertion

We adopt a procedure developed in the literature [40] for handling the self-pickup method. This procedure involves locker removal and re-insertion into the solution based on array 2 of the solution representation, denoted by lockerRemovalInsertion(). Note that the locker removal and insertion heuristics must be implemented together to effectively handle the self-pickup method. In particular, a parcel locker is first removed from the solution, which consists of one or more associated customers. We then obtain a list of removed customers. Subsequently, all customers with the designated parcel locker are re-inserted by using a locker insertion procedure. Locker removal and insertion mechanisms are presented as follows:
  • Locker removal as adopted by ref. [40] is employed to prevent unnecessary repetition of customer removal and insertion operators without yielding any improvement. The procedure begins by recording all utilized parcel lockers in the considered solution that can potentially be removed. Next, a parcel locker is selected based on the highest reduction in distance cost when it is removed from the solution. Note that the parcel locker is removed, resulting in the removal of one or more associated customers. Figure 3 provides an example illustrating the implementation of locker removal, as described in Figure 2. In particular, there are three parcel locker positions (i.e., P4 in route 1, P3 in route 2, and P1 in route 3), as indicated by the red boxes in Figure 3a. Figure 3b shows the incomplete solution after removing parcel locker 3 in route 2.
  • Locker insertion is similar to customer greedy insertion, but with the key distinction that it exclusively considers the self-pickup method for inserting customers into the solution. Notably, the set of absent customers is designated to a single parcel locker.

4.4.3. Station Removal and Insertion

The recharging stations (CSs) are an important component of the problem. Thus, station removal and insertion heuristics are proposed to improve the solution in terms of battery violations, which are discussed as follows.
  • Station removal is similar to the worst customer removal. In this case, CSs are targeted for removal instead of customer nodes. This heuristic removes a specified number of stations, denoted as η r e m , which is determined by η r e m = [ 1 , | C S | ] , where | C S | represents the total number of CSs existing in the solution.
  • Station insertion is similar to the greedy customer insertion for inserting CSs into the solution until no further improvement is found.

4.5. Acceptance Criteria

In our ALNS, we employ the simulated annealing (SA) acceptance criteria to escape local optima [53]. In particular, not only are improved solutions accepted, but worse solutions are also accepted with a probability depending on the relative difference between f g e n ( σ ) , and f g e n ( σ ) , as well as the SA temperature.
Since infeasible solutions are allowed with dynamic penalty weights ρ t w , ρ b a , ρ l o , the generalized cost strongly depends on the values of penalty weights. Let ( ρ t w σ , ρ b a σ , ρ l o σ ) represent the penalty weights used for evaluating f g e n ( σ ) and ( ρ t w σ , ρ b a σ , ρ l o σ ) represent the penalty weights used for evaluating f g e n ( σ ) . To compare the generalized cost between σ and σ , we normalize the penalty weights as follows.
( ρ t w n o r m , ρ b a n o r m , ρ l o n o r m ) = 1 2 ρ t w σ + ρ t w σ , 1 2 ρ b a σ + ρ b a σ , 1 2 ρ l o σ + ρ l o σ
The probability of accepting a worse solution σ is finally determined as follows.
p ( σ , σ , T ) = e Δ f r e l ( σ , σ ) T where Δ f r e l ( σ , σ ) = f g e n n o r m ( σ ) f g e n n o r m ( σ ) f g e n n o r m ( σ )
Here, Δ f ( σ , σ ) denotes the relative difference between the cost values of σ and σ .
The initial SA temperature and cooling rate are determined by following [53]. Specifically, the initial SA temperature is configured so that a solution worse than the initial solution by 30% is accepted with a probability of 50%. In addition, the cooling rate is defined to limit the decrease in the temperature to below 0.0001 in the final 20% of iterations.

5. Experimental Results

This section presents the results of numerical experiments to highlight our contributions. Section 5.1 explains the generation of the EVRPTW-PR-PL instances used in our experiments. Section 5.2 discusses the calibration of parameters related to ALNS to improve the solution quality. Section 5.3 discusses the performance of the proposed ALNS versus the state-of-the-art algorithms. Section 5.4 then describes the implementation of the proposed ALNS to solve EVRPTW-PR-PL instances. All experiments are conducted on a computer with an Intel® Core™ i7-9700 CPU at 3.0 GHz. While the GUROBI solver is used to solve the MILP model, the proposed ALNS algorithm is coded in C++ using Microsoft Visual Studio 2022, Version 17.2.3.

5.1. Test Instances

This section generates EVRPTW-PR-PL instances based on EVRPTW instances proposed by ref. [11]. There are 36 small-size instances (i.e., 12 instances with 5, 10, and 15 customers) and 56 large-size instances with 100 customers. These instances are modified to address three types of customers and parcel locker facilities in our problem. The instances are categorized into three classes based on the distribution of customer locations, i.e., clustered (C), randomly distributed (R), and combined clustered and randomly distributed (RC). Furthermore, instances in each class can be divided into two subsets with different widths of time windows, resulting in six subsets, namely C-1, C-2, R-1, R-2, RC-1, and RC-2. The subsets R-1, C-1, and RC-1 have shorter time windows compared with subsets R-2, C-2, and RC-2. In particular, based on [45], we randomly assign each customer to be one of three types of customers (i.e., home delivery, self-pickup, and flexible customers) with an equal probability. There are | C | 20 parcel locker locations generated for each instance. Each parcel locker is randomly located within the range between the smallest and largest values of the x- and y-coordinates of customers. Parcel locker’s service time is set to half of the customer’s service time, and their time window is set the same as the depot. Regarding the self-up method, for self-pickup and flexible customers, the parcel lockers nearest them are assigned to be the designated parcel lockers.

5.2. Parameter Tuning

To tune the parameters of our proposed ALNS, we utilize the one factor at a time (OFAT) approach, successfully employed in tuning parameters for solving VRP variants [50,52]. For this experiment, we randomly selected six large EVRPTW-PR-PL instances (i.e., c103, c202, r110, r205, rc106, and rc207) to evaluate parameter settings.
Table 1 summarizes all the parameters used in the proposed ALNS. In this experiment, eight parameters (i.e., ω p e n a l t y , ω p r o b a , η n o i m p , η p r o b a , η p e n a l t y , ϵ b , ϵ f , ϵ i , ϵ w , and δ L ) are selected for tuning, while the remaining parameters are referenced from previous works. In particular, parameters related to removal and insertion operators (i.e., ϕ 1 , ϕ 2 , ϕ 3 , and δ n o i s e ) are set based on [53]. Parameters associated with the SA acceptance criteria (i.e., T 0 and α ) are discussed in Section 4.5. The initial weight penalties and their ranges are adopted from [53] (see Section 4.2). To ensure a good trade-off between computational time and solution quality, the ALNS algorithm is terminated after reaching η m a x = 30 , 000 iterations.
We next vary the values of the eight selected parameters, which are produced by an ad hoc trial-and-error procedure [48] (see Column “Value” of Table 1), and their initial values are randomly selected (see Table 2). All parameters are tuned sequentially, with each parameter being tuned in turn. The tuning order of parameters follows the order reported in Table 2.
For each tuned parameter, we consider a set of four candidate values to test each of them, while the remaining parameters are fixed to their initial values unless their final values have been found. This therefore provides four different parameter settings for the ALNS algorithm. The final value of the tuned parameter is selected based on the best performance observed among the four parameter settings. For each parameter setting, the performance of the ALNS algorithm is determined based on the average gap of average solution values after 5 runs, denoted by Δ f ¯ a v g [ % ] (see Table 2). This process is repeated until all parameters are tuned. Table 2 summarizes the detailed results of the tuning procedure.

5.3. Results on EVRPTW-PR

This section reports the results obtained by our proposed algorithm (ALNS) on both EVRPTW-PR small and large instances. These results are then compared with the results achieved by the state-of-the-art algorithms, including those from Keskin and Çatay [7] (KÇ), Schiffer and Walther [52] (SW), and Hiermann et al. [13] (HGA). Note that optimal solutions for EVRPTW-PR small instances are provided by ref. [7].
For the algorithm’s performance analysis, several terms are used: (1) f b represents the best objective value over 10 replications obtained by each algorithm; (2) Δ f [ % ] denotes the gap measured by the results of our ALNS against those of the state-of-the-art algorithms; and (3) t ¯ denotes the average computational time spent by our ALNS. The details appear in Table A1, Table A2, Table A3, Table A4, Table A5, Table A6 and Table A7.
Regarding the small-sized instances, we compare the results obtained by our ALNS algorithm with the optimal solutions provided in [7]. The details are presented in Table A1. Our ALNS not only achieves optimal solutions for all instances but also operates faster than the GUROBI solver.
Regarding the large-sized instances, the detailed results of subsets C-1, C-2, R-1, R-2, RC-1, and RC-2 are provided in Table A2, Table A3, Table A4, Table A5, Table A6 and Table A7, respectively. The tables list the best solution values after 10 runs from all algorithms (i.e., KÇ, SW, HGA, and our ALNS after) as well as the best-known solutions. Based on these tables, we compare the results of our algorithm against those of the state-of-the-art algorithms by providing the overall average objective value ( f ¯ b ) and the overall average gap ( Δ f ¯ [ % ] ) for each subset, presented in Table 3 and Figure 4.
Based on Table 3 and Figure 4, our ALNS outperforms the HGA algorithm by improving the solutions by 0.33% on average. It is worth noting that two new best-known solutions (for c107 and r109 instances) are offered. Our ALNS yields solutions that are worse than those achieved by KÇ, SW, and the BKSs, but the gaps are not significant (ranging from 0.22% to 1.28%). Moreover, our algorithm gives all the best-known solutions for subset C-2, and its solutions for subsets C-1, C-2, and R-1 are better than those obtained by the HGA algorithm by 0.35%, 0.77%, and 1.14%, respectively, on average.
In conclusion, our ALNS algorithm demonstrates effective performance in solving EVRPTW-PR instances within a reasonable computational time. These results highlight its potential applicability in addressing the EVRPTW-PR-PL problem, as implemented in the subsequent section.

5.4. Results on EVRPTW-PR-PL

This section presents an analysis of the effectiveness of our proposed ALNS for solving EVRPTW-PR-PL instances. We first find solutions to the EVRPTW-PR-PL instances by solving the model presented in Section 3 using a commercial solver (i.e., GUROBI). While optimal solutions are found for small-sized instances, no feasible solution is obtained after 2 h for large-sized instances. Our ALNS is then implemented to solve these instances, especially large ones.
Table A8, Table A9 and Table A10 present the results obtained by both GUROBI and ALNS for small-sized instances with 5, 10, and 15 customers, respectively. Here, optimal solutions are provided by GUROBI. Our ALNS algorithm also provides optimal solutions for all instances within an average computational time of 0.51 seconds.
For large-sized instances, the detailed results of subsets C-1, C-2, R-1, R-2, RC-1, and RC-2 are in Table A11, Table A12, Table A13, Table A14, Table A15 and Table A16, respectively. Each table presents the best solutions f b and the average solutions f a after 10 runs. To assess the algorithm’s performance, we calculate the gap between the average cost value ( f a ) and the best cost value ( f b ), denoted by Δ f ( a b ) . This gap indicates the algorithm’s stability in finding solutions. Our ALNS performs stability and efficiency analyses when solving large EVRPTW-PR-PL instances with an average gap Δ f ( a b ) of 3.33%.
We also evaluate the impacts of lockerRemovalInsertion() operators by varying the value of δ L within a range of { 0.1 , 0.2 , , 1.0 } for solving large-sized instances. Table 4 presents the results from ALNS with different δ L values. The table includes the overall best objective values obtained for all instances after 10 runs ( f ¯ b ) and the average computational time ( t ¯ ). For each value of δ L , the gap between f ¯ b and the minimum of all f ¯ b values is calculated by Δ f ¯ b = f ¯ b min ( f ¯ b ) min ( f ¯ b ) . Based on these results, Figure 5 shows that the lockerRemovalInsertion() operators significantly improve the performance of our ALNS in solving EVRPTW-PR-PL. In particular, ALNS without using the lockerRemovalInsertion() (i.e., δ L = 0 ) provides the worst results among all cases, with a gap of 1.02%. It is worth noting that the best performance of ALNS is achieved at δ L = 0.3 .
The search process of our ALNS is also analyzed by observing an example of solving instance c101, as shown in Figure 6. The blue line represents the values of the best solution f b over 30,000 iterations, while the red line shows a linear increase in computational time over iterations. It can be seen that the ALNS algorithm rapidly improves the solution quality at the beginning of the search and achieves convergence after approximately 10,000 iterations.

6. Discussion

We further conduct an evaluation to compare the results obtained from EVRPTW-PR and EVRPTW-PR-PL (with δ L = 0.3 ) in terms of the cost ratio “CR” and the difference in the number of used vehicles Δ | K | . The cost ratio “CR” is computed as the ratio between the best cost value f b of EVRPTW-PR and the best cost value f b of EVRPTW-PR-PL. The difference in used vehicles Δ | K | is calculated as the number of used vehicles | K | in EVRPTW-PR minus the number of used vehicles | K | in EVRPTW-PR-PL. Therefore, in Table A8, Table A9, Table A10, Table A11, Table A12, Table A13, Table A14, Table A15 and Table A16, we recall the results of EVRPTW-PR instances in Section 5.3 and report terms “CR” and Δ | K | in the right-most columns.
A summary of the results of the average cost ratio “CR” and the average difference in the number of used vehicles for each subset is provided in Table 5. For the results from the large-sized instances, the patterns of “CR” and Δ | K | are illustrated in Figure 7 by sorting the subsets in ascending order of “CR” values. The figure helps highlight some features, as follows.
  • The implementation of parcel lockers in delivery networks significantly reduces travel costs for routing plans; i.e., the overall cost ratio is 1.72. Figure 8 provides routing plans obtained from instance c101 for EVRPTW-PR and EVRPTW-PR-PL, which illustrates the differences between the two routing plans.
  • Considering customer locations, subsets with randomly distributed locations (i.e., subsets (R) and (RC)) show higher “CR” values. For example, the “CR” value for subset C-1 is only 1.08, while those for subsets R-1 and RC-1 are 1.38 and 1.66, respectively. This implies that utilizing parcel lockers becomes more effective when the locations are randomly scattered.
  • Considering time windows, subsets with wider customer time windows (i.e., C-1, R-1, and RC-1 subsets) provide higher “CR” values than those with stricter time windows (i.e., C-2, R-2, and RC-2 subsets). This means that instances with wider customer time windows have more potential to find cost-effective solutions when implementing parcel lockers.
  • Values of Δ | K | are not significant for all subsets; i.e., 0.07 vehicles on average. However, for subset R-1, the number of used vehicles is significantly reduced by 2.25 vehicles. This occurs when the customer locations are randomly distributed and the time windows are wider.
The insights noted above can be valuable in reality for delivery companies when making decisions regarding the deployment of parcel lockers in their last-mile delivery networks, aiming to leverage the cost-saving benefits. Specifically, companies can prioritize implementing parcel lockers in areas that reflect customer location patterns of “R” and “RC” subsets, as doing so provides great potential for cutting travel costs.

7. Conclusions

This paper addresses an extension of EVRPTW-PR by adding the self-pickup method for serving customers. As a result, there are three types of customers considered: (1) home delivery customers, (2) self-pickup customers, and (3) flexible customers. We formulate a mixed-integer programming (MIP) model and develop an ALNS algorithm adopted by ref. [52] for efficiently solving both EVRPTW-PR and EVRPTW-PR-PL instances. Numerical experiments are conducted to test the performance of our proposed ALNS.
To provide comprehensive managerial insights regarding the implementation of parcel lockers in delivery networks, we have conducted sensitivity analyses based on the results obtained from EVRPTW-PR and EVRPTW-PR-PL. From our observations, the utilization of parcel lockers can lead to additional cost reductions in serving customers. The extent of cost reduction is influenced by various factors, such as the time windows and locations of customers in each instance. Furthermore, in subset R-1, where customer locations are randomly distributed and wider time windows are provided, we observe a decrease in the number of used vehicles for routing plans.
The generality of our algorithm could help tackle other similar problems. For instance, customers’ compensation schemes can be investigated by modifying the objective function, which would support policymakers to incentivize customers and enhance delivery network sustainability. Moreover, the cost of allocating parcel locker facilities can be included in the objective function. This provides a more comprehensive model that would help delivery companies make decisions for designing last-mile delivery networks with the use of parcel lockers. However, our research still has some limitations: (1) the scope of the study is limited to analyzing benchmark instances, and no real-world instances have been studied; and (2) the evaluation of the algorithm’s performance is challenging due to a lack of results from the existing algorithms or benchmarks for EVRPTW-PR-PL instances.
Some potential future research directions are as follows. First, alternative delivery locations and customers’ compensation schemes can be investigated to address a more comprehensive delivery network. More specifically, we could add additional costs (i.e., fixed costs for lockers and compensation costs) to the objective function to align with practical businesses. This model would help policymakers decide compensation strategies for more efficient routing plans and enhance customer satisfaction. Second, in realistic scenarios, the impacts of uncertain factors (e.g., travel time and charging/discharging consumption rates) are also worth studying to capture hidden costs within overall delivery costs. This also poses an interesting challenge through the implementation of stochastic programming or robust optimization. Finally, the applicability of our proposed problem can be enhanced by addressing practical delivery networks and offering more managerial insights.

Author Contributions

Conceptualization, V.F.Y. and P.T.A.; methodology, V.F.Y., P.T.A. and Y.-W.C.; software, P.T.A. and Y.-W.C.; validation, V.F.Y., P.T.A. and Y.-W.C.; formal analysis, Y.-W.C. and P.T.A.; investigation, P.T.A. and Y.-W.C.; resources, V.F.Y.; data curation, V.F.Y. and Y.-W.C.; writing—original draft preparation, P.T.A. and Y.-W.C.; writing—review and editing, V.F.Y.; visualization, P.T.A.; supervision, V.F.Y.; project administration, V.F.Y.; funding acquisition, V.F.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partially supported by the National Science and Technology Council of the Republic of China (Taiwan) under grant NSTC 111-2410-H-011-020-MY3 and the Center for Cyber-Physical System Innovation from the Featured Areas Research Center Program within the framework of the Higher Education Sprout Project by the Ministry of Education (MOE) in Taiwan.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Detailed Results

Table A1. Detailed results on EVRPTW-PR small-size instances.
Table A1. Detailed results on EVRPTW-PR small-size instances.
InstanceKÇ (Optimal)ALNS Δ f [ % ] InstanceKÇ (Optimal)ALNS Δ f [ % ]
f t ¯ (s) f b t ¯ ( s ) f t ¯ ( s ) f b t ¯ ( s )
C101-5257.750.31257.750.130.00R201-10241.5211.4241.520.480.00
C103-5175.372.73175.370.270.00R203-10218.211.62218.210.600.00
C206-5242.565.38242.560.170.00RC102-10423.513.07423.510.290.00
C208-5158.481.37158.480.170.00RC108-10345.932.9345.930.590.00
R104-5136.690.47136.690.060.00RC201-10412.86 *-412.860.480.00
R105-5156.083.39156.080.050.00RC205-10325.983.26325.980.620.00
R202-5128.780.95128.780.090.00C103-15348.461008348.460.660.00
R203-5179.061.12179.060.060.00C106-15275.130.47275.130.820.00
RC105-5233.773.06233.771.750.00C202-15383.6224.07383.620.650.00
RC108-5253.933.76253.930.140.00C208-15300.550.92300.550.700.00
RC204-5176.392.17176.390.170.00R102-15412.78 *-412.780.750.00
RC208-5167.981.05167.980.140.00R105-15336.151.39336.150.650.00
C101-10388.2550.26388.250.390.00R202-15358462.89358.000.590.00
C104-10273.935.15273.930.570.00R209-15313.24610.64313.240.470.00
C202-10304.067.52304.060.510.00RC103-15397.6720.27397.670.770.00
C205-10228.282.01228.280.630.00RC108-15370.25101.45370.250.930.00
R102-10249.191.83249.190.450.00RC202-15394.39113.43394.390.580.00
R103-10206.126.76206.120.490.00RC204-15403.38 *-403.380.550.00
Average282.7374.70282.730.480.00
* Solutions obtained are suboptimal even after running for 2 h.
Table A2. Detailed results on EVRPTW-PR large-size instances of subset C-1.
Table A2. Detailed results on EVRPTW-PR large-size instances of subset C-1.
InstanceBest Solution of 10 Runs ( f b )Gap ( Δ f [ % ] ) t ¯ ( min )
BKSSWHGAALNSBKSSWHGA
c1011043.381043.381043.381044.511043.380.000.000.00−0.118.05
c1021017.71032.491029.441033.81029.481.14−0.290.00−0.4216.53
c103971.19973.39971.861001.13989.531.851.631.79−1.179.58
c104884.38886.72884.38893.04924.204.314.064.313.3723.41
c1051015.791037.781048.061052.951033.951.76−0.37−1.36−1.848.85
c1061009.331024.181010.561043.51028.041.820.381.70−1.509.23
c1071046.51058.11--1036.17−1.00−2.12--11.51
c1081022.481033.51031.85-1025.480.29−0.78−0.62-12.61
c109940.38946.84940.38946.84940.380.00−0.690.00−0.6914.02
Average994.571004.04994.991002.251005.621.130.200.73−0.3412.64
Bold numbers indicate new best solutions. - We ignore solutions using a different number of vehicles.
Table A3. Detailed results on EVRPTW-PR large-size instances of subset C-2.
Table A3. Detailed results on EVRPTW-PR large-size instances of subset C-2.
InstanceBest Solution of 10 Runs ( f b )Gap ( Δ f [ % ] ) t ¯ ( min )
BKSSWHGAALNSBKSSWHGA
c201629.95629.95629.95658.11629.950.000.000.00−4.473.18
c202629.95629.95629.95645.39629.950.000.000.00−2.456.39
c203629.95629.95629.95643.45629.950.000.000.00−2.1410.03
c204628.91629.95628.91636.43628.910.00−0.170.00−1.2010.37
c205629.95629.95629.95638.17629.950.000.000.00−1.303.14
c206629.95629.95629.95635.38629.950.000.000.00−0.864.05
c207629.95629.95629.95632.8629.950.000.000.00−0.455.04
c208629.95629.95629.95638.17629.950.000.000.00−1.304.05
Average629.82629.95629.82640.99629.820.00−0.020.00−1.775.78
Table A4. Detailed results on EVRPTW-PR large-size instances of subset R-1.
Table A4. Detailed results on EVRPTW-PR large-size instances of subset R-1.
InstanceBest Solution of 10 Runs ( f b )Gap ( Δ f [ % ] ) t ¯ ( min )
BKSSWHGAALNSBKSSWHGA
r1011606.981636.691615.51630.141642.862.180.381.670.7712.63
r1021461.231461.381429.81521.331471.880.720.712.86−3.3612.91
r1031212.371262.751244.151264.811261.763.91−0.081.40−0.2419.07
r1041051.411078.991056.871089.921081.432.780.232.27−0.7911.06
r1051347.81373.941347.81396.81375.041.980.081.98−1.5816.49
r1061256.191310.461268.251281.091294.952.99−1.202.061.0716.92
r1071108.471118.911110.951127.711127.021.650.721.43−0.0620.39
r1081020.521031.141020.521042.81039.591.830.811.83−0.3111.41
r1091185.771193.761186.991265.821184.68−0.09−0.77−0.19−6.8510.01
r1101070.991090.921070.9910951092.221.940.121.94−0.2518.15
r1111072.461084.13-1147.231102.332.711.65-−4.0720.43
r1121001.791017.311001.791013.951001.790.00−1.550.00−1.2112.57
Average1199.671221.701213.961239.721222.961.880.091.57−1.4115.17
Bold numbers indicate new best solutions. - We ignore solutions using a different number of vehicles.
Table A5. Detailed results on EVRPTW-PR large-size instances of subset R-2.
Table A5. Detailed results on EVRPTW-PR large-size instances of subset R-2.
InstanceBest Solution of 10 Runs ( f b )Gap ( Δ f [ % ] ) t ¯ ( min )
BKSSWHGAALNSBKSSWHGA
r2011255.811262.11255.811261.641280.651.941.451.941.488.53
r2021051.461052.321051.481051.461058.610.680.590.670.6811.99
r203895.54895.54895.96900.6904.090.950.950.900.3915.74
r204780.91--783.53793.881.63--1.3011.24
r205987.22987.36988.55987.36987.180.00−0.02−0.14−0.029.19
r206922.7922.7922.83924.48927.360.500.500.490.3115.56
r207843.2846.59843.2846.53853.231.180.781.180.797.95
r208736.12736.12736.12736.64740.120.540.540.540.479.03
r209863.36868.95863.36867.8880.451.941.311.941.4412.35
r210843.36843.36846.33845.27849.690.740.740.400.5213.46
r211826.88862.56827.29857.1832.600.69−3.600.64−2.946.64
Average909.69927.76923.09914.76918.900.980.320.860.4011.06
- We ignore solutions using a different number of vehicles.
Table A6. Detailed results on EVRPTW-PR large-size instances of subset RC-1.
Table A6. Detailed results on EVRPTW-PR large-size instances of subset RC-1.
InstanceBest Solution of 10 Runs ( f b )Gap ( Δ f [ % ] ) t ¯ ( min )
BKSSWHGAALNSBKSSWHGA
rc1011661.531743.9-1725.731727.073.79−0.97-0.0819.97
rc1021510.161555.51510.161540.261557.113.020.103.021.0810.65
rc1031346.83--1388.721358.880.89--−2.2019.63
rc1041175.061202.931175.061181.261175.060.00−2.370.00−0.5321.10
rc1051446.31458.491450.821463.491494.693.242.422.942.099.41
rc1061383.141417.41385.961397.551438.593.851.473.662.8511.18
rc1071244.831261.031250.31255.031275.382.401.131.971.6018.02
rc1081154.141184.061154.141165.61206.964.381.904.383.4315.89
Average1365.251403.331321.071389.711404.222.700.522.661.0515.73
- We ignore solutions using a different number of vehicles.
Table A7. Detailed results on EVRPTW-PR large-size instances of subset RC-2.
Table A7. Detailed results on EVRPTW-PR large-size instances of subset RC-2.
InstanceBest Solution of 10 Runs ( f b )Gap ( Δ f [ % ] ) t ¯ (min)
BKSSWHGAALNSBKSSWHGA
rc2011443.071446.841445.171446.031448.780.390.130.250.199.78
rc2021403.321416.961408.081434.181431.881.991.041.66−0.168.56
rc2031060.321069.271060.321061.121069.120.82−0.010.820.7513.43
rc204884.75886.23884.75887.1904.662.202.042.201.9414.50
rc2051249.561262.221259.691289.081263.531.110.100.30−2.026.29
rc2061187.41206.091189.111200.741194.280.58−0.990.43−0.5410.47
rc207985.67993.26997.04985.67987.930.23−0.54-0.920.2311.21
rc208833.12839.71833.12836.93837.690.55−0.240.550.0911.71
Average1130.901140.071134.661142.611142.230.980.190.660.0610.74
Table A8. Detailed results on EVRPTW-PR-PL small-size instances with 5 customers.
Table A8. Detailed results on EVRPTW-PR-PL small-size instances with 5 customers.
InstanceEVRPTW-PR-PLEVRPTW-PR Δ | K | CR
GUROBIALNS Δ f [ % ] |K| f b
|K|f t ( s ) f b t ¯ ( s )
C101-5262.720.0262.720.060.002257.7504.11
C103-51105.690.03105.690.060.001175.3701.66
C206-51200.10.08200.100.140.001242.5601.21
C208-5193.130.0393.130.120.001158.4801.70
R104-52100.000.05100.000.060.002136.6901.37
R105-52100.220.03100.220.350.002156.0801.56
R202-51112.650.03112.650.110.001128.7801.14
R203-51183.230.09183.230.200.001179.0600.98
RC105-52640.0364.001.110.002233.7703.65
RC108-5262.80.0162.800.050.002253.9304.04
RC204-51126.740.09126.740.130.001176.3901.39
RC208-5170.260.0370.260.060.001167.9802.39
Average1.42106.800.04106.800.200.001.42188.900.002.10
Table A9. Detailed results on EVRPTW-PR-PL small-size instances with 10 customers.
Table A9. Detailed results on EVRPTW-PR-PL small-size instances with 10 customers.
InstanceEVRPTW-PR-PLEVRPTW-PR Δ | K | CR
GUROBIALNS Δ f [ % ] |K| f b
|K|f t ( s ) f b t ¯ ( s )
C101-103224.230.16224.230.380.003388.2501.73
C104-102227.530.22227.531.920.002273.9301.20
C202-101147.570.09147.570.260.001304.0602.06
C205-102182.040.2182.040.290.002228.2801.25
R102-10388.320.0588.320.140.003249.1902.82
R103-10299.880.1999.880.140.002206.1202.06
R201-10159.920.0659.920.150.001241.5204.03
R203-101196.020.22196.020.320.001218.2101.11
RC102-104220.120.16220.120.200.004423.5101.92
RC108-103147.350.13147.350.230.003345.9302.35
RC201-101115.330.09115.3230.240.001412.8603.58
RC205-102164.940.27164.940.380.002325.9801.98
Average2.08156.100.15156.100.390.002.08301.490.002.17
Table A10. Detailed results on EVRPTW-PR-PL small-size instances with 15 customers.
Table A10. Detailed results on EVRPTW-PR-PL small-size instances with 15 customers.
InstanceEVRPTW-PR-PLEVRPTW-PR Δ | K | CR
GUROBIALNS Δ f [ % ] |K| f b
|K|f t ( s ) f b t ¯ ( s )
C103-153167.050.27167.050.390.003348.4602.09
C106-153239.850.55239.850.930.003275.1301.15
C202-152106.020.22106.020.420.002383.6203.62
C208-152161.140.22161.140.960.002300.5501.87
R102-155245.522.83245.521.800.005412.7801.68
R105-154105.20.45105.21.540.004336.1503.20
R202-152189.40.77189.41.130.00235801.89
R209-151145.951.11145.950.480.001313.2402.15
RC103-154267.933.78267.931.380.004397.6701.48
RC108-153344.553.2344.550.520.003370.2501.07
RC202-152130.240.11130.240.350.002394.3903.03
RC204-151192.442.63192.441.200.001403.3802.10
Average2.67191.271.35191.270.930.002.67357.800.002.11
Table A11. Detailed results on EVRPTW-PR-PL large-size instances of subset C-1.
Table A11. Detailed results on EVRPTW-PR-PL large-size instances of subset C-1.
InstanceEVRPTW-PR-PLEVRPTW-PR Δ | K | CR
|K| f b f a Δ f ( a b ) t ¯ |K| f b
C10111870.83925.7226.349.40121043.3811.20
C102111079.291112.663.0961.80111029.4800.95
C10311983.09988.270.5343.4010989.53−11.01
C10411713.44724.4121.5437.0010924.2−11.30
C105111129.971162.6722.8949.60111033.9500.92
C10612965.29989.2142.4847.40111028.04−11.07
C107111110.961164.4924.8240.80101036.17−10.93
C10811799.33827.0263.4647.40101025.48−11.28
C10910860.16885.1922.9147.0010940.3801.09
Average11.00945.82975.523.1147.0910.561005.62−0.441.08
Table A12. Detailed results on EVRPTW-PR-PL large-size instances of subset C-2.
Table A12. Detailed results on EVRPTW-PR-PL large-size instances of subset C-2.
InstanceEVRPTW-PR-PLEVRPTW-PR Δ | K | CR
|K| f b f a Δ f ( a b ) t ¯ |K| f b
C2014567.59579.0342.0231.604629.9501.11
C2025522.02522.9580.1835.404629.95−11.21
C2033487.72494.31.3553.004629.9511.29
C2044523.67523.9180.0546.604628.9101.20
C2054478.12479.3920.2743.404629.9501.32
C2064620.97630.7521.5857.004629.9501.01
C2074473.37474.3940.2234.004629.9501.33
C2084542.27561.373.5271.604629.9501.16
Average4.00526.97533.261.1546.584.00629.820.001.20
Table A13. Detailed results on EVRPTW-PR-PL large-size instances of subset R-1.
Table A13. Detailed results on EVRPTW-PR-PL large-size instances of subset R-1.
InstanceEVRPTW-PR-PLEVRPTW-PR Δ | K | CR
|K| f b f a Δ f ( a b ) t ¯ |K| f b
R10112806.21827.9562.745.20181642.8662.04
R10210723.69730.410.9366.20151471.8852.03
R10311776.12818.9445.5247.00131261.7621.63
R1049757.79795.5344.9853.80111081.4321.43
R10512807.09863.8047.0328.60141375.0421.70
R10614742.53787.0445.9929.00131294.95−11.74
R10710753.41803.1886.6143.80121127.0221.50
R1088557.93600.617.6538.00111039.5931.86
R10910681.17730.1587.1949.60121184.6821.74
R1109715.32756.2465.7241.80111092.2221.53
R1119781.97815.7344.3239.80111102.3321.41
R11211799.56849.4646.2435.60111001.7901.25
Average10.42741.90781.595.4143.2012.671222.962.251.66
Table A14. Detailed results on EVRPTW-PR-PL large-size instances of subset R-2.
Table A14. Detailed results on EVRPTW-PR-PL large-size instances of subset R-2.
InstanceEVRPTW-PR-PLEVRPTW-PR Δ | K | CR
|K| f b f a Δ f ( a b ) t ¯ |K| f b
R2015671.93675.1820.4846.0031280.65−21.91
R2024591.99592.7420.1351.4031058.61−11.79
R2033455.31456.3580.2331.603904.0901.99
R2043409.46412.3760.7135.202793.88−11.94
R2054534.39538.7840.8244.203987.18−11.85
R2063492.25494.7240.546.003927.3601.88
R2073470.36470.36030.802853.23−11.81
R2082369.42372.2220.7639.802740.1202.00
R2093465.58468.3020.5856.803880.4501.89
R2103474.84476.1720.2844.003849.6901.79
R2113480.47485.254143.002832.6−11.73
Average3.27492.36494.770.5042.622.64918.90−0.641.87
Table A15. Detailed results on EVRPTW-PR-PL large-size instances of subset RC-1.
Table A15. Detailed results on EVRPTW-PR-PL large-size instances of subset RC-1.
InstanceEVRPTW-PR-PLEVRPTW-PR Δ | K | CR
|K| f b f a Δ f ( a b ) t ¯ |K| f b
RC101151109.81210.0669.0326.80151727.0701.56
RC102121011.421119.51410.6933.40141557.1121.54
RC103121262.121379.7789.3227.00121358.8801.08
RC10410905.39965.96.6835.00111175.0611.30
RC105171156.291302.74412.6729.80141494.69−31.29
RC10610874.47979.79212.0433.20131438.5931.65
RC10711829.04860.4463.7940.00121275.3811.54
RC108121098.051183.8747.8234.00111206.96−11.10
Average12.381030.821125.269.0132.4012.751404.220.381.38
Table A16. Detailed results on EVRPTW-PR-PL large-size instances of subset RC-2.
Table A16. Detailed results on EVRPTW-PR-PL large-size instances of subset RC-2.
InstanceEVRPTW-PR-PLEVRPTW-PR Δ | K | CR
|K| f b f a Δ f ( a b ) t ¯ |K| f b
RC2015688.6689.120.0858.0041448.78−12.10
RC2024639.58641.7060.3350.2031431.88−12.24
RC2034614.19616.4140.3644.4031069.12−11.74
RC2043472.48483.3582.335.203904.6601.91
RC2055698.37698.5140.0249.2031263.53−21.81
RC2064607.79620.662.1241.6031194.28−11.96
RC2074580.51584.890.7553.603987.93−11.70
RC2083499.65505.1341.156.803837.6901.68
Average4.00600.15604.970.8848.633.131142.23−0.881.89

References

  1. Statista. Retail e-Commerce Sales Worldwide from 2014 to 2026; Technical Report; Statista: Hamburg, Germany, 2022. [Google Scholar]
  2. Sadati, M.E.H.; Akbari, V.; Çatay, B. Electric vehicle routing problem with flexible deliveries. Int. J. Prod. Res. 2022, 60, 4268–4294. [Google Scholar] [CrossRef]
  3. Gevaers, R.; Van de Voorde, E.; Vanelslander, T. Characteristics of innovations in last-mile logistics-using best practices, case studies and making the link with green and sustainable logistics. Assoc. Eur. Transp. Contrib. 2009, 1, 21. [Google Scholar]
  4. World Economic Forum. The Future of the Last-Mile Ecosystem; Technical Report; World Economic Forum: Cologny, Switzerland, 2020. [Google Scholar]
  5. Silva, V.; Amaral, A.; Fontes, T. Sustainable urban last-mile logistics: A systematic literature review. Sustainability 2023, 15, 2285. [Google Scholar] [CrossRef]
  6. Conrad, R.G.; Figliozzi, M.A. The recharging vehicle routing problem. In Proceedings of the 2011 Industrial Engineering Research Conference, IISE Norcross, Singapore, 6–9 December 2011. [Google Scholar]
  7. Keskin, M.; Çatay, B. Partial recharge strategies for the electric vehicle routing problem with time windows. Transp. Res. Part C Emerg. Technol. 2016, 65, 111–127. [Google Scholar] [CrossRef]
  8. Deutsch, Y.; Golany, B. A parcel locker network as a solution to the logistics last mile problem. Int. J. Prod. Res. 2018, 56, 251–261. [Google Scholar] [CrossRef]
  9. Boysen, N.; Fedtke, S.; Schwerdfeger, S. Last-mile delivery concepts: A survey from an operational research perspective. OR Spectr. 2021, 43, 1–58. [Google Scholar] [CrossRef]
  10. Vukićević, M.; Ratli, M.; Rivenq, A.; Zrikem, M. Covering delivery problem with electric vehicle and parcel lockers: Variable neighborhood search approach. Comput. Oper. Res. 2023, 157, 106263. [Google Scholar] [CrossRef]
  11. Schneider, M.; Stenger, A.; Goeke, D. The electric vehicle-routing problem with time windows and recharging stations. Transp. Sci. 2014, 48, 500–520. [Google Scholar] [CrossRef] [Green Version]
  12. Desaulniers, G.; Errico, F.; Irnich, S.; Schneider, M. Exact algorithms for electric vehicle-routing problems with time windows. Oper. Res. 2016, 64, 1388–1405. [Google Scholar] [CrossRef] [Green Version]
  13. Hiermann, G.; Hartl, R.F.; Puchinger, J.; Vidal, T. Routing a mix of conventional, plug-in hybrid, and electric vehicles. Eur. J. Oper. Res. 2019, 272, 235–248. [Google Scholar] [CrossRef] [Green Version]
  14. Cortés-Murcia, D.L.; Prodhon, C.; Afsar, H.M. The electric vehicle routing problem with time windows, partial recharges and satellite customers. Transp. Res. Part E Logist. Transp. Rev. 2019, 130, 184–206. [Google Scholar] [CrossRef]
  15. Keskin, M.; Çatay, B. A matheuristic method for the electric vehicle routing problem with time windows and fast chargers. Comput. Oper. Res. 2018, 100, 172–188. [Google Scholar] [CrossRef]
  16. Rastani, S.; Çatay, B. A large neighborhood search-based matheuristic for the load-dependent electric vehicle routing problem with time windows. Ann. Oper. Res. 2021, 324, 761–793. [Google Scholar] [CrossRef]
  17. Montoya, A.; Guéret, C.; Mendoza, J.E.; Villegas, J.G. The electric vehicle routing problem with nonlinear charging function. Transp. Res. Part Methodol. 2017, 103, 87–110. [Google Scholar] [CrossRef] [Green Version]
  18. Froger, A.; Mendoza, J.E.; Jabali, O.; Laporte, G. Improved formulations and algorithmic components for the electric vehicle routing problem with nonlinear charging functions. Comput. Oper. Res. 2019, 104, 256–294. [Google Scholar] [CrossRef] [Green Version]
  19. Sassi, O.; Oulamara, A. Electric vehicle scheduling and optimal charging problem: Complexity, exact and heuristic approaches. Int. J. Prod. Res. 2017, 55, 519–535. [Google Scholar] [CrossRef]
  20. Macrina, G.; Laporte, G.; Guerriero, F.; Pugliese, L.D.P. An energy-efficient green-vehicle routing problem with mixed vehicle fleet, partial battery recharging and time windows. Eur. J. Oper. Res. 2019, 276, 971–982. [Google Scholar] [CrossRef]
  21. Mancini, S. The hybrid vehicle routing problem. Transp. Res. Part C Emerg. Technol. 2017, 78, 1–12. [Google Scholar] [CrossRef]
  22. Keskin, M.; Laporte, G.; Çatay, B. Electric vehicle routing problem with time-dependent waiting times at recharging stations. Comput. Oper. Res. 2019, 107, 77–94. [Google Scholar] [CrossRef]
  23. Froger, A.; Jabali, O.; Mendoza, J.E.; Laporte, G. The electric vehicle routing problem with capacitated charging stations. Transp. Sci. 2022, 56, 460–482. [Google Scholar] [CrossRef]
  24. Sweda, T.M.; Dolinskaya, I.S.; Klabjan, D. Adaptive routing and recharging policies for electric vehicles. Transp. Sci. 2017, 51, 1326–1348. [Google Scholar] [CrossRef]
  25. Keskin, M.; Çatay, B.; Laporte, G. A simulation-based heuristic for the electric vehicle routing problem with time windows and stochastic waiting times at recharging stations. Comput. Oper. Res. 2021, 125, 105060. [Google Scholar] [CrossRef]
  26. Masmoudi, M.A.; Hosny, M.; Demir, E.; Genikomsakis, K.N.; Cheikhrouhou, N. The dial-a-ride problem with electric vehicles and battery swapping stations. Transp. Res. Part Logist. Transp. Rev. 2018, 118, 392–420. [Google Scholar] [CrossRef] [Green Version]
  27. Jie, W.; Yang, J.; Zhang, M.; Huang, Y. The two-echelon capacitated electric vehicle routing problem with battery swapping stations: Formulation and efficient methodology. Eur. J. Oper. Res. 2019, 272, 879–904. [Google Scholar] [CrossRef]
  28. Çatay, B.; Sadati, İ. An improved matheuristic for solving the electric vehicle routing problem with time windows and synchronized mobile charging/battery swapping. Comput. Oper. Res. 2023, 159, 106310. [Google Scholar] [CrossRef]
  29. Lu, J.; Chen, Y.; Hao, J.K.; He, R. The time-dependent electric vehicle routing problem: Model and solution. Expert Syst. Appl. 2020, 161, 113593. [Google Scholar] [CrossRef]
  30. Erdelić, T.; Carić, T. A survey on the electric vehicle routing problem: Variants and solution approaches. J. Adv. Transp. 2019, 2019, 5075671. [Google Scholar] [CrossRef]
  31. Behnke, M. Recent Trends in Last Mile Delivery: Impacts of Fast Fulfillment, Parcel Lockers, Electric or Autonomous Vehicles, and More. In Proceedings of the Logistics Management: Strategies and Instruments for Digitalizing and Decarbonizing Supply Chains-Proceedings of the German Academic Association for Business Research, Halle, Germany, 18–20 September 2019; Springer: Berlin/Heidelberg, Germany, 2019; pp. 141–156. [Google Scholar]
  32. De Jong, C.; Kant, G.; Van Vlient, A. On Finding Minimal Route Duration in the Vehicle Routing Problem with Multiple Time Window; Department of Computer Science, Utrecht University: Utrecht, The Netherlands, 1996. [Google Scholar]
  33. Doerner, K.F.; Gronalt, M.; Hartl, R.F.; Kiechle, G.; Reimann, M. Exact and heuristic algorithms for the vehicle routing problem with multiple interdependent time windows. Comput. Oper. Res. 2008, 35, 3034–3048. [Google Scholar] [CrossRef]
  34. Beheshti, A.K.; Hejazi, S.R.; Alinaghian, M. The vehicle routing problem with multiple prioritized time windows: A case study. Comput. Ind. Eng. 2015, 90, 402–413. [Google Scholar] [CrossRef]
  35. Belhaiza, S.; Hansen, P.; Laporte, G. A hybrid variable neighborhood tabu search heuristic for the vehicle routing problem with multiple time windows. Comput. Oper. Res. 2014, 52, 269–281. [Google Scholar] [CrossRef]
  36. Reyes, D.; Savelsbergh, M.; Toriello, A. Vehicle routing with roaming delivery locations. Transp. Res. Part C Emerg. Technol. 2017, 80, 71–91. [Google Scholar] [CrossRef]
  37. Ozbaygin, G.; Karasan, O.E.; Savelsbergh, M.; Yaman, H. A branch-and-price algorithm for the vehicle routing problem with roaming delivery locations. Transp. Res. Part Methodol. 2017, 100, 115–137. [Google Scholar] [CrossRef]
  38. Ozbaygin, G.; Savelsbergh, M. An iterative re-optimization framework for the dynamic vehicle routing problem with roaming delivery locations. Transp. Res. Part Methodol. 2019, 128, 207–235. [Google Scholar] [CrossRef]
  39. Tilk, C.; Olkis, K.; Irnich, S. The last-mile vehicle routing problem with delivery options. OR Spectr. 2021, 43, 877–904. [Google Scholar] [CrossRef]
  40. Dumez, D.; Lehuédé, F.; Péton, O. A large neighborhood search approach to the vehicle routing problem with delivery options. Transp. Res. Part B Methodol. 2021, 144, 103–132. [Google Scholar] [CrossRef]
  41. Zhou, L.; Baldacci, R.; Vigo, D.; Wang, X. A multi-depot two-echelon vehicle routing problem with delivery options arising in the last mile distribution. Eur. J. Oper. Res. 2018, 265, 765–778. [Google Scholar] [CrossRef]
  42. Sitek, P.; Wikarek, J. Capacitated vehicle routing problem with pick-up and alternative delivery (CVRPPAD): Model and implementation using hybrid approach. Ann. Oper. Res. 2019, 273, 257–277. [Google Scholar] [CrossRef] [Green Version]
  43. Enthoven, D.L.; Jargalsaikhan, B.; Roodbergen, K.J.; Uit het Broek, M.A.; Schrotenboer, A.H. The two-echelon vehicle routing problem with covering options: City logistics with cargo bikes and parcel lockers. Comput. Oper. Res. 2020, 118, 104919. [Google Scholar] [CrossRef]
  44. Carotenuto, P.; Ceccato, R.; Gastaldi, M.; Giordani, S.; Rossi, R.; Salvatore, A. Comparing home and parcel lockers’ delivery systems: A math-heuristic approach. Transp. Res. Procedia 2022, 62, 91–98. [Google Scholar] [CrossRef]
  45. Yu, V.F.; Susanto, H.; Jodiawan, P.; Ho, T.W.; Lin, S.W.; Huang, Y.T. A Simulated Annealing Algorithm for the Vehicle Routing Problem with Parcel Lockers. IEEE Access 2022, 10, 20764–20782. [Google Scholar] [CrossRef]
  46. Orenstein, I.; Raviv, T.; Sadan, E. Flexible parcel delivery to automated parcel lockers: Models, solution methods and analysis. EURO J. Transp. Logist. 2019, 8, 683–711. [Google Scholar] [CrossRef]
  47. Grabenschweiger, J.; Doerner, K.F.; Hartl, R.F.; Savelsbergh, M.W. The vehicle routing problem with heterogeneous locker boxes. CEntral Eur. J. Oper. Res. 2021, 29, 113–142. [Google Scholar] [CrossRef]
  48. Ropke, S.; Pisinger, D. An adaptive large neighborhood search heuristic for the pickup and delivery problem with time windows. Transp. Sci. 2006, 40, 455–472. [Google Scholar] [CrossRef] [Green Version]
  49. Hemmelmayr, V.C.; Cordeau, J.F.; Crainic, T.G. An adaptive large neighborhood search heuristic for two-echelon vehicle routing problems arising in city logistics. Comput. Oper. Res. 2012, 39, 3215–3228. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  50. Yu, V.F.; Anh, P.T.; Baldacci, R. A robust optimization approach for the vehicle routing problem with cross-docking under demand uncertainty. Transp. Res. Part E Logist. Transp. Rev. 2023, 173, 103106. [Google Scholar] [CrossRef]
  51. Hiermann, G.; Puchinger, J.; Ropke, S.; Hartl, R.F. The electric fleet size and mix vehicle routing problem with time windows and recharging stations. Eur. J. Oper. Res. 2016, 252, 995–1018. [Google Scholar] [CrossRef] [Green Version]
  52. Schiffer, M.; Walther, G. An adaptive large neighborhood search for the location-routing problem with intra-route facilities. Transp. Sci. 2018, 52, 331–352. [Google Scholar] [CrossRef]
  53. Goeke, D.; Schneider, M. Routing a mixed fleet of electric and conventional vehicles. Eur. J. Oper. Res. 2015, 245, 81–99. [Google Scholar] [CrossRef]
  54. Yu, V.F.; Jodiawan, P.; Gunawan, A. An Adaptive Large Neighborhood Search for the green mixed fleet vehicle routing problem with realistic energy consumption and partial recharges. Appl. Soft Comput. 2021, 105, 107251. [Google Scholar] [CrossRef]
  55. Kindervater, G.A.; Savelsbergh, M.W. 10. Vehicle Routing: Handling Edge Exchanges. In Local Search in Combinatorial Optimization; Princeton University Press: Princeton, NJ, USA, 2018; pp. 337–360. [Google Scholar]
  56. Shaw, P. A New Local Search Algorithm Providing High Quality Solutions to Vehicle Routing Problems; University of Strathclyde: Glasgow, UK, 1997. [Google Scholar]
Figure 1. An illustrative example of EVRPTW-PR-PL.
Figure 1. An illustrative example of EVRPTW-PR-PL.
Applsci 13 09190 g001
Figure 2. Solution representation for the illustrative example (see Figure 1).
Figure 2. Solution representation for the illustrative example (see Figure 1).
Applsci 13 09190 g002
Figure 3. An example of implementing the locker removal heuristic.
Figure 3. An example of implementing the locker removal heuristic.
Applsci 13 09190 g003
Figure 4. Comparison results on EVRPTW-PR instances among algorithms.
Figure 4. Comparison results on EVRPTW-PR instances among algorithms.
Applsci 13 09190 g004
Figure 5. Impact of locker removal and insertion heuristics on the performance of ALNS.
Figure 5. Impact of locker removal and insertion heuristics on the performance of ALNS.
Applsci 13 09190 g005
Figure 6. Search process of the proposed ALNS for solving instance c101.
Figure 6. Search process of the proposed ALNS for solving instance c101.
Applsci 13 09190 g006
Figure 7. The effects of parcel lockers on the routing plans.
Figure 7. The effects of parcel lockers on the routing plans.
Applsci 13 09190 g007
Figure 8. Routing plans of (a) EVRPTW-PR and (b) EVRPTW-PR-PL for instance c101.
Figure 8. Routing plans of (a) EVRPTW-PR and (b) EVRPTW-PR-PL for instance c101.
Applsci 13 09190 g008
Table 1. ALNS parameters and their domains.
Table 1. ALNS parameters and their domains.
ParameterDescriptionValue
η m a x The maximum number of iterations implemented in ALNS30,000 *
η n o i m p The maximum number of consecutive iterations without improvement [ 1500 , 3000 , 4500 , 6000 ]
η p r o b a The number of iterations of a learning period in updateSelectionProb() [ 50 , 75 , 100 , 125 ]
η p e n a l t y The number of iterations for updatePenaltyWeights() [ 5 , 10 , 15 , 20 ]
ω p r o b a Smoothing factor in updateSelectionProb() [ 0.7 , 0.75 , 0.8 , 0.85 ]
ω p e n a l t y Reaction factor updatePenaltyWeights() [ 1.1 , 1.3 , 1.5 , 1.7 ]
ϵ f A reward when obtaining a new best feasible solution [ 11 , 13 , 15 , 17 ]
ϵ b A reward when obtaining a new best (infeasible) solution [ 5 , 7 , 9 , 11 ]
ϵ i A reward when obtaining a better current solution [ 2 , 4 , 6 , 8 ]
ϵ w A reward when obtaining a worse solution [ 1 , 3 , 5 , 7 ]
δ L The probability for applying lockerRemovalInsertion() [ 0.1 , 0.3 , 0.5 , 0.7 ]
ϕ 1 The weight of travel distance criteria in Shaw removal6 **
ϕ 2 The weight of earliest time criteria in Shaw removal4 **
ϕ 3 The weight of demand criteria in Shaw removal5 **
δ n o i s e The randomness level used for removal operators6 **
ρ t w m i n , ρ t w m a x , ρ t w 0 The weights associated with the time window penaltysee Section 4.2
ρ b a m i n , ρ b a m a x , ρ b a 0 The weights associated with the battery penaltysee Section 4.2
ρ l o m i n , ρ l o m a x , ρ l o 0 The weights associated with the load penaltysee Section 4.2
T 0 The initial SA temperature of the acceptance criteriasee Section 4.5
α The cooling rate of SA temperature over the iterationsee Section 4.5
Notes: * The maximum number of iterations is fixed at 30,000 to ensure reasonable computation time for comparison with the state-of-the-art algorithms. ** These values are taken from [53].
Table 2. Parameter setting for the proposed ALNS.
Table 2. Parameter setting for the proposed ALNS.
ParameterValue 1Value 2Value 3Value 4ParameterValue 1Value 2Value 3Value 4
ω p e n a l t y 1.101.30 ( i ) 1.501.70 ϵ f 111315  ( i ) 17
Δ f ¯ a v g [ % ] 1.390.020.001.35 Δ f ¯ a v g [ % ] 2.271.290.001.64
ω p r o b a 0.700.750.800.85 ( i ) ϵ b 579  ( i ) 11
Δ f ¯ a v g [ % ] 0.000.551.130.35 Δ f ¯ a v g [ % ] 0.280.720.002.69
η n o i m p 1500300045006000 ( i ) ϵ i 24  ( i ) 68
Δ f ¯ a v g [ % ] 2.720.510.000.09 Δ f ¯ a v g [ % ] 3.050.002.520.64
η p r o b a 5075 ( i ) 100125 ϵ w 1  ( i ) 357
Δ f ¯ a v g [ % ] 0.211.540.000.15 Δ f ¯ a v g [ % ] 0.001.240.293.27
η p e n a l t y 510  ( i ) 1520 δ L 0.10.3  ( i ) 0.50.7
Δ f ¯ a v g [ % ] 1.630.004.612.77 Δ f ¯ a v g [ % ] 1.830.000.401.42
Notes: The best values are in bold. Superscipt ( i ) denotes the initial values.
Table 3. Comparison of the results of the large-sized EVRPTW-PR instances among algorithms.
Table 3. Comparison of the results of the large-sized EVRPTW-PR instances among algorithms.
SubsetAverage of the Best Solution of 10 Runs ( f ¯ b )Average Gap ( Δ f ¯ [ % ] ) t ¯ ( min )
BKSSWHGAALNSBKSSWHGAALNS
C-1994.571004.04994.991002.251005.621.130.200.73−0.340.0012.64
C-2629.82629.95629.82640.99629.820.00−0.020.00−1.770.005.78
R-11199.671221.701213.961239.721222.961.880.091.57−1.410.0015.17
R-2909.69927.76923.09914.76918.900.980.320.860.400.0011.06
RC-11365.251403.331321.071389.711404.222.700.522.661.050.0015.73
RC-21130.901140.071134.661142.611142.230.980.190.660.060.0010.74
Average1038.321054.481036.271055.011053.961.280.221.08−0.330.0011.86
Table 4. Results of EVRPTW-PR-PL obtained from our ALNS algorithm with different values of δ L .
Table 4. Results of EVRPTW-PR-PL obtained from our ALNS algorithm with different values of δ L .
δ L 00.10.20.30.40.50.60.70.80.91
f ¯ b 723.31721.27720.07715.98718.06718.58716.85718.13719.28722.99722.32
Δ f ¯ b [%]1.020.740.570.000.290.360.120.300.460.980.89
t ¯ ( s ) 45.1343.4343.5649.9844.2844.2043.9356.6058.6456.0456.58
Note: min ( f ¯ b ) = 715.98 .
Table 5. Comparison of the results of EVRPTW-PR and EVRPTW-PR-PL instances.
Table 5. Comparison of the results of EVRPTW-PR and EVRPTW-PR-PL instances.
SizeSubsetEVRPTW-PR-PLEVRPTW-PRCR Δ | K |
|K| f ¯ b |K| f ¯ b
Small-sized5C1.42106.801.42188.902.100.00
10C2.08156.102.08301.492.170.00
15C2.67191.272.67357.802.110.00
Large-sizedC-111.00945.8210.561005.621.08−0.44
C-24.00526.974.00629.821.200.00
R-110.42741.9012.671222.961.662.25
R-23.27492.362.64918.901.87−0.64
RC-112.381030.8212.751404.221.380.38
RC-24.00600.153.131142.231.89−0.88
Average5.69532.475.77796.881.720.07
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yu, V.F.; Anh, P.T.; Chen, Y.-W. The Electric Vehicle Routing Problem with Time Windows, Partial Recharges, and Parcel Lockers. Appl. Sci. 2023, 13, 9190. https://doi.org/10.3390/app13169190

AMA Style

Yu VF, Anh PT, Chen Y-W. The Electric Vehicle Routing Problem with Time Windows, Partial Recharges, and Parcel Lockers. Applied Sciences. 2023; 13(16):9190. https://doi.org/10.3390/app13169190

Chicago/Turabian Style

Yu, Vincent F., Pham Tuan Anh, and Yu-Wei Chen. 2023. "The Electric Vehicle Routing Problem with Time Windows, Partial Recharges, and Parcel Lockers" Applied Sciences 13, no. 16: 9190. https://doi.org/10.3390/app13169190

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop