Keywords

10.1 Introduction

In case of an emergency situation, such as a large fire, incidences may result in the loss of or damage to houses, schools, bridges, factories and hospitals, often referred to as community assets. In order to prevent the loss of assets, sufficient resources are dispatched to them in a timely manner. The issue that an incident management team (IMT) faces in case of a large fire is the allocation of the available resources. The typical resource units being assigned are fire trucks, commonly referred to as tankers. When dealing with major fire disasters, especially when multiple fire points occurring in one region simultaneously, time is an indispensable and primary factor for each decision-maker. As, Martell (2007) stated: the fire management can be viewed from a supply chain management perspective as delivering the right amount of the right fire to the right place at the right time at the right cost. Thus, the objective of an optimal allocation is the maximization of the value of the assets protected and at the same time, the minimization of the response time and cost, subject to several constraints, and among them, the number of the available vehicles. The response time corresponds to the travel duration of a firetruck from the central station to the various points of fire. Moreover, apart from enhancing the cost-effectiveness of the fire suppression activities, the environmental sustainability should be considered in the decision-making and planning of suppression efforts. Thus, fire managers need to be able to incorporate into their response strategies, the consumed fuel amount and the impact of the corresponding CO2 emissions of the firetrucks.

The focus of the presented research is the formulation of an asset protection problem, in case of a large fire, that takes into account the environmental cost efficiency of the dispatch planning. Thus, the Green-Prize Collecting Vehicle Routing Problem (Green-PCVRP) is proposed. In addition, a hybrid Bat Algorithm (BA) is developed for the optimization of the aforementioned problem, namely the Discrete Inspired Bat Algorithm (DIBA). The effectiveness of the proposed algorithmic approach is demonstrated over computational experiments, in comparison with the results of a commercial exact solver. The rest of the paper is organized as follows: Sect. 10.2 contains a brief literature review; in Sect. 10.3 the mathematical model of the PCVRP is described; in Sect. 10.4 the proposed mathematical formulation of the Green-PCVRP is described; in Sect. 10.5 the original BA is presented; in Sect. 10.6 the DIBA is introduced and described in detail; Sect. 10.7 contains the experimental results; and Sect. 10.8 gives the conclusions.

10.2 Brief Literature Review

The main objective of the presented research is the asset protection optimization in case of a large forest fire, where each node, in the respective problem, is associated with a prize value, i.e. the benefit of protecting the corresponding asset. Van Der Merwe et al. (2014) proposed the Cooperative Orienteering Problem with Time Windows (COPTW), and in their formulation each asset/node needs a predefined number of firetrucks to work simultaneously on it, to be protected. The same authors (Van Der Merwe et al. 2014b) presented a mixed integer programming model formulation for asset protection during escaped wildfires, with the aim of maximizing the total saved asset value. The aforementioned model, solved using CPLEX, incorporates mixed vehicle types with interchangeable capabilities and with vehicle travel times determined by vehicle specific speeds and road network information, while the protection requirements of locations/nodes are defined in terms of the vehicles’ capabilities. The Asset Protection Problem (APP) after the initial work of Van Der Merwe et al., was also, solved by an Adaptive Large Neighbourhood Search (ALNS), proposed by Roozbeh et al. (2018), while their two-stage stochastic programming approach was developed to handle the unusual feature of uncertainty in the timing of changes in conditions, such as wind direction and velocity. These changes determine new time windows during which assets must be serviced and hence the optimal deployment schedule and routing of vehicles.

