Next Article in Journal
Ecological Network Construction Based on Minimum Cumulative Resistance for the City of Nanjing, China
Previous Article in Journal
A Multimedia Data Visualization Based on Ad Hoc Communication Networks and Its Application to Disaster Management
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Spatial-Temporal Voronoi Diagram-Based Heuristic Approach for Large-Scale Vehicle Routing Optimization with Time Constraints

1
College of Information Engineering, Shenzhen University, Shenzhen 518060, China
2
Shenzhen Key Laboratory of Spatial Information Smart Sensing and Services, College of Civil Engineering, Shenzhen University, Shenzhen 518060, China
3
Key Laboratory for Geo-Environmental Monitoring of Coastal Zone of the National Administration of Surveying, Mapping and GeoInformation, Shenzhen University, Shenzhen 518060, China
4
State Key Laboratory of Information Engineering in Surveying, Mapping, and Remote Sensing, Wuhan University, Wuhan 430079, China
*
Authors to whom correspondence should be addressed.
ISPRS Int. J. Geo-Inf. 2015, 4(4), 2019-2044; https://doi.org/10.3390/ijgi4042019
Submission received: 28 July 2015 / Revised: 2 September 2015 / Accepted: 8 October 2015 / Published: 12 October 2015

Abstract

:
Vehicle routing optimization (VRO) designs the best routes to reduce travel cost, energy consumption, and carbon emission. Due to non-deterministic polynomial-time hard (NP-hard) complexity, many VROs involved in real-world applications require too much computing effort. Shortening computing time for VRO is a great challenge for state-of-the-art spatial optimization algorithms. From a spatial-temporal perspective, this paper presents a spatial-temporal Voronoi diagram-based heuristic approach for large-scale vehicle routing problems with time windows (VRPTW). Considering time constraints, a spatial-temporal Voronoi distance is derived from the spatial-temporal Voronoi diagram to find near neighbors in the space-time searching context. A Voronoi distance decay strategy that integrates a time warp operation is proposed to accelerate local search procedures. A spatial-temporal feature-guided search is developed to improve unpromising micro route structures. Experiments on VRPTW benchmarks and real-world instances are conducted to verify performance. The results demonstrate that the proposed approach is competitive with state-of-the-art heuristics and achieves high-quality solutions for large-scale instances of VRPTWs in a short time. This novel approach will contribute to spatial decision support community by developing an effective vehicle routing optimization method for large transportation applications in both public and private sectors.

1. Introduction

Flexible transportation service not only reduces travel cost, but also alleviates related energy and environmental concerns, such as traffic congestion, energy consumption, and carbon emission [1,2]. With the advancement of geographic information science (GIS), space-related problem decision-making has been embedded in spatial decision support systems (SDSSs) to provide flexible transportation service in both public and private sectors [3], such as the design of school bus routes [4], collection of solid waste [5,6], distribution of goods in chain business [7], design of police patrol routes [8], and planning express deliveries [9]. Spatial function tools are used for intelligent transportation operation in many services including management of geo-referenced transport network data, geocoding massive human demands, positioning moving vehicles, and navigating routes for drivers [5,6,7,8,9].
Vehicle routing optimization (VRO) aims to design least cost routes to satisfy geographically-distributed human demand through spatial intelligence of SDSSs in the field of transportation [10], including the shortest path problem (SPP) [11,12,13], traveling salesman problem (TSP) [14], and the vehicle routing problem (VRP) [5,6,7]. One type of VRO is modeled as the vehicle routing problem with time window (VRPTW), which imposes time constraints on customers, vehicles, and depots to accept or distribute high quality service [4,6,14]. It specifies that a customer only accepts certain transportation-related service in a given time interval [15,16,17]. The VRPTW is computationally intractable in many real-life applications [18]. The heuristic algorithm is the only justified approach as it can find good solutions in a reasonable time [16,17]. There are two types of heuristic algorithms for the VRPTW, which include local search and evolutionary optimization. Local search iteratively modifies local route structures to improve solution quality and follows a single trajectory to explore the solution space [3,6,7]. Evolutionary optimization simultaneously searches multiple parts of the whole solution space to converge on the best solution [5,19,20]. Recently, state-of-the-art heuristic algorithms have been reported to yield a high quality solution of the VRPTW with hundreds of customers [5,9,18]. More efficient heuristics are needed for even larger VRPTW applications.
Spatial principle has exhibited good performance in space-related problem decision-making [21,22,23] in problems such as bus stop location [3], hazmat route planning [20], and path covering [24]. To efficiently solve VRO, from a spatial perspective, a few speed-up strategies have been developed to handle spatial issues and extend solvable VRO instances up to thousands of customers, which include the granular neighborhood [25], the kth nearest neighbors [26], and the k-ring-shaped Voronoi neighbors [27]. The common denominator of these effective strategies is to search only a limited number of spatial neighbors to save computing efforts [28]. However, such useful strategies become ineffective for the VRPTW since time constraint imposes an exceptional influence on the proximity of consecutively served customers in a route. A long wait will occur if two spatially-close customers with quite different time windows (for example, one is 8:00–9:00 a.m. and the other is 3:00–4:00 p.m.) are visited consecutively in a route, which challenges the motivation of spatial proximity-based heuristics approaches. Hence, spatial proximity measures must be extended to address the additional temporal constraints [18]. Moreover, how to accelerate the VRO with the help of spatial-temporal thinking should be investigated.
Voronoi diagrams describe both spatial proximity and topological proximity between spatial objects [29,30,31,32]. By extending it to the space-time context, a spatial-temporal Voronoi diagram (STVD) is well suited for measuring the proximity of customers with time constraints. Therefore, this article proposes a spatial-temporal Voronoi diagram-based heuristic approach to solve very large-scale VRPTWs. A derived spatial-temporal Voronoi neighbors from the Voronoi diagram is used to select promising candidates for a local search. Furthermore, motivated by the truth that nearer neighbors have a higher possibility to be consecutively served in a route [28], a Voronoi distance decay strategy is proposed to assign reasonable search efforts on neighbors with different Voronoi distances. A spatial-temporal feature guided search is used to reconstruct unpromising micro route structures. Intensive experiments on benchmark datasets (25–1000 customers) and real-world large scale VRPTWs and its multi-depot variants (2000–10,000 customers) have been implemented to assess the performance of the proposed approach. This efficient and effective approach enables current local search heuristics to solve super large-scale VRPTWs and will contribute to improving spatial intelligence for transportation-oriented SDSSs.
The remainder of this paper is organized as follows. Section 2 reviews related literature. Section 3 introduces the VRPTW, the STVD, the derived spatial-temporal Voronoi distance and neighbors. The proposed spatial-temporal Voronoi diagram-based heuristic for the VRPTW and its multi-depot variants are described in Section 4, and details of the experiments, results, and comparisons are reported in Section 5. Section 6 discusses the impact of the STVD and spatial-temporal proximity behind the best found solutions. The last section draws the conclusions.

2. Literature Review

This section reviews heuristic algorithms for the VRPTW and the integration of vehicle routing optimization and GIS.

2.1. Heuristic Algorithms for the VRPTW

Heuristic algorithms for VRPTWs are divided into two categories: local search and evolutionary optimization. Starting from an initial solution, local search shifts from a current solution to a better neighborhood solution with a simple change of local routes [33]. The change is made iteratively by moving nodes or exchanging arcs within a route or between routes such as 1–0 exchange, 1–1 exchange, 2-Opt, and λ -opt. Usually, the change process becomes trapped in a local optimum. To overcome unpromising results, many intelligent strategies that accept some worse solutions have been developed to further improve the solution quality, such as simulated annealing [34], iterated local search [35], large neighborhood search [36], variable neighborhood search [37], and tabu search [38]. Numerous tests on small- and medium-size VRPTWs with 25–100 customers have demonstrated good performance of local search heuristics [34,36,37].
Evolutionary optimization concurrently improves many solutions and results in high quality solutions. Four major steps are involved: representation, selection, combination, and mutation. Some of the most successful evolutionary optimization algorithms for the VRPTW are provided by Repoussis et al. [39] and Vidal et al. [40]. Mester and Bräysy [41] used the standard evolutionary optimization framework to guide exploration in the VRPTW solution space with solution initialization and evolution. Gehring and Homberger [42] parallelized the genetic algorithm and first solved VRPTW instances up to 1000 customers. Usually, local search is used as a component in the evolutionary optimization approach. Fast and simplified node or arc exchange-based local search have been used for offspring education in the genetic algorithm [41]. Therefore, more efficient local search heuristics also help to improve evolutionary optimization.
For larger VRPTW instances, recent advances have proposed several accelerating techniques to save computing efforts while still achieving high quality solutions. Following the local search principle, taking spatial distance into account, Cordeau [38] limited the local search candidates with kth nearest neighbors to shorten computing time. Toth and Vigo [25] selected the local search evaluated nodes with a fixed distance threshold. Considering time constraints, Ibaraki [43] proposed a time-oriented neighbor list-based strategy to reduce the local search evaluation. Some unpromising search candidates had been excluded with the unmatched time windows. But the spatial proximity has been ignored. Nagata [44] developed a time warp operation for customers with a late service to avoid complex time window analysis. An additional penalty function was added to the original objectives to justify the local search heuristics. However, the spatial dimension and the temporal dimension are still separated in these local search heuristics.
Another effective accelerating approach is to decompose large-scale VRPTW instances into many smaller subproblems. Using spatial clustering, Dondo and Cerdá [45] divided the large scale VRPTW into a set of small-sized problems. Routes were generated for each small problem to provide a high quality initial solution. Qi et al. [18] developed an effective spatial-temporal distance measure to deal with both space and time issues. A large-scale VRPTW was partitioned with a k-medoid clustering method to generate a good initial solution. A standard genetic algorithm was used to improve the initial solution. Good performance of these effective approaches has been verified by VRPTW instances with no more than 1000 customers.
With regard to the Voronoi diagram, the only work has been provided by Milthers [46] who used two-dimensional Voronoi diagrams to split the VRPTW into many subproblems and then solve them with large neighborhood search heuristics. It showed the effectiveness of Voronoi diagrams in guiding the search process. However, this study dealt only with decomposition of the VRPTW in the solution construction stage. Use of the spatial-temporal Voronoi diagram in speeding up the local search for the VRPTW should still be further considered.

