Next Article in Journal
A Poisson Process-Based Random Access Channel for 5G and Beyond Networks
Previous Article in Journal
Improved Predictive Ability of KPLS Regression with Memetic Algorithms
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Efficient Algorithm for Crowd Logistics Optimization

by
Raúl Martín-Santamaría 
1,
Ana D. López-Sánchez 
2,
María Luisa Delgado-Jalón 
1,3 and
J. Manuel Colmenar 
1,*
1
Computer Science and Statistics Department, Universidad Rey Juan Carlos, Tulipán s/n, Móstoles, 28933 Madrid, Spain
2
Department of Economics, Quantitative Methods and Economic History, Universidad Pablo de Olavide, Ctra. de Utrera km 1, 41013 Sevilla, Spain
3
Department of Economics, Quantitative Methods and Economic History, Universidad Rey Juan Carlos, Tulipán s/n, Móstoles, 28933 Madrid, Spain
*
Author to whom correspondence should be addressed.
Mathematics 2021, 9(5), 509; https://doi.org/10.3390/math9050509
Submission received: 27 January 2021 / Revised: 18 February 2021 / Accepted: 23 February 2021 / Published: 2 March 2021
(This article belongs to the Section Mathematics and Computer Science)

Abstract

:
Crowd logistics is a recent trend that proposes the participation of ordinary people in the distribution process of products and goods. This idea is becoming increasingly important to both delivery and retail companies, because it allows them to reduce their delivery costs and, hence, to increase the sustainability of the company. One way to obtain these reductions is to hire external drivers who use their own vehicles to make deliveries to destinations which are close to their daily trips from work to home, for instance. This situation is modelled as the Vehicle Routing Problem with Occasional Drivers (VRPOD), which seeks to minimize the total cost incurred to perform the deliveries using vehicles belonging to the company and occasionally hiring regular citizens to make just one delivery. However, the integration of this features into the distribution system of a company requires a fast and efficient algorithm. In this paper, we propose three different implementations based on the Iterated Local Search algorithm that are able to outperform the state-of-art of this problem with regard to the quality performance. Besides, our proposal is a light-weight algorithm which can produce results in small computation times, allowing its integration into corporate information systems.

1. Introduction

Nowadays, many people use e-commerce to buy and sell all kind of goods, products and services. The 24/7 availability of the websites, the wide array of products and services, the easy reachability to get any of them in any place, the easy way of comparing prices and the possibility of gather opinions from other customers are some of the advantages that support the use of the e-commerce. These reasons, together with the lack of time of most citizens, make e-commerce continue to grow, which leads to an increase on the delivery services, especially in the last-mile operations [1].
Both delivery companies and retailers which also distribute their products strive to minimize the total cost and the delivery time to be more efficient [2]. However, the increase of delivery operations impacts on the sustainability of a company, either by enlarging the routes or by performing door-to-door distributions, which could require increasing the number of vehicles attending customers [3]. In an early stage of the last-mile development, [4] held that the cost related to the last-mile operation may range between 13 and 75% of the total distribution cost. Therefore, the optimization of this step of the supply chain led to an important reduction on the distribution costs for many delivery companies that focused on solving the last-mile problem to reduce costs. Since then, many delivery companies have focused on reducing this cost, but it is important to emphasize that this range may vary significantly depending on the specific problem under consideration.
Recently, a new trend called crowd logistics is gaining relevance [5,6,7]. The idea behind this concept is to favor the participation of ordinary citizens in the distribution of goods. The authors of [6] distinguish between four types of crowd logistics: crowd storage, crowd local delivery, crowd freight shipping and crowd freight forwarding. We will only focus on one of them: the crowd local delivery or crowdshipping, as called by other authors [8]. In particular, the key concept of crowdshipping here is to either deliver orders through other customers, or hire regular people close to the delivery route to occasionally perform a delivery on behalf of a logistics operator. The implementation of this idea may contribute to the sustainability of a company because it will reduce the logistics network [6] and, eventually, reduce the urban traffic levels [9] as well as the logistics costs [10]. In addition, this can be an opportunity to obtain extra incomes for the occasional couriers at the cost of slightly modifying their daily route from work to home or vice versa [6]. Note that crowshipping can be seen as an example of sustainable transportation apart from other typical examples such as walking, cycling, carpooling, car sharing, or green vehicles [11].
The concept of crowd logistics is mainly related to the vehicle routing problem (VRP). The VRP aims to find the best routes to satisfy the demand of a set of customers, given a fleet of vehicles [12,13]. Therefore, since crowd logistics involves the last-mile operations, it can be tackled from the VRP point of view.
In this paper we propose a light-weight and efficient algorithm to optimize the last-mile logistics including the concept of crowdshipping. As it is well-known, the last-mile delivery problem consists on the transportation of the goods from the warehouse, called depot in this work, and the final destination, usually the customer’s home or business. Last-mile problems are considered very important regarding sustainability since they involve the less efficient phase of the logistic process [14]. Furthermore, in this work, we consider those deliveries to be performed by ordinary citizens, the occasional drivers, as part of a crowdshipping strategy, in addition to the own staff of the delivery company. Previous works like [15] describe the impact on sustainability of this kind of distribution models.
Given the small computation time and low complexity of our algorithm, it can be included in a corporate information system with the objective of optimizing a set of delivery orders taking into account both delivery routes and occasional couriers. Hence, a company will be able to reduce its costs and increase its sustainability levels by hiring occasional couriers, since the proposed algorithm is able to optimize the last mile routes taking into account the collaboration of occasional drivers.
In order to assess our proposal, we have studied the Vehicle Routing Problem with Occasional Drivers (VRPOD). VRPOD is able to model last-mile situations appearing in delivery companies that allow crowdshipping in addition to their own staff. The VRPOD assumes that the company has a fleet of vehicles handled by regular drivers who make deliveries limited by the capacity of the vehicles. Furthermore, the company is able to hire a number of occasional drivers to make a single delivery using their own vehicles. The objective of the VRPOD is to minimize the total cost, calculated as the sum of the costs incurred by the regular drivers performing traditional routes, beginning and ending at the depot, plus the cost of paying the occasional drivers, since they provide their service in exchange of remuneration. To the best of our knowledge, this problem was firstly defined by [16], who studied the potential benefits of including occasional drivers to make deliveries as a way of crowdshipping. The authors considered two compensation schemes to pay fixed fees to every occasional driver.
Since then, new variants of the VRPOD have been analyzed. In the work proposed in [17], the authors considered that occasional drivers appear dynamically and they assume that stochastic information is known about this behaviour. Furthermore, occasional drivers could serve one or more of the customers. The authors propose a stochastic mixed-integer programming formulation to solve the problem. They study the effects of uncertainty to design the routes when the occasional drivers can appear later in the day. A similar work by [18] includes two aspects: the possibility for occasional drivers to make multiple deliveries and the time windows for the customers and so the occasional drivers. The authors study the advantages of employing two different alternatives: occasional drivers that are allowed to perform multiple deliveries and occasional drivers that can split the deliveries. Their proposal is proven using two different mathematical models. Later on, a variant of the VRPOD in which occasional drivers may accept or reject the assigned delivery with a certain probability was presented in [19]. The authors solve the problem with a bi-level methodology in which they start by including all the deliveries in regular routes without the use of occasional drivers, and then include deliveries to occasional drivers taking into account their acceptance probabilities modelled using a uniform distribution.
There exist other problems related to the VRPOD although they present some differences since they focus on the crowdshipping. In [20], a variant of the dynamic pickup and delivery problem is introduced, in which occasional drivers dynamically appear to make deliveries in exchange for a small compensation. They study how profitable is the use of a platform that matches deliveries and occasional drivers in order to facilitate on-demand delivery. Furthermore, they use regular routes to serve customers for which the use of an occasional driver is not feasible or not efficient. They solve the problem using a rolling horizon framework approach to determine the matches based on the available information, and propose an exact solution approach to solve the matching problem each time new information appears. Other similar problem dealing with the crowdshipping is studied by [21]. In this paper the authors do not consider the use of regular routes to perform the deliveries but they just assume the use of occasional drivers (or crowdshippers), who can accept more than one delivery to transport more than one item meanwhile the vehicle capacity is not exceeded. They propose an exact solution methodology to solve the specific problem.
Among all the previous works and approaches to the VRPOD, we have selected the definition stated in [16] in order to assess our proposal. As it will be shown, we propose an algorithm able to either obtain optimal solutions when the optimal value is known, or to improve the best-known solutions, providing high-quality results in a reasonable amount of time for the VRPOD. Hence, our main contribution after [16] is the new algorithmic design, which is fast enough to be included in corporate information systems, and obtains better solutions than the previous work. To this end, we propose three different variants of the Iterated Local Search (ILS) algorithm, since this methodology has been successfully used to deal with many different variants of vehicle routing problems (VRP). For instance, in [22] an ILS algorithm solves the VRP with backhauls, being able to obtain high-quality solutions in short computational time. In [23], an ILS method is proposed to address another variant of this type of problems, the Multi-Commodity Multi-Trip VRP with Time Windows, outperforming the previous algorithm. Finally, in [24], the proposed ILS deals with the Split Delivery VRP obtaining highly competitive results.
Specifically, in this paper we present a multi-start ILS algorithm where a greedy randomized constructive method is proposed, and five different neighborhoods are combined to form a new extended neighborhood, which is explored by the local search step of ILS for the solution of the VRPOD. Besides, three perturbation strategies have been proposed and analyzed. In addition to the customary ILS implementation, we propose a straightforward parallelization of the ILS method, and a collaboration scheme where different ILS configurations cooperate in parallel. All these contributions have been assessed in a set of preliminary experiments where the final configuration and the parameter values for the algorithm have been determined. Finally, a detailed comparison with the state of the art is performed.
The rest of the paper is organized as follows. Section 2 describes the VRPOD problem. Section 3 details the algorithmic proposal implemented to solve the problem under study. Section 4 provides an extensive computational study, and performs a comparison against the state of the art. Finally, Section 5 draws the conclusions of this work and discusses future research.

