#### Abstract

Compared with traditional vehicles delivery, unmanned aerial vehicle (UAV) delivery can reduce energy consumption and greenhouse gas emissions, which benefits environmental sustainability. Besides, UAVs can overcome traffic restrictions, which are the big obstacle in parcel delivery. In reality, there are two kinds of most popular traffic restrictions, vehicle-type restriction, and half-side traffic. We propose a mixed-integer (0-1 linear) green routing model with these two kinds of traffic restrictions for UAVs to exploit the environmental aspects of the use of UAVs in logistics. A genetic algorithm is proposed to efficiently solve the complex routing problem, and an experimental analysis is made to illustrate and validate our model and the algorithm. We found that, under both these two traffic restrictions, UAV delivery can accomplish deliveries that cannot be carried out or are carried out at much higher costs by vehicles only and can always effectively save costs and cut CO_{2} emissions, which is environmentally friendly. Furthermore, UAV delivery saves more cost and cuts more CO_{2} emission under the first kind of traffic restriction than that under the second.

#### 1. Introduction

Brick-and-mortar retail stores being gradually replaced by e-commerce saves energy consumption for heating and lighting in stores and warehouses. However, the rapid development of e-commerce dramatically increases the demands on logistics or parcel delivery, which is mainly carried out by traditional vehicles. As a result, energy consumption and CO_{2} emission are increased [1].

With the development of unmanned aerial vehicles (UAVs), they become one of the best choices improving the “last-mile” delivery of products to consumers, both economically and environmentally, due to their significant performances in saving costs and energy. Unfortunately, current UAVs have two big shortcomings: both delivery range (distance and flight time) and capacity (weight and size) are limited. Therefore, they often cannot deliver all packages themselves in a single trip, and the most reasonable way to use a UAV is to pair it with a traditional vehicle. In this “UVA-vehicle mode,” a UAV is loaded on the roof of the vehicle, and the driver guides the UAV to carry the package to the destination. At the same time of UAV delivery, the vehicle serves other customers. Although the UAV only serves part of customers, this mode of package delivery makes a best use of the advantages of UAVs and avoids their disadvantages. In other words, this mode normally delivers all packages in one signal trip with much lower time, cost, and energy consumption.

Besides, in many big cities, because of heavy traffic jam or severe air pollution from vehicle exhaust, vehicle-type restriction is implemented on vehicles. Delivery vehicles are forbidden to run on some roads during some periods. Besides, during the maintenance of some roads, only one lane is available, and vehicles traveling in opposite directions have to take turns on the road with a much lower speed. This is half-side traffic, which is other most popular traffic restriction. Traffic restrictions bring big troubles to package delivery service and even some “impossible missions” to delivery by vehicles only, which can be normally overcome through UAV delivery.

In order to make the most use of the advantages of this “UAV-vehicle mode” and better understand the economic and environmental impact of using UAVs on packages delivery, we should optimize the routing plan of “UVA-vehicle mode.” To this end, we propose a mixed-integer (0-1 linear) green routing model with traffic restrictions for UAVs and design a genetic algorithm (GA) to effectively solve the routing plan model. Finally, we make an experimental analysis to illustrate and validate our model and algorithm, as well as better understand the environmental benefits of delivering with UAVs.

The rest of this paper is organized as follows: we review the literature on “green routing” and routing problem with UAVs in Section 2; we propose a UAV-vehicle routing model with traffic restrictions and design a genetic algorithm to effectively solve the model in Sections 3 and 4, respectively; an experimental analysis is made in Section 5; and conclusions are drawn in Section 6.

#### 2. Literature Review

Since the emergence of “truck dispatching problem,” vehicle routing problem (VRP) has been a hot research field [2]. And many heuristic algorithms were developed to solve VRP [3]. Our paper is mainly relevant to two topics: green vehicle routing problem and routing with UAVs, which are reviewed below.

##### 2.1. Green Vehicle Routing Problem

A series of studies show that, for the logistics, transportation accounts for about 90% of the energy consumption of the whole logistics. Therefore, reducing CO_{2} emissions is the core of the green vehicle routing problem (GVRP). As early as 1985, Cermak and Takeda [4] outlined criteria for simulating atmospheric boundary layer and physical simulation of source characteristics in boundary layer wind tunnels and studied the air problem in urban environment. Their work led subsequent scholars to study logistics and carbon emissions.

