Next Article in Journal
Determining Factors for Supply Chain Services Provider Selection and Long-Term Relationship Maintenance: Evidence from Greece
Previous Article in Journal
Building Agro-Industrial Capabilities in the Sugarcane Supply Chain in Brazil
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Large Neighborhood Search Metaheuristic for the Capacitated Vehicle Routing Problem with Parcel Lockers

1
Department of Industrial and Manufacturing Engineering, Egypt-Japan University of Science and Technology (EJUST), Alexandria 21934, Egypt
2
Production & Mechanical Design Engineering Department, Faculty of Engineering, Mansoura University, Mansoura 35516, Egypt
3
Production Engineering Department, Faculty of Engineering, Alexandria University, Alexandria 21544, Egypt
*
Author to whom correspondence should be addressed.
Logistics 2023, 7(4), 72; https://doi.org/10.3390/logistics7040072
Submission received: 30 June 2023 / Revised: 5 September 2023 / Accepted: 25 September 2023 / Published: 9 October 2023

Abstract

:
Background: The growth of e-commerce necessitates efficient logistics management to address rising last-mile delivery challenges. To overcome some of the last-mile delivery costs, parcel lockers as a delivery option, can be an alternative solution. This study presents the Capacitated Vehicle Routing Problem with Delivery Options (CVRPDO), which includes locker delivery. Methods: this problem is solved with An Adaptive Large Neighborhood Search (ALNS). The solution suggests some specific destroy and repair operators and integrates them with various selection schemes. The proposed method results are compared with the exact solution of the MIP model of the problem for validation. Results: Objective function values improved by 25%, 30%, 7%, 5%, and 6% for 1000, 800, 600, 400, and 200 customers, respectively, when using a 120-s ALNS runtime compared to the MIP model with a 3-h runtime. Conclusions: the CVRPDO problem involves creating a set of routes for ve-hicles that visit each customer at their delivery location or deliver their parcels to one of the lockers. These routes should respect the capacity of each vehicle and locker while minimizing the total routing costs and the number of utilized vehicles. The problem is resolved by ALNS algorithm, which outperformed the MIP model.

1. Introduction

The logistics industry has experienced significant growth due to the rapid expansion of e-commerce, further accelerated by the COVID-19 pandemic in 2020. This growth is expected to continue as consumers maintain their online shopping habits in the foreseeable future [1]. The substantial increase in e-commerce presents a considerable challenge in the final stage of the supply chain, known as the “last mile”, which involves delivering goods directly to consumers. These last-mile challenges are compounded by the introduction of new customer-centric options by logistics companies. For instance, depending on an Alternate Delivery Program allows packages to be delivered to designated Shared Delivery Locations (SDLs) rather than the recipient’s primary residence or workplace [2]. SDLs, such as parcel lockers, are generally located in places that are open throughout the day, e.g., supermarkets and railway stations [3].Similarly, customers may request package delivery to the trunk of their cars at predetermined locations [4]. Consequently, logistics companies are motivated to offer flexible last-mile services while ensuring prompt deliveries.
The traditional approach of delivering products directly to consumers’ residences incurs significant operational expenses in fulfilling numerous requests [5]. However, introducing parcel lockers as an alternative delivery method can yield substantial cost savings of up to 66% in some cases compared to conventional logistic systems [6]. Furthermore, integrating parcel locker systems offers enhanced flexibility and efficiency in both product delivery and retrieval, thereby improving the overall service experience and granting a competitive edge within the logistics industry [7].
Various research studies have extensively examined delivery alternatives, including parcel lockers, from various perspectives. One crucial aspect is determining the optimal configuration of parcel lockers, which includes factors such as the number of lockers, their locations, and sizes to maximize overall profitability [7,8,9]. Other studies, like the present one, concentrate on optimizing the Capacitated Vehicle Routing Problem with Delivery Options (CVRPDO) by considering a specific number of parcels with predetermined destinations. The primary objective of this study is to minimize travel costs and optimize fleet utilization by effectively managing vehicle and locker capacities while planning routes.
Despite the recognized potential benefits of incorporating delivery options into the Capacitated Vehicle Routing Problem (CVRP) and the cost savings it can offer [10], the subject needs to receive more attention [11]. This lack of research has motivated the authors to address this gap and contribute to understanding this practical problem. In this paper, the authors extend the study of the capacitated vehicle routing problem by incorporating delivery options.
This paper presents various noteworthy contributions. First, it addresses a gap within the current literature since existing studies on the vehicle routing problem in the context of delivery options often either disregard vehicle capacity constraints entirely or overly simplify them, reducing them to the maximal count of customers that a vehicle can accommodate. In contrast, this paper introduces a more nuanced treatment of vehicle capacity constraints, encompassing the customer’s request size, quantified by the number of units (demand size) within each request. Moreover, this paper incorporates consideration of the SDL capacity, denoting the count of utilized lockers within a SDL, allowing for synchronization among SDL capacity and vehicle capacity. Additionally, this paper provides an efficient implementation of the Adaptive Large Neighborhood Search (ALNS), which was tailored to solve the problem in question. An innovative solution representation is introduced. Furthermore, several repair and destroy operators have been incorporated into the framework’s implementation. While most of the existing literature primarily focuses on problem instances with up to 400 customers, this paper extends the scope by considering instances with up to 1000 customers.
This paper is structured as follows: Section 2 comprehensively reviews the relevant literature. Section 3 presents a detailed description of the problem at hand. In Section 4, the mathematical model is formulated. The specifics of the ALNS approach are outlined in Section 5. In Section 6, the authors present the computational results obtained for various problem sets. Finally, Section 7 offers concluding remarks and suggests potential avenues for future research.

2. Relevant Literature

The CVRPDO is known to be an NP-hard problem, as it is an extension of the Vehicle Routing Problem (VRP) [2]. Due to its recent emergence, the CVRPDO has received limited attention in the literature. However, its significance has been underscored by the substantial growth of online shopping and e-commerce, particularly during and after the COVID-19 pandemic [12]. This study discusses the VRP variants that delve into the realm of flexible delivery options aimed at mitigating the inherent challenges associated with elevated delivery costs, bolstering customer satisfaction, and curbing the rate of delivery failures.

2.1. The Multiple Time Windows Vehicle Routing Problem

The vehicle routing problems with flexible delivery options were initially investigated by de Jong et al. (1996) [12], who introduced a new variant known as the Multiple Time Windows Vehicle Routing Problem (VRPMTW). Subsequent studies by Doerner et al. (2008) [13], Favaretto et al. (2007) [14], Belhaiza et al. (2014) [15], and Beheshti et al. (2015) [16] also tackled the VRPMTW. Nevertheless, none of these studies incorporated the provision of alternative delivery locations as an option for customers. Another relevant approach to flexible delivery is the Generalized Vehicle Routing Problem (GenVRP), proposed by Ghiani and Improta (2000) [17]. In this problem, customers are grouped into clusters, and it suffices for a delivery vehicle to visit one of the nodes within each cluster.

2.2. The Vehicle Routing Problem with Roaming Delivery Locations

In 2017, G. Ghiani and G. Improta introduced an extension to the VRPMTW [4], known as the Vehicle Routing Problem with Roaming Delivery Locations (VRPRDL). This advanced variant facilitates the delivery of goods to customers’ vehicle trunks at different times throughout the day. Ozbaygin et al. [18] developed a branch and price algorithm to solve the VRPRDL effectively. Subsequently, in 2019 [19], Ozbaygin et al. extended their research to the dynamic variant of the VRPRDL, where customers can modify their plans within a pre-planned schedule. Consequently, the initially planned schedule is no longer optimal or even feasible. To address this challenge, the authors proposed a branch-and-price algorithm to reoptimize the vehicle routes and delivery locations.

2.3. The Vehicle Routing Problem with Transshipment Facilities

The Vehicle Routing Problem with Transshipment Facilities (VRPTF), as described by Baldacci et al. (2017) [20], allows consumers to be supplied either directly from a central depot or by paying to use a transshipment facility. They outline numerous legitimate inequalities for the VRPTF in their work and offer a mathematical solution. Additionally, they obtain lower bounds by using a formulation of the VRPTF based on set partitioning (SP). Alcaraz et al. (2019) [21] examined the transportation of customer requests, which can be delivered directly to the customer or via a transshipment facility. In the latter case, a third-party subcontractor is responsible for the last-mile deliveries, charging a fee for their services. The researchers focused on a complex vehicle routing problem characterized by long-distance travel and additional factors such as driving hour restrictions, item incompatibility, heterogeneous vehicles, and time windows. To tackle this challenge, they proposed a construction heuristic approach incorporating these characteristics and adapting several established improvement heuristics from the existing literature.

2.4. The Capable Vehicle Routing Problem with Pickup and Alternative Delivery

Sitek and Wikarek (2019) [22] conducted a study on the Capable Vehicle Routing Problem with Pickup and Alternative Delivery (CVRPPAD). Their research considered factors such as time windows and fleets with different characteristics. They also considered the possibility of delivering customer requests to alternative destinations such as parcel lockers or postal outlets. To tackle this problem, the researchers proposed a precise method based on mathematical programming and a heuristic solution suitable for larger problem instances. In their heuristic approach, they employed a set of rules to assign customer requests to routes and resolved a travelling salesman problem for each route.

2.5. The Vehicle Routing Problem with Delivery Options