Another formulation was proposed by Tian et al. (2016) who pioneered a bi-objective optimization model to simultaneously optimize the total fire-extinguishing time and the total number of fire engines dispatched. They proposed a Multi-objective Hybrid Differential Evolution Particle Swarm Optimization (MHDP) algorithm to create a set of Pareto solutions for this problem, while the proposed model considers the fire spread speed as a crucial factor. Based on the latter work, Wu et al. (2017) developed an improved bi-objective integer program, containing less variables and constraints, that based on the computational experiments outperforms the work of Tian et al. (2016). Moreover, Wu et al. (2019) presented an emergency scheduling problem for forest fires with limited rescue team resources and priority disaster areas. Such, each fire point is associated with a priority level based on the severity of the fire situation and the formulated integer linear-programming (ILP) model aims to minimize the total travel distance of all rescue teams, which was exactly solved by CPLEX. Consequently, the common practice to simulate an asset protection problem, is the formulation of Vehicle Routing Problem variants that incorporate nodes with prize values, and aim at the maximization of the completed service (as is the aggregated prize from the nodes serviced) and/or at the minimization of total distance travel, i.e. fast response in case of emergency. Thus, we adopt a variation of the Prize-Collecting Vehicle Routing Problem (PCVRP).

In 2006, Tang and Wang formulated the PCVRP to solve the hot rolling production scheduling problem. The proposed mathematical formulation of the PCVRP incorporated a linear combination of three objectives: the total distance minimization; the number of utilized vehicles minimization and the maximization of the collected prizes. Thus, the model can satisfy different requirements by altering the value of the three coefficients, respectively (Tang and Wang 2006). To optimize the PCVRP, they utilized an Iterated Local Search algorithm (ILS) based on Very Large-Scale Neighbourhood (VLSN). In the same field, Zhang et al. (2009) proposed a multi-objective PCVRP-based model for the hot-rolling batch scheduling problem, that included penalty for the non-visited customers and a fixed number of vehicles, and solved it using a Particle Swarm Optimization (PSO) variant. The aforementioned problem with similar mathematical formulation was also solved by Jia et al. (2013) using a Pareto Max-Min Ant System (P-MMAS).

Hence, two variants of the PCVRP formulation have been derived from the literature: when the number of vehicles to be utilized is predetermined (PCVRP-P) and when is not predetermined (PCVRP-NP) (Long et al. 2019). In 2015, Tiwari et al. (2015) proposed a hybrid edge recombination approach for the PCVRP-P. Subsequently, Li and Tian (2016) developed a two-level self-adaptive variable neighbourhood search for the PCVRP-NP, aggregating the multiple objectives in one function through the weighted sum method. Lately, in 2018, Long et al. studied both version of the PCVRP as a multi-objective problem, using a Pareto-based evolutionary algorithm, combined with a local search strategy. In order to handle the PCVRP-NP, they proposed a decomposition strategy that divides the problem into multiple PCVRP-P problems (Long et al. 2019). The proposed research focuses on the solution of a variant of the PCVRP-P, the Green-PCVRP, that takes into account the \({\text{CO}}_{2}\) emissions of the vehicles that follow the generated routes, and which, at least in our knowledge, has never been proposed and particularly, incorporating firetrucks and the action of unloading the vehicle that, actually, significantly affects the proposed objective function.

The Bat Algorithm has been utilized in the solution of several variants of the Vehicle Routing Problem (VRP). In 2015, Taha et al. proposed an adapted variant of the BA for the solution of the Capacitated VRP (CVRP). The Adapted BA, developed in that study, utilizes three parameters (frequency, wavelength and direction search), and allowing a diversity of the population, swifts between global and local search. Also, for the solution of the CVRP, in 2016, Zhou et al. (2016) presented a Hybrid Bat Algorithm with path relinking (HBA-PR), which apart from the BA logic, it integrates the Greedy Randomized Adaptive Search Procedure (GRASP) and the path relinking. Moreover, in the aforementioned approach the random sub-sequences and single-point local search are operated with certain loudness/probability. Furthermore, in 2016, Osaba et al. proposed a discrete Bat Algorithm for solving the Traveling Salesman Problem and the Asymmetric Traveling Salesman Problem, in their version bats are endowed with some kind of “intelligence”. This intelligence makes the bats follow different patterns of movement depending on the point of the solution space in which they are located, while they adopted the Hamming distance to the velocity equation for bat movement and extend an additional mechanism of 3-opt moves into local search part. Regarding the same application, also in 2016, Saji and Riffi presented a discrete version of the BA that includes the 2-opt local search technique.