2. Problem Definition

The VRPOD can be formally stated as follows. Let G = ( V , A ) be a complete directed graph, where V = { 0 , K , C } is the set of vertices, with vertex 0 as the depot, K = { 1 , , k } the set of vertices representing the location of the occasional drivers and C = { 1 , , n } the set of vertices corresponding to the location of customers ( | V | = 1 + k + n ). Each node i C has an associated positive demand q i > 0 . Furthermore, A = { ( i , j ) : i , j V , i j } is the arc set, where ( i , j ) represents a path between vertices i and j. For each pair ( i , j ) A , let d i j 0 be the length of the shortest path that connects i and j. The cost of a route is the sum of the distances between consecutive nodes, including the depot.
Customers can be served by regular drivers on routes starting and ending at the depot. We consider their vehicles to have a limited capacity Q. This variant of the problem allows to hire occasional drivers to make a single delivery to a customer if the following condition is satisfied. An occasional driver k K can serve customer i C if d 0 i + d i k ζ d 0 k with ζ 1 . In other words, if the extra distance to get the occasional driver from the depot through the customer i is less than or equal to ( ζ 1 ) times the direct distance from the depot to the occasional destination’s location; d 0 i + d i k d 0 k ( ζ 1 ) d 0 k . Therefore, ζ is referred as the flexibility of the occasional drivers. It is important to emphasize that a trip of an occasional driver is measured as the distance traveled from the depot to the customer and from the customer to the occasional driver location. Furthermore, it is assumed that the capacity of any occasional driver is enough to satisfy the demand of any customer but one occasional driver can serve a maximum of one customer.
The objective of the VRPOD is to minimize the aggregated cost incurred by regular and occasional drivers. Notice that an occasional driver is paid only if he/she serves a customer. This payment to the occasional driver is computed considering two different schemes, namely Scheme I and Scheme II. Both take into account a compensation rate denoted by ρ . In Scheme I, the compensation does not depend on the occasional drivers’ destination. Thus, every occasional driver receives ρ d 0 i as compensation for making a delivery to customer i. In this scheme, the compensation rate is limited to 0 < ρ < 1 . Therefore, this scheme only requires to know the location of the customers, which means that occasional drivers serving customers far from their locations are not compensated for the extra mileage incurred. As an alternative, Scheme II defines a compensation that actually depends on the destination of the occasional drivers, the customer location and the depot. In this case, each occasional driver k receives a compensation of ρ ( d 0 i + d i k d 0 k ) for the extra mileage incurred for serving the customer i, with ρ 1 . This variant is more difficult to put into practice since the company needs to know the destination of the occasional drivers. For further details, see [16] where a mathematical formulation is included.
In [16], the previously explained compensation schemes were studied to assess the advantages and disadvantages of implementing both schemes, taking also into account the economical benefits for the companies depending on the number and flexibility of the occasional drivers. A detailed formulation of this problem can be found in [16]. Despite that realistic situations may generate different compensation schemes depending on each specific delivery company payment policy, we will assess the efficiency of our proposed algorithms by means of a comparison with [16]. Consequently, we consider that the occasional drivers can only visit one customer since they are not professional couriers because splitting the deliveries would be more expensive for the delivery company. Besides, if the occasional driver is available to perform a delivery, then the probability of rejecting this service is uncertain and, likely, very low. Hence, we do not take into account this feature.

3. Algorithmic Proposal

In this paper, an Iterated Local Search (ILS) algorithm is proposed to tackle the VRPOD problem. This metaheuristic, see [25], proposes the coupling of a local search method with a perturbation or disturbance process that allows the local search to escape from local optima. We selected this algorithm due to its simple design, and, at the same time, very effective performance. In fact, its design favors the implementation of parallel cooperative schemes, as will be later explained. In particular, we have used a multi-start approach for the ILS which accepts four different parameters: n c , which determines the number of constructions to be generated, that is, the number of starts of the algorithm; α , which controls the greediness of the construction of solutions; n p , which corresponds to the number of perturbations that will be performed; and β , which is the perturbation intensity.
The pseudo-code of our proposal is shown in Algorithm 1. As stated before, ILS iterates n c times generating a new solution by means of the constructive method (step 3) on each iteration. Then, a new loop begins, which will disturb and improve the solution n p times (steps 4 to 10). After the perturbation and improvement (steps 5 and 6), the objective function value of the resulting solution S is compared with the current solution previous to the perturbation, S. If the new solution is better, the current best solution is updated (steps 7 to 9). Finally, the best solution is returned in step 15.
Algorithm 1 ILS( n c , α , n p , β )
1:
S
2:
for 1 n c do
3:
     S ConstructiveMethod ( α )
4:
    for 1 n p do
5:
          S Perturbation ( S , β )
6:
          S LocalSearch ( S )
7:
         if f ( S ) < f ( S ) then
8:
                  S S
9:
         end if
10:
    end for
11:
    if f ( S ) < f ( S ) then
12:
         S S
13:
    end if
14:
end for
15:
return S
Next, each one of the components of the ILS method will be described, as well as their complexity both in terms of time and space. Notice that the complexity of ILS is the maximum of its components.

3.1. Constructive Method