Pradenas et al. [5] studied the vehicle path problem for the energy required for each path from the perspective of vehicle distance and estimated the load and distance between customers to achieve the goal of reducing fuel consumption and carbon emission. Qian [6] developed routing and scheduling model for fleets of transport vehicles to minimize fuel emissions in the speed-dependent road network from the perspective of vehicle speed. In this paper, the route of each vehicle needs to be clarified, the speed of vehicles on different roads on their respective paths is regarded as a decision variable, and the time insertion algorithm is given for a single path. Finally, a tabu search algorithm based on column generation is proposed to solve this problem. Kwon et al. [7] built a vehicle path model that minimizes energy consumption and pollution emissions with time windows from the perspective of vehicle load. Their simulation process is based on the actual route of motor vehicles, and their method can save more than 6.9% of fuel compared with the existing method. Although these papers only studied GVRP without UAVs, we can refer to their methods of calculating delivery cost and fuel consumption in establishing our model.

##### 2.2. Routing with UAVs

The “last kilometer problem” is always the bottleneck of logistics distribution due to traffic conditions, distribution personnel, customer acceptance location, and other factors. In recent years, UAVs were introduced into logistics to reduce costs and solve the “last kilometer problem.”

In 2013, Jeff Bezos, CEO and founder of Amazon.com, announced on “60 minutes” that UAVs could be used to speed up the delivery of packages to consumers. Subsequently, routing with UAVs became a hot topic in VRP field [8]. D’Andrea [9] calculated the energy consumption and the cost of high-end lithium ion batteries in the high-performance mobile delivery of UAVs based on the principle of first computability and systematically analyzed the economy of UAV technology and future applications. Zhi [10] designed a two-stage hitch-matching algorithm to serve the UAV driving equipment, which greatly reduced the logistics cost and improved the efficiency. Weng [11] made a systematic evaluation of UAV logistics from the aspects of laws and regulations, technical safety, audience preference, operation safety, and use cost. Ma et al. [12] established a model of UAV flight stability index and various factors and analyzed and studied the main factors influencing the flight stability of UAVs through Matlab.

The feature of our “UVA-vehicle mode” is that UAV departures from the roof of the vehicle to deliver package; meanwhile, the vehicle serves other customers, which improves logistics efficiency and reduces energy consumption. Chiang et al. [2] proposed a UAV-vehicle model and a GA to study the economic and environmental impact of using UAVs on package delivery. Murray and Chu [13] conducted relevant research, proposing two mixed-integer linear programming formulas for unmanned delivery problems, as well as two simple but effective heuristic solutions to satisfy the scheduling of UAVs and delivery trucks. Ha et al. [14] considered a new variant of TSP-D in which the objective is to minimize operational costs including total transportation cost and one created by waste time a vehicle has to wait for the other. They formulated problem and proposed two algorithms, TSP-LS and GRASP, to solve the problem. Wang et al. [15] pose a number of questions in order to study the maximum savings that can be obtained from using drones and derived a number of worst-case results. Poikonen et al. [16] studied the UAV-vehicle delivery routing with the aim of minimizing the total operation time. Pugliese and Guerriero [17] analyzed the delivery process with drones, by taking into account the total transportation cost, under the assumption that all customers should be served within their time window.

Although the above papers studied UAV-vehicle routing problems under different circumstances, they failed to research the use of UAVs and its effect on relieving one of the greatest constraints in parcel delivery and traffic restrictions [18]. In fact, there are two kinds of traffic restrictions, which allow the implementation of our UAV-vehicle mode but greatly affect the cost, energy consumption, and efficiency of parcel delivery. The first is vehicle-type restriction, mainly on delivery vehicles. For example, during the maintenance, all vehicles except public transportation were banned to run across Shimen Bridge, located in Chongqing, China. Under this circumstance, the delivery vehicle has to choose other way or use a UAV. The second is half-side traffic, under which the delivery vehicle can choose this road but may have to wait to pass through it. During its waiting, the engine is still operating and consuming gasoline, causing a higher cost and CO_{2} emission [19].

##### 2.3. Algorithms for VRP

To solve VRP, we should design an algorithm. Generally, there are two categories of algorithms: exact algorithm and approximation algorithm [20]. The advantage of exact algorithm is that it can find the accurately optimal solution of VRP, but it is only suitable for VRP of small scale [21]. When the scale is large, it is mainly applied to obtain the initial solution for the approximation algorithm [22].

Approximation algorithm can be roughly divided into two categories: heuristic algorithm, which consists of constructive heuristic algorithm and improved heuristic algorithm, as well as meta-heuristic algorithm [23]. The advantage of constructive heuristic algorithm is that it is simple and easy to understand, but the solutions found may be far from the optimal solutions. Therefore, it is no longer used for solving VRP alone but combined with the improved heuristic algorithm, being used to generate initial solutions [24]. Improved heuristic algorithm can obtain better solutions from initial solutions generated by constructive heuristic algorithm through neighborhood search. Its advantage is that the probability of obtaining the optimal solution is high, but the operation time may be very long [25].