Furthermore, in 2017, Taha et al. presented a discrete version of the BA for solving VRP with Time-Windows (VRPTW), which was utilized in combination with the Large Neighborhood Search (LNS), namely the BA-LNS. Their method incorporates operators that perform selective extractions of customers in an attempt to minimize the number of vehicles and the traveling distance, allowing the bat to discover a large part of the solution space. In 2018, Osaba et al. proposed an evolutionary and discrete variant of the Bat Algorithm (EDBA) for solving the VRPTW, combined with diverse heuristic operators that achieve hybridization using selective node extractions and subsequent reinsertions, as an extension of their previous work. Recently, in 2019 Osaba et al. focused on a Rich VRP (RVRP), the Clustered Vehicle Routing Problem with Pickups and Deliveries, Asymmetric Variable Costs, Forbidden Roads and Cost Constraints. They developed a Discrete and Improved Bat Algorithm (DaIBA), which employs two different neighborhood structures, that are explored depending on the bat’s distance regarding the best individual of the swarm.

10.3 Prize-Collecting Vehicle Routing Problem

The present paper is focused on the solution of the Prize-Collecting Vehicle Routing Problem (PCVRP), as such a predefined number of vehicles have to be used, i.e. a predefined number of feasible routes \(M\) have to be constructed to visit the available assets to be protected. Following the formulation presented in Li and Tian (2016), the Prize-collecting Vehicle Routing Problem can be described through a complete graph \(G = \left( {V,A} \right)\), where \(V = \left\{ {0, \ldots ,N} \right\}\) is the node set and \(A = \left\{ {\left( {i,j} \right)|i,j \in V} \right\}\) is the set of corresponding arcs. Each node \(i\) included in the set \(\left\{ {1, \ldots ,N} \right\}\), represents an asset and such, specific values of prize, \(p_{i}\) and demand \(d_{i}\) are associated to it. The depot, as the initial/starting point, is denoted by node \(0\), and no prize of demand value is attributed to it. In addition, for each pair of nodes \(i,j\), the travelling time between them can be expressed by their Euclidean distance, noted as \(c_{ij}\). The symmetry of the problem defines that \(c_{ij} = c_{ji}\). Furthermore, each vehicle has a maximum capacity \(Q\) and a large fixed usage cost \(G\) associated to it. Additionally, by \(r\) the task completion parameter (minimum ratio) is denoted, obtained by dividing the predetermined amount of demand by the total demand of all nodes. Finally, as \(N_{m}\) is considered the set of nodes that are visited by vehicle \(m\), (\(m \in 1, \ldots ,M\)). The following decision variables are used:

  • \(x_{ij} \left( {i \ne j} \right) = 1\) when node \(j\) is visited immediately after node \(i\) in the optimal solution, otherwise \(x_{ij} = 0\), (\(i,j \in N\)).

  • \(x_{ii} = 1\) when customer \(i\) is visited in the optimal solution, otherwise \(x_{ii} = 0\), (\(i \in N\)).

The mathematical formulation of the PCVRP is:

$$Minimize :\;\sum\limits_{i \in N} {\sum\limits_{j \in N} {c_{ij} x_{ij} } } + G *M - \mathop \sum \limits_{i = 1}^{N} p_{i} \left( {1 - x_{ii} } \right)$$
(10.1)

s.t