In order to generate a variety of different and good-quality initial solutions, a GRASP methodology has been implemented. GRASP (Greedy Randomized Adaptive Search Procedure) was proposed in [26] and formally defined in [27] as an iterative algorithm with two phases: a randomized construction phase that uses a greedy function to build solutions followed by a local search phase. Two main reasons lead us to select the GRASP methodology for the constructive phase: on the one hand, it is able to produce high-quality and diverse solutions by tunning the value of the α parameter, making possible to explore wider regions of the solutions space; on the other hand, its simple design makes it fast, being able to obtain a large number of initial feasible solutions in tiny computing times. Given that the ILS procedure performs its own local search after the perturbation, we only execute the randomized construction phase in the constructive method.
A solution for the VRPOD is represented as a set S of assignments corresponding either to routes of regular vehicles or to occasional drivers, considering that each occasional driver can attend only one customer, and each customer is attended only once. Hence, we propose a greedy function g ( S , a c ) for the GRASP construction phase. This function calculates the increase of the objective cost value in a given solution S due to a route assignment a c , being c a customer of the instance. In this context, a c represents any valid assignment that does not break any problem constraint: each customer can be assigned either to any existing route (in any position, as long as the maximum capacity is not exceeded), to a new route or to any occasional driver available for the given customer.
Algorithm 2 details the pseudo-code of the proposed constructive method, which adds assignments to an initially empty solution S (step 1). The candidate list C L is created by including all possible assignments for each customer. We represent this process of obtaining all the assignments for the set of customers C with the method ObtainValidAssignments shown in step 2. The constructive procedure iterates until the CL is empty, that is, all customers are assigned either to a regular route or to an occasional driver (steps 3–11). At each iteration of the construction, all the assignments in CL are evaluated with the greedy function, g ( S , a c ) , obtaining the best and worst values, g min and g max , respectively (steps 4 and 5) to calculate the threshold, th (step 6). This threshold determines which assignments enter to the restricted candidate list, RCL (step 7). The method is able to control the balance between greediness and randomness by means of the parameter α , with 0 α 1 . If α = 0 , then only those assignments with the best value ( g m i n ) are included in RCL, which is the full greedy case. If α = 1 then the RCL will contain all the candidates and, therefore, the method will be completely random. Once the RCL is filled with assignments, one of them is randomly selected following an uniform distribution (step 8), whose corresponding customer is denoted as c . This assignment is then added to the current solution in step 9, and the CL is updated by removing all the assignments of the selected customer (step 10). This process is repeated until there are no valid assignments in the CL , which only happens after every customer has been assigned either to a regular route or an occasional driver. Therefore, the space complexity of the GRASP constructive method is O ( | V | ) , as the data structures size scales linearly with the number of customers and occasional drivers, while the time complexity is O ( | C | × | V | ) .
Algorithm 2 ConstructiveMethod( α )
1:
S
2:
CL ObtainValidAssignments ( C )
3:
while C L do
4:
      g min = min v CL g ( S , a c )
5:
      g max = max v CL g ( S , a c )
6:
      th g min + α ( g max g min )
7:
      RCL { a c : v CL g ( S , a c ) th }
8:
      a c SelectRandom ( R C L )
9:
      S S { a c }
10:
     CL CL \ { a c C L : c = c }
11:
end while
12:
returnS

3.2. Local Search

Once the construction of a solution is detailed, the local search procedure (step 6 of Algorithm 1) is next defined. In general terms, a local search algorithm traverses a neighborhood of solutions returning the best one, which is known as the local optimum. A neighborhood of solutions consists of the set of solutions that can be reached after applying a move to the current solution. To take advantage of the problem knowledge, our algorithm considers five different neighborhoods, N 1 to N 5 . Therefore, the exploration of several different neighbourhood structures is preferred instead of just one, in order to reach high-quality solutions. The different neighborhoods are defined by the following moves, where all of them but 2-opt were also used in [16]:
2-opt: a sub-sequence of a route is reversed [28].   Figure 1 shows a simple example where the subtour delimited by customers B and E is reversed. This move produces the neighborhood N 1 . The space and time complexity of completely exploring this neighborhood, are O ( 1 ) and O ( | C | 2 ) , respectively.
1-move: a customer served by a regular route is inserted into a different regular route.   Figure 2 shows how customer B is included in a different route. This move produces the neighborhood N 2 . The space and time complexity of completely exploring this neighborhood, are O ( 1 ) and O ( | C | 2 ) , respectively.
Swap-move: a pair of customers served by different regular routes are exchanged.   Figure 3 shows the swap of customers B and E. This move produces the neighborhood N 3 . The space and time complexity of completely exploring this neighborhood, are O ( 1 ) and O ( | C | 2 ) , respectively.
In-move: a customer served by an occasional driver is included in a regular route. As can be seen in   Figure 4 the customer B initially visited by an occasional driver will be served in a regular route after the in-move. This move produces the neighborhood N 4 . The space and time complexity of completely exploring this neighborhood, are O ( 1 ) and O ( | K | × | C | ) , respectively.
Out-move: a customer served by a regular route is assigned to an occasional driver.   Figure 5 shows how customer B, initially visited by a regular route, is now served by an occasional driver. This move produces the neighborhood N 5 . The space and time complexity of completely exploring this neighborhood, are O ( 1 ) and O ( | K | × | C | ) , respectively.
The proposed local search method considers an extended neighborhood formed by the five defined neighborhoods. Algorithm 3 presents the pseudo-code of our proposal. As seen in the algorithm, the method iterates while the current solution is improved (steps 3 to 10). Hence, given an incumbent solution S, the five neighborhoods previously defined are explored in step 4 obtaining S , which is the best solution of the extended neighborhood. Then, it is compared with the best solution S in step 5, updating S if necessary in the following step. If no improvement was made, the guard variable is changed in step 8. At the end, the algorithm returns the local optimum S in step 11.
Algorithm 3 LocalSearch (S)
1:
S
2:
improve ← true
3:
while improve do
4:
       S arg min S i = 1 5 N i ( S ) f ( S )
5:
      if f ( S ) < f ( S ) then
6:
           S S
7:
      else
8:
            improve ← false
9:
      end if
10:
end while
11:
return S

3.3. Perturbation Procedures

Another important step of the ILS algorithm is the way in which a solution is perturbed or modified. Given that this problem involves routes and occasional drivers assignations, several different perturbations can be explored. Among them, three different perturbation procedures are proposed in this paper, motivated by the need to reach a solution different from the incumbent one and different to its neighbors, considering the neighborhoods previously defined. The proposed perturbation procedures are next described:
RandomMove. A move from the five previously defined neighborhoods is randomly selected and executed, without evaluating the performance impact over the objective function. This perturbation is applied a fixed number of times, defined by the β parameter. The complexity of this perturbation method corresponds with the time complexity of the used neighborhood.
RouteCost. This strategy firstly ranks the routes by their cost per customer, and then selects a route according to a probability distribution. The probability p r i of choosing a certain route r i is given by Equation (1). This approach to select the route to remove is analogous to the one followed in [29] and [30] for the construction phase. In our implementation, removing a route has a time complexity of O ( | C | ) .
p r i = z r i r j R z r j
where z r i represents the cost per customer of route r i , as seen in Equation (2), in which f ( r ) represents the cost of a given route r, and | C r | the number of customers attended by a route r. In short, as a proportion, the more costly a route is per customer, the more likely it will be destroyed.
z r = f ( r ) | C r |
In case that all the customers where removed from a route, the route is deleted. This process is repeated β times, producing a number of unassigned customers. Then, those customers are reassigned using the proposed constructive method (see Section 3.1).
RandomDeassign. It randomly selects β customers following an uniform distribution, and their assignments are removed from the solution. Then, these customers are reassigned using the constructive method used in the ILS algorithm. In our implementation, removing a random set of customers from a given solution has a time complexity of O ( | C | 2 ) .
All the three perturbation methods require an input parameter which, for the sake of clarity, we have labeled as β . This parameter determines the perturbation size, which has different meaning on each perturbation method, as explained above. Hence, the β values analyzed in the experimental experience will be selected accordingly.

3.4. Parallel Cooperation Proposal