The biggest disadvantage of heuristic algorithm is that it is easy to fall into local optimal. In order to overcome it, there appeared a variety of meta-heuristic algorithms with the advantage of jumping out of the local optimal and seek the global optimal, such as genetic algorithm, simulated annealing algorithm, and tabu search algorithm [26, 27]. Among meta-heuristic algorithms, the genetic algorithm is popularly applied for solving VRP, including VRP with UAVs [28, 29]. However, the mode of UAV delivery in these studies is that the truck is just used as a mobile base, which is very different with ours. Therefore, these genetic algorithms cannot solve the key issue in our mode, that is, which customer is served by the UAV and how many and which customers should be served by the vehicle.

The main contributions of this paper are as follows. Firstly, taking into account two kinds of traffic restrictions which affect parcel delivery, we propose a mixed-integer (0-1 linear) UAV-vehicle routing model with traffic restrictions to incorporate environment aspects to study the impacts of using UAVs for package delivery under these two circumstances and analyze the efficiency of UAV delivery to reduce cost and energy consumption by comparing the results under these two circumstances and that without UAVs. Secondly, we develop a genetic algorithm to effectively solve the model and analyze the impact of UAV delivery. In our GA, we make improvement and contribution in the generation of initial solution and grouping customers to determine which customer is served by the UVA and which customer(s) should be served by the vehicle during UAV delivery.

#### 3. Problem Description and the Model

##### 3.1. Problem Description

In an urban area, a delivery company uses vehicles equipped with UAVs to deliver parcels from a warehouse to customers in its delivery area. Each customer has only one parcel waiting to be delivered. This UVA-vehicle mode is as follows. Every vehicle is equipped with a UAV. As both delivery range (distance and flight time) and capacity (weight and size) of the UAV are limited, it only delivers parts of the parcels, but the vehicle can deliver all the parcels. Each UAV may depart from its vehicle at a location of a customer or the warehouse and carry a parcel to one and only one customer. Then, the UAV returns to its vehicle to reload a parcel and recharge or swap batteries, which is instantaneous. While the UAV delivers the parcel, the vehicle carries out its delivery to one or several customers. Therefore, the UAV returns to its vehicle at a different customer location. As a matter of course, if the vehicle arrives at the customer location, where the UAV is retrieved, it waits for the UAV, and vice versa. For the sake of the safety of the UAV, if the UAV arrives before the vehicle, it hovers in the air waiting for the vehicle.

In the delivery area of the warehouse, there may be traffic restrictions on the vehicles. Generally, there are two kinds of traffic restrictions, under which this UAV-vehicle mode is practicable but greatly affected. The first is vehicle-type restriction, under which delivery vehicles are forbidden to run through some paths and have to choose other way or use a UAV. The second is half-side traffic, under which only one lane of a road is available, and vehicles traveling in opposite directions can only take turns on this road. Under this circumstance, the delivery vehicle can run on this road but may have to wait for its turn with the operating engine and raise the variable cost and CO_{2} emission.

According to the regulation on working hours, the service time of every pair of UAV and vehicle is 8 hours. Therefore, it is probable that more than one pair of UAV and vehicle are needed.

There are two goals of routing the UAV-vehicle. The first is minimizing the total cost, and the alternative is minimizing the energy consumption (or CO_{2} emission). The total cost consists of fixed cost whenever a pair of UAV-vehicle is used, as well as variable cost, which is the function of unit route cost, travel distance, and gross weight (empty weight of the vehicle or UAV plus the payload). The total CO_{2} emission of a vehicle is the function of weighted average emission rate of vehicles, travel distance, and gross weight, and that of a UAV is the function of CO_{2} emission rate of generating per watt-hour, average energy requirement of UAV, travel distance, and gross weight.

It should be noted that the two kinds of traffic restrictions may simultaneously exist, but as we analyze the impact of UAV delivery under every kind of traffic restriction, they are in our models separately.

##### 3.2. The Model

According to Laporte [30], there are three ways to formulate the vehicle routing problem (VRP), including the simple set division formula of VRP first proposed by Balinski and Quandt in 1964, the commodity flow formula of Shlifer and Graves in 1979, and the two-index vehicle flow formula of Laporte and Norbert in 1983. In our study, the GVRP problem is mainly involved, and the weight of vehicles, commodities, and drones in the whole route needs to be considered. Therefore, we choose to continue to expand the commodity flow formula, which is clearly expressed and promotes the development of heuristic algorithm.

The basic GVRP problem is as follows: both the UAV and the vehicle can travel back and forth on any available path. Therefore, an undirected graph *R* *=* (*M*, *N*) is given, where *N* is the set of edges with nonnegative routing costs, {*i*, *j*} ∈ *N* represents the edges from node *i* to node *j*. *M* *=* {0, 1, …, *n*} is the set of all nodes with a total of *n* customers, and the warehouse is labeled as 0. Therefore, *U* *=* *M\*{0} is the set of customer nodes. The distance between each node is *L*_{ij}. Every customer has a demand for *P*_{i} units; for calculating energy consumption, we measure demand in units of weight.