$$\sum\limits_{i = 1}^{N} {x_{i0} } = \sum\limits_{i = 1}^{N} {x_{0i} } = M$$
(10.2)
$$\mathop \sum \limits_{i = 1}^{N} x_{ij} \le 1,\quad j = 1, \ldots ,N$$
(10.3)
$$\sum\limits_{j = 1}^{N} {x_{ij} \le 1,\quad i = 1, \ldots ,N}$$
(10.4)
$$\mathop \sum \limits_{{i \in N_{m} }} d_{i} \left( {1 - x_{ii} } \right) \le Q,\quad m = 1, \ldots ,M$$
(10.5)
$$\mathop \sum \limits_{i \in S} \mathop \sum \limits_{{j \in S,\left( {j \ne i} \right)}} x_{ij} \le \left| S \right| - 1,\quad \forall S \subset N$$
(10.6)
$$\frac{{\sum\nolimits_{i = 1}^{N} {d_{i} } \left( {1 - x_{ii} } \right)}}{{\sum\nolimits_{i = 1}^{N} {d_{i} } }} \ge ratio_{Q}$$
(10.7)
$$x_{ij} \in \left\{ {0,1} \right\},\quad i,j \in N$$
(10.8)

The goal of the objective function Eq. (10.1) is the minimization of the total cost (travelled distance and fixed vehicle usage) by taking into account the total collected prize from the visited nodes, the protected assets. Constraint (10.2) requires that each vehicle conducts a route that initiates from the depot and returns to it. Constraints (10.3) and (10.4) ensure that each node is visited at most once, while Constraints (10.5) facilitate the capacity restrictions of the vehicle. Additionally, Constraints (10.6) are used to eliminate the sub-tours for each vehicle route. Constraint (10.7) ensures the minimum ratio of demand to be covered. Finally, Constraints (10.8) specify the integrity conditions on the variables.

10.4 Green Prize-Collecting Vehicle Routing Problem

In order to incorporate the environmental impact of the firetrucks dispatch in case of a large forest fire, the objective function of the PCVRP is adjusted accordingly. The linear formulation of emission volume, as presented by El Bouzekri et al. (2013), considering a Heavy Duty Vehicle (HDV) which has average speed of 80 km/h and fully loaded weights 25 tons, is given below, where:

  • \(E_{ij} \left( {q,d} \right)\): is the \({\text{CO}}_{2}\) emissions from a vehicle in kg/km with the variable of load q in ton and d in km,

  • \(e_{f}\): is the \({\text{CO}}_{2}\) emissions of a fully loaded vehicle (1.096 kg/km for a HDV truck) and

  • \(e_{e}\): is the \({\text{CO}}_{2}\) emissions of an empty vehicle (0.772 kg/km for a HDV truck).

$$E_{ij} \left( {q,d} \right) = c_{ij} *\left[ {\frac{{\left( {e_{f} - e_{e} } \right)}}{Q}\left( {q_{ij} } \right) + e_{e} } \right]$$
(10.9)

The above formulation, Eq. (10.9), is based on the percentage that the vehicle is loaded, while according to the PCVRP mathematical formulation the continuous parameter \(q_{ij}\) represents the aggregated volume of demand that the vehicle carries as it traverses from node \(i\) to node \(j\). However, in case of a tanker firetruck, the vehicle initiates from the depot fully loaded and, progressively, as it protects the assets, the volume that carries decreases. Hence, the element of the objective function that relates to the cost minimization, i.e. the minimization of the total distance travelled, is adjusted as shown in Eq. (10.10).

$$Min :\;\sum\limits_{i = 0}^{N} {\sum\limits_{j = 0}^{N} {\sum\limits_{m = 1}^{M} {c_{ij} x_{ij}^{m} } } } \left[ {\frac{{\left( {e_{f} - e_{e} } \right)}}{Q}\left( {Q - q_{ij}^{m} } \right) + e_{e} } \right] + G *M - \sum\limits_{i = 1}^{N} {\sum\limits_{m = 1}^{M} {p_{i} y_{im} } }$$
(10.10)

Thus, the proposed mathematical formulation of the Green Prize-Collecting Vehicle Routing Problem (Green-PCVRP) emerges, by replacing the objective function and expanding the decision variables with respect to each vehicle/route \(m\). In addition, a binary auxiliary decision variable \(y_{im}\) is used to define whether the node \(i\) is included into route \(m\). Moreover, the following constraints should be included to control the parameter \(q_{ij}^{m}\), see Constraints (10.18), (10.19) and (10.20). Particularly, Constraints (10.18) indicate the reduced cargo of the vehicle and, also, do not permit any illegal sub-tours.