To the best of the authors’ knowledge, the earliest reference to the Vehicle Routing Problem with Delivery Options (VRPDO) can be traced back to 2005 [23], when Furmans et al. introduced it as a mixed integer programming model. Their proposed solution adopted a branch and price approach with a decomposition scheme. Optimal route selection was achieved through linear programming, while constraint programming was employed for modelling and calculating the optimal vehicle routes. In a subsequent extension, the pickup and delivery problem with shared delivery locations and diverse preferences was considered [24]. To solve this problem, an ALNS was employed, and the resulting solutions were compared to those generated by a commercial solver.
Dumez et al. (2021) [10] conducted research on the Vehicle Routing Problem with Delivery Options (VRPDO), which focuses on various delivery locations available to customers. In this problem, customers can express their preferences for multiple delivery options, with weights assigned to each option. Unlike the VRPTF, the shared delivery options do not incur additional costs, and the objective is to meet customer preference levels while respecting the capacity limits of shared delivery locations. The authors propose a solution to the VRPDO by using a Large Neighborhood Search (LNS) approach. They conducted computational experiments that solved instances with 50, 100, 200, and 400 customers within specified runtime limits of 30, 90, 300, and 2000 s, respectively. The authors assessed the efficacy of the heuristic approach by comparing it with alternative solution approaches documented in various variants of Vehicle Routing Problems. However, when presenting the results of the LNS approach applied to VRPDO, they solely reported the average and best outcomes obtained from five independent runs without comparing them with other methods or the MIP model.
Mancini and Gansterer (2021) [2] have presented two matheuristic approaches, namely the LNS matheuristic (MH) and Iterated Local Search (ILS), as efficient solution procedures for solving large instances of the Vehicle Routing Problem with Delivery Options (VRPDO) containing up to 75 customers. In their model, they incorporated an additional cost that compensates customers who opt to collect their parcels from shared delivery locations. The researchers formulated the problem mathematically and employed a Mixed Integer Programming (MIP) model, with a maximum runtime of 1 h, to obtain the optimal solution. They compared the MIP solution with the results generated by the two heuristics for instances of sizes of 25, 50, and 75 customers. The MH heuristic demonstrated average runtimes of 5.32, 63.75, and 283.47 s for the respective instance sizes, while the ILS heuristic exhibited average runtimes of 18.53, 276.7, and 772.38 s, respectively.
Table 1 summarizes various papers with different solution approaches, maximum numbers of customers, and average runtimes. Additionally, in the last column we mentioned if the parcel size of the customer demand is considered or not.
The literature extensively highlights the emerging and highly promising research area of incorporating delivery options into the traditional VRP. However, considering capacity constraints within the VRPDO has not yet been thoroughly explored in the existing academic literature. Consequently, this paper addresses this research gap by adapting the mathematical model (MIP) of Saker et al. [3], incorporating capacity constraints and relaxing time window constraints. Additionally, the ALNS heuristic is proposed and compared against the MIP approach.

3. Problem Description

In the context of the VRP, the deliveries are exclusively made to the predetermined locations of the customers. However, in the specific problem examined within this research, referred to as the CVRPDO, the requests assigned to customers may be delivered either directly to their designated locations or to a SDL proximate to them. Subsequently, the customers have the flexibility to retrieve their parcels from this SDL at their convenience. The CVRPDO problem entails a scenario where a specific number of customers (I) are considered, with each customer having a different demand size. The problem is formulated with the central depot ( O ) as the starting point for all vehicles’ routes. The SDLs (f) are represented as customer nodes. The objective is to deliver each customer’s demand either directly to their location or to one of the SDLs, from which the customer can subsequently collect their requests. However, customers are limited to being assigned only to a subset of SDLs that fall within a specified distance limit denoted as “ρ”, as shown in Figure 1.

Capacity Synchronization

The CVRDO entails the consideration of two distinct types of capacities. Firstly, the SDL capacity, denoted as Bf, is influenced by factors such as the availability of unutilized lockers at each SDL. It is assumed that these lockers possess a predetermined size. Consequently, when a customer’s request is allocated to a SDL, it is accommodated by only one of the available lockers, irrespective of the size of the request. The capacity of a SDL is contingent upon the quantity of customers that can be served within this SDL. Secondly, vehicle capacity constraints encompass the consideration of the size of customer requests, specifically the number of units (demand size) within each request.
When examining the capacity of the SDLs, the demands of individual customers are considered as a single unit. This approach assumes that the size of the lockers is not a determining factor. However, when considering the capacity of the routes, it becomes crucial to account for the request size associated with each customer. For example, suppose customer x has five parcels to be delivered to SDL f. In that case, the capacity value for the route will be incremented by five, and one additional locker in the SDL will be occupied as a result.
Figure 2 presents a graphical depiction of a proposed solution (S). The depicted scenario portrays a singular depot characterized by the node denoted as (0), encompassing a total of eight customers denoted by nodes (1–8), and two SDL nodes identified as (9, 10). Considering this example, let us assume that the capacity of each SDL is uniformly set at three (thus, the length of the SDL lists will not exceed three). Additionally, the vehicle capacity constraints are defined as 15 units per vehicle. Consequently, when attempting to add a customer to a SDL, it is essential to follow the subsequent sequence of capacity checks:
  • Verification of the SDL list length: ensure that the number of customers associated with the SDL is less than or equal to the SDL capacity (in this example, three).
  • Calculation of the SDL demand after incorporating the new customer: assess the total demand attributed to the SDL by considering the demands of all customers assigned to it, including the new addition.
  • Recheck the vehicle capacity constraints if a customer is assigned to a SDL visited by that vehicle. This verification step is necessary as the SDL’s demands may differ from the initial check for this constraint.
If any of the aforementioned capacity checks fail to meet the designated criteria, the addition of the customer violates one or more of the capacity constraints.

4. Mathematical Model Formulation

The network can be described by the sets of nodes N = IF and N0 = N ∪ 0. The private locations of requests i and j (i, jI) are denoted by the nodes i and j, respectively. The travel expenses between each pair of nodes i and j in N0, Cij is proportional to the journey Euclidean distance dij. Each route originates and terminates at the depot, signifying the presence of a single vehicle with its associated vehicle cost (γ). Customers who opt to retrieve their parcels personally are eligible for compensation payment (δ). Table 2 summarizes the notation and decision variables of the mathematical model.
The CVRPDO was formulated as an MIP model with constraints (1)–(10), as shown in Table 3. Constraints (1)–(7) were derived from Simona Mancini et al. [2], who formulated the VRPDO [25], while constraints (8)–(10) were added to account for the vehicle capacity. The model’s objective function is formulated as a minimization problem to optimize the total distribution cost. This cost is computed as the sum of three different terms: the transportation cost, compensation cost paid to shared location customers, and a fixed cost for vehicles. Constraint (2) guarantees that each request is either delivered to a shared location or directly to a customer’s location. In order to maintain the continuity of flow in the model, constraint (3) is enforced. Constraints (4) and (5) are responsible for allocating shared locations only if at least one customer intends to visit them.
To ensure compliance with the capacity restrictions of the shared locations, constraint (6) is imposed. If the distance between a customer and a shared location exceeds a predetermined limit, constraint (7) prevents the assignment of the customer to that shared location. Constraints (8)–(10) are implemented to prevent the total route capacity from surpassing the predefined limit.

5. Solution Using Adaptive Large Neighbourhood Search Approach

Ropke and Pisinger (2006) [26] extended Shaw’s (1998) [27] notion of Large Neighbourhood Search (LNS) by introducing Adaptive Large Neighborhood Search. The primary stage of the ALNS involves generating an initial solution. Subsequently, operators are employed to perturb and restore segments of routes. Destroy operators are responsible for removing a specified number of requests from the current solution, while repair operators reintroduce the previously deleted requests to construct a different feasible solution.
In the ALNS, each neighborhood is assigned a score. A neighborhood is defined for every possible combination of the destroy and repair methods, assuming that each repair operator can reconstruct a solution from an incomplete solution generated by any destroy operator. The score indicates how likely it is that a neighborhood will be chosen by using a selection scheme. These scores are dynamically adjusted throughout the search process based on the performance of the respective neighborhoods. Acceptance criteria govern whether to adopt a new solution developed by the neighborhood.
In summary, the ALNS methodology consists of the following sequential phases: (1) solution initialization, (2) ALNS implementation involving the application of a pair of destructive and reparative operators at each iteration, and (3) the execution of a selection process. The iterative execution of steps (2) and (3) persists until a predetermined stopping criterion, such as the expiration of a specified time interval or the attainment of a specified number of iterations, is satisfied. The algorithm framework is shown in Figure 3.
This research paper benefits from successfully implementing the alns package, originally developed by N. Wouda [28], using Python. This package was originally developed to provide solutions to simple vehicle routing and cutting stock problems. The authors have embraced this overarching framework and extended it to address the CVRPDO problem variant. The framework was extended by introducing a solution representation suitable for the problem in question. Furthermore, the objective function was adjusted, and custom repair and destroy operators have been incorporated into the framework’s implementation.

5.1. Solution Representation

