75
Views
0
CrossRef citations to date
0
Altmetric
Research Article

Chemical reaction inspired approach for routing problems with hard time constraints

&
Received 05 Jan 2023, Accepted 17 May 2024, Published online: 31 May 2024

ABSTRACT

One of the most common issues in logistics and transportation planning is the vehicle routing problem. The objective is to find minimum cost-vehicle routes for serving a set of dispersed customers with deterministic demands while satisfying some constraints. In this paper, we focus on two main constraints, which are vehicle capacity and time windows for customers. We propose to tackle this NP-hard problem with a bio-inspired approach based on a hybridization of Chemical Reaction Optimization and local search method. The solving process of our approach mimics the chemical reactions between molecules to attain their stability with lowest energy. For more diversification of the search space, we involved in the initialization stage a local search method based on greedy adaptive procedure. The performances of our hybrid approach are assessed on the base of various benchmark instances. Simulation results show the good performances and the efficiency of the proposed approach.

1. Introduction

The vehicle routing problem (VRP) is the generic model of a whole class of combinatorial optimization problems that has theoretical and practical relevance to scientific communities and industries, especially logistics, transportation and telecommunications. In this model, a set of routes have to be determined for a fleet of vehicles based at one or several depots in order to deliver geographically scattered customers with known demands. This set involves minimum-cost vehicle routes originating and terminating at a depot. Determining the optimal solution is an NP-hard problem in combinatorial optimization. Hence, the size of instances that can be optimally solved is restricted. Therefore, industrial operators tend to use heuristics due to the size of real-world problems and the frequency of their emergence.

The VRP has many obvious applications in industry mainly in the fields of transportation, distribution, and logistics. Each real application has its specific constraints and characteristics. Consequently, several variations and specializations of the vehicle routing problem exist as stated in Han & Wang (Citation2018). The problem was classified by (Irnich et al., Citation2014) according to:

  • Network structure: node routing, arc routing.

  • Type of transportation requests: delivery and collection, simple visits and vehicle scheduling, point-to-point transportation, repeated supply, non-split and split services, combined shipment and multimodal services, dynamic and stochastic routing.

  • Route constraints: vehicle capacity, route length, multiple use of vehicles, time windows and scheduling aspects.

  • Inter-route constraints: balancing constraints, inter-route resource constraints, synchronization constraints (task synchronization, operation synchronization, movement synchronization, load synchronization, resource synchronization).

  • Fleet composition and location: homogeneous/heterogeneous or mixed fleet VRP

  • Optimization objectives: single optimization objective, hierarchical objectives, multi-criteria optimization

The most studied variant is the basic version of VRP, the Capacitated Vehicle Routing Problem (CVRP). In the CVRP, the transportation request consists of a distribution from a single depot to a set of customers with deterministic demand. The vehicle fleet is initially available at the depot and assumed homogeneous meaning that all vehicles have the same capacity and operate at similar costs. The objective is to find minimum-cost routes to cover all customers while satisfying the capacity constraint for each route. We also notice that the vehicle routes must start and terminate at the depot and that no customer has visited more than once. In Toth & Vigo (Citation2014), an overview of early and recent solving methods for the CVRP is presented. This overview covers classical exact methods (Poggi & Uchoa, Citation2014; Semet et al., Citation2014) as well as heuristics approaches (Laporte et al., Citation2014).

The second important variant of the VRP is the Vehicle Routing Problem with Time Windows (VRPTW). In addition to vehicle capacity constraint, each delivery location has a time window that must be respected. Each time window defines the early and late date of service. When time windows have to be rigorously respected, the problem is known as the VRP with Hard Time Windows (VRPHTW). However, if these windows may be violated by adding penalties in the objective function, the problem is called VRP with Soft Time Windows (VRPSTW). In literature, different approaches have been proposed to solve the two variants.

In this paper, our interest is focused on the VRP with Hard Time Windows (VRPHTW) for which we propose a new hybrid stochastic approach based on two metaheuristics: Greedy Randomized Adaptive Search Procedure (GRASP) and Chemical Reaction Optimization (CRO). The First method is based on local search and has been successfully applied to a big number of classical and real-world combinatorial optimization problems in different fields of science, networking, business and technology (Resende & Ribeiro, Citation2008). CRO is a nature-inspired and a population-based metaheuristic that was first proposed in Lam & Li, Citation2010; Siddique & Adeli (Citation2017) where its applicability to solve some NP-hard problems in operation research is demonstrated. Among these problems, we mention Quadratic Assignment Problem, Resource-Constrained Project Scheduling Problem and a practical channel assignment problem in wireless networks. Then, CRO has been successfully applied to tackle diverse real-world problems in both discrete and continuous domains such as Task Scheduling in Grid Computing (Xu et al., Citation2011), continuous optimization problems with a large set of standard continuous benchmark functions (Lam et al., Citation2012), cloud job scheduling (Zain & Yousif, Citation2020), and recently for workflow scheduling in hybrid cloud-fog environment (Ramesh et al., Citation2024). These applications have shown the splendid performance of CRO method. Besides its good performance in solving NP-hard problems, and to the best of our knowledge CRO method has not been adopted before for tackling VRPs.