2.2. Integration of Vehicle Routing Optimization and GIS

Effective approaches to find high quality solutions for VRPTWs have been embedded in a GIS-based SDSS to deal with many real world applications. Generally, the integration between GIS and vehicle routing optimization is tightly coupled. Spatial data management, processing, and visualization tools are used to collect customer orders, georeference related data, activate the solving process, and display routes for VROs, as in GIS software such as ArcGIS and TransCAD. In line with local search, Weigel and Cao [7] first reported their efforts in the implementation of a tabu heuristics approach in a GIS environment to deal with VRO for a major American retailer. Following the evolutionary optimization line, Mendoza et al. [5] integrated a customized routing module, which improved solution quality with commercial solutions such as SAP/R3 and ArcGIS to cope with VROs in public utilities. Experiments on a real-world case in Bogotá, Colombia with 323–601 customers verified the effectiveness of evolutionary optimization and GIS software.
Recently, progress of GIS related to cloud computing transfers the integration of GIS and VRO to a loose coupling way. Using Google maps, Santos et al. [47] developed user-friendly web-based SDSSs that embed VRO to deal with urban trash collection in Coimbra, Portugal. TU et al. [48] presented a cloud GIS-based spatial decision support framework with variable neighborhood search heuristics for dynamic vehicle routing using historical traffic information. These practices have proven the dominance of VROs in real-life transportation applications. However, they also indicate that current spatial intelligence should be improved to enhance the ability of SDSSs in transportation departments to cope with increasing numbers of customers.
In summary, state-of-the-art heuristics, including local search and evolutionary optimization, solve small- and medium-size VRPTWs in a reasonable time. They have been verified to be effective in a GIS environment for real-life transportation cases with no more than 1000 customers. For larger-size real-life applications, more efficient heuristic algorithms are needed to reduce computing time. Using the spatial-temporal Voronoi diagram, this paper proposes an efficient local search-based approach to address VRPTWs up to 10,000 customers in a reasonable time. Differing from the neighborhood in the spatial context [25,26,27,48,49], the spatial-temporal Voronoi neighborhood considering both spatial distance and time windows is proposed to limit the search space. A Voronoi distance decay strategy is developed to assign more searching efforts to nearer neighbors. The spatial-temporal feature guided search is used to escape from local minima. Details of the STVD, Voronoi distance, Voronoi neighbors, and the proposed approach for the VRPTW are described in the next sections.

3. The VRPTW and the Spatial-Temporal Voronoi Diagram

This section introduces the VRPTW, the STVD, and the spatial-temporal Voronoi distance.

3.1. The VRPTW