The solution representation is a list of lists, as shown in Figure 2 These lists consist of two distinct groups: the first group of lists represents tours which contains home delivery customers and shared locations that have been assigned customers. The routes of these tours can be introduced by adding the depot at both the beginning and end of each tour. The second group of these lists illustrates details about the customers who will pick up their parcels from the SDLs that have appeared in the first section of the solution representation. For example, in Figure 2, there are two routes: R1 (0, 1, 2, 3, 9, 0) and R2 (0, 10, 7, 8, 0). In this scenario, customers (4, 5) are assigned to pick up their requests from SDL (9), whereas customer (6) is responsible for picking up their parcels from SDL (10).
To the best of the author’s knowledge, this compact representation approach has yet to be expounded upon in the literature. Indeed, this representation deals with the second group, SDL and pickup customers, as routes with special characteristics. Consequently, the VRPDO can be considered the same way as the classic VRP. This novel approach has enabled the solution of problem instances encompassing up to 1000 customers, a notable advancement beyond what is found in the literature, in which, problem instances featuring only up to 400 customers have been solved.
The demands associated with the SDL must be incorporated to ascertain compliance with vehicle capacity constraints. If a SDL remains unoccupied, its demand is deemed zero, negating the requirement for any vehicle to visit it. Conversely, if the SDL contains parcels to be picked up, the aggregate demand is computed as the sum of the demands corresponding to the customers assigned to retrieve their parcels from this SDL. This aggregation can be expressed mathematically as solution (S) in Figure 2 as follows:
d[9] =d[4] + d[5]=5
d[10] =d[6]=6
Capacity [R1]=d[1] + d[2] + d[3] + d[9]=13
Capacity [R2]=d[10] + d[7] + d[8]=15
In the routes’ representation part, any list […] represents a vehicle, and the number of these list is the number of utilized vehicles. As a result, the empty list ([]), which signifies vehicles without any customers, must be removed. Routes lacking customers are deemed invalid and subsequently removed from the solution. However, if a SDL exists but remains unvisited, it will be denoted as an empty list ([]) and this list will not be removed from the solution representation. Indeed, this representation denotes the presence of the node while acknowledging that it is non-visited.
In any variant of the VRP, solution representation is crucial to the success of search procedures and algorithms. Incorrect or invalid representations can lead to errors, inefficiencies, and incorrect results. Several types of errors must be avoided in the solution representation such as overlapping routes, missing visits, duplicate visits, ordering violations, among others. Such types of errors in the representation are not unique to the CVRPDO. They are rather global to all variants of the VRP, which makes checking for these errors a matter of routine in any such implementation. While the proposed implementation is designed to avoid all types of erroneous representations, in writing this paper, the choice was made to focus solely on detailing the errors uniquely associated with the proposed new solution representation of the CVRPDO to alert their presence. Consequently, Figure 4 is deployed as an illustrative paradigm, elucidating the instantiation of two erroneous solutions denoted as S1 and S3, juxtaposed with their respective rectifications embodied in solutions S2 and S4. Solution S1 is considered incorrect as it includes empty routes, which must be removed from the solution set. Similarly, solution S3 is deemed erroneous since SDL (10) remains unvisited by any customers. Consequently, SDL (10) should not be considered in any route within the solution.

5.2. Initial Solution

The selection of an initial solution, which will be destroyed and repaired by the ALNS heuristic, can significantly impact the performance and quality of the optimization algorithm. A well-chosen initial solution can significantly expedite the convergence towards an improved solution by starting from a configuration that is close to the optimal solution, thereby reducing the time and number of iterations required to reach an improved solution.
In this research, the initial solution was obtained by using a greedy algorithm known as the “Nearest Neighbor (NN)” heuristic [29]. The NN heuristic begins with an empty solution and proceeds iteratively by assigning a set number of the nearest customers to each SDL. The allocation of the remaining customers to routes is determined based on proximity to the current node (starting from the depot node), while ensuring that the vehicle capacity is not exceeded. In cases where no feasible routes are available due to the addition of a customer surpassing the vehicle capacity, a new route is established to accommodate the unassigned customers.
Figure 5 represents an example of 10 customers with two SDLs. After allocating the two closest customers to each shared delivery location, these customers are subsequently excluded from the pool of available customers, while the SDLs are incorporated into the list of nodes that must be visited by a vehicle. Subsequently, commencing from the depot, a search is initiated for the nearest node to be visited. At each juncture, if the vehicle’s capacity limits are surpassed, the solution is interrupted, and a new search is initiated starting from the depot for the nearest available node that will be assigned to a new vehicle.

5.3. Destroy Operators

Destroy operators play a vital role in ALNS metaheuristics as they systematically dismantle sections of a solution, rendering it infeasible. This initial step is integral to each iteration of the ALNS algorithm, wherein a repair operator is subsequently employed to restore the incomplete solution. Within the context of this study, six destroy operators were studied. The first five destroy operators were random removal destroy operators with varying degrees of destruction; the last was Slack Induction by String Removal (SISR). The destroy operators are presented in Figure 3 as the first step of each ALNS iteration.

5.3.1. Random Removal

The random removal destroy operator is designed to introduce randomness and exploration into the search process, facilitating the exploration of alternative solution spaces and potentially improving the overall solution quality. This randomness is determined by the proportion of nodes that are randomly eliminated from the solution, represented as a percentage of the total number of customers. Following experimentation with various percentages, it has been observed that the degrees of destruction (5%, 10%, 15%, 20%, and 25%) significantly enhance solution diversification and thus contribute more effectively to the optimization process.

5.3.2. Slack Induction by String Removal (SISR)

The Slack Induction by String Removal (SISR) was initially proposed by Christiaens and Vanden Berghe (2020) [30]. The destruct operator used by the SISR eliminates adjacent partial routes (referred to as “strings”) that are all situated close to one another rather than randomly eliminating customers.
Figure 6 provides a visual representation of the process involving the removal of adjacent strings. In Figure 6a, a selective removal approach is employed, targeting solely two adjacent strings. The resulting solution, depicted in Figure 6b, reflects the state of destruction incurred by this specific removal operation. The spatial slacks associated with both tours exhibit considerable overlap, thereby intensifying the potential for a better solution. Figure 6c presents the solution after introducing a repair operator aims to replicate the devastated state achieved through the implementation of the slack removal in Figure 6b.

5.4. Repair Operators

The repair operator is a critical component within the framework of the ALNS algorithms, serving the purpose of rectifying incomplete or disrupted solutions and restoring them to a feasible state subsequent to the application of a destroy operator. The repair operator’s primary objective is to modify the disrupted solution through the application of specific rules or heuristics, ensuring the restoration of feasibility while considering the optimization objectives pertinent to the problem at hand. In this study, two repair strategies, namely simple greedy and weighted greedy, were implemented. These strategies iterate over the set of unassigned customers and identify the optimal route and insertion index with the least increase in cost. Additionally, a weighted value was incorporated in the weighted greedy repair strategy to enhance the likelihood of selecting SDL insertion.

5.5. Operator Selection Scheme

The Operator Selection Scheme refers to a strategy or mechanism used in metaheuristic algorithms to determine which operators to apply at each iteration or stage of the search process. It involves selecting the most appropriate combination of operators based on various factors such as problem characteristics, solution quality, and exploration-exploitation balance. In this paper, the implemented selection scheme was the roulette wheel selection. It is a probabilistic method for selecting operators based on their fitness or performance metrics.
The roulette wheel scheme updates operator weights as a convex combination of the current weight, and the new score. When the algorithm starts, all operators i are assigned weight ω i = 1 . In each iteration, a destroy and repair operator d and r are selected by the ALNS algorithm, based on the current weights ω i . These operators are applied to the current solution, resulting in a new candidate solution. This candidate is evaluated by the ALNS algorithm, which leads to one of four outcomes:
  • The candidate solution is a new global best.
  • The candidate solution is better than the current solution, but not a global best.
  • The candidate solution is accepted.
  • The candidate solution is rejected.
Each of these four outcomes is assigned a score s j (with j = 1 , , 4 ). After observing outcome j , the weights of the destroy and repair operator d and r that were applied are updated as follows:
ω d = θ ω d + ( 1 θ ) s j , ω r = θ ω r + ( 1 θ ) s j ,
where 0 θ 1 (known as the operator decay rate) is a parameter.

5.6. Acceptance Criteria

The acceptance criteria for the ALNS algorithm determine whether a new solution is accepted or rejected during the search process. The ALNS uses a flexible acceptance strategy to balance exploration and exploitation. In this paper, hill climbing [31] and record-to-record [31] travel criteria were implemented.

5.6.1. Hill Climbing

Hill climbing (HC), Table 4, is a local search algorithm which starts with an initial solution and iteratively explores neighboring solutions. The algorithm moves to the neighboring solution that yields the best improvement at each step, thus “climbing up the hill” toward a local optimum. Hill climbing only accepts progressively better solutions, discarding those that result in a worse objective value [31].

5.6.2. Record-to-Record Travel

The Record-to-Record Travel (RRT) pseudocode, Table 5, outlines the RRT criterion. RRT refers to a criterion or measure used in optimization algorithms to determine the acceptability of a new solution. It compares the difference or gap between the new solution and the best solution found so far. If the gap falls below a specified threshold (T), the new solution is considered acceptable and replaces the previous best solution. Initially, the threshold is set to a higher value, gradually decreasing with each iteration until it reaches a predetermined final threshold [31].

6. Results and Discussion

These solution algorithms were coded in Python 3.11, and the MIP model was solved by using Gurobi version 10. The computations were performed on an Intel® Core i7-6820HQ CPU running at 2.70 GHz with 64 GB RAM.
To the best of the authors’ knowledge, no standard instances exist for the CVRPDO in the literature. Section 6.1 introduces the adopted and modified CVRPDO instances. Section 6.2 presents the validation of the ALNS method. The performance of various ALNS parameters is checked in Section 6.3. In Section 6.4, the quality of the ALNS algorithm is checked. Section 6.5 presents the results of attempting to solve the test instances by using the MIP model and a commercial solver or using the ALNS algorithm.

6.1. Instances of the CVRPDO