The parallel implementation of an algorithm is usually a straightforward task that allows the researcher to make use of the full performance of the computer where the algorithm is run. Moreover, as shown by many works in the literature, parallelism can contribute to the optimization search. For instance, in [31], a parallel Variable Neighborhood Search (VNS) approach is presented, where a cooperation among threads is developed on a master-slave scheme. The authors applied this proposal to successfully solve a well-studied location problem, the p-median problem. Several cooperative schemes for VNS are also studied in [32], showing that cooperation reaches better results than the straightforward parallelization in the obnoxious p-median problem.
Based on the previously exposed ideas, we propose a cooperation scheme for the parallel implementation of the ILS method. This cooperation is shown in Figure 6. As it can be seen, the multi-start ILS execution is divided into N workers, namely I L S 1 to I L S N . Each worker will execute independently on a different thread following the implementation shown in Algorithm 1, but applying the cooperation scheme. In particular, each worker creates a solution with the constructive procedure and, then, executes the internal for loop, which corresponds to steps 4 to 10 in the algorithm, labelled as I L S L o o p in the figure. After a given number of executions of the loop, a migration of solutions is performed. In this cooperation, each worker I L S i with i = 1 . . . N “pushes” (sends) its current best solution to a FIFO queue, q i , from which the following worker will “pull” (receive) a solution. Notice that I L S N sends its solution to I L S 1 , creating a ring topology. Once a solution is taken from the queue, the ILS loop executes on the incoming solution until the following migration or the execution ends.
The decoupling of workers by means of the queues makes this scheme very flexible, allowing different cooperative structures like master-slave or full connection [32]. However, we propose the ring configuration and the concept of round. A round is completed when a solution has visited every worker once. Therefore, if we set the number of rounds to two, each solution will visit each worker twice. In order to honor the total number of allowed perturbations, the algorithm will divide the number of iterations of the original for loop, given by the np parameter (see step 4 in Algorithm 1) by ( N · r o u n d s ) .
As it will be shown in the next section, the main advantage of this proposal is being able to apply different configurations on each worker. Besides, given that the queues take care of the synchronization of the threads, the execution time will be determined by the slowest worker.

4. Computational Results

This section presents and discusses the computational experience conducted with the algorithms proposed in this paper. Firstly, we describe a set of preliminary experiments that allows us to tune the parameters of the algorithm. Then, we compare the performance of our proposal against the state of the art, which was stated in [16].
In order to perform a fair comparison, we have used the very same set of instances as the previous authors. In particular, they consider six types of instances: types C101 and C201, where customers are clustered; types R101 and R201, where customers are randomly distributed; and types RC101 and RC201, where customers are partially clustered and partially randomly distributed. Following the approach from [16], we generated the different instances among the mentioned six types using the corresponding values for the parameters that characterize each instance. These parameters and their values are the following: the number of occasional drivers, | K | , with | K | = { 13 , 25 , 50 , 100 } ); the compensation rate, ρ , with ρ = { 0.05 , 0.10 , 0.20 } and ρ = { 1.2 , 1.4 , 1.6 } for the compensation schemes I and II, respectively; and the flexibility of the occasional drivers, ζ , with ζ = { 1.1 , 1.2 , 1.3 , 1.4 , 1.5 , 1.6 } . The combination of the values of the parameters across the six types of instances according to [16] produced a total number of 480 instances.
The experiments were run on a machine provided with a Ryzen 7 1700 CPU running at 3 GHz, with 16GB RAM. All the algorithms are implemented in Java 11.

4.1. Preliminary Experimentation