$$\mathop \sum \limits_{i = 1}^{N} y_{i0} = \mathop \sum \limits_{i = 1}^{N} y_{0i} = M$$
(10.11)
$$\mathop \sum \limits_{m = 1}^{M} y_{im} \le 1,\quad i = 1, \ldots ,N$$
(10.12)
$$\mathop \sum \limits_{i = 1}^{N} y_{im} \ge 1,\quad k = 1, \ldots ,M$$
(10.13)
$$\mathop \sum \limits_{j = 1,i \ne j}^{N} x_{ij}^{m} = y_{im} ,\quad i = 1, \ldots ,N\;\;{\text{and}}\;\;m = 1, \ldots ,M$$
(10.14)
$$\mathop \sum \limits_{i = 1,i \ne j}^{N} x_{ij}^{m} = y_{jm} ,\quad j = 1, \ldots ,N\;\;{\text{and}}\;\;m = 1, \ldots ,M$$
(10.15)
$$\mathop \sum \limits_{i = 1}^{N} y_{im} *d_{i} \le Q,\quad k = 1, \ldots ,M$$
(10.16)
$$\mathop \sum \limits_{i = 1}^{N} \mathop \sum \limits_{m = 1}^{M} y_{im} *d_{i} \ge Qr$$
(10.17)
$$\mathop \sum \limits_{i = 0,i \ne j}^{N} q_{ji}^{m} - \mathop \sum \limits_{i = 0,i \ne j}^{N} q_{ij}^{m} = d_{j} *y_{jm} ,\quad j = 1, \ldots ,N\quad {\text{and}}\quad m = 1, \ldots ,M$$
(10.18)
$$0 \le q_{ij}^{m} \le x_{ij}^{m} ,\quad i,j = 1, \ldots ,N\left( {i \ne j} \right)\;\;{\text{and}}\;\;m = 1, \ldots ,M$$
(10.19)
$$q_{1i}^{m} = 0,\quad i = 2, \ldots ,N\;\;{\text{and}}\;\;m = 1, \ldots ,M$$
(10.20)

Constraint (10.11) establish the correct number of routes to be formulated. Constraints (10.12) guarantee that each node is included into a route no more than once and Constraints (10.13) ensure that each route should include at least one node. Constraints (10.14) and (10.15) ensure the continuity of the route. Finally, Constraints (10.16) and (10.17) are established to avoid the overload of a vehicle and ensure that the required ratio of capacity volume is to service by the complete solution, respectively.

10.5 Bat Algorithm

The Bat Algorithm (BA), proposed by Yang in 2010, is a nature-inspired meta-heuristic algorithm based on the echolocation behavior of microbats, which can find their prey and discriminate different kinds of insects even in complete darkness. In the nature, bats emit ultrasonic pulses to the surrounding environment to hunt and properly navigate. Bats are listening to the echoes, produced by the emitted pulses and based on them they can locate themselves and also identify and locate preys and obstacles. Moreover, each bat is able to find the most nutritious areas performing an individual search, or moving towards a nutritious location previously found by any other bat of the swarm. Yang established the following approximate or idealized rules:

  1. 1.

    All bats use echolocation to detect the distance, and they have the ability to distinguish between an obstacle and a prey.

  2. 2.

    All bats fly randomly with a velocity \(v_{i}\) at position \(x_{i}\) with a fixed frequency \(f_{min}\), varying wavelength \(\lambda\) and loudness \(A_{i}\) to search for prey. In this idealized rule, it is assumed that every bat can adjust in an automatic way the frequency (or wavelength) of the emitted pulses, and the rate of these pulses emission \(r \in \left[ {0,1} \right]\). This automatic adjustment depends on the proximity of the targeted prey.

  3. 3.

    In the real world, the bats emissions loudness can vary in many different ways. Nevertheless, we assume that this loudness can vary from a large positive \(A_{0}\) to a minimum constant value \(A_{min}\).