As mentioned, there are no standard instances of the CVRPDO in the literature; as a result, a classical benchmark set of the VRPTW was adopted and modified for this study. These benchmark instances are the 50 customers instances of Simona Mancini and Margaretha Gansterer [2], 100 customers data set of Solomon and Desrosiers [32], and (200, 400, 600, 800, and 1000 customers) of Gehring and Homberger [33]. These instances were adopted by considering additional parameters as follows SDLs (with x and y coordinates), the capacity of the routes (vehicle capacity), and the capacity of the SDLs (number of lockers), as shown in Table 6.The inclusion of these parameters was determined based on the inherent characteristics of the instances, specifically considering their correlation with these factors: spatial characteristics, customer demands, and the total number of customers [2]. Time windows data from these instances were ignored. The x and y coordinates of the customers of the R1 and R2 instances have a uniform distribution across a two-dimensional plane, the C1 and C2 instances are clustered, and semi-clustered instances are denoted by RC 1.
The travel cost (cij) between two nodes, i and j, is fixed, and it is calculated as three times the Euclidean distances, dij, between these nodes. The value δ is equal to (cij/3). The value of γ is set from three to five percent of the vehicle capacity. For each size of the instances, it is assumed that each request is compatible with all the SDLs located within a travel distance radius ρ from the customers’ location [2].

6.2. Validation of the ALNS

To validate the ALNS, small instances, with 8, 10, and 12 customers, were solved by the MIP model and ALNS algorithm. The ALNS was iterated 20 times. Figure 7 presents an example of the solution obtained by the two methods for an instance of ten customers and two SDL instances. In Table 7, the ALNS obtained the optimum objective function value in all runs of 8 customer instances and 18 and 17 times when the number of customers was 10 and 12, respectively. Although, in a few iterations for 10 and 12 customers, the ALNS did not obtain the optimum solution to the problem, the solution obtained was of very high quality, differing, in each case, from the optimal solution for the assignment of a single customer.

6.3. Testing the Performance of the ALNS Parameters

To comprehensively evaluate the diverse parameters employed within the ALNS algorithm, a series of iterative analyses were conducted on a dataset encompassing various instance sizes. The results of these investigations, encapsulated in Table 8, meticulously document the computed averages of objective function values derived from five individual runs. These runs were conducted by utilizing an assortment of distinct destroy (D) and repair (R) operator combinations, affording a comprehensive understanding of algorithmic performance across varied operational scenarios.

6.4. Testing the Performance of the ALNS aginst Extended MIP Runs

To prove the ALNS algorithm quality, large instances of (1000 customers) were solved by the MIP model with five hour runtimes and compared with the heuristic solutions at 2, 5, and 10 min (the average of five runs are considered). Gaps between the two solutions’ methods were reported in Table 9. The detailed results for each instance are reported in Table A1 in Appendix. Although it is not practical to run the MIP model for this considerable time, and it will occupy a massive amount of the RAM, this is performed to validate the algorithm’s performance.
Each line in the tables corresponds to the average result for one type of instance. Instance groups are listed in column 1. Columns 2 and 3 encapsulate the results pertaining to the solution derived from the MIP model and the optimality gap (BKB Gap). Moreover, the fourth, sixth, eighth, and tenth columns provide the average cost associated with the ALNS across varying runtimes. Furthermore, the fifth, seventh, ninth, and eleventh columns present the average gap between the ALNS algorithm’s outcomes and those provided by the MIP model’s solutions (BKS Gap). Indeed, a negative BKS gap means the ALNS solution is better than the one obtained by the MIP model.

6.5. Comprehensive Evaluation of the ALNS Performance

In this part of the computational study, the performance of the proposed solution approach ALNS is compared with the commercial solver applied to the MIP model in Section 4. The results are summarized in tables from Table 10, Table 11, Table 12, Table 13, Table 14, Table 15 and Table 16 for different sizes of instances. For all instance sizes, the MIP model ran for 3 h runtimes. While the ALNS runtimes were (30, 60, 90 and 120) seconds. For each instance, an average of five runs are considered. The detailed results for each instance are reported in Appendix A from Table A2. Comparative Evaluation of the Results between the MIP Model (3-h Runtimes) and the ALNS for 1000 Customers. to Table A7.
Table 10, Table 11 and Table 12 present the results of 1000, 800, and 600 customer instances. The results reveal a clear superiority of the ALNS algorithm over the MIP model for all instances. In a matter of seconds, the ALNS algorithm outperformed the MIP model, which took 3 h to solve the problem, by achieving significantly better results. For 1000 customer instances, the gap of the ALNS is 19%, 22%, 24%, and 25% better than the MIP for 30, 60, 90, and 120 s runtimes, respectively. Across 800 customer instances, the ALNS algorithm demonstrates a remarkable performance advantage over the MIP model, achieving a significant improvement ranging from 35 to 40% within a mere two-minute runtime. Across a dataset of 600 customer instances, the utilization of the ALNS algorithm resulted in a noteworthy average improvement ranging from 2 to 7% compared to the MIP model.
Table 13, Table 14, and Table 15 showcase the outcomes obtained from 400, 200, and 100 customer instances, respectively. In the case of 400 customer instances, the ALNS algorithm accomplished a solution comparable to that of the MIP model after only 30 s of runtime. Furthermore, the results improved to achieve a 5% advantage over the MIP model at the 120-s mark. Across a dataset of 200 customer instances, the ALNS algorithm consistently exhibits a notable performance advantage over the MIP model, showcasing average improvements ranging from 3% to 6% within a mere two-second runtime. Despite the ALNS algorithm operating on a dataset of 100 customer instances with a gap ranging from −1 to 2%, the ALNS runtime remains within two minutes, while the MIP model takes approximately three hours to complete.
Table 16 presents the results of the 50 customer instances with MIP runtimes 3 h, while in Table 17 the runtimes is 0.5 h for the same instances. Across the 50 customer instances, the ALNS heuristics demonstrate an average deterioration of 10% in comparison to the MIP model with 3 h runtimes. For 0.5 h. MIP runtimes, the ALNS heuristics slightly improved the solutions obtained by the MIP model by an average of 1% within less than two minutes.
To conclude, the results of the objective function values were noticeably improved when solving the problem with the ALNS with a 120 s runtime compared with the MIP model (with a runtime of 3 h) by 25%, 30%, 7%, 5%, 6%, and 1% for 1000, 800, 600, 400, 200, and 100 customers, respectively.
From the results it is found that the instance size is not the only factor that defines the complexity of the problem. As a result, instances with a higher number of customers may achieve better results (a smaller gap to optimality) than instances with a lower number. Other factors may play a role in increasing the complexity of the problem such as the structure of the solution space, heuristics and relaxation techniques that are used by the solver to efficiently search for solutions, and the quality of the initial solution.

7. Conclusions

Last-mile delivery poses significant cost implications in the ecommerce sector and directly impacts online purchases. To effectively address the challenges associated with last-mile delivery, companies must devise dependable distribution strategies that consider various aspects, including cost efficiency, customer satisfaction, delivery alternatives, and sustainability. Among the various methods available, parcel lockers have emerged as a promising delivery option for handling the final stage of the delivery process.
The Capacitated Vehicle Routing Problem with Delivery Options, a new extension of the CVRP allowing for various delivery options for each customer, is paramount, as it enables businesses to optimize their transportation operations, minimize costs, maximize efficiency, and ensure timely deliveries to customers. This article defines the Capacitated Vehicle Routing Problem with Delivery Options. It consists of designing a set of routes for a fleet of vehicles that deliver to customers directly or to shared delivery locations. These routes should respect the capacities of the vehicles and the lockers at the shared delivery locations while minimizing the total routing costs.
To solve this problem, a solution is proposed by utilizing an Adaptive Large Neighborhood Search approach (ALNS) incorporating various destroy and repair operators and selection schemes. The performance of the proposed Adaptive Large Neighborhood Search approach is compared to a Mixed-Integer Programming model, where each instance is given a maximum runtime of 3 h.
Remarkably, the proposed approach (ALNS) yields favorable outcomes, as it achieves superior solutions within a mere 30-s timeframe compared to the MIP model. On average, the ALNS approach outperforms the MIP by 19%, 26%, 2%, and 3% for instances with 1000, 800, 600, and 200 customers, respectively. When dealing with instances consisting of 100 customers, the ALNS approach with 120-s runtimes produces slightly better solutions, averaging 3% better than those obtained by the MIP model within its 0.5-h runtime.
The authors plan to expand the CVRPDO for future research by including additional factors such as time windows and considering different customer preferences. Furthermore, to enhance the quality of the generated solutions, the authors intend to incorporate a greater variety of destroy and repair operators into the heuristic algorithm.

Author Contributions

Conceptualization, A.S.; methodology, A.S.; software, A.S.; validation, A.S., A.E. and I.A.; formal analysis, A.S., A.E. and I.A.; investigation, A.S., A.E. and I.A.; resources, A.S., A.E. and I.A.; data curation, A.S., A.E. and I.A.; writing original draft preparation, A.S.; writing—review and editing, A.S., A.E., and I.A.; visualization, A.S., A.E. and I.A.; supervision, A.E. and I.A.; project administration, Not applicable; funding acquisition, Not applicable; funding acquisition, Not applicable. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not Applicable.

Acknowledgments

This work was supported by the Egyptian Ministry of Higher Education Grant and the Japanese International Cooperation Agency (JICA) in the scope of Egypt-Japan University of Science and Technology.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Detailed Results on the 1000 Customers Instances (MIP Runtimes: 5 h), and Detailed Results of the MIP with Runtimes: 3 h against ALNS for All Instances

