You are currently viewing a new version of our website. To view the old version click .
Mathematics
  • Article
  • Open Access

30 August 2023

A Variable Neighborhood Search Method with a Tabu List and Local Search for Optimizing Routing in Trucks in Maritime Ports

,
and
Faculty of Electrical Engineering and Computing, University of Zagreb, 10000 Zagreb, Croatia
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Advances in Genetic Programming and Soft Computing

Abstract

Logistics problems represent an important class of real-world problems where even small improvements in solution quality can lead to significant decreases in operational costs. However, these problems are usually NP-hard; thus, they are mostly solved using metaheuristic methods. To improve their performance, there is substantial research on crafting new and refined metaheuristics to derive superior solutions. This paper considers a truck routing problem within a naval port, where the objective is to minimize the total distance traveled by all the vehicles to distribute a given set of containers. Due to the large volume of goods that are being transferred through ports, it is imperative to improve the operation times at such ports to improve the throughput. To achieve this goal, a novel variable neighborhood search method that integrates a tabu list, an iterative local search procedure, and parallelization of neighborhood generation is proposed and evaluated. The experimental results demonstrate that the proposed method achieves similar results to the state of the art, but in a smaller amount of time.

1. Introduction

The vehicle routing problem is an interesting and well-studied research topic due to its growing impact on real-world industrial processes [1]. Well-planned vehicle routes can significantly reduce overall costs and resource requirements in the transportation sector. Simple optimization objectives, such as minimizing transportation distances or reducing fuel consumption by taking faster routes, can make a significant difference and result in highly efficient systems. However, since these objectives are often not sufficient, more advanced methods incorporate additional constraints. Some of these include balancing the workload among vehicles [2], coordinating adjacent shifts [3], avoiding traffic congestion [4], and dynamically updating vehicle routes [5]. The optimization objectives depend on the specific problem and customer requirements, and there are numerous different objectives that often need to be balanced [6]. Furthermore, in such problems, we are often faced with different kinds of uncertainties that also need to be taken into account, and develop approaches that can work with them need to be developed [7]. In addition to substantial financial benefits, effective route and shift planning can improve driver safety and job satisfaction, reducing the number of vehicles and minimizing the environmental impact. Therefore, companies whose business operations involve the transportation of goods have great interest in this topic to leverage the benefits of optimization.
A concrete example is the Ningbo port on the coast of the East China Sea, which holds the status of the world’s largest port in terms of cargo throughput. In 2021, the port handled 1.224 billion tons of cargo (https://www.nbport.com.cn/gfww/, accessed on 13 July 2023). This figure represents a significant logistical challenge as such a large volume of cargo requires excellent organization and transportation planning. In addition to route planning, it is necessary to coordinate all related processes, such as vehicle preparation and maintenance, traffic updates, and vehicle location monitoring. At the same time, there is a great opportunity for cost savings as even small improvements in the system can lead to significant cost reductions overall. In such cases, it is crucial to minimize the resources consumed in transporting goods.
All of the above calls for the development of a system aimed at optimizing vehicle routing. The described problem is a well-known vehicle routing problem (VRP) that has been studied for over 60 years since it was first mentioned by Dantzig and Ramser [8]. Over the years, VRP has been successfully integrated with other technologies to develop so-called “smart cities” and “smart ports” (https://commission.europa.eu/eu-regional-and-urban-development/topics/cities-and-urban-development/city-initiatives/smart-cities_en, 13 July 2023). The idea behind such projects is to develop highly efficient systems that seek to optimize, among other things, the transportation of people and goods to increase the satisfaction and safety of citizens or employees. These systems utilize various technologies to collect as much data as possible, including GPS, radar and sensor technology, 5G networks, and Internet of Things (IoT)-connected technologies. Subsequently, through the analysis of big data, these data are transformed into valuable information used to assess transportation needs. A good vehicle routing algorithm forms the core of such a system and is essential for a successful end product. In this regard, there are different variants of VRP, depending on the specific constraints that the algorithm must consider, such as time windows (VRPTWs) [9], time-dependent travel duration (TDVRP) [10], pickup and deliveries (VRPPDs) [11], fleets with electric vehicles [12,13], and many others [14,15,16].
In the particular case of the Ningbo port, we are dealing with the open periodic vehicle routing problem with time windows (OPVRPTWs). The network of each maritime port consists of several surrounding nodes (cities) between which container transportation is required. This transportation from the origin location to the destination is constructed as a single task that has a start and end time within which the goods need to be transported (thus, the problem includes time windows). Furthermore, since the transportation tasks are specified across several periods (shifts) and in some shifts the vehicle does not need to return to the depot, it is an open and periodic problem. These additional properties introduce additional constraints that need to be considered when constructing a solution.
In order to deal with the previously described problem, we propose a novel variable neighborhood search (VNS) algorithm that uses several neighborhood structures from the literature and applies them in several layers during the execution, depending on whether the algorithm is focused on exploitation or exploration. Additionally, we introduce a tabu list into the algorithm to help the algorithm avoid areas of the search space that it already visited. Furthermore, to gain additional performance improvements, the neighborhood search is parallelized. We denote the resulting algorithm as VNTS and evaluate its performance on a set of real-world and artificially generated instances for OPVRPTWs based on the real-world logistics problem from the Ningbo port. Certain algorithm design choices are evaluated and the algorithm is compared to the state-of-the-art results from the literature. The experimental study demonstrates that the proposed algorithm achieves slightly better results than an existing algorithm from the literature, but in a significantly smaller amount of time.
The rest of the paper is organized as follows. The next section provides a short overview of the literature dealing with VRS, specifically with OPVRPTWs. Section 3 provides the description of the problem under consideration. Section 4 describes the proposed method used to solve the routing problem. The experimental setup is described in Section 5, whereas the results of the executed experiments are summarized in Section 6. Finally, Section 7 concludes the paper and outlines possible future research directions.

2. Literature Review

VRP is of great interest due to the significant advantages it offers through the implementation of an effective system. The opportunity for resource savings attracts many researchers and industry leaders to explore and improve existing methods. This leads to a large number of research studies in this field, each taking different approaches due to the various variants of the problem and the different optimization objectives and constraints involved [6,17]. Since finding the optimal solution for the most challenging instances of this problem is extremely difficult (if not impossible) within a reasonable time frame, the challenge lies in evaluating what constitutes “good” solutions. However, the term “good” can have subjective meanings, especially in this context. Therefore, it is important to compare different approaches and understand the strengths and weaknesses of each. There is no universal approach that can solve all such problems in the best possible way (as stated in the “No Free Lunch” theorem).
The nature of the problem itself excludes an exact approach due to the large search space. Even in small instances, existing deterministic methods cannot provide high-quality solutions within a reasonable time [18]. Each day requires the transportation of hundreds of containers, with their time windows spanning across several possible shifts [19]. An exact, deterministic approach is only feasible for smaller problems or comparison purposes when time is not a crucial factor [20,21]. The reality is that such cases are in the minority, making it necessary to find more advanced approaches capable of solving real-world complex problems.
Therefore, evolutionary approaches have received significant attention throughout history as they can relatively successfully find “good enough” solutions within a reasonable time frame. However, these approaches also have limitations, particularly for very large instances, but their inefficiency is often highlighted as a significant drawback [22]. Poorly implemented evolutionary algorithms can be highly inefficient if the search is not directed effectively, resulting in suboptimal solutions, despite having ample time available. If time is critical in problem-solving, we need an approach that can search the space of possible solutions relatively quickly and efficiently.
It has been shown that population-based approaches are not the most efficient for solving problems with a large search space since adding complexity (the number of solutions in one generation) to the system significantly slows down the algorithm [18]. On the other hand, if time is not a crucial factor, slower but ultimately better solutions are more interesting. In this regard, population-based approaches can still be a good option depending on the complexity of the problem and the implementation. For example, refs [23,24] successfully implement genetic algorithms for solving simpler problems, while the authors of [25,26] implement ant colony algorithms for solving VRP. These algorithms are relatively effective in this context as they address smaller-scale problems that are less common in today’s world.
As for the initialization of the initial solution, there is a well-known technique called “insertion” that was introduced by Clarke and Wright [27]. Over the years, other initialization techniques have been developed that are faster and simpler. It has been shown that a good initial solution does not necessarily result in a better final solution, so researchers often opt for the simplest and fastest initialization option to reduce the algorithm’s complexity [18]. Efficiently initializing a good solution is, therefore, the foundation of a good system that can quickly find a “good enough” solution for the given problem. In addition, complexity is of utmost importance because there is constantly updated real-time information about the location of vehicles, and these systems often have graphical interfaces through which vehicles and routes are observed, requiring fast execution. Additionally, there may be a need to gradually update routes based on various situations, such as traffic congestion, road works, obstacles, etc. In [28], the authors discuss the impact of complex constraints on the complexity of initialization for the general VRP case and propose an efficient insertion heuristic with a complexity of O ( n 3 ) and, in some rare cases, O ( n 3 l o g n ) . This is a significant improvement compared to the usual approach with a complexity of O ( n 4 ) . Reducing complexity offers exactly what was described earlier: efficient initialization and the possibility of iterative improvement using an evolutionary approach and/or local search if necessary.
Because of the previous reasons, recent research has dominantly applied various kinds of local search and variable neighborhood methods to solve various VRPs [18,29,30]. This is also the case with the OPVRPTW problem considered in this paper. The problem of routing trucks in a maritime port based on the example of the Ningbo port was first considered in [19]. The authors provide a formal definition of the newly proposed problem and also design a two-stage algorithm in order to solve the proposed problem. In the first stage, a simple initial solution method is used to construct the initial solution, which is then improved with a VNS algorithm in the second phase. The results demonstrate that the proposed algorithm achieved a performance improvement of 5–10% when compared to the results in practice, thus demonstrating the benefit of applying such approaches.
Within the scope of [31], the neighborhood is examined, and path weights are updated as a measure of goodness to find better solutions to the traveling salesman problem in combination with a genetic algorithm. The neighborhood refers to solutions that can be obtained by making certain changes to the current solution. In the context of vehicle routing, these changes often involve destroying a certain number of routes and inserting the corresponding tasks at different locations within the solution. Additionally, smaller changes are possible, such as altering the order of tasks within a route or changing the location of a task to a different route. In [32], an adaptive variable neighborhood search technique is used, and a set of solution destruction and repair operators that have proven successful are proposed to create the neighborhood. The obtained results demonstrate that the proposed algorithm can further improve the best solutions obtained for the problem. A bi-objective variant of the problem is investigated in [33], in which the total travel distance and driver payment criteria are minimized. The authors propose the application of a hyper-heuristic approach to solve this problem variant, in which five heuristics with different levels of perturbations are used. The results outline that the algorithm is able to obtain Pareto fronts of good final quality, better than other state-of-the-art algorithms when tested on this problem. In [18], a common variable neighborhood search technique is employed along with a more advanced search routing system. The algorithm examines neighboring states (solutions) and updates certain parameters based on them to guide further searches. If the neighboring states are promising, it indicates that the current solution is in a high-quality search space and that the algorithm continues searching in the same direction. However, if the neighboring states around the current one are of low quality, the search direction is changed to explore a sub-space of better quality. This approach has shown promise, although the large number of parameters requires careful tuning.
The existence of a large number of completely different algorithms that can relatively successfully solve variants of similar problems further confirms that there is no universal approach that efficiently solves all of these problems. However, numerous research studies and advancements in the field have led to more robust approaches that, through data analysis (e.g., the network for distributing goods, frequency of container transfers on specific routes, weather forecasts, road conditions, etc.), can gain valuable insights into the problem and adapt the approach and specific parameters to better fit the given problem. This increases the efficiency of the algorithm and ultimately leads to better final solutions.

3. Open Periodic Vehicle Routing Problem with Time Windows

3.1. Problem Description

The problem under consideration can be classified as an open periodic vehicle routing problem with time windows (OPVRPTWs) that is modeled based on a practical problem from the real world encountered at the Ningbo port, one of the largest ports in China [19].
In the considered problem, a certain number of containers needs to be transported between cities within the network. Each container i has a time window [ a i , b i ] associated with it, which defines the earliest time from which the container can be picked up from the source destination ( a i ) and the latest that the container has to be delivered to the destination ( b i ). The vehicle fleet owned by Ningbo port consists of 100 identical vehicles [19] that can transport only one container at a time. Adhering to local labor laws, shifts for task execution are divided into two shift types, day and night shifts, each lasting 12 h. Therefore, the first shift of the day starts at 08:00 a.m., and the second shift starts at 08:00 p.m. The shifts are indexed in chronological order, with odd indices representing day shifts and even indices representing night shifts. The analysis of task deadlines has shown that the majority of these deadlines fall within day shifts. However, most tasks have a wide range of possible shifts, so it is possible to distribute tasks equally between day and night shifts. During these shifts, drivers carry out tasks by transporting containers from one city to another. It is important to note that vehicles do not return to the central warehouse at the end of the day shift; they only do so at the end of the night shift. Therefore, the idea when creating the route for the day shift is to construct a path that takes into account the next shift and ends at the node (city) where the next shift begins, thus making these two shift types a kind of unity. This reduces the proportion of so-called empty trips, during which vehicles do not carry cargo but only travel to the location that represents the source of the next task. Such parts of the route represent a significant cost since no work is performed within them; the driver only prepares the vehicle for the next task.
Since the total distance of cargo transportation is fixed (determined by the predefined tasks), the main goal of the problem is to minimize the proportion of empty trips. This is used as an indicator of solution quality and can be abbreviated as the LDR (loaded distance rate), which is a commonly used measure in the logistics sector. If the cargo transportation distance is expressed by the measured LD (loaded distance) and the distance of empty trips is expressed by the measured UD (unloaded distance), LDR can be calculated as follows:
L D R = L D L D + U D .
Since this metric measures the proportion of the distance traveled with the load in the total traveled distance, it needs to be maximized. When presenting the results and comparing different methods, the LDR metric will be used to assess the quality of the results.
Therefore, individual tasks have time windows within which they must be completed, and vehicles must return to the warehouse at the end of every second shift. This means that this is an open problem of vehicle routing with time windows (OPVRPTWs). The described problem differs from the classical VRP because goods are transported between all nodes, not just from a central warehouse to other nodes. The problem has elements of pickup and delivery vehicle routing (VRP with PD), but it differs in that the vehicle’s capacity is only one container, and the vehicle can perform only one job at a time. (The vehicle never transports goods to two different destinations at the same time.) The analysis of specific problem instances has shown that the frequency of routes between all nodes is equal, which means that all nodes are equally important (except for vehicle storage, where the central warehouse is the only option). However, special attention should be paid to the node that connects the day shift with the night shift. As mentioned, in the ideal situation, the destination of the last task of the day shift is the same as the source of the first task of the night shift. This outcome is desirable because the shift change does not involve an empty trip, but it may not always be possible to achieve. In cases where such vehicle routing is not possible, the following approach is taken. If the driver of the day shift has time during their working hours to prepare the vehicle for the first task of the night shift, they will drive an empty vehicle from the destination of their last task to that node. If the driver cannot do this before the end of their working hours, they will leave the vehicle at the destination of their last completed task. The driver of the night shift will then have to perform an empty trip as the first part of their route to reach the source of their first task.
Figure 1 shows an example of created routes for three vehicles in two shifts. Each color represents a route performed by one vehicle. At the beginning of the day shift, the vehicle starts from the warehouse (located at the center) and performs tasks. When it is time for the shift change, the vehicle is taken over by the driver responsible for the night shift and continues with the tasks. At the end of their shift, the driver must return the vehicle to the warehouse. Let us consider the quality of each route. If we know that solid lines represent parts of routes where tasks are performed, and dashed lines represent empty trips during which vehicles do not perform any work, it is evident that the black route is the most efficient as it has no empty trips. On the other hand, the red route is not of good quality as it has a significant proportion of empty trips. Furthermore, as we can see, each node can be visited several times by vehicles, which is determined by the number of tasks that have that node as a source or destination.
Figure 1. Example of several vehicle routes.
Because vehicles return to the warehouse at the end of every second shift, the algorithm searches for routes rather than cycles, as in the case of the classical VRP. However, this problem is not the same as the school bus routing problem, where the day and night routes are identical. In fact, the two routes of a single vehicle belonging to the day shift and the next night shift do not have to be identical and usually will not be. Furthermore, in many VRP cases, the loading and unloading times of goods can be ignored since they are relatively short compared to the transportation time of goods. However, here it is not the case. The loading and unloading times of goods are significant and must be taken into account in the time calculations. The cities are relatively close, and the transportation time of goods is not significantly longer than the loading and unloading times.

3.2. Problem Definition

Table 1 presents the notations used to define the mathematical model, which was defined in [18,33]. The purpose of this definition is to clearly indicate all constraints and the optimization objective.
Table 1. List of symbols used for the definition of the mathematical model of the problem.
The number of vehicles K represents the size of a homogeneous fleet of vehicles available in each shift. Each individual vehicle can transport a maximum of one container at a time. Containers are transported between nodes N, and for each node, the loading and unloading times for one container are known. The days within the horizon of a specific instance are denoted as D and indexed sequentially starting from one. Each day has a day shift ( S d a y ) and/or a night shift ( S n i g h t ), depending on the exact horizon boundary, i.e., whether the respective shift falls within the horizon where tasks T need to be performed. However, the boundary days may not have both shifts if they do not belong to the horizon where tasks need to be performed. Each shift has its start and end time, which is equal to the start and end time of the driver’s work shift assigned to that shift. Each task has a source and destination city and the earliest possible start time a i and latest time b i for starting the task.
It is important to note that if a vehicle arrives at the task’s source node before its time window, it must wait until a i . Tasks that involve multiple containers are divided into multiple smaller tasks so that each individual task only requires the transportation of one container. This simplification facilitates the problem formulation and improves the efficiency of the proposed algorithm by making task allocation easier. Furthermore, the task execution time l i includes loading at the source, transportation to the destination, and unloading at the destination. The travel time and distance between two nodes are represented by t i j and d i j , respectively. For the purpose of defining constraints, the start time of task i is denoted by B i . The travel time is expressed in minutes, which is important for calculating the feasibility of solutions, while travel distances are expressed in kilometers. However, the unit of distance can be ignored because the evaluation of the solution quality is based on the proportion of the transportation distance to the total sum of vehicle routes (transportation and empty trips). Finally, the binary decision variable x i j s indicates whether a specific task with origin i and destination j is performed in shift s. These notations are also used in [18], with minor modifications.
Using the notation introduced above, we can now define the mathematical optimization problem that needs to be solved:
m i n i m i z e F ( x ) = s S i T j T d i j · x i j s
subject to:
s S i T x i j s = 1 , j T
s S j T x i j s = 1 , i T
a i B i b i l i i T
x i j s S s x i j s T i i T , j T , s S
x i j s ( B i + l i ) x i j s E s i T , j T , s S
x i j s { 0 , 1 } i T , j T , s S
j N x 0 j s = K , s S d a y
i N x i 0 s = K , s S n i g h t
The objective function denoted as 1 signifies that the goal is to minimize the total route distance of all vehicles. Since the distance of cargo transportation is fixed and determined by the specific tasks that constitute the instance, the objective is to minimize the proportion of empty trips, in other words, to maximize the LDR while respecting all given constraints. Constraints 2 and 3 indicate that each task is performed exactly once and that all tasks are completed. Constraint 4 ensures that work on each task starts within its time window. Constraints 5 and 6 specify that the work of a single vehicle is performed within the time window of one shift. This is done by using x i j s to filter the corresponding starting or ending time of the shift to which the task is associated, and checking whether the starting and completion times of the task are within them. Constraint 7 states that the decision variable is binary, meaning it can only take values of one or zero. Again, in this OVRP, vehicles return to the warehouse at the end of every second shift. This is ensured by defining constraints 8 (for the day shift) and 9 (for the night shift). Additionally, these constraints ensure compliance with the constraints on the maximum number of vehicles in a shift.
The conclusion from the analysis and formal problem definition is that this is a nonlinear constrained problem with a vast search space. The size of the search space is determined by the length of the horizon ( | S | ) , the number of vehicles ( K ) , and the number of tasks ( | T | ) . Since the total number of possible routes in the solution is equal to | S | K , and the number of task permutations is | T | ! , the size of the search space is | S | K | T | ! [18]. Therefore, it is logical to conclude that a high-quality algorithm is necessary to find a relatively good solution by effectively navigating the search space.

5. Experimental Setup

This section provides a brief description of the experimental setup used to validate the proposed algorithm. First, the problem instances on which the algorithm is tested are described, after which, the values of algorithm parameters and additional benchmark settings are described. The algorithm was written using the C++ programming language and the OpenMP framework to facilitate the parallelization of the generation of the neighborhood. The experiments were executed on a system with an Intel i5-8250 processor with four cores at 1.6 GHz and 8 GB of RAM memory. When using parallelization, the algorithm was executed with four threads. To test whether the differences in the results obtained by the tested methods are significant or not, the t-test was used with a critical value of 0.05.

5.1. Problem Instances

The available instances used to analyze the algorithm’s performance are divided into “real world” and “artificially generated” instances [32]. Each of these groups has subgroups representing 25%, 50%, 75%, and 100% of the task quantity in the given instance, facilitating easier testing. In the analysis of the proposed approach, the focus will mainly be on full-sized instances to obtain more representative results. Additionally, each artificially generated instance has a specific configuration that describes the tasks it contains. Specifically, the tasks within an instance can be “loose” or “tight”, as well as “balanced” or “unbalanced”. More precisely, a task is considered loose if its time window is relatively wide (up to three days), meaning that it can be scheduled in multiple adjacent shifts. On the other hand, accommodating a tight task is more challenging due to its narrower time window. Such a task may only be scheduled in one shift, as the start and end times of its execution are only a few hours apart. Balance refers to the distribution of tasks throughout the horizon. Balanced instances consist of well-distributed tasks throughout the entire horizon, while unbalanced instances are more complex as their tasks are unevenly distributed. In unbalanced instances, there may be a high demand for vehicles in one shift, while in another shift, there may be little to no need for a large number of vehicles.
The initial letters of the English terms describing these characteristics, along with the number of shifts in the horizon, are used to name artificially generated instances, making it evident from the name what type of instance it is. It should be outlined that the number of shifts only outlines the total number of shifts that are considered in the problem, but each shift belongs either to a daily or nightly type, thus in all problems there are only two shift types. For example, an instance with loose and balanced tasks and a horizon of four shifts is named ‘LB4-1’. Table 4 contains a list of all “real world” instances with their characteristics, while Table 5 contains a list of all artificially generated instances. These instances were obtained from a website that provides several works related to the topic (https://sites.google.com/nottingham.ac.uk/port-management, accessed on 1 December 2022). The dataset is diverse and includes simpler instances with fewer tasks as well as highly complex instances with a large number of unbalanced tasks and narrow time windows. This dataset is therefore valuable as testing it can demonstrate the algorithm’s robustness.
Table 4. The list of instances from the Ningbo port.
Table 5. List of artificially generated instances from the Ningbo port.

5.2. Algorithm Parameter Values

The parameter values used in the experiments are outlined in Table 6. These values were determined through initial preliminary experiments, where for each parameter, certain values were tested and a few selected problem instances were solved to gain an overview of how the algorithm performs. The number of layers and neighbor parameters start with the minimum values and are then updated depending on whether intensification or diversification is performed. However, the values of those parameters are always kept within a specified range. Furthermore, the maximum execution time of the algorithm is set to 1 h per instance and each experiment is executed 20 times to determine the stability of the algorithm.
Table 6. Applied parameter values.

6. Results

This section outlines the results that were achieved by the proposed method. First, the influence of the initial solution generation and parallelization on the performance of the algorithm is investigated. Following that, we examine the performance of the algorithm and compare it to the state of the art. The results are compared using the LDR metric that needs to be maximized (since it denotes the ratio of the loaded trips in the sum of all trips).

6.1. Influence of Initial Solution Generation Procedure

In this subsection, we examine how different initial solution generation procedures influence the quality of solutions. Table 7 and Table 8 outline the average results of the three initialization procedures for real-world and artificially generated instances, respectively. The results outline that the RSIH method consistently achieves better results than the other two initialization methods on both dataset types. However, the differences are more prominent on the dataset containing the real-world instances. Since RSIH achieves the best results and is also the simplest out of the three considered initialization methods, it will be used in all subsequent experiments. These results also confirm what was previously outlined in the related works section, i.e., more complex and sophisticated initialization procedures do not necessarily lead to better results and, quite often, very simple initialization procedures are more than adequate.
Table 7. Average results of different types of initialization procedures on real-world instances.
Table 8. Average results of different types of initialization procedures on artificially generated instances.

6.2. Influence of Algorithm Parallelization

In this section, we analyze how the parallelization of the neighborhood generation process influences the performance of the algorithm given the same amount of time. Table 9 and Table 10 outline the comparison of the results between the parallel and sequential versions of the VNTS algorithms on a subset of real-world and artificially generated instances, respectively. The tables outline the best result achieved by any run (column ‘Best result’), the average of the results achieved across all executions (column ‘Average’), the standard deviation of the results (column ‘ σ ’), and the p-value obtained by comparing the solutions obtained by both algorithm versions (column ‘p-value’). As expected, the results demonstrate that with parallelization, the algorithm consistently achieves better performance by a few percentage points across all the tested problem instances. This is additionally backed up by statistical tests that show that in all cases the differences between the results are statistically significant, which implies that parallelization helps the algorithm to reach better solutions. This makes this kind of parallelization useful especially since it is easy to implement as each neighbor can be constructed and then evaluated independently.
Table 9. Comparison of the parallel and sequential VNTS algorithm on the subset of real-world instances.
Table 10. Comparison of the parallel and sequential VNTS algorithm on the subset of artificially generated instances (size 100%).
The convergence plot of the sequential and parallel algorithm version is outlined in Figure 2 for the NP8-2 problem instance, which was selected due to being one of the larger instances. The figure outlines how both versions of the algorithm start out from a similar solution quality, but the parallel version exhibits a much faster convergence rate. Naturally, this is expected as it can create and evaluate more solutions in the same amount of time in comparison to the serial version. However, it is also visible that there are almost no improvements in the solutions during the last 10 min, which is also the reason that 60 min is selected as the termination criterion.
Figure 2. Convergence plot of the sequential and parallel algorithm version on problem instance NP8-2.

6.3. Comparison with the State of the Art

In this section, we compare the proposed VNTS algorithm with a similar algorithm from the literature denoted as VNS-RLS [18], which integrates reinforcement learning with VNS. Table 11 outlines the results of the two algorithms achieved on the dataset consisting of real-world problem instances. The table outlines the best result achieved by any run (column ‘Best result’), the average of the results achieved across all the executions (column ‘Average’), the standard deviation of the results (column ‘ σ ’), the total execution time of methods in seconds (column ‘Time’), and the p-value obtained by comparing the solutions obtained by the two algorithms (column ‘p-value’). We see that for 7 out of 15 instances, the VNTS algorithm achieved better results (both in the best and average solutions), whereas in the remaining 8 problem instances, the VNS-RLS algorithm achieved better performance. The statistical tests outline that, in all cases, the results obtained by the two algorithms are significantly different. If we observe the total average results across all instances, we see that the proposed algorithm achieves slightly better results in both the best and average obtained solutions. This shows that the proposed algorithm is able to outperform VNS-RLS when all the sets are considered.
Table 11. Performance comparison between the VNTS and VNS-RLS algorithms for real-world problem instances (size 100%). The best results achieved for each instance are denoted in bold.
Table 12 outlines the results of the algorithm on the artificially generated instances. In this case, we see that the VNTS algorithm achieves better average values for 7 out of the 16 problem instances when average results are considered, whereas when the best results are considered, VNTS performs better in 9 out of the 16 considered cases. This shows that, on average, the VNS-RLS algorithm performs better, but the proposed VNTS algorithm seems to have a slightly higher chance of finding better solutions. Since both algorithms perform better in around 50% of instances, it is not possible to say that either one is better than the other. The statistical tests again demonstrate that for all except one instance (LU4-5), the results obtained by the two methods are significantly different.
Table 12. Performance comparison between the VNTS and VNS-RLS algorithms on the artificially generated problem instances (size 100%). The best results achieved for each instance are denoted in bold.
However, the main difference comes from the algorithm run times. Namely, the results for VNTS are for all experiments obtained in 3600 s since this time limit is used as the termination criterion. On the other hand, VNS-RLS is often given more than one day of execution time per instance, which demonstrates that it requires a significantly larger amount of time to obtain the outlined solutions. We can conclude that, with a simple algorithm structure that relies only on neighborhood search operators and iterated local search, it is possible to achieve competitive results.
The part in which the proposed VNTS algorithm is inferior is in the obtained standard deviation of the solution. In this regard, VNTS usually achieves slightly higher values, which outlines that the solutions it obtains are more distributed. This is especially true for the case of real-world instances, where the difference between the standard deviations is higher. However, it is quite likely that given more time, the algorithm would achieve better and more stable solutions, so it is possible that this measure could be further improved (especially given that it already takes considerably less time than the VNS-RLS method).

7. Conclusions

This study deals with the OPVRPTW that was inspired by a real-world transportation problem found in the Ningbo port. Due to the large volume of goods being transported through the port, it is important to design solution methods that can efficiently obtain good quality solutions for the considered problem. For that reason, we propose the VNTS algorithm to efficiently solve the considered problem. The algorithm searches through several neighborhood layers using various operators and integrates a tabu list to avoid searching over already-visited areas in the solution space. Furthermore, the algorithm uses a simple parallelization to further improve its performance.
The performance of the proposed VNTS algorithm was examined across a set of real-world and synthetic benchmark instances. The results show that the algorithm performs best when the initial solution is generated with a random initialization strategy and that using parallelization leads to a significant improvement of the results in the same amount of time. By comparing the results of VNTS with those of the existing VNS-RLS algorithm from the literature, which represents the current state of the art, we found that neither algorithm consistently outperforms the other, but rather that each of the algorithms performs better for half of the instances. This shows that no single method is superior across different problems. However, it should be noted that the proposed method obtains such results in one hour, which is considerably lower than the runtime of the VNS-RLS method, which was usually an order of magnitude larger.
In future work, we plan to extend the algorithm with more complex neighborhood operators, which could help to improve the exploitation of good solutions. Furthermore, the algorithm will be extended with concepts from similar methods, such as simulated annealing or path re-linking. We also intended to extend the considered problem to include additional constraints, such as using a fleet of electric vehicles that is becoming more prominent, and adapt the algorithm to efficiently solve such problems as well. Finally, it should be noted that truck scheduling between ports is not an isolated problem, but rather is closely connected to other problems encountered in container yard terminals [34,35,36] and it is intended to consider more realistic scenarios that consider solving several of such problems jointly [37].

Author Contributions

Conceptualization, L.M. and M.Đ.; methodology, L.M.; software, L.M.; validation, L.M., M.Đ., and D.J.; formal analysis, L.M., M.Đ., and D.J.; investigation, L.M. and M.Đ.; resources, L.M.; data curation, L.M. and M.Đ.; writing—original draft preparation, L.M. and M.Đ.; writing—review and editing, L.M., M.Đ., and D.J.; visualization, L.M., M.Đ., and D.J.; supervision, M.Đ. 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.

Data Availability Statement

Data sharing not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Braekers, K.; Ramaekers, K.; Van Nieuwenhuyse, I. The vehicle routing problem: State of the art classification and review. Comput. Ind. Eng. 2016, 99, 300–313. [Google Scholar] [CrossRef]
  2. Mancini, S.; Gansterer, M.; Hartl, R.F. The collaborative consistent vehicle routing problem with workload balance. Eur. J. Oper. Res. 2021, 293, 955–965. [Google Scholar] [CrossRef]
  3. Ren, Y.; Dessouky, M.; Ordóñez, F. The multi-shift vehicle routing problem with overtime. Comput. Oper. Res. 2010, 37, 1987–1998. [Google Scholar] [CrossRef]
  4. Erdelić, T.; Carić, T.; Erdelić, M.; Tišljarić, L.; Turković, A.; Jelušić, N. Estimating congestion zones and travel time indexes based on the floating car data. Comput. Environ. Urban Syst. 2021, 87, 101604. [Google Scholar] [CrossRef]
  5. Jakobović, D.; Đurasević, M.; Brkić, K.; Fosin, J.; Carić, T.; Davidović, D. Evolving Dispatching Rules for Dynamic Vehicle Routing with Genetic Programming. Algorithms 2023, 16, 285. [Google Scholar] [CrossRef]
  6. Eksioglu, B.; Vural, A.V.; Reisman, A. The vehicle routing problem: A taxonomic review. Comput. Ind. Eng. 2009, 57, 1472–1483. [Google Scholar] [CrossRef]
  7. Majumder, S. Some Network Optimization Models under Diverse Uncertain Environments. arXiv 2021, arXiv:2103.08327. [Google Scholar] [CrossRef]
  8. Dantzig, G.B.; Ramser, J.H. The Truck Dispatching Problem. Manag. Sci. 1959, 6, 80–91. [Google Scholar] [CrossRef]
  9. Tan, K.; Lee, L.; Zhu, Q.; Ou, K. Heuristic methods for vehicle routing problem with time windows. Artif. Intell. Eng. 2001, 15, 281–295. [Google Scholar] [CrossRef]
  10. Haghani, A.; Jung, S. A dynamic vehicle routing problem with time-dependent travel times. Comput. Oper. Res. 2005, 32, 2959–2986. [Google Scholar] [CrossRef]
  11. Tasan, A.S.; Gen, M. A genetic algorithm based approach to vehicle routing problem with simultaneous pick-up and deliveries. Comput. Ind. Eng. 2012, 62, 755–761. [Google Scholar] [CrossRef]
  12. 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]
  13. Erdelić, T.; Carić, T. Goods Delivery with Electric Vehicles: Electric Vehicle Routing Optimization with Time Windows and Partial or Full Recharge. Energies 2022, 15, 285. [Google Scholar] [CrossRef]
  14. Vidal, T.; Crainic, T.G.; Gendreau, M.; Prins, C. Heuristics for multi-attribute vehicle routing problems: A survey and synthesis. Eur. J. Oper. Res. 2013, 231, 1–21. [Google Scholar] [CrossRef]
  15. Cattaruzza, D.; Absi, N.; Feillet, D.; Vidal, T. A memetic algorithm for the Multi Trip Vehicle Routing Problem. Eur. J. Oper. Res. 2014, 236, 833–848. [Google Scholar] [CrossRef]
  16. Afsar, H.M.; Afsar, S.; Palacios, J.J. Vehicle routing problem with zone-based pricing. Transp. Res. Part E Logist. Transp. Rev. 2021, 152, 102383. [Google Scholar] [CrossRef]
  17. Zhang, H.; Ge, H.; Yang, J.; Tong, Y. Review of Vehicle Routing Problems: Models, Classification and Solving Algorithms. Arch. Comput. Methods Eng. 2021, 29, 195–221. [Google Scholar] [CrossRef]
  18. Chen, B.; Qu, R.; Bai, R.; Laesanklang, W. A variable neighborhood search algorithm with reinforcement learning for a real-life periodic vehicle routing problem with time windows and open routes. RAIRO-Oper. Res. 2020, 54, 1467–1494. [Google Scholar] [CrossRef]
  19. Chen, J.; Bai, R.; Qu, R.; Kendall, G. A task based approach for a real-world commodity routing problem. In Proceedings of the 2013 IEEE Symposium on Computational Intelligence in Production and Logistics Systems (CIPLS), Singapore, 16–19 April 2013. [Google Scholar] [CrossRef]
  20. Laporte, G.; Nobert, Y. Exact Algorithms for the Vehicle Routing Problem. In Surveys in Combinatorial Optimization; Elsevier: Amsterdam, The Netherlands, 1987; pp. 147–184. [Google Scholar] [CrossRef]
  21. Ibrahim, A.; Abdulaziz, R.; Ishaya, J.; Sowole, S. Vehicle Routing Problem with Exact Methods. 2019, pp. 5–15. Available online: https://www.researchgate.net/publication/333668637_Vehicle_Routing_Problem_with_Exact_Methods (accessed on 13 July 2023). [CrossRef]
  22. Brysy, O.; Dullaert, W.; Gendreau, M. Evolutionary Algorithms for the Vehicle Routing Problem with Time Windows. J. Heuristics 2004, 10, 587–611. [Google Scholar] [CrossRef]
  23. Saadatseresht, M.; Mansourian, A.; Taleai, M. Evacuation planning using multiobjective evolutionary optimization approach. Eur. J. Oper. Res. 2009, 198, 305–314. [Google Scholar] [CrossRef]
  24. Jeong, K.Y.; Hong, J.D.; Xie, Y. Design of emergency logistics networks, taking efficiency, risk and robustness into consideration. Int. J. Logist. Res. Appl. 2013, 17, 1–22. [Google Scholar] [CrossRef]
  25. Ferrer, J.M.; Ortuño, M.T.; Tirado, G. A New Ant Colony-Based Methodology for Disaster Relief. Mathematics 2020, 8, 518. [Google Scholar] [CrossRef]
  26. Yi, W.; Kumar, A. Ant colony optimization for disaster relief operations. Transp. Res. Part E Logist. Transp. Rev. 2007, 43, 660–672. [Google Scholar] [CrossRef]
  27. Pichpibul, T.; Kawtummachai, R. An improved Clarke and Wright savings algorithm for the capacitated vehicle routing problem. ScienceAsia 2012, 38, 307. [Google Scholar] [CrossRef]
  28. Campbell, A.M.; Savelsbergh, M. Efficient Insertion Heuristics for Vehicle Routing and Scheduling Problems. Transp. Sci. 2004, 38, 369–378. [Google Scholar] [CrossRef]
  29. Chen, B.; Qu, R.; Bai, R.; Ishibuchi, H. A Variable Neighbourhood Search Algorithm with Compound Neighbourhoods for VRPTW. Proceedings of 5th the International Conference on Operations Research and Enterprise Systems, Rome, Italy, 23–25 February 2016; SCITEPRESS—Science and Technology Publications: Setubal, Portugal, 2016. [Google Scholar] [CrossRef]
  30. Yilmaz, Y.; Kalayci, C.B. Variable Neighborhood Search Algorithms to Solve the Electric Vehicle Routing Problem with Simultaneous Pickup and Delivery. Mathematics 2022, 10, 3108. [Google Scholar] [CrossRef]
  31. Kovács, L.; Agárdi, A.; Bányai, T. Fitness Landscape Analysis and Edge Weighting-Based Optimization of Vehicle Routing Problems. Processes 2020, 8, 1363. [Google Scholar] [CrossRef]
  32. Chen, B.; Qu, R.; Ishibuchi, H. Variable-Depth Adaptive Large Neighbourhood Search Algorithm for Open Periodic Vehicle Routing Problem with Time Windows; University of Nottingham: Nottingham, UK, 2017. [Google Scholar]
  33. Chen, B.; Qu, R.; Bai, R.; Laesanklang, W. A hyper-heuristic with two guidance indicators for bi-objective mixed-shift vehicle routing problem with time windows. Appl. Intell. 2018, 48, 4937–4959. [Google Scholar] [CrossRef]
  34. Zhen, L. Modeling of yard congestion and optimization of yard template in container ports. Transp. Res. Part B Methodol. 2016, 90, 83–104. [Google Scholar] [CrossRef]
  35. Iris, Ç.; Pacino, D.; Ropke, S. Improved formulations and an Adaptive Large Neighborhood Search heuristic for the integrated berth allocation and quay crane assignment problem. Transp. Res. Part E Logist. Transp. Rev. 2017, 105, 123–147. [Google Scholar] [CrossRef]
  36. Đurasević, M.; Đumić, M. Automated design of heuristics for the container relocation problem using genetic programming. Appl. Soft Comput. 2022, 130, 109696. [Google Scholar] [CrossRef]
  37. Iris, Ç.; Christensen, J.; Pacino, D.; Ropke, S. Flexible ship loading problem with transfer vehicle assignment and scheduling. Transp. Res. Part B Methodol. 2018, 111, 113–134. [Google Scholar] [CrossRef]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.