figure a

Following the pseudo-code of the original BA (see Algorithm 1), every bat of the population (swarm) represents one possible solution of the problem to be optimized. At first, the population is initialized and the respective parameters to each solution are defined, these are the frequency \(f_{i}\), the velocity \(v_{i}\), the loudness \(A_{i}\) and the pulse rate \(r_{i}\). In the main phase, for each generation \(t\), every bat of the population moves by updating its position and velocity following the Eqs. (10.21), (10.22) and (10.23).

$$f_{i} = f_{min} + \left( {f_{max} - f_{min} } \right)\beta ,\quad \beta \in rand\left[ {0,1} \right]$$
(10.21)
$$v_{i}^{t} = v_{i}^{t - 1} + \left[ {x_{i}^{t} - x_{ *} } \right]f_{i} ,\quad x_{ *} :\;best\,solution\,in\,the\,swarm$$
(10.22)
$$x_{i}^{t} = x_{i}^{t - 1} + v_{i}^{t}$$
(10.23)

With respect to the local search phase a new solution is found around one of the best ones, based on a random walk: \(x_{new} = x_{old} + rand\left[ { - 1,1} \right] *A^{t}\), where \(A^{t}\) is the average loudness of the swarm at generation \(t\). Finally, the loudness \(A_{i}\) and the rate \(r_{i}\) of each bat are updated following these formulas:

$$A_{i}^{t + 1} = \alpha A_{i}^{t} ,\quad \alpha \in \left[ {0.90,0.99} \right]$$
(10.24)
$$r_{i}^{t + 1} = r_{i}^{0} \left[ {1 - \exp \left( { - \gamma t} \right)} \right],\quad \gamma > 0$$
(10.25)

10.6 Discrete Inspired Bat Algorithm

The Bat Algorithm has been initially design for the solution of continuous optimization problems. Such, it could not be directly applied in the solution of the Green-PCVRP, since the representation of the solutions is made by ordinal number encoding, i.e. discrete values that represent a sequence of nodes. As an instance, considering \(N = 12\) number of nodes and \(M = 3\) vehicles/routes, a feasible solution could be represented in a vector as: \(\left[ {1, 4, 7, 10, 8, 1, 5, 6, 2, 3, 1, 9, 1} \right]\), where all three routes initiate from and return to node 1, the duplication of node 1 among consecutive routes in a vector is omitted for simplification. Thus, we proposed a discrete version of the BA, namely, the Discrete Inspired Bat Algorithm (DIBA), in which similar to previous researches, the movement equations are replaced by heuristic techniques that search the local area around a solution to retrieve a new one, that will be described in the following. Moreover, the frequency parameter \(f_{i} ,\) in order to reduce the complexity of the algorithmic scheme, is omitted while the pulse rate \(r_{i}\) and loudness \(A_{i}\) follow the original logic.

Furthermore, the velocity parameter \(v_{i}\), depends on the position of the best solution in the population, and in our proposed version, since the original formula includes the frequency parameter, it is calculated as the distance among the respective solution and the best solution in the population. As solution distance, we refer to the number of element-wise similarity among the compared solution vectors, i.e. the number of positions at which the corresponding elements in both vectors are the same. Due the selective nature of the Green-PCVRP, the population is not uniform in terms of length, and, thus, other widely-used distance measures, e.g. Hamming Distance, Manhattan Distance could not be utilized. Also, we adopt the proposal of Osaba et al. (2019), that the velocity value could be represented by the number of neighbor solutions to be found, and that the best among them represents the new solution. The complete proposed algorithmic framework, the DIBA, is presented in Algorithm 2 and the respective flowchart is depicted in Fig. 10.1.

Fig. 10.1
figure 1

Flowchart of the proposed DIBA

figure b