Table A1. Comparative Evaluation of the Results between the MIP Model (5-h Runtimes) and the ALNS for 1000 Customers.
Table A1. Comparative Evaluation of the Results between the MIP Model (5-h Runtimes) and the ALNS for 1000 Customers.
InstanceMIPALNS ALNS ALNS ALNS ALNS
5 h1 min 2 min 5 min 7 min 10 min
SolSolGapSolGapSolGapSolGapSolGap
C1_1037,81140,9238%39,4174%36,425−4%35,856−5%35,730−6%
C1_1037,81137,9620%36,870−2%36,381−4%35,855−5%35,491−6%
C1_1037,81139,4874%37,9580%36,360−4%36,300−4%36,259−4%
C1_1037,81139,4794%37,7270%36,327−4%35,781−5%35,487−6%
C1_1037,81138,4882%36,783−3%35,940−5%35,649−6%35,155−7%
Avg.37,81139,267.84%37,7510%36,286.6−4%35,888−5%35,624−6%
C2_1039,75339,9200%38,711−3%36,916−7%36,411−8%35,652−10%
C2_1039,75343,64010%38,406−3%36,584−8%35,933−10%35,460−11%
C2_1039,75340,8673%38,973−2%37,622−5%36,754−8%36,183−9%
C2_1039,75344,20211%41,4414%38,032−4%36,332−9%35,706−10%
C2_1039,75338,786−2%37,307−6%35,406−11%35,317−11%35,241−11%
Avg.39,75341,4834%38,968−2%36,912−7%36,149−9%35,648−10%
R1_10544,37050,035−8%49,092−10%46,518−14%45,541−16%44,868−17%
R1_10544,37045,784−16%44,844−18%44,841−18%44,570−18%44,373−18%
R1_10544,37047,334−13%46,587−14%45,045−17%44,894−17%44,867−17%
R1_10544,37049,061−10%48,177−11%46,925−14%46,020−15%44,130−19%
R1_10544,37046,478−15%46,387−15%45,324−17%45,042−17%44,394−18%
Avg.544,37047,738.4−12%47,017−14%45,731−16%45,213−17%44,526−18%
R2_1052,41348,892−7%46,499−11%45,399−13%44,820−14%44,658−15%
R2_1052,41349,090−6%48,056−8%46,409−11%45,553−13%44,487−15%
R2_1052,41348,322−8%47,554−9%45,233−14%44,611−15%44,540−15%
R2_1052,41350,280−4%48,412−8%45,280−14%44,001−16%43,853−16%
R2_1052,41347,067−10%45,839−13%44,896−14%44,359−15%44,164−16%
Avg.52,41348,730.2−7%47,272−10%45,443−13%44,669−15%44,340−15%
RC1_1053,40045,553−15%44,756−16%42,905−20%42,426−21%42,122−21%
RC1_1053,40045,219−15%43,298−19%41,922−21%41,897−22%41,894−22%
RC1_1053,40046,389−13%44,957−16%43,542−18%43,040−19%43,040−19%
RC1_1053,40046,272−13%45,720−14%43,493−19%42,496−20%41,159−23%
RC1_1053,40044,922−16%44,480−17%43,236−19%42,960−20%42,421−21%
Avg.53,40045,671−14%44,642.2−16%43,020−19%42,564−20%42,127−21%
Table A2. Comparative Evaluation of the Results between the MIP Model (3-h Runtimes) and the ALNS for 1000 Customers.
Table A2. Comparative Evaluation of the Results between the MIP Model (3-h Runtimes) and the ALNS for 1000 Customers.
InstanceMIPALNS ALNS ALNS ALNS
3 h30 s 60 s 90 s 120 s
SolSolGapSolGapSolGapSolGap
C1_1048,05842,594−11%40,923−15%39,497−18%39,417−18%
C1_1048,05840,071−17%37,962−21%37,274−22%36,870−23%
C1_1048,05841,827−13%39,487−18%38,582−20%37,958−21%
C1_1048,05840,398−16%39,479−18%39,094−19%37,727−21%
C1_1048,05840,766−15%38,488−20%37,384−22%36,783−23%
Avg.48,05841,131−14%39,268−18%38,366−20%37,751−21%
C2_1047,72841,088−14%39,920−16%39,433−17%38,711−19%
C2_1047,72844,683−6%43,640−9%40,504−15%38,406−20%
C2_1047,72843,333−9%40,867−14%39,516−17%38,973−18%
C2_1047,72845,648−4%44,202−7%42,416−11%41,441−13%
C2_1047,72840,816−14%38,786−19%38,311−20%37,307−22%
Avg.47,72843,114−10%41,483−13%40,036−16%38,968−18%
R1_1069,59751,818−26%50,035−28%49,951−28%49,092−29%
R1_1069,59748,113−31%45,784−34%44,850−36%44,844−36%
R1_1069,59749,353−29%47,334−32%46,603−33%46,587−33%
R1_1069,59751,534−26%49,061−30%48,724−30%48,177−31%
R1_1069,59747,455−32%46,478−33%46,478−33%46,387−33%
Avg.69,59749,655−29%47,738−31%47,321−32%47,017−32%
R2_1069,01051,342−26%48,892−29%47,909−31%46,499−33%
R2_1069,01051,240−26%49,090−29%48,656−29%48,056−30%
R2_1069,01050,067−27%48,322−30%47,856−31%47,554−31%
R2_1069,01051,422−25%50,280−27%49,384−28%48,412−30%
R2_1069,01050,261−27%47,067−32%46,100−33%45,839−34%
Avg.69,01050,866−26%48,730−29%47,981−30%47,272−31%
RC1_1055,88247,124−16%45,553−18%44,756−20%44,756−20%
RC1_1055,88246,869−16%45,219−19%43,308−23%43,298−23%
RC1_1055,88247,239−15%46,389−17%45,117−19%44,957−20%
RC1_1055,88248,463−13%46,272−17%45,762−18%45,720−18%
RC1_1055,88245,547−18%44,922−20%44,570−20%44,480−20%
Avg.55,88247,048−16%45,671−18%44,703−20%44,642−20%
Table A3. Comparative Evaluation of the Results between the MIP Model (3-h Runtimes) and the ALNS for 800 Customers.
Table A3. Comparative Evaluation of the Results between the MIP Model (3-h Runtimes) and the ALNS for 800 Customers.
InstanceMIPALNS ALNS ALNS ALNS
3 h30 s 60 s 90 s 120 s
SolSolGapSolGapSolGapSolGap
C1_843,48927,736−36%27,385−37%27,301−37%26,858−38%
C1_843,48926,271−40%26,165−40%26,028−40%26,013−40%
C1_843,48927,484−37%26,444−39%25,841−41%25,749−41%
C1_843,48928,887−34%28,256−35%28,256−35%27,625−36%
C1_843,48929,088−33%28,144−35%27,028−38%26,984−38%
Avg.43,48927,893−36%27,279−37%26,891−38%26,646−39%
C2_840,02230,205−25%29,328−27%29,328−27%28,427−29%
C2_840,02230,499−24%29,197−27%28,257−29%28,216−29%
C2_840,02230,158−25%28,652−28%28,212−30%27,889−30%
C2_840,02230,639−23%29,643−26%28,467−29%28,430−29%
C2_840,02231,245−22%29,828−25%29,584−26%29,150−27%
Avg.40,02230,549−24%29,330−27%28,770−28%28,422−29%
R1_849,10536,555−26%35,621−27%34,635−29%34,074−31%
R1_849,10534,981−29%33,541−32%33,525−32%33,097−33%
R1_849,10534,765−29%34,135−30%32,547−34%32,511−34%
R1_849,10536,836−25%35,214−28%34,310−30%32,992−33%
R1_849,10536,168−26%35,250−28%34,900−29%34,778−29%
Avg.49,10535,861−27%34,752−29%33,983−31%33,490−32%
R2_843,72535,637−18%35,559−19%34,864−20%34,789−20%
R2_843,72535,808−18%35,344−19%34,050−22%33,672−23%
R2_843,72535,571−19%35,196−20%34,764−20%34,293−22%
R2_843,72534,261−22%33,483−23%32,736−25%32,295−26%
R2_843,72534,378−21%34,234−22%33,795−23%33,559−23%
Avg.43,72535,131−20%34,763−20%34,042−22%33,722−23%
RC1_845,58534,801−24%32,790−28%32,419−29%32,419−29%
RC1_845,58534,494−24%33,618−26%33,114−27%33,007−28%
RC1_845,58536,142−21%35,434−22%34,903−23%34,621−24%
RC1_845,58537,390−18%36,397−20%36,033−21%35,729−22%
RC1_845,58535,289−23%34,956−23%34,225−25%33,260−27%
Avg.45,58535,623−22%34,639−24%34,139−25%33,807−26%
Table A4. Comparative Evaluation of the Results between the MIP Model (3-h Runtimes) and the ALNS for 600 Customers.
Table A4. Comparative Evaluation of the Results between the MIP Model (3-h Runtimes) and the ALNS for 600 Customers.
InstanceMIPALNS ALNS ALNS ALNS
3 h30 s 60 s 90 s 120 s
SolSolGapSolGapSolGapSolGap
C1_617,70618,7476%18,4354%18,2563%18,2463%
C1_617,70618,1322%18,0442%17,369−2%17,311−2%
C1_617,70619,58411%18,5745%18,4764%18,2873%
C1_617,70619,0528%18,7926%18,5085%17,9992%
C1_617,70618,7946%18,4144%18,0912%17,577−1%
Avg.17,70618,8627%18,4524%18,1402%17,8841%
C2_621,19021,7373%21,3841%20,814−2%20,575−3%
C2_621,19021,7563%20,949−1%19,260−9%19,134−10%
C2_621,19022,0004%20,954−1%20,764−2%20,455−3%
C2_621,19021,4591%20,287−4%19,690−7%19,330−9%
C2_621,19020,503−3%19,971−6%19,147−10%18,822−11%
Avg.21,19021,4911%20,709−2%19,935−6%19,663−7%
R1_622,78021,915−4%21,646−5%21,104−7%21,095−7%
R1_622,78021,714−5%21,225−7%21,141−7%20,783−9%
R1_622,78021,769−4%21,516−6%21,224−7%20,890−8%
R1_622,78020,856−8%20,561−10%20,515−10%20,497−10%
R1_622,78021,034−8%20,412−10%20,381−11%20,381−11%
Avg.22,78021,458−6%21,072−7%20,873−8%20,729−9%
R2_623,28621,662−7%21,384−8%20,991−10%20,767−11%
R2_623,28622,179−5%21,596−7%21,567−7%21,520−8%
R2_623,28622,196−5%21,666−7%21,337−8%21,061−10%
R2_623,28621,486−8%21,032−10%20,938−10%20,475−12%
R2_623,28621,140−9%20,369−13%20,182−13%20,156−13%
Avg.23,28621,733−7%21,209−9%21,003−10%20,796−11%
RC1_620,97820,694−1%20,676−1%20,053−4%19,757−6%
RC1_620,97820,046−4%19,604−7%19,465−7%19,280−8%
RC1_620,97820,003−5%19,882−5%19,845−5%19,748−6%
RC1_620,97821,2451%20,194−4%20,017−5%19,898−5%
RC1_620,97819,635−6%18,999−9%18,711−11%18,276−13%
Avg.20,97820,325−3%19,871−5%19,618−6%19,392−8%
Table A5. Comparative Evaluation of the Results between the MIP Model (3-h Runtimes) and the ALNS for 400 Customers.
Table A5. Comparative Evaluation of the Results between the MIP Model (3-h Runtimes) and the ALNS for 400 Customers.
InstanceMIPALNS ALNS ALNS ALNS
3 h30 s 60 s 90 s 120 s
SolSolGapSolGapSolGapSolGap
C1_412,51812,8363%12,7041%12,271−2%12,009−4%
C1_412,51812,9744%12,7942%12,5280%12,411−1%
C1_412,51812,5710%12,4850%12,264−2%12,260−2%
C1_412,51812,213−2%12,213−2%12,206−2%11,981−4%
C1_412,51812,7172%12,395−1%12,148−3%12,006−4%
Avg.12,51812,6621%12,5180%12,283−2%12,133−3%
C2_412,52312,7142%12,402−1%12,318−2%12,310−2%
C2_412,52312,9844%12,5750%12,364−1%12,237−2%
C2_412,52312,6531%12,129−3%12,090−3%12,054−4%
C2_412,52312,7562%12,290−2%12,190−3%12,190−3%
C2_412,52312,378−1%12,321−2%12,298−2%12,298−2%
Avg.12,52312,6971%12,343−1%12,252−2%12,218−2%
R1_414,41414,4080%14,170−2%13,838−4%13,809−4%
R1_414,41414,4510%13,795−4%13,465−7%13,356−7%
R1_414,41414,3710%14,092−2%13,537−6%13,398−7%
R1_414,41414,9053%13,679−5%13,624−5%13,624−5%
R1_414,41413,984−3%13,650−5%13,431−7%13,431−7%
Avg.14,41414,4240%13,877−4%13,579−6%13,524−6%
R2_414,49014,7662%14,6191%14,5100%14,407−1%
R2_414,49014,120−3%13,773−5%13,545−7%13,330−8%
R2_414,49014,7011%13,590−6%13,590−6%13,590−6%
R2_414,49014,5911%14,096−3%14,004−3%13,991−3%
R2_414,49015,0144%14,4480%14,277−1%14,261−2%
Avg.14,49014,6381%14,105−3%13,985−3%13,916−4%
RC1_414,03413,632−3%13,070−7%13,070−7%12,989−7%
RC1_414,03413,450−4%13,329−5%13,173−6%13,173−6%
RC1_414,03414,5954%14,3512%13,459−4%13,122−6%
RC1_414,03413,9790%13,462−4%13,169−6%12,969−8%
RC1_414,03413,399−5%13,295−5%13,184−6%12,876−8%
Avg.14,03413,811−2%13,501−4%13,211−6%13,026−7%
Table A6. Comparative Evaluation of the Results between the MIP Model (3-h Runtimes) and the ALNS for 200 Customers.
Table A6. Comparative Evaluation of the Results between the MIP Model (3-h Runtimes) and the ALNS for 200 Customers.
InstanceMIPALNS ALNS ALNS ALNS
3 h30 s 60 s 90 s 120 s
SolSolGapSolGapSolGapSolGap
C1_2675770234%68401%6604−2%6537−3%
C1_267576681−1%6628−2%6609−2%6539−3%
C1_2675769944%6594−2%6538−3%6520−4%
C1_2675769553%68912%6581−3%6434−5%
C1_267576516−4%6441−5%6441−5%6414−5%
Avg.675768341%6679−1%6555−3%6489−4%
C2_269986778−3%6690−4%6685−4%6610−6%
C2_269986649−5%6621−5%6613−6%6613−6%
C2_269986772−3%6674−5%6569−6%6533−7%
C2_269986743−4%6723−4%6670−5%6616−5%
C2_269986728−4%6629−5%6593−6%6542−7%
Avg.69986734−4%6667−5%6626−5%6583−6%
R1_277357038−9%6993−10%6944−10%6913−11%
R1_277356974−10%6878−11%6878−11%6878−11%
R1_277357042−9%7029−9%7018−9%7006−9%
R1_277357212−7%7031−9%6972−10%6957−10%
R1_277357006−9%6932−10%6909−11%6831−12%
Avg.77357054−9%6973−10%6944−10%6917−11%
R2_273687297−1%7121−3%7088−4%7007−5%
R2_273687059−4%6967−5%6948−6%6935−6%
R2_273686946−6%6833−7%6783−8%6772−8%
R2_273687091−4%6868−7%6775−8%6769−8%
R2_273687169−3%7019−5%6962−6%6950−6%
Avg.73687112−3%6962−6%6911−6%6887−7%
RC1_2672568592%6670−1%6603−2%6575−2%
RC1_267256656−1%6535−3%6526−3%6442−4%
RC1_267256491−3%6470−4%6470−4%6470−4%
RC1_2672568061%67410%66930%6679−1%
RC1_2672570855%6671−1%6671−1%6671−1%
Avg.672567791%6617−2%6593−2%6567−2%
Table A7. Comparative Evaluation of the Results between the MIP Model (3-h Runtimes) and the ALNS for 100 Customers.
Table A7. Comparative Evaluation of the Results between the MIP Model (3-h Runtimes) and the ALNS for 100 Customers.
InstanceMIPALNS ALNS ALNS ALNS
3 h10 s 20 s 30 s 40 s
SolSolGapSolGapSolGapSolGap
C101239024603%24051%24021%24021%
C101239024894%23990%23960%23960%
C101239024191%24121%24071%24071%
C101239024111%24111%24111%24111%
C101239025507%23990%23990%23980%
Avg.239024663%24051%24031%24031%
C201261527545%27234%27013%27013%
C2012615290611%287510%27475%27415%
C201261527596%27465%27375%27284%
C2012615289811%28037%27786%27626%
C201261527345%26371%26361%26361%
Avg.261528107%27575%27204%27144%
R101227423875%23403%22800%22800%
R101227423875%23403%22800%22800%
R101227422921%22901%22901%22901%
R101227423875%23403%22800%22800%
R101227422921%22901%22901%22901%
Avg.227423493%23202%22840%22840%
R201219222683%21890%21830%2166−1%
R20121922161−1%2161−1%2157−2%2152−2%
R201219221940%2178−1%2167−1%2167−1%
R201219221860%21860%21850%2176−1%
R201219222121%21940%2175−1%2175−1%
Avg.219222041%21820%2173−1%2167−1%
RC1012904325812%323311%321811%31097%
RC101290431428%30876%30274%30174%
RC101290431569%30224%30053%29873%
RC101290430876%30876%30455%30164%
RC101290431087%30224%29773%29762%
Avg.290431508%30906%30545%30214%