The VRPTW has five components: customers, depot, vehicle, routes, and the solution.
Customers: a set of customers V c = { v 1 , v 2 , , v n } expects to be served. A customer vi (I > 0) located at (xi, yi) has a unique demand, qi, a service duration, si, and a service time window <ei, li>. The service is required to arrive after start time, ei, and before end time, li. Such a time window is termed “soft” when it could be violated with a penalty cost, and termed “hard” when no violation is permitted.
Depot: The depot v 0 located at (x0, y0) provides service in a time window <e0, l0>.
Vehicles: A fleet of K identical vehicles with the capacity Q is located at the depot. Each vehicle departs from the depot, serves multiple customers, and returns to the depot. Travel distance and time between nodes (includes customers and the depot) i, j are denoted as dij and tij, respectively, where i j .
Routes: A route r = v 0 , v 1 , v 2 , ... ,   v R ,   v R + 1 is formed by a sequence of visited customers, which represents the service process of a vehicle, where R denotes the number of visited customers. v R + 1 = v 0 , so that the vehicle must return to the depot. The earliest departure time at the depot v 0   is a r , the earliest service time at a customer v i   is a v i , and the earliest return time at the depot is a v R + 1 , which are defined recursively as follows:
{ a v 0 = a r   a v i = max { a v i 1 + s v i 1 + t i 1 , i , e v i } , ( i = 1 , ,   R + 1 )
A route is specified following two restrictions: (1) The route duration time a v R + 1 a r should be no more than the maximum duration Tmax; (2) The total served demand i = 1 R q i should be no more than the vehicle capacity Q. The total travel distance of the route is defined as i = 0 R d v i v i + 1 . A route is defined as feasible if the customer’s service time window, the route duration time, and the vehicle capacity are satisfied.
The VRPTW solution: A solution for a VRPTW instance is a set of feasible routes r 1 , r 2 , r 3 , ... ,   r K such that a single vehicle visits each customer once. A hierarchy of objectives of the VRPTW is followed in this paper. The number of used vehicles is first minimized and then the total travel distance is reduced.

3.2. The Spatial-Temporal Voronoi Diagram for VRPTWs

Components of the VRPTW, such as customers, depot, vehicles, and routes, have both spatial and temporal attributes. Spatial attributes refer to customers’ locations, the depot location, and the vehicle trajectories. Temporal attributes refer to the time window, service time, travel time, and route duration time. To represent them simultaneously, a spatial-temporal coordinate system is built by taking the temporal dimension to be perpendicular to the planar XY plane. Therefore, time windows of the customers and the depot are modeled as vertical lines rooted in their locations.
Figure 1 illustrates a small-size VRPTW with five customers (v1 to v5), one depot (v0), and two routes (R1, R2). Customers (v1v5) and the depot (v0) are modeled as vertical lines from its start time point to end time point, as line segments L1L5 and L0. Projections on the XY plane denote their spatial locations, whereas projections on the time dimension denote their time windows and actual service time. The transportation between customers denotes the service process in the routes (R1 or R2).
Distance in this coordinate system is defined as Equation (2), where (xi, yi) and (xj, yj) denote the spatial location of i and j, and ti and tj denote the time at i and j, v ¯ is the mean travel speed:
d ( v i , v j ) = ( x i x j ) 2 + ( y i y j ) 2 + ( v ¯ ( t i t j ) ) 2
Voronoi diagrams partition space into adjacent Voronoi cells with given points [30]. Following this principle, a spatial-temporal Voronoi diagram divides the spatial-temporal space into many cells. To generate a Voronoi diagram for the VRPTW, the spatial-temporal central point of a customer’s spatial temporal line, (xi, yi, (ei + li)/2.0), which is the red point in Figure 1, is used as the seed point. The STVD for VRPTWs is built by the fast quickhull algorithm [50].
In the STVD, a pair of points whose cells share a boundary (Voronoi face or Voronoi edge) are Voronoi neighbors [30]. The spatial-temporal Voronoi distance from a given point i to the point j, vd(i, j), is defined as the minimum number of crossings of the spatial-temporal Voronoi boundary in any route from i to j [27,31]. Figure 2 provides an example that illustrates the Voronoi distance. The Voronoi distance from P1 to P3 is 2 for the two crossings of Voronoi boundaries (C1–C2). The Voronoi distance from P1 to P13 is also 2 for the crossings C3–C4. The Voronoi distance from P1 to P12 is 3 for the crossing C5–C7. Thus, Voronoi neighbors with different spatial-temporal proximity can be measured. As both spatial distance and time windows are considered, it is well suited for accelerating local search for the solving of VRPTW. Using these useful definitions, this paper proposes an efficient local search heuristic to address large-scale VRPTWs.
Figure 1. Spatial-temporal representation of VRPTW.
Figure 1. Spatial-temporal representation of VRPTW.
Ijgi 04 02019 g001
Figure 2. The spatial-temporal Voronoi diagram and the spatial-temporal Voronoi distance.
Figure 2. The spatial-temporal Voronoi diagram and the spatial-temporal Voronoi distance.
Ijgi 04 02019 g002

4. The Spatial-Temporal Voronoi Diagram-Based Heuristic

This section introduces the spatial-temporal Voronoi diagram-based heuristic (STVDH) for large-scale VRPTWs. The principle of the STVDH is to speed up the local search procedure by using useful spatial thinking, including the spatial-temporal Voronoi neighbors, distance decay search strategy, and local route features. The overall framework of the proposed heuristic is summarized in Figure 3. After the construction of an initial solution (step 1-1), a local search heuristic based on spatial-temporal Voronoi neighborhood is followed to improve solution quality (step 1-1 to step 1-4). A spatial-temporal Voronoi distance decay strategy is developed to assign reasonable searching efforts on neighbors with different distances (step 1-2). Spatial-temporal route features are identified and guides the searching process escape from local minima (step 1-3). The stopping condition is a limitation on the number of iterations (step 1-4). Finally, the best found solution is reported (step 1-5).
Figure 3. The framework of the spatial-temporal Voronoi diagram-based heuristic algorithm.
Figure 3. The framework of the spatial-temporal Voronoi diagram-based heuristic algorithm.
Ijgi 04 02019 g003

4.1. The Construction Algorithm

The construction algorithm iteratively inserts an unrouted node into a proper position until all customers are routed. During the insertion, instead of evaluating all unrouted nodes, neighbor customers within a given Voronoi distance are selected as candidates of the next inserted nodes. The details of the construction algorithm are described in Figure 4. First, customers are sorted by the start time window and stored in a queue L (step 2-0). Then, L’s front unrouted node is popped out as the operated node μ   (step 2-1). An empty route r is initialized with u (step 2-2). Another unrouted customer v is randomly selected from μ ’ Voronoi neighbors. Node v will be inserted before or after a routed node i in the route r (step 2-3). If the insertion is performed, u is updated with v. The best insertion place is defined as the one that minimizes the added total travel length and the total value of the end time window violation as Equation (3), where j denotes the next visited node of i. λ   is a random value in [0.5, 2]. It should be noted that the arrival time at v, j should not be before the start time, as Equations (4) and (5):
Δ F = ( d i v + d v j λ d i j ) + v ¯ ( a i + s i + t i v l v )
a i + s i + t i v > e v
a i + s i + t i v + s v + t v j > e j
Figure 4. The construction algorithm.
Figure 4. The construction algorithm.
Ijgi 04 02019 g004
During the insertion, several constraints including the start time window, route duration time, vehicle capacity, and the maximum route length should be satisfied. If no place is found for insertion, we pop L’s front node as u, insert it into a new route, and label it as routed (step 2-2 and step 2-3). The insertion will end if all customers have been labeled as routed (step 2-5). Finally, obtaining all routes is the initial solution.

4.2. Local Search

Local search iteratively explores the solution space to improve solution quality. Usually, the exploration removes or adds edges from the current solution by using local search operators. Three typical local search operators, including the 1-0 exchange move, 1-1 exchange move, and 2-Opt move [51], are used to explore the neighborhood solution in this article.
  • 1-0 exchange move injects a node from the original place and inserts it after another. As Figure 5a shows, node b is removed from its current position and inserted before node i.
  • 1-1 exchange move swaps positions of a pair of nodes. As Figure 5b shows, the places of nodes b and i are swapped.
  • 2-Opt move swaps the ends of two routes after the positions of a pair of nodes. As Figure 5c illustrates, the partial routes after b and i are swapped.
Figure 5. Local search operators (a) 1-0 exchange; (b) 1-1 exchange; and (c) 2-Opt.
Figure 5. Local search operators (a) 1-0 exchange; (b) 1-1 exchange; and (c) 2-Opt.
Ijgi 04 02019 g005
The computing complexity of these three operators depends on two aspects: operated nodes and local search evaluation. Two operated nodes, named b and i, are involved as shown in Figure 5. Therefore, the number of operated candidates is n(n − 1), where n is the number of customers. The time complexity is O ( n 2 ) . For each candidate pair, local search evaluation checks the time window for each customer involved, total duration time, and vehicle capacity for each route. Due to the cascade effect of the arrival time, it will, on average, take O ( n / 2 R ) time, where R is the number of routes. To utilize limited computing effort more efficiently, we propose a spatial-temporal Voronoi distance-decay strategy to assign searching efforts on selected candidates. A time warp operation is also used to shorten computing time for each candidate.

4.2.1. The Spatial-Temporal Distance Decay Strategy

Differing from the equal searching intensity of the k nearest neighbors [26] and the k-ring Voronoi neighbors [27,48], the spatial-temporal Voronoi distance decay strategy searches more on nearer neighbors than further neighbors to balance the solution quality and computing time. For spatial-temporal Voronoi neighbors with Voronoi distance k, the searching probability Pk is defined as Equation (6). As the distance k increases, searching probability Pk will decrease. Therefore, most computing effort will focus on near neighbors, but some necessary efforts are left for further neighbors.
P k = α k k = 1 k m a x α k
where k = 1, …, kmax, and kmax is the maximum searchable Voronoi distance, α [ 1 , )   is a value that controls the spatial-temporal distance decay speed. As the value of α increases, the decay speed becomes faster.
The probability range [TPk−1, TPk] (k = 1, 2, …, kmax) for neighbors no farther than Voronoi distance k is calculated as Equation (7), where TP0 = 0.
T P k = i = 1 k P i
To implement the Voronoi distance decay strategy, local search randomly generates a value of δ  between (0, 1), finds the probability range in which δ is located, and then selects Voronoi neighbors with the corresponding distance k as candidates to evaluate. As it avoids evaluating all neighbors, this useful strategy puts more searching efforts on closer nodes and therefore significantly accelerates the local search. As the number of Voronoi neighbors is fixed, the computing complexity reduces from O ( n 2 ) to O ( n ) .

4.2.2. Time Warp Operation

The local search evaluates distance and time constraints for customers and routes, which cost the most computing effort [43]. Nagata [45] proposed a new penalty function in which change can be computed in O(1) time for the VRPTW. When a later service happens for a customer, a time warp operation is performed such that the arrival time is adjusted to the end of the time window, and a penalty is added to the original objective. Figure 6 shows an example of the time warp. The additional penalized cost is defined as the time warp used in Equations (8) and (9), where twi is the cost value at customer i, and (ai ei)+ is a non-negative value of the service late time at i. Therefore, the objective is changed to minimize the total route number, total route length, and total penalized cost TW(s). For O(1) time consumed, the time warp operation is very fast.
T W ( s ) = i = 1 n t w i
t w i = ( a i e i ) +
Figure 6. Wait time and time warp at a customer.
Figure 6. Wait time and time warp at a customer.
Ijgi 04 02019 g006

4.2.3. Acceptance Criterion

Local search will naturally drop into local minima. A threshold acceptance criterion is used to escape. If the found solution is not 0.5% worse than the current solution, it will be accepted as the new solution. Otherwise, it will be rejected. If the best solution does not improve in Zmax iterations, the spatial-temporal features-guided search will be started.

4.3. Spatial-Temporal Features-Guided Search

Due to the used spatial-temporal Voronoi neighbors, local search explores a relatively small proportion of the neighborhood solutions. Some potential neighborhood solutions will be rejected due to spatial and temporal constraints, such as route duration, time window, and vehicle capacity. Different from traditional random perturbations [37], spatial-temporal features guided search destroys unpromising structures defined by spatial-temporal rules and rebuilds a part of the current solution to escape local minima. It also increases the searchable probability for farther neighborhood solutions. Three components are the spatial-temporal features, the removal algorithm, and the reinsertion algorithm.

4.3.1. Spatial-Temporal Features

Three types of spatial-temporal features are defined in this paper including time window violation nodes φ t , longest distance nodes φ l , and smallest route’s nodes φ s . Their definitions are described below.
  • Time-window violation nodes
The time warp operation will introduce time window lateness in which the arrival time at a customer may be later than the end time of its time window. However, this route feature should not belong to the best solution. We remove such unpromising nodes from the current solution and reinsert them later. Formally, time window violation nodes φ t are defined as Equation (10):
φ t = { v i | t i > l i , v i V c }
  • Longest-distance nodes
To cooperate with the time window, some long segments may be kept in routes and difficult to replace in local search, which leads to the increase of total route length [27]. Longest-distance nodes φ l are end points of the long segment, defined as Equation (11), where S denotes the current solution, eij or eji denotes a segment in S. e ¯   denotes the mean spatial distance of the Voronoi neighbors with Voronoi distance 1. The length of the long segment is more than three times e ¯ .
φ l = { v i | d i j > 3 e ¯ , e i j S | | e j i S , v i V c }
  • The smallest route’s nodes
In some solutions, small routes serve only one, two, or three customers near the depot, which requires more vehicles [48]. Usually, this feature is kept for the suboptimal property. The small route’s nodes are defined as φ s , as Equation (12), where |r| denotes the number of visited customers in the route r:
φ l = { v i | v i r , | r | 3 , v i V c }

4.3.2. Removal Algorithm

To increase diversification of the guided search, more nodes are removed from the current solution in this study. Additional nodes φ a   are Voronoi neighbors of defined features, just as:
φ a = { v i | v d ( v i , v j ) = 1 , v j ( φ t φ l φ s ) , v i ( φ t φ l φ s ) , v i V c }
Therefore, removed nodes φ are spatial-temporal features nodes and their Voronoi neighbors φ a , as in Equation (14). The removal algorithm sequentially ejects all nodes belonging to φ and leaves a partial solution for the insertion.
φ a = { v i | v i ( φ t φ l φ s φ a ) , v i V c }

4.3.3. Insertion Algorithm

This algorithm inserts all removed nodes into new places in the partial solution. First, all removed nodes are randomly pushed into a queue L. Then, the front node of L is popped out and inserted at the best place before or after its Voronoi neighbors to keep spatial-temporal proximity, which minimizes insertion cost as Equation (3), under the limitation of total duration time, time window, and vehicle capacity. It is of note that the end time windows should not be violated. If there is no proper place, a new route is created, and the front node of L is popped out and initialized as the first-served customer. The insertion operation is repeated until all removed nodes are located in proper places. Due to the best choice at each insertion, the final solution is up to the node sequence in the queue. In this article, the sequence is randomly arranged 50 times to obtain different rebuild solutions. Finally, the obtained result of the permutation that minimizes the total objective is accepted as the final solution.

4.4. An Extension of the Solving Algorithm for MDVRPTW

MDVRPTW is a variant of VRPTW, which has more than one depot to serve geographically scattered customers. Compared with the VRPTW, MDVRPTW has an additional problem of how to allocate customers to the right depot. Voronoi partition that divides a study area into many regions with given objects is another typical function of the Voronoi diagram. For the effectiveness, it has been widely used in service area analysis [32]. By using Voronoi partition characteristics of the depots’ spatial-temporal Voronoi diagram, we assign customers to be served by the depot of its located Voronoi regions. By that, the presented STVDH is easy to be extended to deal with a large-scale MDVRPTW by decomposing it to many smaller VRPTWs.
Figure 7 illustrates the workflow of the STVDH’s adaption for the MDVRPTW. The depots’ spatial-temporal Voronoi diagram is built to allocate customers to the located depot so that the MDVRPTW is divided into several VRPTWs, each of which has a depot and many assigned customers. Routes for each VRPTW are first initialized using the construction algorithm in Section 4.1 and then separately improved by the spatial-temporal Voronoi diagram-based local search heuristic in Section 4.2 and Section 4.3. To overcome the border effect of Voronoi diagram, an additional improvement between depots is used to move or exchange nodes between routes served by different depots. This is done by using 1-0 and 1-1 exchanges to move nodes between routes served by different depots after the spatial-temporal features guided search. Details of this process are referred to TU et al. [49]. The stopping condition is the same as the STDVH. Finally, the best found solution is reported.
Figure 7. The adaption of the STVDH for the MDVRPTW.
Figure 7. The adaption of the STVDH for the MDVRPTW.
Ijgi 04 02019 g007

5. Experiment and Comparison

To assess the performance of the STVDH, experiments with benchmark problems and large-scale real-world VRPTW and MDVRPTW problems in Shanghai, China were conducted. The STDVH algorithm was implemented with C++, running on a Windows 7 64-bit system with an Intel Core i7-3.4G processor and 16 GB memory. This section reports test datasets, parameter tuning, computing results, and comparisons with other heuristic algorithms. Computing times of compared algorithms are transformed to the computing platform of STVDH with Dongarra factor [52].

5.1. Test VRPTW and MDVRPTW Problem Dataset

Two types of VRPTW and MDVRPTW problem datasets are tested. The first dataset includes the VRPTW benchmarks of Solomon [15] and Gehring and Homberger [53]. The benchmarks of Solomon have 56 problems with 100 customers. They are divided into six groups with eight to twelve problems, named R1, R2, C1, C2, RC1, and RC2. In the Euclidean plane, customers are randomly distributed (R1 and R2), cluster distributed (C1 and C2) or semi-cluster distributed (RC1 and RC2). Every instance has a single depot within the spatial domain of the customers. The travel time between nodes is equal to the corresponding Euclidean distance. R1, C1, and RC1 have a short time scheduling horizon, whereas R2, C2 and RC2 have a long time scheduling horizon. Similar to Solomon’s VRPTW problems, the VRPTW benchmarks of Gehring and Homberger [53] have 300 VRPTW instances with 200, 400, 600, 800 or 1000 customers [54]. Customers have the same distributions.
The second dataset is a large-scale VRPTW and MDVRPTW problem dataset in Shanghai, China [55]. Five VRPTW instances (Sh1a–Sh5a) and 5 MDVRPTW instances (Sh1b–Sh5b) with 2000 to 10,000 customers and one to six depots are generated to simulate the daily parcel delivery service of a logistics company in Shanghai, China. Customers are randomly selected from the commercial points of interest (POI) using a professional digital navigation map to obtain real-world spatial locations. The time window of each customer is a random value in min bounded by 30 and 60, and the service duration is a random value from 1 to 4 min. Demand is a random value in the interval [1, 100]. Depots are located in professional logistic districts in the city. All vehicles have the same capacity, 2000, and maximum route duration, 480 min. The mean travel speed is set to be 45 km/h.

5.2. Parameter Tuning

There are four parameters to be tuned in the presented STVDH algorithm as shown in Figure 3. Following Coy’s calibration approach [56], a preliminary experiment is conducted on an instance in the problem dataset to find the best parameter settings. The tuning process initially identifies the first two parameters related to the stopping condition and then the last two parameters related to the Voronoi distance decay strategy. The first two parameters, the maximum number of iterations, Nmax, and the maximum number of iterations to start the spatial-temporal features guided local search, Zmax, control the exit of the STVDH. After intensive experiments with different stopping conditions, Nmax should be set to 5000N to converge on a stable high-quality solution, where N is the number of customers. Zmax is set to 100N to start the spatial-temporal feature guided search.
The last two parameters control the Voronoi diagram-based speedup strategy. The third parameter, k m a x , indicates the maximum searchable Voronoi neighbors. As the value of k m a x increases, local search will evaluate more neighbors, which requires more computing efforts. According to the distribution of the Voronoi neighbors, k m a x should be no more than 5 [49]. The last parameter,   α , determines the distance decaying speed. A high value indicates a tendency for fast decay. The proper value of α is within the bound [1,4]. The value space of parameters are summarized in Table 1.
Table 1. Parameter settings of the STDVH algorithm.
Table 1. Parameter settings of the STDVH algorithm.
NotationParameterSetting
Nmaxthe maximum number of iterations5000N
Zmaxthe maximum number of iterations to start the spatial-temporal features guided search100N
kmaxthe maximum searching Voronoi neighbors1, 2, 3, 4, 5
αVoronoi distance decaying speed(0, 4)
N is the number of customers.
Experiments on some selected VRPTW instances are conducted to set parameter values for one type of VRPTW dataset. Taking the second VRPTW dataset as an example, we solved Sh2a with all combinations of the last two parameters. Finally, we set k m a x = 3 and = 2 for the best performance in the experiment. Without loss of generality, identical parameter values were set for each instance. The impact of the Voronoi diagram will be discussed in Section 6. A summary of parameter settings is listed in Table 1. Taking Sh2a as an example, Figure 8 displays the convergence of the number of routes and the total length of routes with the parameter settings used in solving Sh2a.

5.3. The Results of the Solomon [15] and Gehring and Homberger [53] VRPTW Benchmarks

The parameter setting for these VRPTW benchmarks is as: Nmax = 5000N, Zmax = 100N, k m a x = 2 and α = 1.5. For each problem, the STDVH was run 10 times. The total objective, total routes length, and computing time were recorded. Results of three state-of-the-art methods, including the arc-guided evolutionary algorithm (AGEA) [39], the hybrid genetic algorithm with adaptive diversity management (HGASDC) [40], and the local search based heuristics VRPEJ [57], which limits the searching space with the kth nearest neighbor strategy, are compared with the STVDH.
Figure 8. The convergence of the total number of routes and the total routes length (Sh2a).
Figure 8. The convergence of the total number of routes and the total routes length (Sh2a).
Ijgi 04 02019 g008
Table 2 and Table 3 present the comparison of the results on the Solomom and Gehring and Homberger VRPTW benchmarks respectively. Each entry reports the average of computing results of a group (average computing time | the average total routes length). They indicate that the presented STVDH is able to achieve high quality solutions of the VRPTWs with no more than 1000 customers in a relatively short computing time. In terms of the number of routes, the STVDH achieves the fewest routes in both the Solomon (total of 405 routes) and Gehring and Homberger (total of 10296 routes) VRPTW benchmarks. In terms of the total route length, the STVDH performs better than the VRPEJ for all size VRPTW instances, only inferiorly to AGEA on Solomon benchmarks, but superiorly to AGEA on the Gehring and Homberger benchmarks. However, the STVDH’s results are still worse than that of the HGSADC. For the computing efficiency, the STVDH consumes the least computing time in all six size VRPTW instances (100~1000). Therefore, the proposed STDVH exhibits a good performance on the VRPTW benchmarks of Solomon and Gehring and Homberger.
Table 2. Comparison of results on the Solomon VRPTW benchmarks [15].
Table 2. Comparison of results on the Solomon VRPTW benchmarks [15].
InstanceNAGEAHGSDACVRPEJSTVDHSTVDH
1 runBest 5 runBest 10 runAVG 10 runBest 10 run
R110011.92|1211.4311.92|1210.6911.92|1214.6711.92|1213.8511.92|1212.65
R21002.73|954.052.73|951.512.73|954.102.73|954.012.73|953.20
C110010.0|828.3810.0|828.3810.0|828.3810.0|828.3810.0|828.38
C21003.0|589.863.0|589.363.0|589.863.0|589.863.0|589.86
RC110011.50|1384.8311.5|1384.1711.5|1387.8111.5|1386.9311.5|1386.01
RC21003.25|1121.263.25|1119.243.25|1127.383.25|1126.493.25|1125.72
CNV 405405405405405
CTD 57,254.7357,19557,366.9657,341.9757,305.10
T(/min) 1802.683.620.910.9
T2(/min) 52.31.563.620.910.9
Instance: group name. N: number of customers. CNV: cumulative number of vehicles. CND: cumulative travel distance. T: time reported by metaheuristics. T2: time on the computing platform of the STVDH.
Table 3. Comparison of results on the Gehring and Homberger VRPTW benchmarks [53].
Table 3. Comparison of results on the Gehring and Homberger VRPTW benchmarks [53].
InstanceNAGEAHGSDACVRPEJSTVDHSTVDH
1 runBest 5 runBest 10 runAVG 10 runBest 10 run
R120018.2|3640.1118.2|3613.1618.2|3664.2818.2|3653.2418.2|3617.54
R22004.0|2941.994.0|2929.414.0|2938.534.0|2967.874.0|2938.53
C120018.9|2721.9018.9|2718.4118.9|2749.1818.9|2758.6718.9|2721.47
C22006.0|1833.366.0|1831.596.0|1880.476.0|1858.346.0|1835.52
RC120018.0|3224.6318.0|3180.4818.0|3205.8118.0|3218.8318.0|3179.89
RC22004.3|2554.334.3|2536.204.3|2574.924.3|2584.374.3|2544.44
CNV 694694694694694
CTD 169,163168,092176,440.8170,415.5168,373.7
T(/min) 908.405.41.221.2
T2(/min) 26.74.95.41.221.2
R140036.4|8514.1136.4|8402.5736.4|8615.2936.4|8598.3936.4|8446.36
R24008.0|6258.828.0|6152.928.0|6274.208.0|6279.138.0|6160.84
C140037.6|7273.9037.6|7170.4737.6|7339.8837.6|7514.0137.6|7186.10
C240011.7|3941.7011.6|3950.9511.7|4024.8211.7|3995.2111.7|3951.71
RC140036.0|8088.4636.0|7907.1436.0|8107.8636.0|8098.3236.0|7952.00
RC24008.40|5516.598.5|5215.218.4|5394.548.4|5393.498.4|5292.92
CNV 13811381138113811381
CTD 395,936388,013397,565.9398,785.5389,385.5
T(/min) 18034.19.82.302.3
T2(/min) 53.319.89.82.302.3
R160054.5|18,781.7954.5|18,023.1854.5|18,620.7354.5|18,587.9054.5|18,237.74
R260011.0|12,804.6011.0|12,352.3811.0|12,615.0711.0|12,612.6011.0|12,343.51
C160057.3|14,236.8657.4|14,058.4657.3|14,605.5357.3|14,585.5557.3|14,271.58
C260017.4|7729.8017.4|7594.4117.4|7748.4717.4|7728.7417.4|7589.10
RC160055.0|16,767.7255.0|16,097.0555.0|16,529.6355.0|16,524.7755.0|16,203.93
RC260011.4|11,311.8111.5|10,511.8611.4|10,879.2611.4|10,824.0011.4|10,626.35
CNV 20662068206820662066
CTD 816,326786,793809,986.9808,635.65792,722.1
T(/min) 27099.416.23.913.9
T2(/min) 80.057.816.23.913.9
R180072.8|32,734.5772.8|31,311.3872.8|32,281.4872.8|32,108.0172.8|31,540.28
R280015.0|20,618.2115.0|19,933.3915.0|20,448.8815.0|20,339.0515.0|19,969.61
C180075.2|25,911.4475.4|24,876.9375.2|26,097.5375.1|25,972.6375.1|25,490.85
C280023.4|11,835.7223.3|11,475.0523.4|11,897.3123.3|11,826.4123.3|11,621.87
RC180072.0|33,975.6172.0|29,404.3272.0|31,071.1672.0|30,904.0172.0|30,390.41
RC280015.5|17,536.5415.4|16,495.8215.5|16,878.6915.4|16,733.7815.4|16,467.01
CNV 27392739273927362736
CTD 1,424,3211,334,9631,386,750.41,378,838.81,354,800
T(/min) 36021524.85.825.8
T2(/min) 106.6125.124.85.825.8
R1 91.9|51,414.2691.9|47,759.6691.9|49,741.4391.9|49,396.9191.9|48,523.49
R2 19.0|30,804.7919.0|29,076.4519.0|29,871.6819.0|29,595.3019.0|29,092.01
C1 94.2|43,111.6094.1|41,572.8694.1|43,089.4594.1|42,682.2794.1|41,977.06
C2 29.3|16,810.2228.8|16,796.4529.0|117,340.1328.9|17,174.7328.8|16,877.68
RC1 90.0|46,753.6190.0|44,333.4090.0|46,152.9790.0|45,824.6590.0|44,974.63
RC2 18.4|25,588.5218.2|24,131.1218.4|24,951.3118.3|24,655.4818.2|24,248.11
CNV 34283420342134193419
CTD 2,144,8302,036,7002,111,469.72,093,293.52,056,930
T(/min) 45034934.57.757.7
T2(/min) 133.3203.134.57.757.7
Instance: group name. N: number of customers. CNV: cumulative number of vehicles. CND: cumulative travel distance. T: time reported by metaheuristics. T2: time on the computing platform of the STVDH.

5.4. The Results of Large Scale VRPTW and MDVRPTW Problem in Shanghai, China

The parameter setting for this large scale VRPTW and MDVRPTW problem is as follow: Nmax = 5000N, Zmax = 100N, k m a x =3 and α = 2. For each problem, the STVDH algorithm was also run 10 times. Total travel distance, number of used vehicles, and computing time were recorded. The obtained results are summarized in Table 4 (https://github.com/spatialsmart/VRPTW/tree/master/Shanghai/Solution).
As Table 4 indicates, the STVDH algorithm reports the best found solution for large-scale VRPTWs up to 10,000 customers in 139.5 min (about 2.32 hours). As the number of customers increases from 2000 to 10,000, the computing time of the STVDH increases from 15.7 min to 120.8 min, whereas for the MDVRPTW, the time increases from 16.1 min to 139.5 min. Compared with the VRPTW, more computing efforts are required for the MDVRPTW due to additional customer allocation between depots. In terms of solution quality, the STVDH utilizes an average of 847.1 total routes that travelled 30,184.725 km to serve all customers in the five VRPTW instances. For the five MDVRPTW instances, 906.4 routes that travelled 26,353.572 km are required to satisfy customer needs. It should be noted that the performance of the STVDH is robust, as indicated by the gap between Savg and Sbest (−1.60% for the VRPTW and −1.73% for the MDVRPTW). Therefore, the proposed STVDH provides promising results for large-scale VRPTW and VRPTW within reasonable computing times.
Taking problem Sh1a as an example, Figure 9 displays the best found solution and the spatial-temporal vehicle route with ArcScene. It demonstrates the best route compromise between spatial proximity and time constraints. The same vehicle may not yet serve spatially-near customers as Figure 9b shows.
To assess the solution quality of the obtained results, we compare them with solutions reported by two heuristic algorithms. One solution is obtained by solving the simulated instances with the network analysis module in ArcGISTM 10.2, which uses a tabu heuristics algorithm to solve complex real-world VRPTW problems. Another compared solution is calculated using VRPEJ [55]. Other metaheuristics such as AGEA and HGSDAC are not compared due to unavailability. Each algorithm was run 10 times to find the best result.
Table 4. Results from the large-scale VRPTW and MDVRPTW instances in Shanghai, China.
Table 4. Results from the large-scale VRPTW and MDVRPTW instances in Shanghai, China.
InstanceTypeNMDQSTVDH
Savg 10 (/km)Tavg 10 (/min)SBest 10(/km)TBest 10 (/min)
Sh1aVRPTW20001200200059.3|3024.87015.758|2996.10415.9
Sh2aVRPTW400013002000119.8|4674.12228.3118|4598.59230.6
Sh3aVRPTW600014002000171.0|6145.24560.0169|6052.08465.9
Sh4aVRPTW800015002000220.3|7511.36193.6218|7372.34598.9
Sh5aVRPTW10,00016002000276.8|8829.127120.8274|8681.006128.8
CNV 847.1837
CTD(/km) 30,184.72529,701.132
Gap to Savg −1.60%
Total Time (/min) 318.4340.1
Sh1bMDVRPTW20002200200070.2|3045.60116.169|2999.61616.9
Sh2bMDVRPTW400033002000127.9|4265.36529.8126|4174.14431.5
Sh3bMDVRPTW600044002000172.1|6247.15262.2169|5260.81069.6
Sh4bMDVRPTW800055002000237.4|6849.84898.4235|6238.438105.4
Sh5bMDVRPTW10,00066002000298.8|6845.606138.9293|6784.751139.5
CNV 906.4892
CTD (/km) 26,353.57226,289.418
Gap to Savg −1.73%
Total Time (/min) 345.4362.9
Instance: problem name. Type: VRPTW or MDVRPTW; N: number of customers. M: number of depots. D: number of vehicles at a depot. Q: vehicle capacity. Savg 10: average result of 10 runs (number of routes| total routes length). Tavg 10: average computing time. SBest 10: best of 10 runs (number of routes| total routes length). TBest 10: the computing time of the best solution’s run. CNV: cumulative number of vehicles. CND: cumulative travel distance.
Figure 9. The result for large scale VRPTW problem Sh1a. (a) the final best solution; and (b) a spatial-temporal route.
Figure 9. The result for large scale VRPTW problem Sh1a. (a) the final best solution; and (b) a spatial-temporal route.
Ijgi 04 02019 g009
Table 5 compares the obtained results. It indicates that the STVDH presented in this study outperforms both ArcGIS and VRPEJ. In terms of efficiency, comparison with ArcGIS (total of 2141.1 min) and VRPEJ (total of 2355.3 min) indicates that the STVDH costs the least computing effort (total of 703 min). In terms of solution quality, the STVDH requires 1729 routes travelling 55,990.55 km to serve all customers in 10 instances. ArcGIS requires more vehicles (1764 routes) that travel a greater distance (62,047.809 km) to provide the same service. The VRPEJ, which utilizes a spatially kth nearest neighbors strategy, requires the most routes (1893 routes) that travelled 63,659.365 km. Hence, it confirms that the spatial-temporal Voronoi neighbor strategy in the presented STVDH is much better than the spatial neighbor strategy for local search to solve large scale VRPTWs.
Table 5. Comparison of the results of the STVDH with other heuristic algorithms.
Table 5. Comparison of the results of the STVDH with other heuristic algorithms.
InstanceTypeNMSTVDH ArcGIS VRPEJ
SBest 10(/km)TBest 10 (/min)SBest 10(/km)TBest 10 (/min)SBest 10(/km)TBest 10 (/min)
Sh1aVRPTW1200058|2996.10415.962|3296.10460.559|3285.40450.8
Sh2aVRPTW14000118|4598.59230.6120|4022.248125.4126|5234.168122.2
Sh3aVRPTW16000169|6052.08465.9173|6738.745197.2190|6948.372242.7
Sh4aVRPTW18000218|7372.34598.9223|8045.327254.8242|8438.982290.8
Sh5aVRPTW110,000274|8681.006128.8278|9874.135407.2312|9814.247428.8
Sh1bMDVRPTW2200069|2999.61616.972|3308.24560.574|3374.12658.1
Sh2bMDVRPTW34000126|4174.14431.5124|4610.283125.4132|4878.785142.3
Sh3bMDVRPTW46000169|5260.81069.6174|6645.397197.2180|7013.522248.5
Sh4bMDVRPTW58000235|6238.438105.4239|6982.136254.8260|6989.971280.5
Sh5bMDVRPTW610,000293|6784.751139.5299|7525.189568.1339|7881.788490.6
CNV172917641893
CTD (/km)55,990.55062,047.80963,659.365
Gap to STVDH10.82%13.70%
Total Computing Time (/min)703.02141.12355.3
Instance: problem name. Type: VRPTW or MDVRPTW; N: number of customers. M: number of depots. STVDH: best of 10 runs (number of routes| total routes length). ArcGIS: best result of 10 runs (number of routes| total routes length). VRPEJ: best of 10 runs (number of routes| total routes length). CNV: cumulative number of vehicles. CND: cumulative travel distance.

6. Discussion

Taking the large scale VRPTW and MDVRPTW in Shanghai, China as an example, this section discusses the impact of the spatial-temporal Voronoi diagram and spatial-temporal proximity behind the best found results.

6.1. Impact of the Spatial-Temporal Voronoi Diagram

To evaluate the impact of the Voronoi diagram, this study investigated the balance of solution quality and computing time with different values for parameters k m a x and α . As Figure 10 illustrates, considering the spatial-temporal Voronoi neighbors, an increase in   k m a x improves solution quality but decreases computing efficiency because more spatial-temporal Voronoi neighbors are involved in local search procedures. With regard to the effect of the Voronoi distance decay strategy, as Figure 10a shows, both the slow decaying speed ( α = 1) and the fast decaying speed ( α = 3) generate worse results. However, as Figure 10b shows, as a fast decaying speed requires less evaluation on far Voronoi neighbors, the STVDH consumes less computing efforts as the parameter α increases.
Figure 10. The impact of the spatial-temporal Voronoi diagram on the STVDH. (a) Deviation to the best solution; and (b) computing time.
Figure 10. The impact of the spatial-temporal Voronoi diagram on the STVDH. (a) Deviation to the best solution; and (b) computing time.
Ijgi 04 02019 g010

6.2. Spatial-Temporal Proximity Analysis on the Best Found Results

To understand spatial-temporal proximity behind the obtained results, we conducted an analysis on the Voronoi distance between consecutively-visited customers in the route of best found solutions in Section 5.2. Figure 11 displays the average percentage of Voronoi distance in the best found solutions. Two typical features are indicated below.
  • The number of larger Voronoi distances is only a small proportion of the best found results. As Figure 11 displays, the percentages of Voronoi distances greater than three in the VRPTW and MDRPTW solutions are only 1.77% and 1.58%, respectively. Such a distribution agrees with the setting of parameter k m a x ( k m a x =   3) in Section 5.2. Therefore, the spatial-temporal Voronoi neighborhood is very typical in the found solution.
  • The percentage decreases sharply as the Voronoi distance increases. For the large-scale VRPTW dataset (Sh1a–Sh5a), the percentages for Voronoi distances 1, 2, 3, and >= 4 are 59.44%, 30.13%, 8.66%, and 1.77%, respectively, which is similar to the distribution in the MDVRPTW solution. This verifies that there is a spatial-temporal local compact structure in the routes of best found solutions. Compared with the theoretical searching intensity (as Equation (7) in Section 4.2.1 where k m a x = 3 ,   α = 2 ) in the Voronoi distance decay strategy, these percentages systematically slightly shift to small Voronoi distances. This result demonstrates the effectiveness of the Voronoi distance-decay strategy, which searches more on near neighbors in the local search but still spends necessary efforts on far neighbors.
In summary, analysis of best found results demonstrates reasons why the spatial-temporal Voronoi diagram is effective in the STVDH algorithm.
Figure 11. Average percentage of the Voronoi distance in the best found solutions.
Figure 11. Average percentage of the Voronoi distance in the best found solutions.
Ijgi 04 02019 g011

7. Conclusions

Vehicle routing designs the least costly routes to satisfy the geographical distribution of human needs. Embedded in the GIS environment, it not only benefits transportation decision-making for both public and private sectors, but also enriches the value of geoinformation with the assistance of location-based service. Inspired by spatial-temporal proximity, this article presents a novel spatial-temporal Voronoi diagram-based heuristic approach to solve large-scale VRPTWs quickly. The derived spatial-temporal Voronoi neighborhood measures proximity considering both spatial and temporal issues. The used Voronoi neighbors limits searching space in the construction algorithm, local search, and spatial-temporal feature-guided search. Moreover, the presented Voronoi distance-decay strategy assigns more searching efforts on spatial-temporal near neighbors.
Experiments on the VRPTW benchmarks and large-scale VRPTW instances in Shanghai, China with 2000–10,000 customers have demonstrated the good performance on VRPTW and MDVRPTW problems of different sizes. The obtained results indicate that the STVDH presented in this study can provide high quality solutions for large-scale VRPTWs in a reasonable time with the help of a spatial-temporal Voronoi diagram. It also verifies that the spatial-temporal proximity is very typical in best found solutions as 98% of segments had a Voronoi distance less than three.
The main contributions of this article are twofold. First, considering both time windows and spatial locations, the spatial-temporal Voronoi diagram is proposed to accelerate the solving process for VROs. In contrast to the spatial proximity based speeding up strategies [25,26,27], it makes use of spatial-temporal Voronoi neighbor to further reduce computing effort for local search based heuristics. The idea behind the presented approach that makes uses of spatial principles to accelerate complex optimizing processes can be extended to facilitate other space-related decision-making problems such as near real-time emergency response and large-scale facility location. Second, a spatial-temporal Voronoi diagram-based heuristic was developed to solve large-scale VRPTWs. This novel approach exhibits good performance on super large-scale VRPTWs up to 10,000 customers, which can cope with challenges from many complex real-world transportation and logistics applications.
Among future developments that we intend to undertake, we plan to integrate the presented approach with outdoor/indoor ubiquitous positioning and friendly navigating technologies for vehicles with cloud GIS. The presented effective approach will be used to upgrade the network analyst module in SDSSs to provide a more flexible transportation service for daily large-scale logistics and distribution activities. It will further enhance the spatial intelligence of modern transportation and logistics applications.

Acknowledgments

The research is jointly supported by the National Natural Science Foundation of China (No. 41401444; 41371377), China Postdoctoral Science Foundation Funded Project (2014M560671), Shenzhen Dedicated Funding of Strategic Emerging Industry Development Program (No. JCYJ20121019111128 765), Shenzhen Basic Research Program (JCYJ20140828163633980), and the Open Research Fund of State Key Laboratory of Information Engineering in Surveying, Mapping and Remote Sensing (13S02).

Author Contributions

Wei Tu designed this approach, conceived the experiments and wrote the most part of the paper. Qingquan Li contributed result analysis and discussed the idea. Zhixiang Fang provided the framework of the result analysis. Baoding Zhou implemented the experiment.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Miller, H.J.; Shaw, S.L. Geographic Information Systems for Transportation: Principles and Applications; Oxford University Press: Oxford, UK, 2001. [Google Scholar]
  2. Lee, E.; Oduor, P. Using multi-attribute decision factors for a modified all-or-nothing traffic assignment. ISPRS Int. J. Geo-Inf. 2015, 4, 883–899. [Google Scholar] [CrossRef]
  3. Huang, Z.; Liu, X. A hierarchical approach to optimizing bus stop distribution in large and fast developing cities. ISPRS Int. J. Geo-Inf. 2014, 3, 554–564. [Google Scholar] [CrossRef]
  4. Schittekat, P.; Kinable, J.; Sörensen, K.; Sevaux, M.; Spieksma, F.; Springael, J. A metaheuristic for the school bus routing problem with bus stop selection. Eur. J. Oper. Res. 2013, 229, 518–528. [Google Scholar] [CrossRef]
  5. Mendoza, J.E.; Medaglia, A.L.; Velasco, N. An evolutionary-based decision support system for vehicle routing: The case of a public utility. Decis. Support. Syst. 2009, 46, 730–742. [Google Scholar] [CrossRef]
  6. Arribas, C.A.; Blazquez, C.A.; Lamas, A. Urban solid waste collection system using mathematical modelling and tools of geographic information systems. Waste. Manage. Res. 2010, 28, 355–363. [Google Scholar] [CrossRef] [PubMed]
  7. Weigel, D.; Cao, B. Applying GIS and OR techniques to solve sears technician-dispatching and home-delivery problems. Interfaces 1999, 29, 112–130. [Google Scholar] [CrossRef]
  8. Kuo, P.-F.; Lord, D.; Walden, T.D. Using geographical information systems to organize police patrol routes effectively by grouping hotspots of crash and crime data. J. Transp. Geogr. 2013, 30, 138–148. [Google Scholar] [CrossRef]
  9. Janssens, J.; van den Bergh, J.; Sörensen, K.; Cattrysse, D. Multi-objective microzone-based vehicle routing for courier companies: From tactical to operational planning. Eur. J. Oper. Res. 2015, 242, 222–231. [Google Scholar] [CrossRef]
  10. Thill, J.C. Geographic information systems for transportation in perspective. Transp. Res. C-Emer. 2000, 8, 3–12. [Google Scholar] [CrossRef]
  11. Antikainen, H. Using the hierarchical pathfinding A* algorithm in GIS to find paths through rasters with nonuniform traversal cost. ISPRS. Int. J. Geo.-Inf. 2013, 2, 996–1014. [Google Scholar] [CrossRef]
  12. Vanhove, S.; Fack, V. An effective heuristic for computing many shortest path alternatives in road networks. Int. J. Geogr. Inf. Sci. 2012, 23, 1031–1050. [Google Scholar] [CrossRef]
  13. Li, R.; Leung, Y.; Huang, B.; Lin, H. A genetic algorithm for multiobjective dangerous goods route planning. Int. J. Geogr. Inf. Sci. 2012, 27, 1073–1089. [Google Scholar] [CrossRef]
  14. Curtin, K.M.; Voicu, G.; Rice, M.T.; Stefanidis, A. A comparative analysis of traveling salesman solutions from geographic information systems. Trans. GIS. 2014, 18, 286–301. [Google Scholar] [CrossRef]
  15. Solomon, M.M. Algorithms for the vehicle routing and scheduling problems with time window constraints. Oper. Res. 1987, 35, 254–265. [Google Scholar] [CrossRef]
  16. Bräysy, O.; Gendreau, M. Vehicle routing problem with time windows, part I: Route construction and local search algorithms. Transp. Sci. 2005, 39, 104–118. [Google Scholar] [CrossRef]
  17. Braysy, O.; Gendreau, M. Vehicle routing problem with time windows, part II: Metaheuristics. Transp. Sci. 2005, 39, 119–139. [Google Scholar] [CrossRef]
  18. Qi, M.; Lin, W.-H.; Li, N.; Miao, L. A spatiotemporal partitioning approach for large-scale vehicle routing problems with time windows. Transp. Res. E-Log. 2012, 48, 248–257. [Google Scholar] [CrossRef]
  19. Ray, J.J. A web-based spatial decision support system optimizes routes for oversize/overweight vehicles in delaware. Decis. Support. Syst. 2007, 43, 1171–1185. [Google Scholar] [CrossRef]
  20. Huang, B.; Cheu, R.L.; Liew, Y.S. GIS and genetic algorithms for hazmat route planning with security considerations. Int. J. Geogr. Inf. Sci. 2004, 18, 769–787. [Google Scholar] [CrossRef]
  21. Huang, B.; Fery, P.; Xue, L.; Wang, Y. Seeking the pareto front for multiobjective spatial optimization problems. Int. J. Geogr. Inf. Sci. 2008, 22, 507–526. [Google Scholar] [CrossRef]
  22. Wright, D.J.; Wang, S. The emergence of spatial cyberinfrastructure. P. Natl. Acad. Sci. 2011, 108, 5488–5491. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  23. Tong, D.; Murray, A.T. Spatial optimization in geography. Ann. Amer. Geogr. 2012, 102, 1290–1309. [Google Scholar] [CrossRef]
  24. Li, X.; He, J.; Liu, X. Ant intelligence for solving optimal path-covering problems with multi-objectives. Int. J. Geogr. Inf. Sci. 2009, 23, 839–857. [Google Scholar] [CrossRef]
  25. Toth, P.; Vigo, D. The granular tabu search and its application to the vehicle-routing problem. Inf. J. Comput. 2003, 15, 333–346. [Google Scholar] [CrossRef]
  26. Li, F.; Golden, B.; Wasil, E. Very large-scale vehicle routing: New test problems, algorithms, and results. Comput. Oper. Res. 2005, 32, 1165–1179. [Google Scholar] [CrossRef]
  27. Fang, Z.; Tu, W.; Li, Q.; Shaw, S.-L.; Chen, S.; Chen, B.Y. A Voronoi neighborhood-based search heuristic for distance/capacity constrained very large vehicle routing problems. Int. J. Geogr. Inf. Sci. 2013, 27, 741–764. [Google Scholar] [CrossRef]
  28. Tu, W.; Fang, Z.; Li, Q. The empirical Voronoi veighborhood analysis of heuristic solutions for vehicle routing problems. In Proceedings of 2013 International Symposium on Recent Advances in Transport Modelling, Goldcoast, Australia, 21–23 April 2013.
  29. Okabe, A.; Boots, B.; Sugihara, K.; Chiu, S.N. Spatial Tessellations: Concepts and Applications of Voronoi Diagrams; John Wiley & Sons: Hoboken, NJ, USA, 2000. [Google Scholar]
  30. Chen, J.; Zhao, R.; Li, Z. Voronoi-based k-order neighbour relations for spatial analysis. ISPRS. J. Photogram. Remote Sens. 2004, 59, 60–72. [Google Scholar] [CrossRef]
  31. Zhao, R.; Chen, J.; Li, Z. K-order spatial neighbours based on Voronoi diagram: Description, computation and applications. Int. Arc. Photogram. Remote Sens. Spat. Inf. Sci. 2002, 34, 10–15. [Google Scholar]
  32. Tu, W.; Li, Q.; Fang, Z. Large scale multi-depot logistics routing optimization based on network Voronoi diagram. Acta Geod. et Cartogr. Sin. 2014, 43, 1075–1082. [Google Scholar]
  33. Laporte, G. Fifty years of vehicle routing. Transp. Sci. 2009, 43, 408–416. [Google Scholar] [CrossRef]
  34. Baños, R.; Ortega, J.; Gil, C.; Fernández, A.; de Toro, F. A simulated annealing-based parallel multi-objective approach to vehicle routing problems with time windows. Expert. Syst. Appl. 2013, 40, 1696–1707. [Google Scholar] [CrossRef]
  35. Alabas-Uslu, C.; Dengiz, B. A self-adaptive local search algorithm for the classical vehicle routing problem. Expert. Syst. Appl. 2011, 38, 8990–8998. [Google Scholar] [CrossRef]
  36. Ropke, S.; Pisinger, D. An adaptive large neighborhood search heuristic for the pickup and delivery problem with time windows. Transp. Sci. 2006, 40, 455–472. [Google Scholar] [CrossRef]
  37. Polacek, M.; Benkner, S.; Doerner, K.F.; Hartl, R.F. A cooperative and adaptive variable neighborhood search for the multi depot vehicle routing problem with time windows. BuR-Business Res. 2008, 1, 207–218. [Google Scholar] [CrossRef]
  38. Cordeau, J.F.; Laporte, G.; Mercier, A. A unified tabu search heuristic for vehicle routing problems with time windows. J. Oper. Res. Soc. 2001, 52, 928–936. [Google Scholar] [CrossRef]
  39. Repoussis, P.P.; Tarantilis, C.D.; Ioannou, G. Arc-guided evolutionary algorithm for the vehicle routing problem with time windows. IEEE. Trans. Evol. Comput. 2009, 13, 624–647. [Google Scholar] [CrossRef]
  40. Vidal, T.; Crainic, T.G.; Gendreau, M.; Prins, C. A hybrid genetic algorithm with adaptive diversity management for a large class of vehicle routing problems with time-windows. Comput. Oper. Res. 2012, 40, 475–489. [Google Scholar] [CrossRef]
  41. Mester, D.; Bräysy, O. Active guided evolution strategies for large-scale vehicle routing problems with time windows. Comput. Oper. Res. 2005, 32, 1593–1614. [Google Scholar] [CrossRef]
  42. Gehring, H.; Homberger, J. Parallelization of a two-phase metaheuristic for routing problems with time windows. J. Heuristics. 2002, 8, 251–276. [Google Scholar] [CrossRef]
  43. Ibaraki, T.; Imahori, S.; Kubo, M.; Masuda, T.; Uno, T.; Yagiura, M. Effective local search algorithms for routing and scheduling problems with general time-window constraints. Transp. Sci. 2005, 39, 206–232. [Google Scholar] [CrossRef]
  44. Nagata, Y.; Bräysy, O.; Dullaert, W. A penalty-based edge assembly memetic algorithm for the vehicle routing problem with time windows. Comput. Oper. Res. 2010, 37, 724–737. [Google Scholar] [CrossRef]
  45. Dondo, R.; Cerdá, J. A cluster-based optimization approach for the multi-depot heterogeneous fleet vehicle routing problem with time windows. Eur. J. Oper. Res. 2007, 176, 1478–1507. [Google Scholar] [CrossRef]
  46. Milthers, N.P.M. Solving VRP Using Voronoi Diagrams and Adaptive Large Neighborhood Search. Master’s thesis, University of Copenhagen, Copenhagen, Denmark, 2009. [Google Scholar]
  47. Santos, L.; Coutinho-Rodrigues, J.; Antunes, C.H. A web spatial decision support system for vehicle routing using google maps. Deci. Support. Syst. 2011, 51, 1–9. [Google Scholar] [CrossRef]
  48. Tu, W.; Li, Q.; Chang, X.; Yue, Y.; Zhu, J. A Spatio-temporal decision support framework for large scale logistics distribution in Metropolitan area. In Advances in Spatial Data Handling and Anslysis; Harvey, F., Leung, Y., Eds.; Springer: Berlin, Germany, 2015; pp. 193–206. [Google Scholar]
  49. Tu, W.; Fang, Z.; Li, Q.; Shaw, S.-L.; Chen, B.Y. A bi-level Voronoi diagram based heuristics for large scale mutli-depot vehicle routing problem with time window. Transp. Res. E-Log 2014, 61, 84–97. [Google Scholar] [CrossRef]
  50. Barber, C.B.; Dobkin, D.P.; Huhdanpaa, H.T. The quickhull algorithm for convex hulls. ACM. T. Math. Softw. 1996, 22, 469–483. [Google Scholar] [CrossRef]
  51. Zachariadis, E.E.; Kiranoudis, C.T. A strategy for reducing the computational complexity of local search-based methods for the vehicle routing problem. Comput. Oper. Res. 2010, 37, 2089–2105. [Google Scholar] [CrossRef]
  52. Dongarra, J. Performance of Various Computers Using Standard Linear Equations Software. Available online: http://www.netlib.org/benchmark/performance.ps (accessed on 30 August 2015).
  53. Gehring, H.; Homberger, J. A parallel hybrid evolutionary metaheuristic for the vehicle routing problem with time windows. In Proceedings of the EUROGEN99, Jyväskylä, Finland, 30 May–3 June 1999; pp. 57–64.
  54. The VRPTW Benchmarks of GEHRING and HOMBERGER. Available Online: http://www.bernabe.dorronsoro.es/vrp/ (accessed on 10 October 2015).
  55. The Large-Scale VRPTW and MDVRPTW Problem Dataset in Shanghai, China. Available Online: https://github.com/spatialsmart/VRPTW/tree/master/Shanghai/Problem (accessed on 10 October 2015).
  56. Coy, S.; Golden, B.; Runger, G.; Wasil, E. Using experimental design to find effective parameter settings for heuristics. J. Heuristics. 2001, 7, 77–97. [Google Scholar] [CrossRef]
  57. Groër, C.; Golden, B.; Wasil, E. A library of local search heuristics for the vehicle routing problem. Math. Program. Comput. 2011, 2, 79–101. [Google Scholar] [CrossRef]

Share and Cite

MDPI and ACS Style

Tu, W.; Li, Q.; Fang, Z.; Zhou, B. A Novel Spatial-Temporal Voronoi Diagram-Based Heuristic Approach for Large-Scale Vehicle Routing Optimization with Time Constraints. ISPRS Int. J. Geo-Inf. 2015, 4, 2019-2044. https://doi.org/10.3390/ijgi4042019

AMA Style

Tu W, Li Q, Fang Z, Zhou B. A Novel Spatial-Temporal Voronoi Diagram-Based Heuristic Approach for Large-Scale Vehicle Routing Optimization with Time Constraints. ISPRS International Journal of Geo-Information. 2015; 4(4):2019-2044. https://doi.org/10.3390/ijgi4042019

Chicago/Turabian Style

Tu, Wei, Qingquan Li, Zhixiang Fang, and Baoding Zhou. 2015. "A Novel Spatial-Temporal Voronoi Diagram-Based Heuristic Approach for Large-Scale Vehicle Routing Optimization with Time Constraints" ISPRS International Journal of Geo-Information 4, no. 4: 2019-2044. https://doi.org/10.3390/ijgi4042019

Article Metrics

Back to TopTop