In our UAV-vehicle mode, each vehicle with a payload (weight) capacity of *Q*^{V} is equipped with a UAV. Each pair of a vehicle and a UAV has a fixed cost *C*^{F}, as well as a variable route cost, which is a function of range and gross weight (see next paragraph). The unit route cost *C*^{U} of the UAV is expected to be much lower than that of the vehicle *C*^{V}. However, the payload (capacity) *Q*^{U} of the UAV and the distance *L*^{U} and the time *T*^{U} that the UAV can fly in the air are limited. Note that the time limit may include the time the UAV has to wait for the vehicle before landing. The distance between the vehicle and the UAV may be different; in fact, another potential advantage of UAVs is that they may choose more efficient routes than vehicles. For example, vehicles need to follow the Manhattan metric, while UAVs can use Euclidean distances. Therefore, we distinguish between the distance from *i* to *j* by the vehicle, , and that by the UAV, . It is assumed that the UAV will serve only one customer before returning to the vehicle but can serve other customers after returning the vehicle to reload and replace batteries.

If the vehicle starts from the node *i* to the node *j*, {*i*, *j*} ∈ *N*, let *N*_{ij} be 1; otherwise, let it be 0. Let *M*_{ij} be the vehicle payload weight for edge {*i*, *j*} ∈ *N*. Obviously, *M*_{ij} = 0, if the vehicle does not run from the node *i* to the node *j*. Finally, if the UAV leaves the vehicle at node *i*, serves the *q*_{j} unit required by customer *j*, and returns to node *k* and lands on the roof of the vehicle, then *Z*_{ijk} = 1 and the flight time is *T*_{ijk}; otherwise, *Z*_{ijk} = 0.

In the delivery area of the warehouse, there separately exist two kinds of traffic restrictions on the vehicles. Under the vehicle-type restriction (labeled as “circumstance 1”), there are some edges where vehicles are forbidden to drive. Let be the set of these edges, then, for any {*i*, *j*} ∈ , *N*_{ij} = 0. Under half-side traffic (labeled as “circumstance 2”), the average speed, variable cost, and CO_{2} emission of the vehicle on these edges are raised by *R*^{S}, *R*^{C}, and *R*^{E} times, respectively. Let be the set of these edges, then for any and , , and for any .

Franzese and Davidson [31] pointed out that the increase in total vehicle weight has a certain impact on its fuel efficiency, and fuel is an important component of variable transportation costs, so they added relevant factor of fuel to GVRP. Bateman et al. [32] pointed out that the carbon footprint of transportation emissions can be estimated by transportation weight and distance traveled.

On the route from node i to j, the total vehicle weight is *W _{ij}*, including the empty weight of the vehicle W

^{V}, plus the payload weigh

*M*, and the UAV weight

_{ij}*W*if the UAV is on the vehicle. The weight can be expressed as a nonlinear function:

^{U}The first term on the right hand of (1) is the vehicle empty weight when running from *i* to *j*, the second is the weight of packages on the vehicle from *i* to *j*, and the third is the weight of the UAV if it is on the vehicle from *i* to *j*. Another linear formula is

Although (1b) may generate negative values for edges that do not exist in the solution, these values will be 0 because of (21). To calculate the vehicle route cost, we use the unit cost, *C*^{V}, time distance, , and time total vehicle weight, *W*_{ij} (note that *C*^{V} is calculated in dollars per pound-mile and can determined by regression analysis).

On the route of the UAV flying from *i* to *j* to *k*, the total weights of the UAV are different. On the route of the UAV flying from *i* to *j*, the total weight of the UAV is

On the route of the UAV flying from *j* to *k*, the total weight of the UAV is

To calculate the vehicle route cost, we use the unit cost, *C*^{U}, time distance, *L*_{ij}^{U} and *L*_{jk}^{U}, and total UAV weight, and .

There are two ways to analyze the impact of UAV delivery. The first is the benefit on total CO_{2} emission. The total CO_{2} emission of a vehicle can be calculated by the ways of Goodchild and Toy [33] as follows:where WAER is the weighted average emission rate of vehicles. (3a) is the formulation of a vehicle’s total CO_{2} emission under circumstance 1, and (3b) is that under circumstance 2. Obviously, in (3a), for any {*i*, *j*} ∈ .

The total CO_{2} emission of UAV is calculated aswhere PGFER is the CO_{2} emission rate per watt-hour (Wh) of the power generation facilities in the generation of electricity for using the UAV and AER is the average energy requirement of UAV in Wh per pound-mile.