References

  1. Janjevic, M.; Winkenbach, M. Characterizing urban last-mile distribution strategies in mature and emerging e-commerce markets. Transp. Res. Part A Policy Pract. 2020, 133, 164–196. [Google Scholar] [CrossRef]
  2. Mancini, S.; Gansterer, M. Vehicle routing with private and shared delivery locations. Comput. Oper. Res. 2021, 133, 105361. [Google Scholar] [CrossRef]
  3. Saker, A.; Iijima, J.; Ali, I.; Eltawil, A. Capacitated Vehicle Routing Problem with Delivery Options: Private or Shared Location. In Proceedings of the ICIEA 2023, the 10th International Conference on Industrial Engineering and Applications, Phuket, Thailand, 4–6 April 2023. [Google Scholar]
  4. 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]
  5. Zhou, L.; Wang, X.; Ni, L.; Lin, Y. Location-routing problem with simultaneous home delivery and customer’s pickup for city distribution of online shopping purchases. Sustainability 2016, 8, 828. [Google Scholar] [CrossRef]
  6. 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]
  7. Vakulenko, Y.; Hellström, D.; Hjort, K. What’s in the parcel locker? Exploring customer value in e-commerce last mile delivery. J. Bus. Res. 2018, 88, 421–427. [Google Scholar] [CrossRef]
  8. Parcu, P.L.; Brennan, T.; Glass, V. The Changing Postal Environment; Springer: Berlin/Heidelberg, Germany, 2020. [Google Scholar]
  9. 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]
  10. 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]
  11. Friedrich, C.; Elbert, R. Adaptive Large Neighborhood Search for Vehicle Routing Problems with Transshipment Facilities Arising in City Logistics. Comput. Oper. Res. 2021, 137, 105491. [Google Scholar] [CrossRef]
  12. de Jong, C.; Kant, G.; Van Vlient, A. On Finding Minimal Route Duration in the Vehicle Routing Problem with Multiple Time Windows. Manuscript, Department of Computer Science, Utrecht University, Utrecht, The Netherlands. 1996. Available online: http://www.cs.uu.nl/research/projects/alcom/articles/goos2.ps (accessed on 2 June 2023).
  13. 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]
  14. Favaretto, D.; Moretti, E.; Pellegrini, P. Ant colony system for a VRP with multiple time windows and multiple visits. J. Interdiscip. Math. 2007, 10, 263–284. [Google Scholar] [CrossRef]
  15. 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]
  16. 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]
  17. Ghiani, G.; Improta, G. “An efficient transformation of the generalized vehicle routing problem. Eur. J. Oper. Res. 2000, 122, 11–17. [Google Scholar] [CrossRef]
  18. 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 B Methodol. 2017, 100, 115–137. [Google Scholar] [CrossRef]
  19. Ozbaygin, G.; Savelsbergh, M. An iterative re-optimization framework for the dynamic vehicle routing problem with roaming delivery locations. Transp. Res. Part B Methodol. 2019, 128, 207–235. [Google Scholar] [CrossRef]
  20. Baldacci, R.; Ngueveu, S.U.; Calvo, R.W. The vehicle routing problem with transhipment facilities. Transp. Sci. 2017, 51, 592–606. [Google Scholar] [CrossRef]
  21. Alcaraz, J.J.; Caballero-Arnaldos, L.; Vales-Alonso, J. Rich vehicle routing problem with last-mile outsourcing decisions. Transp. Res. E Logist. Transp. Rev. 2019, 129, 263–286. [Google Scholar] [CrossRef]
  22. 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]
  23. Rodrigue, J.-P. The Geography of Transport Systems, 5th ed.; Routledge: Abingdon, UK; New York, NY, USA, 2020. [Google Scholar] [CrossRef]
  24. Freitag, M.; Kotzab, H.; Pannek, J. Lecture Notes in Logistics Dynamics in Logistics. Available online: http://www.springer.com/series/11220 (accessed on 20 December 2020).
  25. Collaborative Consistent Vehicle Routing Problem with Workload Balance (Instances). Available online: https://data.mendeley.com/datasets/wwmvnkm46h/1 (accessed on 20 December 2020).
  26. 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]
  27. Shaw, P. Using constraint programming and local search methods to solve vehicle routing problems. In Principles and Practice of Constraint Programming—CP98: 4th International Conference, CP98 Pisa, Italy, October 26–30, 1998 Proceedings 4; Springer: Berlin/Heidelberg, Germany, 1998; pp. 417–431. [Google Scholar]
  28. Wouda, N.A.; Lan, L. ALNS: A Python implementation of the adaptive large neighbourhood search metaheuristic. J. Open Source Softw. 2023, 8, 5028. [Google Scholar] [CrossRef]
  29. Gutin, G.; Yeo, A.; Zverovich, A. Traveling salesman should not be greedy: Domination analysis of greedy-type heuristics for the TSP. Discret. Appl. Math. 2002, 117, 81–86. [Google Scholar] [CrossRef]
  30. Christiaens, J.; Berghe, G.V. Slack induction by string removals for vehicle routing problems. Transp. Sci. 2020, 54, 417–433. [Google Scholar] [CrossRef]
  31. Santini, A.; Ropke, S.; Hvattum, L.M. A comparison of acceptance criteria for the adaptive large neighbourhood search metaheuristic. J. Heuristics 2018, 24, 783–815. [Google Scholar] [CrossRef]
  32. Solomon, M.M. Algorithms for the Vehicle Routing and Scheduling Problems with Time Window Constraints. Oper. Res. 1987, 35, 254–265. [Google Scholar] [CrossRef]
  33. A Parallel Hybrid Evolutionary Metaheuristic for the Vehicle Routing Problem with Time Windows. Available online: https://www.semanticscholar.org/paper/A-Parallel-Hybrid-Evolutionary-Metaheuristic-for-Gehring/e41b80d075429403f569980d278f6d4f91da2594 (accessed on 20 December 2020).