Therefore, we chose to perform the optimization process according to CRO scheme. Moreover, to improve the exploration of the search space through intensification and diversification strategies, we embedded in our approach to the local search based method GRASP.

We notice that this paper extends our works in Boudali & Ragmoun (Citation2022). We focus on the proposed diversification and intensification strategies during the exploration of the search space. The involved bio-inspired operators are detailed and illustrated through examples to explain how the exploration of promising regions is intensified and how the local optima are escaped. We also emphasize on parameter configuration step through a set of tests. Furthermore, we provide a comparative study of the best-obtained solutions with the proposed approach and the best-known ones in literature.

The remainder of this paper is organized as follows. Section 2 presents a mathematical formulation of the routing problem with hard time windows. Then, Section 3 & 4 exposes related works and discusses the most relevant existing approaches in order to justify our contribution. Section 5 describes the CRO process. Afterwards, we focus on our hybrid approach in Section 6. We present in Section 7, the performances of the proposed approach through simulations based on benchmark problems. We conclude this paper and give some potential future works in Section 8.

2. Mathematical formulation

In this section, we provide a mathematical formulation of the VRPHTW (Toth & Vigo, Citation2014). We denote by:

  • G (N, A): non oriented graph;

  • N: set of nodes {0,.., n} including n customers and the depot 0;

  • A: set of arc (i, j) between two customers i and j;

  • V: set of m identical vehicles;

  • Q: capacity of each vehicle;

  • qi: the demand of customer i;

  • cij: the cost for arc (i, j);

  • ei, li: the earlier and latest date of service for customer i;

  • aiv: the arriving date of vehicle v at customer i;

  • si: service time of customer i;