Following the proposed DIBA algorithm, after the parametrization step, the initial population should be generated and evaluated according to the fitness function, see Eq. 10.10. For that, the \(Initial\text{-}Population\) heuristic method is employed, see Algorithm 3. A predefined number of routes are initialized by a random node and combined to form a single vector. In order to satisfy the task completion constraint, a ratio of demand volume should be covered by the complete solution. Thus, until the aforementioned constraint is satisfied, non-included nodes in the initial solution, are inserted based on their most efficient position, in terms of distance travelled, when the rest of the imposed constraints of the PCVRP are not violated. In order to produce solutions of sufficient quality, the non-included nodes are previously sorted based on their prize value.

In the following, the local search phase is conducted, and such for a specific number of iterations the local search techniques \(Remove \text{-} node\), \(Reinforcement\) and \(Exchange \text{-} node\) are implemented to each solution in the current population. The number of iterations for this phase is a random value, ranging from one to \(v_{i}\), while the velocity of the solution \(i\) is calculated as described earlier.

figure c

With respect to the embedded local search techniques of this phase, the \(Reinforcement\) aims to amplify the solution by inserting non-included, so far, nodes into the solution vector, taking into account the feasibility of the solution and the improvement of the solution’s quality, while nodes to be inserted are randomly chosen, aiding to the increase of the exploration capability of the procedure. The previously employed one, is the \(Remove \text{-} node\) technique, during which nodes with low prize value are extracted from the solution vector, with a dual objective: (1) the fitness value of the solution could be improved, when the prize decrease offsets the new travel distance and emissions; and (2) the solution is reduced in terms of capacity \(Q\) per route, and when the \(Reinforcement\) is employed, different nodes could be inserted, exploiting that capacity gap.

figure d
figure e

Regarding the \(Exchange \text{-} node\) local search technique, a simple iterative exchange of nodes between randomly selected routes is conducted, to further exploit the solution, with respect to all imposed constraints of the problem.

figure f

After the completion of the local search phase, the best neighbor solution is selected, from all generated over the conducted iterations. According to the original BA scheme, the neighbor solution is accepted following a probability based on the loudness parameter of the initial solution, even when the newly formed one is better. When a solution is accepted and replaces the initial one, the loudness parameter of the respective solution is decreased and the pulse ration is increased. All the above described processes should be followed for every member of the population. Then, the current best fitness value is retrieved. Subsequently, the best fraction of the current population is selected, denoted by \(W^{ *}\), and the solutions included in this elite population are randomly selected with a probability based on their respective pulse ratio value to undergo a second local search phase. The aforementioned phase is enriched with one more heuristic technique, in which a number of permutations of the nodes included into the solution of interested is tested, aiming to obtain a more efficient node sequence, in terms of distance traveled and emissions minimization. Nevertheless, it is possible that over the evolution of the population, following the local search phases, the algorithmic process could not obtain a more effective solution i.e. smaller fitness value. Thus, in the proposed DIBA, a restart procedure is applied, that introduces to the current population, newly generated solutions, that should replace the worst fraction of the current population and by that avoiding the fast converge of the solution method.

10.7 Computational Experiments

This section presents the experimental results of this study, solving the Green-PCVRP, in order to prove the solution quality of the proposed DIBA. The benchmark instances are drawn form the recent literature (Long et al. 2019), while there is a lack of comparison with other publish algorithms, since the research focuses on a proposed mathematical formulation, as a variant of the PCVRP. Thus, the obtained results of DIBA are compared with the solutions of the Gurobi exact solver on the same instances.

10.7.1 Benchmark Instances

As the PCVRP has not been studied extensively, previous publications used the benchmark instances of the Capacitated Vehicle Routing Problem (CVRP), incorporating a prize value to each customer and a minimum demand served ratio \(ratio_{Q}\), both generated uniformly from [1, 80] or [1, 100] and [0.6, 0.8], respectively. However, recently, Long et al. publish a set of 120 instances for the PCVRPP, accessible at https://github.com/longjianyuGH/PCVRP.git (2019). In this study, we consider a set that consists in total of 120 benchmark problems, as for each of the 24 CVRP instances (group: A, B, E, M), 5 versions were generated, by changing the ratio \(ratio_{Q}{:}\;\left\{ {0.60, 0.65, 0.70, 0.75, 0.80} \right\}\). The different variants include problems with number of nodes from 32 to 200, and number of vehicles from 4 to 17. The parameter setting used for the conducted computational experiments is presented in Table 10.1.