Therefore, the environmental goals of minimizing total CO_{2} emission under circumstances 1 and 2 are, respectively,

The alternative way is examining its impact on the traditional objective of minimizing total cost, TC, under circumstances 1 and 2, including the fixed cost of the pair of a UAV and a vehicle and the variable route cost of the vehicle and the UAV:

Therefore, the traditional goals of minimizing total cost under circumstances 1 and 2 are, respectively, as follows:

Let and , respectively, be the average speed of the vehicle and the UAV from node *i* to node *j* (mile/hour). The constraint set of the two goals can be expressed as follows. It should be noted that the same set of constraints are applied to the above two objectives and is solved twice:

Constraints (8) and (9) ensure that each customer is served by a vehicle or a UAV. Constraint (10) ensures that the numbers of vehicles leaving and entering the warehouse are the same. Constraint (11) ensures that each customer’s demand is met. Constraint (12) synchronizes vehicle and UAV so that the vehicle picks up the UAV at node *k*. We will relax the restrictions (12) in Section 4 to allow vehicles to make multiple stops before receiving the UAV. Constraints (13) and (14) are constraints on vehicle and UAV payloads, respectively. The distance range limit and the time range limit of UAV are, respectively, guaranteed by constraints (15) and (16d), where is a very large value. The flight time of UAV, *T*_{ijk}, is the larger one in the travel time of UAV (16a) and vehicle under circumstance 1 (16b) or vehicle under circumstance 2 (16c). The constraint (17) determines the vehicle weight described in the preceding paragraph. Note that a simple lower bound (constraint (18)) can be included on the load of the vehicle at any time. Constraint (19a) ensures vehicles are forbidden to run on the edges of traffic restriction under circumstance 1, and constraints (19b) and (19c) ensure that the average speed, variable cost, and CO_{2} emission of the vehicle on the edges of traffic restriction under circumstance 2 are changed. (20a) and (20b) are the constraints of working hours under circumstances 1 and 2, respectively, where is the upper limit of working hours, normally 8 hours. is the time length of the vehicle waiting for its UAV, where if ; otherwise, . Finally, we can avoid the use of UAVs for specific routes (perhaps near airports) or for specific customers (who cannot receive such deliveries) by setting *Z*_{ijk} *=* *Z*_{hij} *=* 0 for route {*i, j*} or *Z*_{ijk} *=* 0 for customer *j*.

#### 4. Solution Methodology

The application of our genetic algorithm in our routing problem with UAV is described below.

##### 4.1. Design

In the design of our genetic algorithm, we adapt the following service strategy. The work should be completed within one day; that is, all parcels should be delivered within legal working hours, normally 8 hours. Meanwhile, fuel consumption should be minimized, or CO_{2} emission should be minimized. Firstly, we can run our algorithm, where only a pair of a UAV and a vehicle is used, to calculate the total working hours. Then, the number of needed vehicles is determined by dividing the total working hours by the legal working hours. After that, the region is divided according to the number of vehicles by a line (or lines) crossing the warehouse, where the number of customers served by each vehicle and the service time of each vehicle are as close to each other as possible.

In our algorithm, we first sequence the customers (please see the methods in 4.1.2). The pair of a vehicle and a UAV serves customers according to the sequence. Then, we group customers randomly as follows. Generate a random positive integer , where *n* is the number of total customers served by a pair of a UAV and a vehicle. And the first *x* customers are put into the first group. Repeat it till all customers are grouped. As a matter of course, if there are more than one edge where vehicles are forbidden, and they are divided into different groups. If there is only one customer in the group, the vehicle serves the customer. Otherwise, the UAV serves a customer randomly selected from the group, except the last one, where the UAV is retrieved, and the vehicle serves the others. If there is an edge connecting two customers in the group, where vehicles are forbidden, we randomly select one from these two customers for the UAV to serve. Based on this strategy, we developed a genetic algorithm to solve the proposed minimization problem (fuel consumption and CO_{2} emissions or total cost).

###### 4.1.1. Encoding

We use natural number coding method to encode customers, warehouse, and group information. That is, we use positive integers from 1 to *n* to encode customers and encode the warehouse as 0. And we randomly generated positive integer(s) to encode the number of customers in a service group.

###### 4.1.2. Initial Population Generation

In our GA, the initial population is artificially optimized to reduce iteration times and improve optimization efficiency. Specifically, we equally divide the service area into subareas of an even number. Then, we arrange the service sequence of the initial individuals as follows. The pair of a vehicle and a UAV serves customers in one of the nearest subareas from the nearest customer to the farthest customer and goes to an adjacent subarea to serve customers from the farthest to the nearest. Repeat it until all customers are served, and both the UAV and the vehicle come back into the warehouse. After that, we group the customers and obtain the initial population generation.