We also consider the following decision variable: xijv={1ifarc(i,j)istravelledbyvehiclev0otherwiseThe objective function corresponds to the minimization of total travelled distances by vehicles. Formally, it is defined by equation (1) (1) MinimizevViNjNcijxijv(1) Subject to: (2) vVjNxijv=1∀iN(2) (3) iCqijNxijvQ∀vV(3) (4) jNx0jv=1∀vV(4) (5) iNxikvjNxkjv=0∀kN,∀vV(5) (6) iNxi0v=1∀vV(6) (7) xijv(aiv+si+cij)ajv(i,j)A,∀vV(7) (8) eiaivliiN,∀vV(8)

Equation (2) ensures that each customer is visited by exactly one vehicle, while Equation (3) guarantees the respect of vehicle capacity constraint. Each vehicle route must start and finish at the depot as stated in Equations (4), (5) and (6). Hard time windows constraints are defined by Equation (7) and Equation (8). In fact, a vehicle must wait when he arrived before ei at customer i, but he is not accepted when he arrived after li.

3. Related works

In Desaulniers et al. (Citation2014), authors present a literature review of exact methods, heuristics and metaheuristics that were proposed for the VRPTW. Among exact approaches, we find subset-row inequalities (Jepsen et al., Citation2008), generalized k-path inequality (Desaulniers et al., Citation2008) and route relaxation and pricing strategies (Baldacci et al., Citation2011). These strategies are based on set partitioning formulation of the problem. For further details on these works, we can refer to a review on exact methods for the VRPTW proposed by (Baldacci et al., Citation2012; Kallehauge, Citation2008). In the past decades, research on heuristic methods for the VRPTW has mainly focused on metaheuristics (Swan et al., Citation2022). In fact, a little interest has been conducted on heuristic techniques that are organized into three categories: constructive methods (saving methods, insertion methods), improvement methods (β-Opt) and two-phases methods (Cluster-first Route-second/Route-first, Cluster second) (Desaulniers et al., Citation2014). As constructive algorithm, we mention Clarke and Wright saving algorithm that has been recently adapted for a real case of VRPTW arising in urban delivery (Cao et al., Citation2020).

Furthermore, most of metaheuristics have been adapted to the case of VRPTW (Dixit et al., Citation2019): Genetic Algorithms (GA), Ant Colony Optimization (ACO), Tabu Search (TS), Artificial Bee Colony algorithm (ABC), Particle Swarm Optimization (PSO), etc. These metaheuristics have been successfully applied separately or in a combined way. Hybrid approaches involve the hill-climbing algorithm with the genetic algorithm, which effectively improved the speed of VRPTW (Fan & Feng, Citation2018). In addition, a multi-type ant system (MTAS) algorithm was developed based on the multi-ant colony algorithm with local search process (Deng et al., Citation2018). In (Osaba et al., Citation2017), authors proposed for VRPTW an evolutionary discrete bat algorithm (EDBA) by randomly inserting multiple heuristic operators. A hybridization of Tabu Search and Neural Networks was also implemented for VRPTW on Google Maps (Kirci, Citation2016). Other improved population-based approaches have been also developed for the VRPTW, such as: improved population-based incremental learning algorithm (IPBIL) (Xie et al., Citation2016), improved artificial bee colony algorithm IABC (Yao et al., Citation2017), dynamic hybrid ant colony optimization algorithm (DHACO) based on fusion strategy and cloud association rules (Ge et al., Citation2015). Another hybrid approach for the VRPTW, was proposed by (Saksuriya & Likasiri, Citation2022) based on Local Search (LS), Ruin and Recreate procedure (R&R) and Particle Swarm Optimization (PSO). A recent contribution was proposed by (Dornemann, Citation2023) for the capacitated VRPTW, by using a supervised deep learning approach. The proposed model employs a graph convolutional neural network that assists in finding solutions by providing a probability distribution to guide a tree search.

4. Discussion

As stated in (Toth & Vigo, Citation2014), exact approaches quickly showed their limitations in solving complex and large instances of vehicle routing problems. The emergence of specific heuristics has contributed to obtaining fast good solutions in a short amount of time, which is of high importance in real-world cases. However, the main disadvantages of heuristic techniques are the lack of flexibility (adding/changing decision variables, goals, constraints, etc.), and their inability to produce optimal solutions.

With the advent of metaheuristics during the last decades, we noticed huge progress in producing efficiently high-quality solutions for various instances with large sizes (Swan et al., Citation2022). Another benefit of metaheuristics are their flexibility to integrate new constraints, goals, decision variables, which is an important feature for solving real-world problems. Bio-inspired metaheuristics, like ant colony optimization, genetic algorithms, particle swarm, harmony search, etc. have been widely and successfully applied to the VRPTW in a separate or combined way as discussed above.

However, another important bio-inspired metaheuristic, CRO, has effectively contributed to solving various real-world optimization problems, such as Task Scheduling in Grid Computing (Xu et al., Citation2011), cloud job scheduling (Zain & Yousif, Citation2020), and recently used for workflow scheduling in hybrid cloud-fog environment (Ramesh et al., Citation2024). To the best of our knowledge, this method has not been explored in literature for the VRPHTW. The contribution of this work is to propose a new CRO-based approach for our problem by integrating a local search that promotes the diversification search. GRASP is selected for the local search as a commonly applied method in industrial field. This method provides efficient neighbourhood search techniques for solving various combinatorial optimization problems.

5. Nature inspired metaheuristic: CRO

Nature-inspired meta-heuristics have dominated the scientific literature of optimization in the last decades. In this context, CRO is a bio-inspired metaheuristic which is based on population of solutions. CRO has been designed on the basis of interactions between molecules in chemical reactions (Lam et al., Citation2013; Lam & Li, Citation2010; Lam & Li, Citation2012; Siddique & Adeli, Citation2017). During chemical reaction process, molecules continuously change in order to attain a stable state with the lowest free energy. Each molecule holds a molecular structure and two kinds of energies: potential energy (PE) and kinetic energy (KE). We notice that PE corresponds to solution fitness value while KE quantifies the tolerance of less stable structure. Thus, KE specifies the solution’s ability to escape local optima: large value of KE indicates that molecular structure could have a rigorous change.

Moreover, CRO relies on the conservation of energy law, which states that energy in a system is conserved and can neither be created nor destroyed. According to this law, energy is transmitted among molecules or within a molecule. To sustain kinetic energy of molecules, a central buffer is used. As the process progresses, molecules tend to have less KE.

For more explanation of the chemical reaction process, we consider a closed container with a set of molecules. During this process, molecules experience a series of elementary reactions that may alter their structures and related energies. We distinguish two sorts of elementary reactions: uni-molecular and inter-molecular collisions. In the first category, only one molecule is involved to undergo decomposition or on-wall ineffective collision. While in the second category, more than one molecule are concerned with inter-molecular ineffective collision or synthesis.

In the two ineffective collisions, molecules are modified with new structures of their surroundings in the search space, which is known as the potential energy surface (PES). Thus, these two collisions correspond to intensification operators. Conversely, synthesis and decomposition result in new molecules with different molecular structures. Consequently, these operators provide the ability to explore new regions of the PES and so, a diversification of the search. The energies are then, redistributed (PE and KE) among the different molecules in the container. Through the sequence of reactions, different regions of the PES are explored in an intelligent way.

The CRO algorithm is described by three stages (Lam et al., Citation2012; Lam & Li, Citation2010), (Zain & Yousif, Citation2020): initialization, optimization and final stage. In the first stage, some control parameters are defined and the initial population of solutions is generated. Afterwards, an optimization stage is iteratively performed through a sequence of reactions until a stopping criterion is encountered. At each iteration, the algorithm first decides whether a uni-molecular or inter-molecular collision will be performed according to molecular collision parameter. Afterwards, the algorithm checks the decomposition criterion in the case of uni-molecular collision and assesses the synthesis criterion in the case of inter-molecular collision. Finally, the solution with the lowest energy is provided as the output of the process.

6. The proposed chemical reaction-inspired approach

The proposed approach for the vehicle routing problem with hard time windows is defined by a preliminary step during which a parameter setting and population initialization are performed. Then, an optimization process is launched according to a CRO scheme. The following subsections describe the proposed solution encoding, the preliminary step as well as the optimization process.

6.1. Solution encoding

A Molecule or problem solution is a set of feasible routes that begin and end at the depot. Therefore, the molecular structure of a solution M is defined by an ordered sequence of customer identifiers as illustrated in . In the presented solution structure, two routes are defined. The limits of a route in this sequence are detected when capacity and/or time windows constraints are no longer satisfied. Notice that the depot identifier corresponds to 0.

Figure 1. Solution encoding.

Figure 1. Solution encoding.

6.2. Parameter initialization

The proposed nature-inspired method begins with a preliminary stage during which an initialization of CRO parameters is performed. The CRO parameters are described as follows (Boudali & Ragmoun, Citation2022):

  • InitialKE: initial KE for each initial solution;

  • Buffer: central energy buffer, initially empty with Buffer = 0;

  • PopSize: initial size of solution population;

  • KELoss: upper limit of KE loss in on-wall ineffective collisions.

  • MoleColl: faction of all elementary reactions corresponding to inter-molecular reactions.

  • α: specifies the decomposition criterion. It corresponds to maximum time that a selected molecule is allowed to stay in a stable state;

  • β: specifies the synthesis criterion. It corresponds to the least kinetic energy a molecule should possess to undergo a synthesis.

Once these parameters are defined, it is crucial to generate an initial population with size PopSize. We notice that the population size varies during the optimization process due to decomposition and synthesis operators.

6.3. Population initialization

Since the performances of the optimization process highly depend on the quality of initial population, we embedded in our approach random procedure with GRASP for generating initial population. The greedy randomized search method has been widely and successfully applied to classical and real-world optimization problems in different areas of business, science and technology (Resende & Ribeiro, Citation2008). As shown in , two main steps define the iterative scheme of the procedure: construction and local search.

Figure 2. Greedy randomized adaptive search procedure for population initialization.

Figure 2. Greedy randomized adaptive search procedure for population initialization.

The construction step generates a greedy randomized solution by progressively inserting elements to the solution set and preserving feasibility. Inserted elements are selected from a list of candidates known as Restricted Candidate List (RCL). In this list, solutions are ranked according to the quality of solution they will achieve. Given the obtained feasible solution, a local search is applied in its neighbourhood for improvement until a local minimum is encountered. Then, the best solution is retained as a result. At the end of this procedure, PopSize solutions are generated and memorized in Popinit. Each solution (or molecule) is described by some properties:

  • PE: the fitness in the objective function;

  • KE: Kinetic energy initialized with InitialKE;

  • NumHit: number of hits, initially 0;

  • MinHit: number of hit when the molecule has the best solution;

  • MinVal: best encountered value of PE.

6.4. Optimization mechanism

Once parameter setting is determined and initial population is generated, the optimization process is launched as illustrated in . This process is iteratively performed until stopping criteria are satisfied (Maximum iterations without improvements, fixed CPU time, etc.). In order to explain the bio-inspired optimization process, we assume an initial set of molecules (or solutions) in a closed container. These molecules with excessive energy move and collide either on the container walls or on each other. Through these collisions, molecules undergo a series of elementary reactions that may change their molecular structures and energies until they reach a stable state with the lowest free energy. In fact, at each iteration of this process, a random value in [0,1] is generated to decide uni-molecular or inter-molecular collision. Accordingly, a selection of one or two molecule(s) is performed to undergo a specific elementary reaction (see ): decomposition, on-wall ineffective collision, synthesis or inter-molecular ineffective collision. The fitness value of new molecule(s) is computed and the energy conservation law is checked before the update of the population. In the following section, we provide details about the properties and the different steps of each involved elementary reaction in the optimization process.

Figure 3. Flow diagram of the optimization process.

Figure 3. Flow diagram of the optimization process.

Table 1. Elementary reactions according to molecularity.

6.5. Properties of elementary reactions

The different elementary reactions may be classified according to the number of involved molecules. As shown in , the population size is variable with the application of decomposition and synthesis throughout the optimization process. So, in one hand we find operators involving only one selected molecule to generate a new neighboring one or two new molecules. In the other hand, we find operators implying two molecules to result in a combined molecule or new neighbouring ones. The success of reactions through the checking of energy conservation law, decides the substitution of molecules in the population.

Moreover, as illustrated in , some reactions act as intensification operators since they produce neighbouring molecules. While other reactions are considered as diversification operators given their explorative capabilities of other regions of the search spaces by generating new molecular structures.

Table 2. Elementary reactions according to intensification and diversification.

In the remainder of this section, we detail the different steps of each elementary reaction in our optimization process.

6.5.1. On-wall ineffective collision

In this reaction, the selected molecule M hits a wall and bounces back. This collision causes minor changes to the molecular structure of the molecule. Thus, we get a new molecule M’ from the initial one by performing a neighbourhood search operator such as pair-exchange or 2-opt as illustrated in . The fitness value PEM’ is calculated and the energy conservation law is verified: PEM + KEM ≥ PEM’. After, KEM’ is computed and the central energy Buffer is updated. Solution M is then updated with the new molecular structure of M’ and the corresponding energies PEM’ and KEM’. The pseudo-code of this elementary reaction is illustrated in Algorithm 1.

Figure 4. Illustration of on-wall ineffective collision.

Figure 4. Illustration of on-wall ineffective collision.

6.5.2. Inter-molecular ineffective collision

In this collision, two selected molecules M1, M2 hit each other and then bounce away. This reaction causes small changes in their structures. As shown in , we get two new molecules M1’, M2’ from the existing ones by randomly swapping two values of their molecular structures. We can apply the same operator as on-wall ineffective collision to generate the new molecules from the existing ones. For each new molecule, PE is calculated and the energy conservation law is checked. Then, KE of the transformed molecules share the remaining energy in the sub-system and the population is updated with the new molecules. This collision operator is detailed in Algorithm 2.

Figure 5. Illustration of inter-molecular ineffective collision.

Figure 5. Illustration of inter-molecular ineffective collision.

6.5.3. Decomposition

In decomposition, a selected molecule M hits the wall, which causes a significant change to the molecular structure. As a result, the molecule M decomposes into two new molecules M1 and M2. In , we illustrate an example of decomposition operator. The two new molecular structures are obtained from the original structure by randomly generating two indexes ind1, ind2 in [−n, +n], with n the size of a solution (i.e. the number of customers). These indexes specify the direction and the number of cyclic swaps to be applied on molecular structure of M to obtain M1 and M2. In the example of , we assume ind1 = 2 and ind2 = −1. Thus, molecular structure of M1 is obtained from M by performing 4 cyclic permutations in the left-right direction. While molecular structure of M2 is obtained by 3 cyclic permutations in the opposite direction. The fitness value (PE) of each molecular structure is calculated and the conservation energy law is assessed. In case of success, the population is updated with the new molecules M1, M2 instead of M. The different steps of this elementary reaction are presented in Algorithm 3.

Figure 6. Illustration of decomposition.

Figure 6. Illustration of decomposition.

6.5.4. Synthesis

In synthesis, two randomly selected molecules collide with each other and fuse to generate a new molecule. As shown in , two molecules M1 and M2 hit against each other to produce new molecule M’. In this example, two distinct values are randomly picked from the structure of M1. These values are placed at the same position in the new molecular structure of M’. Then, the remainder values are filled in M’ according to their appearance in structure of M2. Accordingly, each customer identifier appears only once in the molecular structure of M’. Afterwards, the energy conservation law is checked to decide the success of synthesis collision, as shown in Algorithm 4.

Figure 7. Illustration of synthesis.

Figure 7. Illustration of synthesis.

7. Evaluation and experimentation

In order to assess our hybrid approach for the VRPHTW, we implemented it on jMetal framework by using a Desktop Intel® Core(TM) i5-1135G7 CPU @ 2.4 GHz with 16.0 Go of RAM. Afterwards, we considered benchmark instances of different types and sizes. In this section, we first present the characteristics of these instances (number of customers, geographical dispersion, vehicle capacity, time windows, etc.). Then, we provide an empirical study to define the parameter configuration of our approach. Finally, we present a comparative study of our best results with the best-known solutions in literature based on benchmark instances (Solomon’s instances).

7.1. Benchmark instances

In our experimental study, we consider 18 instances from the predefined 56 Euclidien instances of Solomon (Citation1987) as described in . These problems are characterized by one depot, a homogeneous fleet of vehicles, a number of customers up to 100 with geographic coordinates and spatio-temporal constraints. These instances are organized according to three categories:

  • class C (Cluster): holds instances with geographically clustered customers;

  • class R (Random): embraces instances with randomly dispersed customers;

  • class (RC): holds instances with combined characteristics;

Table 3. Characteristics of considered benchmark instances.

Moreover, in each class we find subclasses as follows:

  • Instances of subclasses R1, C1 and RC1 have low vehicle capacity, reducing the number of clients per vehicle;

  • Instances of subclasses R2, C2 and RC2 have high-capacity vehicles, allowing a large number of customers per vehicle.

Let us notice that the service time is 10 for classes R, RC and 90 for class C.

7.2 Simulation results

As the first step of experimental study, we performed some preliminary tests to determine the optimal parameter configuration of our approach. These parameters are: maximum number of iteration NI, the rate KELoss, MoleColl, InitialKE, α and β. illustrate parts of this preliminary study by varying the problem size 25, 50 and 100 customers, respectively, and by using parameter values inspired by literature of CRO. According to this tuning process, we noticed that the performance of our approach is getting better when the maximum number of iteration NI increases, the values of KELoss and α rise with a decreasing quantity of MoleColl and β. Following this study, we retained these parameters values: NI = 18,000, InitialKE = 10; KELoss = 0.9; MoleColl = 0.1; α =  100; β =  0.1. Once this preliminary step is finalized, the generation of initial population is performed according to random procedure and GRASP method. This population holds initial molecules that will undergo the presented optimization process.

Table 4. Part of parameter configuration for instances with 25 customers.

Table 5. Part of parameter configuration for instances with 50 customers.

Table 6. Part of parameter configuration for instances with 100 customers.

In , we present the obtained results with the adopted configuration by considering instances with 25, 50 and 100 customers, respectively. In each figure, we illustrate the best-found solution by the proposed Chemical Reaction-inspired Approach (GRASP-CRO) and the best known solution from literature. We notice that for each instance with specific size, we performed 10 runs of the algorithm and we retained the best found solution.

Figure 8. Simulation results for instances with 25 customers.

Figure 8. Simulation results for instances with 25 customers.

Figure 9. Simulation results for instances with 50 customers.

Figure 9. Simulation results for instances with 50 customers.

Figure 10. Simulation results for instances with 100 customers.

Figure 10. Simulation results for instances with 100 customers.

According to , the shape of the curves are very similar. In fact, the obtained results with the hybrid approach are very close to the best-known solutions for most instances with 25 instances, especially for instances of class C and RC. Thus, our approach can reach optimality for small instances with up to 25 customers that may be geographically clustered or randomly dispersed.

In , we notice similar shapes of curves with a decreasing deviation from instances of class R to class RC. The obtained results for the three classes with 50 customers are similarly promising and even competitive for problems of class RC.

In , we show simulation results for large problems with 100 customers. As illustrated, the deviation of the obtained solutions from the best-known ones is very negligible for instances of class R and RC.

As we considered the best-known solutions from literature as reference points in the search space, we chose the percent deviation measure to assess the quality of our best found solutions with the hybrid approach. This measure ensures a relative comparison of the obtained solutions to reference ones by quantifying the differences between them as shown in Equation 9: (9) Deviation=(XBestX)/X100(9) where

  • Deviation is the percent deviation;

  • XBest is the cost of the best-obtained solution with our hybrid approach;

  • X* is the cost of the best-known solution in literature (reference solution);

In , we provide the percent deviation for instances with 25, 50 and 100 respectively. This measure is computed for each instance based on the costs of the best-found solution XBest using GRASP-CRO and the best-known solution X* in literature.

Table 7. Percent deviations from the best known solutions for instances with 25 customers.

Table 8. Percent deviations from the best known solutions for instances with 50 customers.

Table 9. Percent deviations from the best known solutions for instances with 100 customers.

As shown in , the deviations are very close to 0% for most instances with 25 customers, particularly for instances of class C and RC. These results show that our approach can attain optimality for small instances with 25 customers geographically clustered and/or randomly scattered.

In , we present the percent deviations for instances with 50 customers. Our approach has produced good solutions for most instances of class C (C103 –> C203) with a deviation less than 10%. Furthermore, the proposed approach attained promising results for instances of class RC since deviations are less than 5%. We notice that the obtained solution for instance RC103 is better than the best-known one with a deviation of −4.45%, which shows the competitiveness of the proposed approach. These results also emphasize the good performance of our approach for instances with 50 customers geographically clustered and randomly dispersed. However, the deviations are higher for instances with only a random distribution of customers (class R).

In the case of large instances with 100 customers, percent deviations are less or equal to 5% for classes R and RC as shown in . Moreover, competitive solutions with lower costs than the best-known ones have been found (instances R103, R202 and RC202), which explains the negative percent deviations. Nevertheless, this percentage is relatively higher for problems of class C, since an average percent deviation of 23% is obtained for class C. These results show the good performances of the proposed approach for large instances with up to 100 customers randomly scattered.

8. Conclusion

In this paper, we proposed a hybrid approach to deal with the Vehicle Routing Problem with Hard Time Windows. The optimization process of our approach is based on a bio-inspired metaheuristic, which is the CRO. We integrated the GRASP in our approach to provide more diversification of the search space. After presenting the adopted solution encoding, the preliminary stage as well as the optimization process of our approach GRASP-CRO, we performed an experimental study for its evaluation. This study was conducted on the base of benchmark problems for the VRPHTW. During this study, we considered different types of instances (R, C and RC) with different sizes and various characteristics in order to define the best configuration of our approach. The obtained results have shown the competitive and promising performances of the proposed approach for problems with 25, 50 and 100 customers, since the overall deviation is very low and competitive solutions to the best-known ones have been found. These good performances are promising to apply our approach to real-world routing problems in the fields of networking and transportation.

Disclosure statement

No potential conflict of interest was reported by the author(s).

References

  • Baldacci, R., Mingozzi, A., & Roberti, R. (2011). New route relaxation and pricing strategies for the vehicle routing problem. Operations Research, 59(5), 1269–1283. https://doi.org/10.1287/opre.1110.0975
  • Baldacci, R., Mingozzi, A., & Roberti, R. (2012). Recent exact algorithms for solving the vehicle routing problem under capacity and time window constraints. European Journal of Operational Research, 218(1), 1–6. https://doi.org/10.1016/j.ejor.2011.07.037
  • Boudali, I., & Ragmoun, M. (2022). A memetic approach for routing problem with capacity and time constraints. In C. Bădică, J. Treur, D. Benslimane, B. Hnatkowska, & M. Krótkiewicz (Eds.), Advances in computational collective intelligence, 14th International Conference, ICCCI 2022, Proceedings (pp. 612–626). http://doi.org/10.1007/978-3-031-16210-7_50
  • Cao, C., Zhang, X., & Guo, Z. (2020). Vehicle routing problem with time windows arising in urban delivery. Journal of Physics: Conference Series, 1626(1), 012097. https://doi.org/10.1088/1742-6596/1626/1/012097
  • Deng, Y., Zhu, W. H., Li, H. W., & Zheng, Y. H. (2018). Multi-type ant system algorithm for the time dependent vehicle routing problem with time windows. Journal of Systems Engineering and Electronics, 29(3), 625–638.
  • Desaulniers, G., Lessard, F., & Hadjar, A. (2008). Tabu search, generalized k-path inequalities, and partial elementarity for the vehicle routing problem with time windows. Transportation Science, 42(3), 387–404. https://doi.org/10.1287/trsc.1070.0223
  • Desaulniers, G., Madsen, O.-B. G., & Ropke, S. (2014). The vehicle routing problems with time windows. In P. Toth & D. Vigo (Eds.), Vehicle routing: Problems, methods, and applications (2nd ed., Chapter 5, pp. 119–159). MOS-SIAM Series on Optimization.
  • Dixit, A., Mishra, A., & Shukla, A. (2019). Vehicle routing problem with time windows using meta-heuristic algorithms: A survey. In N. Yadav, A. Yadav, J. Bansal, K. Deep, & J. Kim (Eds.), Harmony search and nature inspired optimization algorithms. Advances in intelligent systems and computing (Vol. 741, pp. 539–546). Springer. https://doi.org/10.1007/978-981-13-0761-4_52
  • Dornemann, J. (2023). Solving the capacitated vehicle routing problem with time windows via graph convolutional network assisted tree search and quantum-inspired computing. Frontiers in Applied Mathematics and Statistics, 9, 1155356. https://doi.org/10.3389/fams.2023.1155356
  • Fan, W. B., & Feng, W. (2018). Optimization of vehicle routing problem with time window cigarette logistics based on hybrid genetic algorithm. Journal of Modern Electronic Technology, 11, 119–123.
  • Ge, B., Han, J. H., Wei, W., Cheng, L., & Han, Y. (2015). Dynamic hybrid ant colony optimization algorithm for solving vehicle routing problem with time windows. Journal of Pattern Recognition and Artificial Intelligence, 28(7), 641–650.
  • Han, M., & Wang, Y. (2018). A survey for vehicle routing problems and its derivatives. IOP Conference Series: Materials Science and Engineering, 452(4), 042024. https://doi.org/10.1088/1757-899X/452/4/042024
  • Irnich, S., Toth, P., & Vigo, D. (2014). The family of vehicle routing problems. In P. Toth & D. Vigo (Eds.), Vehicle routing: Problems, methods, and applications (2nd ed., Chapter 1, pp. 1–33). MOS-SIAM Series on Optimization.
  • Jepsen, M., Petersen, B., Spoorendonk, S., & Pisinger, D. (2008). Subset-row inequalities applied to the vehicle routing problem with time windows. Operations Research, 56(2), 497–511. https://doi.org/10.1287/opre.1070.0449
  • Kallehauge, B. (2008). Formulations and exact algorithms for the vehicle routing problem with time windows. Computers & Operations Research, 35(7), 2307–2330. https://doi.org/10.1016/j.cor.2006.11.006
  • Kirci, P. (2016). An optimization algorithm for a capacitated vehicle routing problem with time windows. Sādhanā, 41(5), 519–529. https://doi.org/10.1007/s12046-016-0488-5
  • Lam, A. Y. S., Li, V. O. K., & Xu, J. (2013). On the convergence of chemical-reaction optimization for combinatorial optimization. IEEE Transactions on Evolutionary Computation, 17(5), 605–620. https://doi.org/10.1109/TEVC.2012.2227973
  • Lam, A. Y. S., & Li, V. O. K. (2010). Chemical-reaction-inspired metaheuristic for optimization. IEEE Transactions on Evolutionary Computation, 14(3), 381–399. https://doi.org/10.1109/TEVC.2009.2033580
  • Lam, A. Y. S., & Li, V. O. K. (2012). Chemical reaction optimization: A tutorial. Memetic Computing, 4(1), 3–17. https://doi.org/10.1007/s12293-012-0075-1
  • Lam, A. Y. S., Li, V. O. K., & Yu, J. J. Q. (2012). Real-coded chemical reaction optimization. IEEE Transactions on Evolutionary Computation, 16(3), 339–353. https://doi.org/10.1109/TEVC.2011.2161091
  • Laporte, G., Ropke, S., & Vidal, T. (2014). Heuristics for the vehicle routing problems. In P. Toth & D. Vigo (Eds.), Vehicle routing: Problems, methods, and applications (2nd ed., Chapter 4, pp. 87–116). MOS-SIAM Series on Optimization.
  • Osaba, E., Carballedo, R., Yang, X. S., Fister Jr., I., Lopez-Garcia, P., & Del Ser, J. (2017). On efficiently solving the vehicle routing problem with time windows using the bat algorithm with random reinsertion operators. In X. S. Yang (Ed.), Nature-inspired algorithms and applied optimization. Studies in computational intelligence (Vol. 744, pp. 69–89). Springer. https://doi.org/10.1007/978-3-319-67669-2_4
  • Poggi, M., & Uchoa, E. (2014). New exact algorithms for the capacitated vehicle routing problem. In P. Toth & D. Vigo (Eds.), Vehicle routing: Problems, methods, and applications, vehicle routing: Problems, methods, and applications (2nd ed., Chapter 3, pp. 59–86). MOS-SIAM Series on Optimization.
  • Ramesh, D., Rizvi, N., Rao, P. C. S., Sundararajan, E. A., Mondal, K., Srivastava, G., & Qi, L. (2024). Improved chemical reaction optimization with fitness-based quasi-reflection method for scheduling in hybrid cloud-fog environment. IEEE Transactions on Network and Service Management, 21(1), 653–669. https://doi.org/10.1109/TNSM.2023.3299358
  • Resende, M. G. C., & Ribeiro, C. C. (2008). Greedy randomized adaptive search procedures: Advances and applications. In M. Gendreau & J. Y. Potvin (Eds.), Handbook of metaheuristics (2nd ed., Chapter 10, pp. 283–318). International Series in Operations Research & Management Science 146. Springer. https://doi.org/10.1007/978-1-4419-1665-5_10
  • Saksuriya, P., & Likasiri, C. (2022). Hybrid heuristic for vehicle routing problem with time windows and compatibility constraints in home healthcare system. Applied Sciences, 12(13), 6486. https://doi.org/10.3390/app12136486
  • Semet, F., Toth, P., & Vigo, D. (2014). Classical exact algorithms for the capacitated vehicle routing problem. In P. Toth & D. Vigo (Eds.), Vehicle routing: Problems, methods, and applications (2nd ed., Chapter 2, pp. 37–57). MOS-SIAM Series on Optimization.
  • Siddique, N., & Adeli, H. (2017). Nature-Inspired chemical reaction optimisation algorithms. Cognitive Computation, 9(4), 411–422. https://doi.org/10.1007/s12559-017-9485-1
  • Solomon, M. M. (1987). Algorithms for the vehicle routing and scheduling problems with time window constraints. Operations Research, 35(2), 254–265. https://doi.org/10.1287/opre.35.2.254
  • Swan, J., Adriaensen, S., Brownlee, A. E.-I., Hammond, K., Johnson, C. G., Kheiri, A., Krawiec, F., Merelo, J.J., Minku, L. L., Özcan Ender, P., G. L., García-Sánchez, P., Sörensen, K., Voß, S., Wagner, M., & White, D. R. (2022). Metaheuristics ‘in the large’. European Journal of Operational Research, 297(2), 393–406. https://doi.org/10.1016/j.ejor.2021.05.042
  • Toth, P., & Vigo, D. (2014). Vehicle routing: Problems, methods and applications (2nd ed.). MOS-SIAM Series on Optimization, SIAM.
  • Xie, Y., Hu, R., Qian, B., Chen, S. F., Zhang, G. l., & Zhang, X. D. (2016). An improved population incremental learning algorithm for solving vehicle routing problem with soft time windows. Journal of Nanjing University of Science and Technology (Natural Science), 1, 110–116.
  • Xu, J., Lam, A. Y. S., & Li, V. O. K. (2011). Chemical reaction optimization for task scheduling in grid computing. IEEE Transactions on Parallel and Distributed Systems, 22(10), 1624–1631. https://doi.org/10.1109/TPDS.2011.35
  • Yao, B., Yan, Q., Zhang, M., & Yang, Y. (2017). Improved artificial bee colony algorithm for vehicle routing problem with time windows. PLoS ONE, 12(9), e0181275.
  • Zain, A. M., & Yousif, A. (2020). Chemical reaction optimization (CRO) for cloud job scheduling. SN Applied Sciences, 2(1), 53. https://doi.org/10.1007/s42452-019-1758-8