Table 10.1 Parameter setting

10.7.2 Computational Results

In the following, the conducted experimental results on the benchmark instances are presented in Tables 10.2, 10.3, 10.4 and 10.5. For each of the 120 considered instances, the fitness function value of the best solution obtained by the Gurobi solver, is presented, denoted by \(g_{min}\). In addition, the minimum (\(w_{min}\)) and average \(w_{avg}\) achieved values of the objective function, over five algorithmic executions of the proposed DIBA can be seen in the aforementioned tables. Moreover, the columns labeled as \(rpe\) and \(rpe_{avg}\) present the average percentage error of the best and the average solution, from the corresponding \(g_{min}\), for each tested instance.

Table 10.2 Group A: computational results
Table 10.3 Group B: computational results
Table 10.4 Group E: computational results
Table 10.5 Group M: computational results

It is important to highlight that the exact solution method is able to find the optimal results within 10 min, with respect to the small instances, i.e. small number of nodes and routes, while regarding the larger ones the solution deviation from the optimal (MIPgap) is significant, while in some cases the solver could not return a feasible solution within 20 min of execution time, as seen in Table 10.5, when the number of nodes ranges between [101, 200] and the number of routes between [7, 17]. Overall, the proposed DIBA approach performs efficiently since, allowing 3 min of max execution time, it obtained 58/120 solutions better than the corresponding of the exact solver, and for 62/120 instances resulted in a worst solution. Nevertheless, the average relative percentage error over these 62 instances does not exceed the 0.98%, which taking into account the different allowed execution time of the two utilized methods, is an effective and competitive result.

With respect to the instance groups A, B and E, for which a comparison among the proposed DIBA and the exact solver can be made, the experimental results are summarized as follows, while the main attribute of the DIBA behaviour is that performs better over the exact solver for instances with more than 60 number of nodes N:

  • Group A: with number of nodes N ϵ {32, 37, 44, 48, 53, 60, 65, 69, 80} and number of routes M ϵ {5, 6, 7, 9}, the DIBA performed worst with −1.21% and better with 14.94% average deviation from the Gurobi exact solver.

  • Group B: with number of nodes N ϵ {39, 41, 50, 56, 63, 78} and number of routes M ϵ {5, 6, 7, 10}, the DIBA performed worst with −0.52% and better with 16.81% average deviation from the Gurobi exact solver.

  • Group E: with number of nodes N ϵ {23, 33, 51, 76, 101} and number of routes M ϵ {3, 4, 5, 10, 14}, the DIBA performed worst with −1.20% and better with 7.14% average deviation from the Gurobi exact solver.

10.8 Conclusions

The presented research introduces the Green-Prize Collecting Vehicle Routing Problem, to optimize the resource of firetrucks, allocation in case of a large fire, where multiple points/assets need to be protected. The problem includes selective attributes, capacity constraints and concerns a predefined number of vehicles. The objective of the Green-PCVRP, is the maximization of the collected prize from the assets protected and the cost-efficiency in terms of fuel-consumption emissions of the operating vehicles, based on the formulated dispatch plan. Considering the optimization of the aforementioned problem, the Discrete Inspired Bat Algorithm has been developed, as a hybridization of the original BA, omitting only the frequency parameter and altering the original algorithmic scheme by enhancing the local search phase and introducing new solution in the population. To demonstrate the effective performance of the proposed DIBA, computational experiments have been conducted, in comparison with the results of a commercial exact solver.

To further explore the capabilities of DIBA, as future research, we propose the exploration of the Green-PCVRP-NP, where the number of vehicles to be utilized is not a specified value. Finally, in order to enrich the capabilities of the mathematical formulation, by capturing real-life circumstances, time windows and service time for each asset should be taken into consideration.