The following is an example to illustrate the service strategy, grouping, encoding, and initial population generation of our algorithm. There are 20 customers who should be satisfied. We encode them as {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20} and the warehouse as 0. As only 1 pair of a UAV and a vehicle is needed, they serve the whole delivery area. Then, we divide the whole delivery area into eight subareas and arrange the service sequence of the initial individuals as follows. The pair of a UAV and a vehicle serves customers in the first subarea from left to right and goes up to the second subarea to serve customers from right to left. Then, they go left to the third subarea to serve customers from right to left and go down to the fourth subarea to serve customers from left to right. After that, they go down to the fifth subarea to serve customers from right to left and go down to the sixth subarea to serve customers from left to right. Finally, they go right to the seventh subarea to serve customers from left to right and go up to the eighth to serve customers from right to left and go back to the warehouse. Now, we obtain the service sequence codes as {18,1,3,7,9,19,6,12,16,8,14,2,13,15,20,11,17,4,5,10} (Figure 1).

Then, we randomly generate the group codes as {2,5,3,4,5,1}. So, the customers are divided into 6 groups with encoding result {{18,1}, {3,7,9,19,6}, {12,16,8}, {14,2,13,15}, {20,11,17,4,5}, {10}}. As there are two customers, 18 and 1, in the first group, the UAV departs from the vehicle at the location of the warehouse to deliver parcel to customer 18 and fly to customer 1. Meanwhile, the vehicle goes to serve customer 1 and retrieve the UAV there. There are 5 customers, 3, 7, 9, 19, and 6, in the second group. As customer 6 is the last one, we randomly choose 7 from 3, 7, 9, and 19 to be the customer served by the UAV. So, the UAV departs from customer 13 to serve 7 and fly to 6, while the UAV sequentially serves customers 3, 9, 19, and 6 and retrieves the UAV at 6. There are 3 customers in the third group. We randomly choose the first customer, 12, to be served by the UAV. As a result, the UAVs fly from 6 to 12 and to 8, while the vehicle runs from 6 to 16 and to 8 and picks up the UAV here. For the fourth group, the UAV serves customer 14, and the vehicle sequentially serves 2, 13, and 15 and retrieves the UAV here. For the fifth group, the UAV serves 4, and the vehicle serves 20, 11, 17, and 5 and retrieves the UAV here. It should be noticed that although there is only customer 10 in the last group, the UAV should depart from customer 5 to serve customer 10 and fly back to the warehouse, and the vehicle should directly run from customer 10 back to the warehouse. The initial population generation is shown in Figure 2.

###### 4.1.3. The Algorithms

*(1) Fitness Function*. In Section 3, we explained the design of the model in detail, in which the objective function mentioned mainly includes the load of the vehicle and the UAV, the distance between customers and the corresponding energy consumption function and cost function. Accordingly, the fitness function can be defined as , where *X* is the combination of service sequence and grouping and is the target function.

*(2) Selection, Crossover*, *and Variation*. In the process of optimal individual selection, the greater the fitness of an individual, the greater the probability of being selected as the parent of the next generation, and the method is similar to roulette. As long as the fitness of an individual is large enough, the same individual in the genetic algorithm can exist in different generations. In the specific selection, select the elite individual retention strategy and copy the individuals with the highest fitness to the alternative parent group of cross-matching, then cross match all the individuals in the parent group, select the individuals with the highest fitness, and repeat this process, so as to gradually eliminate the individuals with poor fitness, leaving the elite individuals. At the same time, the method of double point crossing and real-value variation is adopted.

*(3) Termination Conditions*. After several iterations, when the output iteration results meet the following conditions, the convergence value is reached and the algorithm is terminated: (1)There was no significant change in the fitness value after continuous iteration; in other words, the change is less than 1‰ of the fitness value(2)The population no longer evolves and the number of iterations reaches the set value

##### 4.2. Algorithm Steps

In this paper, the algorithm steps are as follows:(1)Determine the coding mechanism, generate the initial population, and set the probability of cross variation and the maximum number of iterations.(2)Evaluate the fitness of the current population and find the chromosome with the minimum objective function value and corresponding function value.(3)Determine whether the termination conditions are met. Output the optimal chromosome and corresponding solutions if satisfied; otherwise, select the current population again.(4)Repeated crossover and mutation in the newly obtained generation.(5)Evaluate the fitness of the results and move to (3).

#### 5. Experimentation

In this section, we use the software Matlab R2017a to carry out the experiment and test our model and GA. The computer was used in the experiment is ASUS Rock 5 Generation, whose configuration is Inter(R) Core(TM) i7-8550u processor (1.8 GHz base, 1.99 GHz Max Turbo), 128 GB SSD, 8 GB RAM.

##### 5.1. Data Parameters