Figure 1. Boundaries for customer assignment to sdls within distance limit (ρ).
Figure 1. Boundaries for customer assignment to sdls within distance limit (ρ).
Logistics 07 00072 g001
Figure 2. Graphical representation of solution (S).
Figure 2. Graphical representation of solution (S).
Logistics 07 00072 g002
Figure 3. The ALNS framework for CVRPDO with six destroy operators and two repair operators.
Figure 3. The ALNS framework for CVRPDO with six destroy operators and two repair operators.
Logistics 07 00072 g003
Figure 4. Incorrect solution representation and their corrections.
Figure 4. Incorrect solution representation and their corrections.
Logistics 07 00072 g004
Figure 5. NN greedy for initial solution (a): the graphical representation of the solution and (b): steps for building solutions.
Figure 5. NN greedy for initial solution (a): the graphical representation of the solution and (b): steps for building solutions.
Logistics 07 00072 g005
Figure 6. Adjacent string removals example. (a) selection of two adjacent strings; (b) destroyed solution; (c) improved solution.
Figure 6. Adjacent string removals example. (a) selection of two adjacent strings; (b) destroyed solution; (c) improved solution.
Logistics 07 00072 g006
Figure 7. Example of ten customers and two SDL instances solved by: (a) ALNS and (b) MIP methods.
Figure 7. Example of ten customers and two SDL instances solved by: (a) ALNS and (b) MIP methods.
Logistics 07 00072 g007
Table 1. Classification of reviewed papers.
Table 1. Classification of reviewed papers.
PapersProblem VariantsSolution ApproachInstance SizeAvg. Runtimes (Sec.)Parcel Size
Doerner et al. [13]VRPMTWBranch and Cut and Price503600🗴
Favaretto et al. [14]VRPMTWAnt Colony71250🗸
Belhaiza et al. [15]VRPMTWHybrid Variable Neighborhood Tabu Search20090🗸
G. Ghiani et al. [17]VRPRDLVariable Neighborhood Search120-----🗸
Ozbaygin et al. [18]VRPRDLBranch and Price 120720,000🗴
Ozbaygin et al. [19]VRPRDLBranch and Price 6068🗸
Baldacci et al. [20]VRPTFConstructive heuristic
Lagrangian heuristic
150229🗸
Alcaraz et al. [21]VRPDOMixed Integer Programming201800🗴
Dumez et al. [10]VRPDOLarge Neighborhood Search4002000🗴
Mancini et al. [2]VRPDOLarge Neighborhood Search
Iterated Local Search
75283
772
🗴
Saker et al. [3]VRPDOMixed Integer Programing753600🗸
This paperVRPDOAdaptive Large Neighborhood Search1000120🗸
Table 2. Mathematical model notation.
Table 2. Mathematical model notation.
Sets:
ISet of all customers
FSet of all shared delivery locations
NSet of all customers and shared locations
N0Set of the depot, customers, and shared locations
Parameters:
CijThe travel cost from node i to node j
dijThe travel distance from node i to node j
γ Fixed cost for utilized vehicle
δ Compensation to shared location customer
BfShared location capacity
QVehicle Capacity
CdiThe customer demand
Decision Variables
X i j :binary variable indicating whether j is visited directly after node i
Y i f : binary variable indicating whether i is delivered to SDL f
Z f : binary variable indicating whether SDL f is visited
u i : non-negative variable tracking the total load of a vehicle when it arrives at node i N
Table 3. MIP model formulation.
Table 3. MIP model formulation.
Min i N 0 j N 0 c i j X i j + δ i I f F c i f Y i f + γ n N X 0 n (1)
i N 0 X i j + f V ( j ) Y j f = 1 j I (2)
i N 0 X i j = i N 0 X j i j N 0 (3)
Z f 1 | I | i I Y i f f F (4)
i N 0 X i f = Z f f F (5)
i I Y i f B f f F (6)
Y i f = 0           i I               f F : f V i (7)
C d f = i I Y i f C d i f F (8)
  if   x i j = 1 u i + C d j = u j i , j N : i j (9)