In order to select the best combination of parameters for our proposed algorithms, a representative subset of 70 instances out of a total number of 480 instances, was selected having the following final distribution: 8 instances with | K | = 13 , 9 instances with | K | = 25 , 26 instances with | K | = 50 ; and 27 instances with | K | = 100 . The selection was made by randomly picking an instance for each combination of | K | , ζ and ρ .
The first preliminary experiment is devoted to tuning the generation of the initial solution. As stated in Section 3.1, a GRASP approach is proposed. Therefore, it is required to determine the best value of the α parameter for this method. Table 1 and Table 2 show the results obtained when solutions are built using the GRASP constructive method and the constructive method coupled with the proposed local search, respectively. In particular, 10,000 constructions are generated in both experiments. The first column of both tables contains the different values of the parameter α that have been studied: α = { 0 , 0.25 , 0.5 , 0.75 , 1 , R a n d o m } , where Random means that a value for α was randomly selected at each iteration, following a uniform distribution. Besides, the number of times that the algorithm is able to attain the best value is shown in the second column (#B.), being the best value the minimum value found by any of the compared algorithms in each experiment; the third column averages the best costs obtained across the 70 instances (Cost); and, finally, the last column shows the average computation time in seconds (T(s)).
The comparison of Table 1 and Table 2 evidences the contribution of the local search. In a pairwise comparison of rows from both tables, it can be seen that, for each value of α , the local search reaches better results not only in the number of times that the best value is obtained, but also in the quality of the solutions (see columns 2 and 3, respectively). Obviously, the CPU time is increased when the local search is run after the constructive process.
Given that the results of α = 0 and α randomly chosen are very similar when the local search is run, both configurations will be selected for the next experiment.
In the following experiment we will assess the contribution of the proposed perturbation methods. To this aim, the perturbations have been run with different values for the perturbation size β , for both α = 0 and α randomly chosen. Table 3 shows the results of this experiment, where the first column presents the two values of α considered in this experiment; the second column shows the three perturbation procedures, and the third column the values for the β parameter. The values for β have been determined experimentally taking into account a similar computational effort among the selected values. The remaining columns present the same results as in the previous experiment. To carry out this experimentation, we have run Algorithm 1 after one construction ( n c = 1 ), which is the same for each instance in all the perturbation methods, hence performing a fair comparison among them. Besides, the value of n p , which is the number of times the perturbation method is run, was set proportional to the number of occasional drivers. In particular, n p = 100 · | K | .
In view of the values shown in Table 3, it can be seen that the best results are obtained by the RandomMove method with β = 50 , for both α values, and that the influence of the perturbation method over the final score is more important than the value of α .
Besides, the RandomDeassign method obtains competitive results, with a 2.5 % difference with respect to the best perturbation configuration, while the RouteCost method obtains the worst results.
Finally, in order to take into account other possible algorithmic strategies, we designed a memetic approach [33] to tackle this problem. Here, the local search was combined with a genetic algorithm where the routes were encoded with a double chromosome for both the regular and the occasional drivers. The usual crossover and mutation operators were also implemented and several configurations were explored in relation with the execution of the local search step.
From those preliminary experiments, we show in Table 4 the results of the most relevant executions of the memetic approach, labeled as MA. In particular, the table shows the comparison of number of best results obtained by the I L S M proposal, the exact approach from the state of the art (IP) and the memetic algorithm (MA) on a subset of small-sized instances.
As it can be seen in the table, the memetic algorithm obtained poor results in relation with the two other proposals, while I L S M was able to reach 59 out of the 60 optimal values. In addition, the execution time of MA was more than 50 times longer than the I L S M approach. Therefore, we decided to omit the memetic approach from the final comparison.

4.2. Final Comparison

Once the ILS parameters have been studied in the previous section, we now proceed to compare our proposals with the state of the art, whose results will be labelled as S O T A . In brief, we propose a multi-start ILS algorithm, namely I L S ; a straightforward parallel version of the multi-start ILS where the iterations of the algorithm are distributed among N threads, called I L S P ; and our proposed cooperative parallel ILS with migration of solutions, I L S M . This experiment consists on running these algorithms on the whole set of 480 instances. Next, we describe the particular configuration selected for this proposal.
The number of iterations of I L S is 100, which corresponds to 100 constructions generated with α = 0 , and the perturbation method used was RandomMove with β = 50 , since this configuration obtained the best results in the previous experimentation. The number of executions of the perturbation method was set to n p = 10 · | K | . This configuration is repeated for I L S P given that this is a parallel implementation of I L S .
Regarding I L S M , we take advantage of the cooperative policy by applying different configurations on each worker. In particular, we have considered N = 4 to be the number of cores used by the parallel versions of ILS, both I L S P and I L S M . Therefore, we consider 4 different configurations for I L S M . In order to select these configurations we chose the four best configurations in terms of number of best solutions, as shown in Table 3: RandomMove with β = 25 ( α = 0 and α = R a n d o m ), and RandomMove with β = 50 ( α = 0 and α = R a n d o m ). The number of rounds was set to 2, making any solution go through every configuration twice, as explained in Section 3.4.
Table 5 shows the comparison of the proposed ILS algorithms with the state of the art for those instances with 13 and 25 occasional drivers. The results are summarized for each value of ζ , which represents the flexibility of the occasional drivers. For each algorithm ( I L S , I L S P and I L S M ) the averaged cost, the sum of best values (#B.), and the execution time in seconds (T(s)) are calculated. Since no information is given about execution time in [16], only the cost and the number of best results are reported for the SOTA. As it can be seen in the table, all our ILS proposals obtain the best result for all the instances, reaching the same average cost among them and improving the results of SOTA. Regarding the execution time, the fastest algorithm is I L S P , which is a straightforward parallel implementation of I L S . I L S M is slower than I L S P because its execution time is determined by the slowest worker.
For the medium size instances, where | K | = 50 , the results are aggregated by the compensation rate ( ρ ) and the flexibility of the occasional drivers ( ζ ), as in [16]. Table 6 shows the results with the same indicators as in the small instances, but adding the relative percentage deviation from the best-known value (Gap). Looking at the results, we can point out that the average cost and the number of best results obtained by all the ILS proposals are better than the SOTA. If we focus on the number of best results (#B.), it can be seen that the basic I L S obtains practically the same results than the SOTA in this metric, however, the parallel collaborative scheme, I L S M , obtains almost 50% more best results than the SOTA. Furthermore, regarding the gap, it can be seen that all the proposed algorithms obtain better relative deviations from the best-known values than the SOTA, specially the parallel collaborative scheme, I L S M ( 0.21 % ). The execution time follows the same pattern as for the small instances, with I L S P being the fastest algorithm and I L S M the second one.
Finally, the results for the largest instances with 100 occasional drivers are shown in Table 7 in a similar fashion as the medium-size instances. As it can be seen, the performance gap between the ILS proposals and SOTA widens in terms of the number of best results. In particular, I L S M reaches more than twice the number of best results than SOTA, while also improving the average cost and having less than half of the deviation. Note that the other two ILS proposals do not improve the average cost of SOTA by a small margin. However, both ( I L S and I L S P ) improve the number of best results obtained. Regarding the average execution time, the results are similar than in the previous tables.
As a first conclusion from the results, we can affirm that the cooperative I L S M proposal outperforms the basic I L S , the parallel I L S P and the SOTA methods in terms of cost and, specially, in terms of number of best results found. As previously mentioned, the I L S M method is slower than I L S P as its computation time is limited by the slowest worker. For the sake of space we have omitted the detailed results of all instances. However, we will make them publicly available at http://grafo.etsii.urjc.es/ (accessed on 16 January 2021).
In order to statistically assess the behavior of the algorithms considered in this work, we carried out the Bayesian performance analysis for comparing multiple algorithms over multiple instances simultaneously described in [34,35]. This analysis considers the experimental results as rankings of algorithms, and on the basis of a probability distribution defined on the space of rankings, it computes the expected probability of each algorithm being the best among the compared ones. Not limited to that, it also assesses the uncertainty related to the estimation in the form of credible intervals. These intervals are computed using Bayesian statistics and they estimate the most likely values of the unknown parameter to lie within the interval given a certain probability.
Figure 7 shows the credible intervals (5% and 95% quantiles) and the expected probability of winning for each different implementation of the proposed algorithms and the state-of-the-art method (SOTA) after the joint analysis of the 480 instances. We will refer to the term winning when the algorithm is able to find the best solution in relation to the other methods in the comparison. As seen in the figure, SOTA is the algorithm with least chances for being the winner, with an expected probability of 0.127 of obtaining the best solution. Besides, the probability of I L S and I L S P is quite similar (0.243 and 0.276 respectively), with overlapped credible intervals. This result proves that a straightforward parallelization has a small contribution to the quality reached by the algorithm, and the main advantage is the savings in computation time. However, both proposals are better than SOTA since their probabilities of obtaining better solutions than SOTA are higher. Moreover, the expected probability of I L S M is the highest, reaching a value of 0.354, showing a credible interval that is not overlapped with any other. In summary, I L S M is statistically different from all the other algorithms, and it will reach the best solutions in almost 36% of the instances. The observed length for the intervals in Figure 7 points out that the estimations for SOTA and I L S M permit to draw solid conclusions, while for the case of I L S P and I L S , due to the overlapping of the intervals, both algorithms have similar probability for being the winners.
Therefore, this statistical analysis proves that, on the one hand, all our ILS proposals obtain better results than the state-of-the-art method and, on the other hand, the proposed cooperative scheme makes a significant difference in relation to the other ILS proposals.

5. Conclusions

Sustainable logistics require the combination of the traditional business logistics and crowd logistics. However, efficient optimization algorithms are required in order to merge these approaches into corporate information systems.
In this work we propose an efficient optimization algorithm based on the Iterated Local Search method which we have assessed on the Vehicle Routing Problem with Occasional Drivers (VRPOD). This problem models realistic situations appearing in the transportation of goods for delivery companies in which crowdshipping, a sustainable means of transport, is feasible, taking into account two different compensation schemes.
In particular, the three proposed implementations of the ILS are able to overcome the results obtained by the state of the art. The ILS design proposed in this paper includes a greedy randomized constructive method to build initial solutions and a local search which explores an extended neighborhood formed by the combination of neighborhoods generated by five different moves. In addition, three perturbation strategies have been proposed for this problem. Moreover, a parallel cooperation scheme has been designed for the ILS proposal. The computational experiments evidence the effectiveness of our algorithm given that it is able to attain all the optimal values when they are known. Besides, it obtains better results than the state-of-the-art method spending a competitive execution time. A statistical assessment of the proposed algorithms performance has been also included, measuring the differences between the ILS methods and the state of the art. In the light of the computational results, we can state that the three different implementations based on the ILS methodology are able to improve the state of the art for the small instances (instances with 13 and 25 occasional drivers) in a few seconds, finding 17 new best-known solutions. A similar behaviour can be observed for the medium-size instances (50 occasional drivers), finding 130 out of 180 new best-known solutions. Finally, in the large instances (those with 100 occasional drivers), the cooperative parallel ILS with solution migrations, I L S M , not only reduces the average cost value but also reaches 68 out of 180 new best-known solutions. Furthermore, considering all the three different implementations based on the ILS methodology 115 in total new best-known solutions. To prove the hypothesis that the I L S M is the best proposal, a statistical analysis has been included where all the algorithms have been compared. As a conclusion of this analysis, the three different implementations based on the ILS algorithm outperform the state of the art, being I L S M the best one among all the studied alternatives.
Therefore, since the previous results are improved by including occasional drivers with our proposal, we can state that our method is able to optimize the last-mile logistics, as recommended in [14]. Hence, since the new routes have smaller costs, the sustainability of the companies is favored. Besides, the reduced computation times of I L S M allows the inclusion of our method into corporate information systems.
Future research directions could include different compensation schemes profitable not only for the company but also for the occasional driver, which lead us to a multi-objective optimization problem since both objectives are clearly in conflict. Furthermore, another interesting future line would be to include the possibility of allowing more than one delivery to every occasional driver or even sustainability features included also under a multi-objective approach to show the trade-off among the different objective functions. In addition, the use of more detailed instances with information about the type of vehicles used by the occasional drives will allow to obtain sustainability measures such as the carbon footprint of a route. Finally, in order to study more realistic scenarios, new instances with stochastic modeling of the demand or the travelling times could be defined, as suggested in [36]. Of course, adding new features to the considered problem would lead us to adapt the ILS methodology and check the robustness of our algorithm since new constraints are incorporated.

Author Contributions

Conceptualization, R.M.-S., A.D.L.-S. and J.M.C.; Data curation, R.M.-S., A.D.L.-S. and J.M.C.; Formal analysis, A.D.L.-S.; Funding acquisition, M.L.D.-J.; Methodology, R.M.-S., A.D.L.-S. and J.M.C.; Project administration, M.L.D.-J.; Software, R.M.-S. and J.M.C.; Supervision, J.M.C.; Writing—original draft, R.M.-S., A.D.L.-S. and J.M.C.; Writing—review & editing, R.M.-S., A.D.L.-S., M.L.D.-J. and J.M.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work has been partially supported by the Spanish Ministerio de Ciencia, Innovación y Universidades (MCIU/AEI/FEDER, UE) under grant ref. PGC2018-095322-B-C2; Comunidad de Madrid y Fondos Estructurales de la Unión Europea under grant ref. S2018/TCS-4566 and the Junta de Andalucía, FEDER-UPO Research & Development Call, under grant ref. UPO-1263769.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Detailed results and instances will be publicly available at http://grafo.etsii.urjc.es/ (accessed on 16 January 2021).

Acknowledgments

The authors wish to express their gratitude to C. Archetti, M. Savelsbergh and G. Speranza for their collaboration in the provision of all their previous results.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Allen, J.; Piecyk, M.; Piotrowska, M.; McLeod, F.; Cherrett, T.; Ghali, K.; Nguyen, T.; Bektas, T.; Bates, O.; Friday, A.; et al. Understanding the impact of e-commerce on last-mile light goods vehicle activity in urban areas: The case of London. Transp. Res. Part Transp. Environ. 2018, 61, 325–338. [Google Scholar] [CrossRef] [Green Version]
  2. Jia, Y.H.; Chen, W.N.; Gu, T.; Zhang, H.; Yuan, H.; Lin, Y.; Yu, W.J.; Zhang, J. A dynamic logistic dispatching system with set-based particle swarm optimization. IEEE Trans. Syst. Man Cybern. Syst. 2017, 48, 1607–1621. [Google Scholar] [CrossRef]
  3. Qin, G.; Tao, F.; Li, L. A vehicle routing optimization problem for cold chain logistics considering customer satisfaction and carbon emissions. Int. J. Environ. Res. Public Health 2019, 16, 576. [Google Scholar] [CrossRef] [Green Version]
  4. Gevaers, R.; Van de Voorde, E.; Vanelslander, T. Characteristics of innovations in last-mile logistics-using best practices, case studies and making the link with green and sustainable logistics. Assoc. Eur. Transp. Contrib. 2009, 1–21. [Google Scholar]
  5. Sampaio, A.; Savelsbergh, M.; Veelenturf, L.; Van Woensel, T. Chapter 15: Crowd-Based City Logistics. In Sustainable Transportation and Smart Logistics; Faulin, J., Grasman, S.E., Juan, A.A., Hirsch, P., Eds.; Elsevier: Amsterdam, The Netherlands, 2019; pp. 381–400. [Google Scholar]
  6. Carbone, V.; Rouquet, A.; Roussat, C. The Rise of Crowd Logistics: A New Way to Co-Create Logistics Value. J. Bus. Logist. 2017, 38, 238–252. [Google Scholar] [CrossRef]
  7. Devari, A.; Nikolaev, A.G.; He, Q. Crowdsourcing the last mile delivery of online orders by exploiting the social networks of retail store customers. Transp. Res. Part Logist. Transp. Rev. 2017, 105, 105–122. [Google Scholar] [CrossRef]
  8. Botsman, R. Crowdshipping: Using the crowd to transform delivery. AFR Boss Mag. 2014. [Google Scholar]
  9. Mckinnon, A. Crowdshipping: A Communal Approach to Reducing Urban Traffic Levels? 2016. Available online: https://www.alanmckinnon.co.uk/story_layout.html?IDX=714&b=56 (accessed on 6 January 2021).
  10. Guo, X.; Jaramillo, Y.J.L.; Bloemhof-Ruwaard, J.; Claassen, G. On integrating crowdsourced delivery in last-mile logistics: A simulation study to quantify its feasibility. J. Clean. Prod. 2019, 241, 118365. [Google Scholar] [CrossRef]
  11. Simoni, M.D.; Marcucci, E.; Gatta, V.; Claudel, C.G. Potential last-mile impacts of crowdshipping services: A simulation-based evaluation. Transportation 2020, 47, 1933–1954. [Google Scholar] [CrossRef]
  12. Toth, P.; Vigo, D. Vehicle Routing: Problems, Methods, and Applications; SIAM: Philadelphia, PA, USA, 2014. [Google Scholar]
  13. 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]
  14. Ranieri, L.; Digiesi, S.; Silvestri, B.; Roccotelli, M. A review of last mile logistics innovations in an externalities cost reduction vision. Sustainability 2018, 10, 782. [Google Scholar] [CrossRef] [Green Version]
  15. Wang, Y.; Zhang, D.; Liu, Q.; Shen, F.; Lee, L.H. Towards enhancing the last-mile delivery: An effective crowd-tasking model with scalable solutions. Transp. Res. Part Logist. Transp. Rev. 2016, 93, 279–293. [Google Scholar] [CrossRef]
  16. Archetti, C.; Savelsbergh, M.; Speranza, M.G. The Vehicle Routing Problem with Occasional Drivers. Eur. J. Oper. Res. 2016, 254, 472–480. [Google Scholar] [CrossRef]
  17. Dahle, L.; Andersson, H.; Christiansen, M. The Vehicle Routing Problem with Dynamic Occasional Drivers; Computational Logistics; Bektaş, T., Coniglio, S., Martinez-Sykora, A., Voß, S., Eds.; Springer International Publishing: Cham, Switzerland, 2017; pp. 49–63. [Google Scholar]
  18. Macrina, G.; Di Puglia Pugliese, L.; Guerriero, F.; Laganà, D. The Vehicle Routing Problem with Occasional Drivers and Time Windows. In Optimization and Decision Science: Methodologies and Applications; Sforza, A., Sterle, C., Eds.; Springer International Publishing: Cham, Switzerland, 2017; pp. 577–587. [Google Scholar]
  19. Gdowska, K.; Viana, A.; Pedroso, J.P. Stochastic last-mile delivery with crowdshipping. Transp. Res. Procedia 2018, 30, 90–100. [Google Scholar] [CrossRef]
  20. Arslan, A.M.; Agatz, N.; Kroon, L.; Zuidwijk, R. Crowdsourced Delivery: A Dynamic Pickup and Delivery Problem with Ad-Hoc Drivers. Transp. Sci. 2019, 53, 222–235. [Google Scholar] [CrossRef] [Green Version]
  21. Behrend, M.; Meisel, F.; Fagerholt, K.; Andersson, H. An exact solution method for the capacitated item-sharing and crowdshipping problem. Eur. J. Oper. Res. 2019, 279, 589–604. [Google Scholar] [CrossRef]
  22. Brandão, J. A deterministic iterated local search algorithm for the vehicle routing problem with backhauls. TOP 2016, 24, 445–465. [Google Scholar] [CrossRef]
  23. Cattaruzza, D.; Absi, N.; Feillet, D.; Vigo, D. An iterated local search for the multi-commodity multi-trip vehicle routing problem with time windows. Comput. Oper. Res. 2014, 51, 257–267. [Google Scholar] [CrossRef]
  24. Silva, M.M.; Subramanian, A.; Ochi, L.S. An iterated local search heuristic for the split delivery vehicle routing problem. Comput. Oper. Res. 2015, 53, 234–249. [Google Scholar] [CrossRef]
  25. Lourenço, H.R.; Martin, O.C.; Stützle, T. Iterated Local Search. In Handbook of Metaheuristics; Glover, F., Kochenberger, G.A., Eds.; Springer: Boston, MA, USA, 2003; pp. 320–353. [Google Scholar]
  26. Feo, T.A.; Resende, M.G.C. A probabilistic heuristic for a computationally difficult set covering problem. Oper. Res. Lett. 1989, 8, 67–71. [Google Scholar] [CrossRef]
  27. Feo, T.A.; Resende, M.G.C.; Smith, S.H. A Greedy Randomized Adaptive Search Procedure for Maximum Independent Set. Oper. Res. 1994, 42, 860–878. [Google Scholar] [CrossRef]
  28. Croes, G.A. A Method for Solving Traveling-Salesman Problems. Oper. Res. 1958, 6, 791–812. [Google Scholar] [CrossRef]
  29. Faulin, J.; Juan, A.A. The ALGACEA-1 method for the capacitated vehicle routing problem. Int. Trans. Oper. Res. 2008, 15, 599–621. [Google Scholar] [CrossRef]
  30. Buxey, G.M. The Vehicle Scheduling Problem and Monte Carlo Simulation. J. Oper. Res. Soc. 1979, 30, 563–573. [Google Scholar] [CrossRef]
  31. Crainic, T.; Gendreau, M.; Hansen, P.; Mladenovic, N. Cooperative Parallel Variable Neighborhood Search for the p-Median. J. Heuristics 2004, 10, 293–314. [Google Scholar] [CrossRef]
  32. Herrán, A.; Colmenar, J.M.; Martí, R.; Duarte, A. A parallel variable neighborhood search approach for the obnoxious p-median problem. Int. Trans. Oper. Res. 2020, 27, 336–360. [Google Scholar] [CrossRef] [Green Version]
  33. Neri, F.; Cotta, C.; Moscato, P. Handbook of Memetic Algorithms; Springer: Cham, Switzerland, 2011. [Google Scholar]
  34. Calvo, B.; Ceberio, J.; Lozano, J.A. Bayesian Inference for Algorithm Ranking Analysis. In Proceedings of the Genetic and Evolutionary Computation Conference Companion; ACM: New York, NY, USA, 2018; pp. 324–325. [Google Scholar]
  35. Calvo, B.; Shir, O.M.; Ceberio, J.; Doerr, C.; Wang, H.; Bäck, T.; Lozano, J.A. Bayesian Performance Analysis for Black-box Optimization Benchmarking. In Proceedings of the Genetic and Evolutionary Computation Conference Companion; ACM: New York, NY, USA, 2019; pp. 1789–1797. [Google Scholar]
  36. Juan, A.A.; David Kelton, W.; Currie, C.S.M.; Faulin, J. Simheuristics Applications: Dealing With Uncertainty In Logistics, Transportation, and Other Supply Chain Areas. In Proceedings of the 2018 Winter Simulation Conference (WSC), Gothenburg, Sweden, 9–12 December 2018; pp. 3048–3059. [Google Scholar]
Figure 1. Example of 2-opt move between B and E nodes, which implies that edges A E ¯ and B F ¯ are removed and edges A B ¯ and E F ¯ are inserted.
Figure 1. Example of 2-opt move between B and E nodes, which implies that edges A E ¯ and B F ¯ are removed and edges A B ¯ and E F ¯ are inserted.
Mathematics 09 00509 g001
Figure 2. Example of 1-move of B from solid line route to dashed line route.
Figure 2. Example of 1-move of B from solid line route to dashed line route.
Mathematics 09 00509 g002
Figure 3. Example of swap move between B and E nodes.
Figure 3. Example of swap move between B and E nodes.
Mathematics 09 00509 g003
Figure 4. Example of In-move of B.
Figure 4. Example of In-move of B.
Mathematics 09 00509 g004
Figure 5. Example of Out-move of B.
Figure 5. Example of Out-move of B.
Mathematics 09 00509 g005
Figure 6. Parallel cooperation scheme for the ILS based on solution migrations.
Figure 6. Parallel cooperation scheme for the ILS based on solution migrations.
Mathematics 09 00509 g006
Figure 7. Credible intervals (5% and 95% quantiles) and expected probability of winning for the proposed Iterated Local Search (ILS) algorithms and the state of the art (SOTA).
Figure 7. Credible intervals (5% and 95% quantiles) and expected probability of winning for the proposed Iterated Local Search (ILS) algorithms and the state of the art (SOTA).
Mathematics 09 00509 g007
Table 1. Performance of the different values of α for the proposed constructive method after 10,000 iterations.
Table 1. Performance of the different values of α for the proposed constructive method after 10,000 iterations.
α #B.CostT(s)
0.0057542.35.47
0.250852.37.20
0.5011480.011.73
0.7501947.013.47
1.0002073.014.29
Random15569.511.64
Table 2. Performance of the different values of α for the proposed constructive method coupled with the local search after 10,000 iterations.
Table 2. Performance of the different values of α for the proposed constructive method coupled with the local search after 10,000 iterations.
α #B.CostT(s)
0.0029470.911.13
0.2522474.018.44
0.5017479.624.41
0.7516480.226.61
1.0017484.327.00
Random25471.524.77
Table 3. Performance comparison among the proposed perturbation methods.
Table 3. Performance comparison among the proposed perturbation methods.
α Perturbation β #B.CostT(s)
0RandomMove1023443.44.43
2538436.35.85
5040430.26.19
7528435.66.19
RouteCost11513.52.78
21510.33.10
31514.83.42
RandomDeassign15456.50.84
210452.62.04
38449.63.43
510448.45.71
RandomRandomMove1018448.24.95
2529436.57.50
5035433.38.74
7528435.68.47
RouteCost10590.00.75
20590.20.82
31590.90.79
RandomDeassign117451.83.67
222442.55.88
319441.47.37
517442.78.85
Table 4. Comparison between I L S M , the exact method (IP) and the memetic algorithm (MA).
Table 4. Comparison between I L S M , the exact method (IP) and the memetic algorithm (MA).
|K| ρ ζ ILS M IPMA
13 0.2 1.1 661
1.2 661
1.3 662
1.4 662
1.5 661
25 0.2 1.1 661
1.2 662
1.3 662
1.4 661
1.5 562
596015
Table 5. Performance comparison for | K | = 13 and | K | = 25 occasional drivers.
Table 5. Performance comparison for | K | = 13 and | K | = 25 occasional drivers.
| K | ζ ILS ILS P ILS M SOTA
Cost#B.T(s)Cost#B.T(s)Cost#B.T(s)Cost#B.
131.1242.3868.67242.3861.84242.3863.13242.535
1.2232.8468.29232.8460.78232.8463.39233.124
1.3230.2868.08230.2867.00230.2863.30230.584
1.4229.5367.72229.5362.14229.5363.37230.382
1.5222.2767.40222.2761.72222.2763.13223.431
231.46308.03231.46302.69231.463021.26232.0116
251.1232.20614.34232.2063.37232.2065.18232.584
1.2227.96614.32227.9663.38227.9665.75228.235
1.3225.24613.35225.2463.49225.2465.45225.256
1.4216.07611.84216.0764.07216.0765.18216.086
1.5212.02611.35212.0263.21212.0264.88212.026
222.703013.04222.70303.51222.70305.29222.8327
Table 6. Performance comparison for | K | = 50 occasional drivers.
Table 6. Performance comparison for | K | = 50 occasional drivers.
ρ ζ ILS ILS P ILS M SOTA
CostGap#B.T(s)CostGap#B.T(s)CostGap#B.T(s)CostGap#B.
0.051.1539.78531.40%2419.5918540.51651.53%0101.7118532.34790.00%4170.3358537.79861.02%1
1.2503.20010.80%3389.4178500.65050.29%364.05583503.6250.88%2203.561499.2250.00%2
1.3486.97230.26%1386.9173488.16690.50%495.45933485.73280.00%3195.2685491.21261.13%0
1.4471.84441.01%3382.2975467.11620.00%4103.3242470.80170.79%1193.2252473.5741.38%1
1.5453.81470.00%3383.0937455.73230.42%055.57933454.92440.24%2191.0568456.80820.66%2
0.11.1584.95470.00%1466.8708585.6920.13%196.67783585.41940.08%2233.156587.19460.38%2
1.2551.98030.47%2430.2182553.86380.81%379.56183553.45740.74%3231.1562549.39870.00%2
1.3541.13480.00%3420.7238547.0671.10%485.77933546.05150.91%3222.7265544.30120.59%1
1.4533.36590.59%1414.1407535.68261.03%3100.1178537.26981.33%2221.526530.21560.00%3
1.5524.90171.55%3415.2357517.14540.05%3117.9817519.10730.43%1217.0753516.88940.00%3
0.21.1663.59260.16%3595.0698663.75590.18%2141.5705662.54360.00%3315.4683666.32680.57%3
1.2643.85840.38%2568.4518641.87530.07%387.92133641.43620.00%5326.2498642.36020.14%1
1.3641.05530.79%2562.1503639.20080.50%3122.836639.29330.51%2329.638636.01850.00%3
1.4634.24170.24%3544.6653633.52660.13%369.31633632.69580.00%3324.1843634.24240.24%3
1.5626.09210.00%3535.832626.23780.02%381.129627.06340.16%2320.1565628.72490.42%2
1.21.1548.25220.05%1419.0178548.45160.08%2141.4412547.98790.00%2253.8163556.46411.55%1
1.2532.78710.00%2427.1283533.53990.14%051.02833533.21590.08%2237.4145541.49671.63%2
1.3525.75130.16%2435.0688532.18041.38%1109.7833524.93330.00%2243.4765534.94081.91%1
1.4526.82430.25%0443.8138527.02450.29%388.965525.52510.00%2248.429534.98031.80%1
1.5530.93570.91%0453.4277526.14890.00%466.63233526.67520.10%3258.1862531.93921.10%1
1.41.1552.38210.21%1430.4313551.22520.00%391.93033551.56960.06%2234.8208559.3221.47%2
1.2538.86560.17%1432.7217538.78840.15%157.576537.96060.00%2240.0383546.4941.59%2
1.3536.87560.47%1441.8725534.90650.10%3110.9935534.37060.00%2249.0508543.17211.65%1
1.4536.76970.86%1450.4062536.46040.80%1108.433532.19840.00%3255.0165540.02341.47%2
1.5536.23980.51%1459.4875535.81740.43%1132.6498533.51950.00%3265.1078539.61461.14%2
1.61.1554.56380.98%1427.4273554.57250.98%273.339549.16680.00%4245.174563.06232.53%0
1.2543.42670.16%3442.693544.26570.32%0120.5182542.54490.00%3245.2358551.62831.67%1
1.3543.38480.17%1451.8478544.40850.36%0297.7438542.46530.00%3254.8628547.82210.99%2
1.4541.43040.13%0460.8212540.96990.04%2517.5568540.74740.00%2266.4755546.70861.10%2
1.5543.2740.36%2468.7355541.30170.00%2792.5418541.45650.03%1276.5442547.07221.07%1
549.750.43%52451.99549.540.39%64138.81548.540.21%74248.95552.630.97%50
Table 7. Performance comparison for | K | = 100 occasional drivers.
Table 7. Performance comparison for | K | = 100 occasional drivers.
ρ ζ ILS ILS P ILS M SOTA
CostGap#B.T(s)CostGap#B.T(s)CostGap#B.T(s)CostGap#B.
0.051.1446.85420.50%3461.8845446.76320.48%550.84183444.6280.00%5176.1205445.52050.20%4
1.2393.46360.01%5347.7535394.19060.20%4124.0983393.41370.00%6170.5258397.62751.07%2
1.3309.08670.00%6220.556309.08670.00%676.62167309.21350.04%5127.8515309.11520.01%5
1.4291.8470.09%5160.219291.84180.09%599.157291.87610.10%595.24367291.58230.00%4
1.5256.68831.79%5128.2215256.68831.79%548.07133252.84730.27%579.11217252.1680.00%6
0.11.1523.05341.22%3654.3707519.62550.56%3120.4445516.75010.00%6277.8033518.47610.33%2
1.2479.72690.31%4539.1515481.40610.66%4157.8802478.25220.00%5274.8117482.06140.80%4
1.3427.87762.86%3462.71426.39332.50%3129.64424.15541.96%4232.155415.99280.00%3
1.4402.3680.16%4415.5207402.3680.16%495.69033401.70550.00%6211.4222402.62240.23%2
1.5384.1581.88%4388.4473397.0815.31%389.23267388.16492.94%4191.0957377.07380.00%4
0.21.1639.87370.00%31006.771642.57480.42%4161.6953642.30110.38%3565.708641.34450.23%3
1.2623.66780.92%4964.2745622.56190.74%5166.8772623.75140.93%4591.0685618.0080.00%2
1.3605.7050.91%4873.0052605.75140.92%4158.8033602.06150.30%4546.6782600.24850.00%3
1.4596.30770.73%4845.7318594.03140.35%4121.6118594.01790.35%4540.0835591.96840.00%4
1.5591.55291.30%3830.2405590.81631.17%357.886589.45980.94%3529.7783583.97390.00%3
1.21.1453.55430.56%3532.8617451.94240.21%4124.8337451.00630.00%5329.6615453.93280.65%1
1.2437.110.56%4516.6463437.29560.61%2150.8505434.65440.00%5248.1792439.13651.03%0
1.3413.53530.61%2470.4215414.83680.93%244.55867411.01140.00%6235.5038418.79161.89%0
1.4416.31251.60%2475.7985413.67930.96%1127.474409.75690.00%6255.2198417.01911.77%0
1.5417.72031.80%1489.0567413.72770.83%392.63217410.33630.00%4263.5218414.60621.04%1
1.41.1457.04560.05%3537.4583456.8770.02%3128.7593456.80320.00%5283.0257459.94420.69%1
1.2445.10860.19%2531.8792445.92190.38%1128.3608444.24350.00%5265.7002448.92991.05%2
1.3428.71520.66%4509.4325430.91091.17%1109.2697425.92090.00%2267.0003435.44512.24%1
1.4431.7340.91%2510.7673428.81540.23%2110.4097427.90690.01%4276.2122427.85230.00%2
1.5430.97970.62%2528.5645430.83960.58%164.2445428.34190.00%4292.21432.28090.92%2
1.61.1461.87920.01%3558.2377463.12080.28%2115.4152461.83510.00%4294.3458465.82420.86%0
1.2453.44980.08%2572.0842453.11180.01%378.56083453.06860.00%4283.187457.93171.07%1
1.3442.05160.25%2555.9252440.93490.00%366.0465441.3210.09%3295.9443449.62491.97%1
1.4441.17340.18%1555.8278440.38880.00%4109.6753440.65280.06%3307.37443.23960.65%1
1.5441.70290.27%2574.9573441.35020.19%388.07833440.50290.00%4322.1748443.39120.66%1
451.480.70%95540.63451.500.72%97106.59449.670.28%133294.29451.190.65%65
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Martín-Santamaría , R.; López-Sánchez , A.D.; Delgado-Jalón , M.L.; Colmenar , J.M. An Efficient Algorithm for Crowd Logistics Optimization. Mathematics 2021, 9, 509. https://doi.org/10.3390/math9050509

AMA Style

Martín-Santamaría  R, López-Sánchez  AD, Delgado-Jalón  ML, Colmenar  JM. An Efficient Algorithm for Crowd Logistics Optimization. Mathematics. 2021; 9(5):509. https://doi.org/10.3390/math9050509

Chicago/Turabian Style

Martín-Santamaría , Raúl, Ana D. López-Sánchez , María Luisa Delgado-Jalón , and J. Manuel Colmenar . 2021. "An Efficient Algorithm for Crowd Logistics Optimization" Mathematics 9, no. 5: 509. https://doi.org/10.3390/math9050509

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

Article Metrics

Back to TopTop