The range of customer demand, *q*_{j}, is 1∼10 pounds, among which 80% is no more than 5 pounds, and the position of each customer (*x*, *y*) coordinate values *x* and *y* randomly evenly generated in the interval [−10, +10]. The distance of the vehicle from customer *i* to *j* is , following the Manhattan metric; the distance of the UAV from customer *i* to *j* is , following the Euclidean metric; in addition, the warehouse is located at the center of the region (0,0).

Referring to Chiang et al. [2], we set the other parameters as follows.

The empty weight of the UAV, *W*^{U}, is 55 pounds; the payload of the UAV, *M*^{U}, is 5 pounds; the maximum flight distance of the UAV, *L*^{U}, is 10 miles; and the average flight speed of the UAV from customer *i* to *j*, , is 25 miles per hour. For roads with the second kind of traffic restriction, and .

The empty weight of the vehicle (truck), *W*^{V}, is 6100 pounds, its payload, *M*^{V}, is 6000 pounds, and the average speed of the vehicle from customer *i* to *j*, , is 25 miles per hour.

The fixed cost of a pair of a vehicle and a UAV, *C*^{F}, is $500, the unit route cost of a vehicle, *C*^{V}, is $0.00016/pound-mile, and the unit route cost of a UAV, *C*^{U}, is $0.00036364/pound-mile.

Referring to Goodchild and Toy [33], the weighted average emission of vehicles, WAER, is 1.2603 Kg/pound-mile, the CO_{2} emission from the power generation facilities in the generation of electricity, PGFER, is 3.773 × 10^{−4} Kg/Wh, and the average energy requirement of UAV, AER, is 3.3333 Wh/pound-mile.

##### 5.2. The Examples

Firstly, we present an example of 20 customers under the two separate kinds of traffic restrictions, in order to analyze the efficiency of UAV delivery overcoming traffic restrictions. When there are 20 customers, only one vehicle or a pair of a vehicle and a UAV is needed. Figure 3(a) shows the routing of a vehicle under no traffic restriction, and Figures 3(b)–3(d) separately show the routings of a vehicle and a pair of a vehicle and a UAV under two kinds of traffic restrictions. From Figure 3(d), we can find that the routings under two kinds of traffic restrictions are the same.

**(a)**

**(b)**

**(c)**

**(d)**

The results of costs and emissions under different circumstances are as follows. When a vehicle is under no traffic restriction, the CO_{2} emission is 161.3032 kg, and the variable cost is $134.09. When a vehicle is under the first kind of traffic restriction, the CO_{2} emission is 167.4327 Kg, and the variable cost is $139.19. When a vehicle is under the second kind of traffic restriction, the CO_{2} emission is 166.3727 Kg, and the variable cost is $138.30. When a pair of a vehicle is under both the first and the second kinds of traffic restriction, the CO_{2} emissions are the same, which is 151.6250 kg, and the variable cost is the same too, which is $113.97.

From Figure 3(d) and the result of costs and emissions, we can find that the routing as well as cost and emission under the first kind of traffic restriction are the same as those under the second. The main reason is no matter which kind of the traffic restriction is, we always use a UAV instead of a vehicle to deliver a parcel when facing a traffic restriction.

Comparing Figures 3(a)–3(d), as well as the corresponding result of costs and emissions, we can obtain the following conclusions.

Firstly, traffic restrictions raise the cost and emission, and first kind of traffic restriction raises them further higher. The main reason is that when a road in the routing is blocked for the delivery vehicle, it has to choose other road, while if there is only one lane available, the vehicle could still run through the road if the cost and emission are lower than those running through other roads. Therefore, the cost and emission under the second kinds of traffic restriction are higher than those under no traffic restriction but lower than those under the first kind of traffic restriction.

Secondly, UAV delivery can always reduce the cost and emission no matter if there is traffic restriction and which kind of traffic restriction is. Furthermore, UAV delivery saves more cost and cuts more emission under the first kind of traffic restriction than that under the second, as the cost and emission under the first kind of traffic restriction are the highest and those under two kinds of traffic restrictions are the same.

In the following section, firstly, we present the result of 200 customers under the first kind of traffic restriction. The location of the 200 customers and the weight of their demand of were randomly generated and shown in Table 1. 2 cars are needed for customer service within 8 hours per day. The service times of each vehicle are 6.65 hours and 6.94 hours, respectively. The routing of the two pairs of vehicles and drones is shown in Figure 4, and the results of costs and emissions are as follows.

The CO_{2} emission of the first vehicle is 209.5249 Kg, and that of the corresponding UAV is 0.1277 Kg. The CO_{2} emission of the second vehicle is 218.6621 kg and that of the corresponding UAV is 0.1636 kg. Therefore, the total CO_{2} emission from the package delivery is 428.4783 kg. If no UAV is used, the total CO_{2} emission will be 467.8864 kg.