C d i u i Q i I (10)
Table 4. Hill Climbing Pseudocode.
Table 4. Hill Climbing Pseudocode.
Logistics 07 00072 i001
Table 5. Record-to-Record Pseudocode.
Table 5. Record-to-Record Pseudocode.
Logistics 07 00072 i002
Table 6. Details of shared delivery location number and capacity and the capacity of the vehicles for each instance size.
Table 6. Details of shared delivery location number and capacity and the capacity of the vehicles for each instance size.
Number of CustomersNumber of SDLsSDL Capacity (Bf)Vehicle Capacity (Qv)Vehicle Cost (γ)Distance limit (ρ)
1000253015005070
800252513004070
600252010003070
40016205002070
20016103001530
1001082001020
50581501020
Table 7. Comparison of the ALNS and MIP solution approaches applied to 8, 10, and 12 customers.
Table 7. Comparison of the ALNS and MIP solution approaches applied to 8, 10, and 12 customers.
Number of CustomersRadar Chart of 20 IterationsALNS RuntimesMIP RuntimesObjective Function Values
8Logistics 07 00072 i00310−5 s0.4 s429
10Logistics 07 00072 i0040.02 s0.7 s490
12Logistics 07 00072 i0050.9 s14 s578
Table 8. Comparative analysis of various destroy and repair combinations for ALNS solution approaches.
Table 8. Comparative analysis of various destroy and repair combinations for ALNS solution approaches.
InstanceData Size1D1R1D2R2D1R2D2R3D1R3D2R4D1R4D2R5D1R5D2R
r50_5_150205179193177177177184187180177
r50_5_250209185204182201184184199184184
r50_5_350190188188190190188188188190188
C1011002514251324972498251824942501247724642403
RC1_22007284709372687070728070207322714871166842
RC_660023,85822,17023,73222,06622,77921,22121,84721,12121,10420,436
R1_880037,78337,97136,14836,08736,11736,02837,07136,29936,26934,759
R2_880037,72036,78638,64338,13136,68436,57236,55135,83236,04735,131
C1_10100044,85646,46141,71843,42944,02941,36944,13044,81041,71141,131
C2_10100042,55141,08642,45042,08543,45440,55340,88340,59340,90640,114
Table 9. Comparison of the MIP and ALNS solution approaches applied to 1000 customer instances. For MIP, the found solutions after five hours of runtime were reported. For ALNS, the found solutions after (2, 5, 10 min) and the percentage gap to the best solution found by MIP at these runtimes were reported.
Table 9. Comparison of the MIP and ALNS solution approaches applied to 1000 customer instances. For MIP, the found solutions after five hours of runtime were reported. For ALNS, the found solutions after (2, 5, 10 min) and the percentage gap to the best solution found by MIP at these runtimes were reported.
InstanceMIP (5 h)ALNS (1 min)ALNS (2 min)ALNS (5 min)ALNS (10 min)
SolBKB * GapSolBKS ** GapSolBKS GapSolBKS GapSolBKS Gap
C1_1037,81172%39,2684%37,7510%36,287−4%35,624−6%
C2_1039,75354%41,4834%38,968−2%36,912−7%35,648−10%
R1_1054,37047%47,738−12%47,017−14%45,731−16%44,526−18%
R2_1052,41345%48,730−7%47,272−10%45,443−13%44,340−15%
RC1_1053,40057%45,671−14%44,642−16%43,020−19%42,127−21%
Avg.47,54955%44,578−5%43,130−8%41,478−12%40,453−14%
BKB * best known bound obtained by the 3-h run of the MIP; BKS ** best known solutions obtained by the 3-h run of the MIP.
Table 10. Comparative analysis of MIP and ALNS solution approaches on 1000 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
Table 10. Comparative analysis of MIP and ALNS solution approaches on 1000 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
InstanceMIP
3 h
ALNS
30 s
ALNS
60 s
ALNS
90 s
ALNS
120 s
SolBKB GapSolBKS GapSolBKS GapSolBKS GapSolBKS Gap
C1_1048,05878%41,131−14%39,268−18%38,366−20%37,751−21%
C2_1047,72862%43,114−10%41,483−13%40,036−16%38,968−18%
R1_1069,59759%49,655−29%47,738−31%47,321−32%47,017−32%
R2_1069,01059%50,866−26%48,730−29%47,981−31%47,272−32%
RC1_1055,88259%47,048−16%45,671−18%44,702−20%44,642−20%
Avg.58,05563%46,363−19%44,578−22%43,681−24%43,130−25%
Table 11. Comparative analysis of MIP and ALNS solution approaches on 800 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
Table 11. Comparative analysis of MIP and ALNS solution approaches on 800 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
InstanceMIP
3 h
ALNS
30 s
ALNS
60 s
ALNS
90 s
ALNS
120 s
SolBKB GapSolBKS GapSolBKS GapSolBKS GapSolBKS Gap
C1_843,48981%27,893−36%27,279−37%26,891−38%26,646−39%
C2_840,02263%30,549−24%29,330−27%28,770−28%28,422−29%
R1_849,10559%35,861−27%34,752−29%33,983−31%33,490−32%
R2_843,72554%35,131−20%34,763−20%34,042−22%33,722−23%
RC1_845,58564%35,623−22%34,639−24%34,139−25%33,807−26%
Avg.44,38564%33,012−26%32,153−28%31,565−29%31,217−30%
Table 12. Comparative analysis of MIP and ALNS solution approaches on 600 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
Table 12. Comparative analysis of MIP and ALNS solution approaches on 600 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
InstanceMIP
3 h
ALNS
30 s
ALNS
60 s
ALNS
90 s
ALNS
120 s
SolBKB GapSolBKS GapSolBKS GapSolBKS GapSolBKS Gap
C1_617,70664%18,8627%18,4524%18,1402%17,8841%
C2_621,19046%21,4911%20,709−2%19,935−6%19,663−7%
R1_622,78043%21,458−6%21,072−7%20,873−8%20,729−9%
R2_623,28644%21,733−7%21,209−9%21,003−10%20,796−11%
RC1_620,97849%20,325−3%19,871−5%19,618−6%19,392−8%
Avg.13,44149%20,774−2%20,263−4%19,914−6%19,693−7%
Table 13. Comparative analysis of MIP and ALNS solution approaches on 400 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
Table 13. Comparative analysis of MIP and ALNS solution approaches on 400 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
InstanceMIP
3 h
ALNS
30 s
ALNS
60 s
ALNS
90 s
ALNS
120 s
SolBKB GapSolBKS GapSolBKS GapSolBKS GapSolBKS Gap
C1_412,51869%12,6621%12,5180%12,283−2%12,133−3%
C2_412,52351%12,6971%12,343−1%12,252−2%12,218−2%
R1_414,41445%14,4240%13,877−4%13,579−6%13,524−6%
R2_414,49049%14,6381%14,105−3%13,985−3%13,916−4%
RC1_414,03455%13,811−2%13,501−4%13,211−6%13,026−7%
Avg.13,59654%13,6460%13,269−2%13,062−4%12,963−5%
Table 14. Comparative analysis of MIP and ALNS solution approaches on 200 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
Table 14. Comparative analysis of MIP and ALNS solution approaches on 200 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
InstanceMIP
3 h
ALNS
30 s

60 s
ALNS
90 s
ALNS
120 s
SolBKB GapSolBKS GapSolBKS GapSolBKS GapSolBKS Gap
C1_2675770%68341%6679−1%6555−3%6489−4%
C2_2699857%6734−4%6667−5%6626−5%6583−6%
R1_2773555%7054−9%6973−10%6944−10%6917−11%
R2_2736852%7112−3%6962−6%6911−6%6887−7%
RC1_2672555%67791%6617−2%6593−2%6567−2%
Avg.711756%6903−3%6780−5%6726−5%6689−6%
Table 15. Comparative analysis of MIP and ALNS solution approaches on 100 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
Table 15. Comparative analysis of MIP and ALNS solution approaches on 100 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
InstanceMIP
3 h
ALNS
30 s
ALNS
60 s
ALNS
90 s
ALNS
120 s
SolBKB GapSolBKS GapSolBKS GapSolBKS GapSolBKS Gap
C101239063%24031%24031%23890%23890%
C201261555%27204%27174%26371%26361%
R101227437%22840%22840%2245−1%2183−4%
R201219237%2173−1%2165−1%2165−1%2106−4%
Rc101290453%30545%30455%29070%29070%
Avg.247549%25272%25232%24690%2444−1%
Table 16. Comparative analysis of MIP and ALNS solution approaches on 50 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
Table 16. Comparative analysis of MIP and ALNS solution approaches on 50 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 3 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
InstanceMIP
3 h
ALNS
30 s
ALNS
60 s
ALNS
90 s
ALNS
120 s
SolBKB GapSolBKS GapSolBKS GapSolBKS GapSolBKS Gap
r50_5_116828%1775%1775%1775%1775%
r50_5_213930%18533%18432%18432%18432%
r50_5_315031%18825%18825%18825%18825%
r50_5_419634%194−1%184−6%184−6%183−7%
r50_5_518433%1851%1851%174−5%174−5%
Avg.16731%18613%18412%18110%18110%
Table 17. Comparative analysis of MIP and ALNS solution approaches on 50 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 0.5 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
Table 17. Comparative analysis of MIP and ALNS solution approaches on 50 customer instances: solution outputs and percentage gap relative to MIP’s solutions (after 0.5 h of runtime) at ALNS runtimes of 30, 60, 90, and 120 s.
InstanceMIP
0.5 h
ALNS
30 s
ALNS
60 s
ALNS
90 s
ALNS
120 s
SolBKB GapSolBKS GapSolBKS GapSolBKS GapSolBKS Gap
r50_5_118029%177−2%177−2%177−2%177−2%
r50_5_218531%1850%184−1%184−1%184−1%
r50_5_318834%1880%1880%1880%1880%
r50_5_418736%1944%184−2%184−2%183−2%
r50_5_519737%185−6%185−6%174−12%174−12%
Avg.18733%186−1%184−2%181−3%181−3%
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

Saker, A.; Eltawil, A.; Ali, I. Adaptive Large Neighborhood Search Metaheuristic for the Capacitated Vehicle Routing Problem with Parcel Lockers. Logistics 2023, 7, 72. https://doi.org/10.3390/logistics7040072

AMA Style

Saker A, Eltawil A, Ali I. Adaptive Large Neighborhood Search Metaheuristic for the Capacitated Vehicle Routing Problem with Parcel Lockers. Logistics. 2023; 7(4):72. https://doi.org/10.3390/logistics7040072

Chicago/Turabian Style

Saker, Amira, Amr Eltawil, and Islam Ali. 2023. "Adaptive Large Neighborhood Search Metaheuristic for the Capacitated Vehicle Routing Problem with Parcel Lockers" Logistics 7, no. 4: 72. https://doi.org/10.3390/logistics7040072

Article Metrics

Back to TopTop