The variable costs of the first pair of a vehicle and a UAV are $145.52 and $2.03, respectively, and the variable costs of the second pair of a vehicle and a UAV are $152.21 and $2.60. Therefore, the total cost of serving the 200 customers is $1302.36. The total cost will be $1388.95, if no UAV is used.

##### 5.3. Extended Examples

In the section, we extend our example to 300 and 400 customers.

###### 5.3.1. The Impact of UAVs on CO_{2} Emissions

Table 2 shows the CO_{2} emissions without the use of UAVs, and Table 3 shows the CO_{2} emissions with the use of UAVs. Table 4 shows the intuitive comparison between the results without UAVs and those with UAVs.

It can be seen from Tables 2–4 that, in the case of traffic restrictions, with the increase in the number of customers, the number of vehicles and CO_{2} emissions are also rising. From Table 4, we can find that when there are 300 or 400 customers, 3 and 4 vehicles are needed, respectively, when no UAVs are being used, while only 2 and 3 vehicles are needed, respectively, when UAVs are being used. We also found that using UAVs can effectively reduce CO_{2} emission even when there are 200 customers and the number of vehicles is not reduced.

###### 5.3.2. The Impact of UAVs on Costs

Now, we analyze the impact of using UAVs on delivery costs. Table 5 shows the delivery costs without UAV, Table 6 shows the delivery costs with UAV, and Table 7 shows the comparison between the costs without UAVs and that with UAVs.

From Tables 5–7, we found that the variable cost, fixed cost, and total cost rise with the increase in the number of customers. And as per our expectation, we found from Table 7 that using UAVs can always effectively reduce variable cost and total cost, as well as fixed cost when there are 300 and 400 customers because the number of required vehicles is reduced. Our expectation is that using UAVs greatly reduces the variable cost by at least 28.64% and up to 43.47%.

Tables 4 and 7 show that using UAVs in package delivery reduces not only the variable cost and total costs but also CO_{2} emission. In other words, UAV delivery is environmentally and economically beneficial.

#### 6. Discussion

In this paper, we classified traffic restrictions into two circumstances and studied the environmental and economic impact of UAV delivery under traffic restriction, and we found that UAV delivery can effectively save energy and cost. In other words, UAV delivery economically benefits not only logistics firms but also the sustainability of environmental development, which is supported by Chiang et al. [2]. We also found that, under the two kinds of traffic restrictions, UAV delivery can accomplish deliveries that cannot be carried out or are carried out at much higher costs by vehicles only, and it is more effective under the first kind of traffic restriction, which has not been studied.

We would like to point out that, with the development of UAV technology, UAV delivery is more and more popularly accepted as the best resolution of “last-mile” delivery problem. Amazon, UPS, Walmart, Google, JD.com, and Alibaba started to apply UAVs in package delivery. In this paper, we proposed managers an effective model to create competitiveness by optimally coordinating vehicles and UAVs. Shifting small package delivery from trucks to UAVs greatly reduces energy consumption and costs in package delivery. As a matter of course, to realize the environmental and economic benefits of UAV delivery, firms should carefully plan and control the routing and cooperation of vehicles and UAVs. Operational decisions can effectively reduce delivery costs and CO_{2} emission, as well as improve the environment [34].

Absolutely, the current power technology of UAVs limits the range and payload capacity of UAVs. At present, the battery used in UAVs is lithium ion battery with an energy density of around 300 Wh/kg, while the fluorinated battery can reach 2585 Wh/kg, which can greatly improve the performance of UAVs [35]. This means future developments in emerging energy sources will ease current restrictions on drone use and may provide additional cost savings that will allow UAV-vehicle delivery of last-mile packages to be further improved.

#### 7. Conclusions

In this paper, we classified traffic restrictions into two circumstances and proposed a mixed-integer (0-1 linear) UAV-vehicle routing model with these two kinds of traffic restrictions to exploit the environmental aspects of the use of UAVs in logistics. A genetic algorithm was proposed to solve the model, and an experimental analysis was made to illustrate and validate our model and the algorithm. We found that, under the two kinds of traffic restrictions, delivering with UAVs can accomplish deliveries that cannot be carried out or are carried out at much higher prices by vehicles only and can effectively save costs and reduce CO_{2} emissions, which is environmentally friendly. Furthermore, UAV delivery saves more cost and cuts more CO_{2} emission under the first kind of traffic restriction than that under the second.

#### Data Availability

The data used to support the findings of this study are included within the article.

#### Conflicts of Interest

The authors declare that there are no conflicts of interest.

#### Acknowledgments

This research was supported by the Natural Science Foundation of Chongqing (no. cstc2019jcyj-msxmX1363) and Fundamental Research Funds for the Central Universities (no. 2018CDXYJG0040).