1. Introduction
Nowadays, bike-sharing systems (BSSs), as a low-carbon and sustainable transport mode, are becoming more and more popular across the global, as they can reduce road congestion and decrease greenhouse gas emissions caused by motorized transportation [
1,
2]. The first BSS was introduced in Amsterdam in 1965 [
3] and there are now more than 1500 active BSSs [
4] and this number is growing at an increasing rate [
5,
6]. Recently, some scholars begin to pay attention to the practical problem of mismatch of bike supply and user demands in the BSS, which is a common challenge to all BSS operators [
7]. Some operators are trying to meet user demand by placing bikes in cities in large numbers, but this creates congestion on city streets and is not sustainable. In China, the government has introduced policies to restrict operators from placing too many bikes. Thus, these operators have to transfer bikes from the surplus stations to the deficiency stations by means of vehicles so that the BSS can be rebalanced. This problem is known as the Bike-sharing Rebalancing Problem (BRP) [
8].
Originally, the BSS operators employ internal combustion vehicles (ICVs) to do the rebalancing operations. However, the development of electric vehicles (EVs) has made great progress over the past few years and many BSS operators are discovering that EVs bring more advantages than ICVs beyond environmental benefits, such as less maintenance, less noise pollution and reduced driving cost [
9]. The Chinese government has strongly supported companies to develop sustainable EVs in recent years, providing many policy bonuses for the purchase and use of EVs. Furthermore, more and more cities have implemented traffic restrictions on ICVs to reduce carbon emissions and alleviate traffic congestions [
10]. In these cities, ICVs cannot provide services for certain BSS stations in the restricted areas, while EVs can. Therefore, in many practical situations, a multi-energy mixed fleet, consisting of both EVs and ICVs, are used to perform the rebalancing operations.
In this study, the original version of the BRP is extended by assuming the fleet of vehicles to be multi-energy types. The BRP considering Multi-energy Mixed Fleets and Traffic Restrictions (BRP-MMFTR) is considered to be an NP-hard problem, for it originates from the classical Vehicle Routing Problem (VRP). We formulate the BRP-MMFTR as a mixed integer programming model based on one commodity pickup and delivery problem [
11], with the objective of minimizing the total rebalancing cost of the mixed fleet. Our model has more complicate constraints than general BRP, such as battery capacity limits for EVs and traffic restrictions for ICVs. It is therefore more complex and more difficult to solve. As the size of bike-sharing stations increases, the calculation time will increase exponentially. Hence, the real-life BRP-MMFTR instances cannot be solved exactly within acceptable computation time.
To handle BRP-MMFTR in a runtime acceptable to BSS operators, we propose the Simulated Annealing algorithm with Variable Neighborhood structures (SAVN) to obtain the optimal solution. To avoid getting into the trap of local optima and enhance the exploratory capability, several variable neighborhood structures are incorporated in our algorithm.
The contribution of this paper lies on the following:
To introduce a new and practical bike-sharing rebalancing problem considering multi-energy mixed fleets and traffic restrictions;
To present a mixed integer programming model to formulate the problem above;
To propose a simulated annealing algorithm with several variable neighborhood structures to solve it.
The remainder of this paper is organized as follows.
Section 2 presents the literature review on the related problems.
Section 3 formally presents a mixed integer programming formulation for BRP-MMFTR.
Section 4 describes the procedure and key components of SAVN.
Section 5 contains the computational experiments and a sensitivity analysis. Finally,
Section 6 presents some concluding remarks about this work.
2. Literature Review
The BRP has been receiving considerable attention from the literatures during the past decade. Most of studies have focused on optimization models that maximize profits or minimize costs. Dell’ Amico et al. provide four mixed integer programming models with the objective of minimizing total costs, where a fleet of capacitated vehicles is employed to relocate the bikes [
12]. Erdoğan et al. and Cruz et al. solve the same model proposed by Dell’ Amico with a single vehicle, where multi-visit strategy is considered at each station [
11,
13]. Duan et al. focus on multi-vehicle BRP with the objective of minimizing the total travel distance, and a greedy algorithm is proposed [
14]. Casazza et al. and Bulhões et al. incorporate time into the constraints such that each route does not exceed service time limitation [
5,
15].
All the problems above need to fully meet the rebalancing demands in the BSS, which is difficult to achieve in reality. Hence, some researchers are trying to relax these constraints, and setting the objective to maximize the satisfied rebalancing demand. Papazek et al. set the primary goal to minimize the absolute deviation between target and final fill levels for all stations [
16]. Gaspero et al. solve the problem with the aim of minimizing the weighted sum of the total travel time and the total absolute deviation from the target number of bikes [
17], while Raviv and Kolka take it as a penalty cost [
18]. Faulty bikes are considered by Wang and Szeto with the objective of minimizing the total carbon emission of all vehicles [
19]. Usama et al. also consider replacing faulty bikes in the system with the following objectives: user dissatisfaction and vehicle routing costs [
20].
Actually, BRP is a large-scale uncertainty problem, due to the existence of uncertainty of user demand [
21]. Hence, some scholars have turned their attention to the BRP with uncertain user demand. There are roughly three types of methods for dealing with these uncertainty problems. First, prediction is a common method to resolve uncertainty. Alvarez-Valdes et al. estimate the unsatisfied demand to guide rebalancing algorithms [
3]. Zhang et al. propose a dynamic bike rebalancing method that considers both bike rebalancing, vehicle routing and the prediction of inventory level and user arrivals [
22]. Second, some scholars divide the uncertainty into multiple independent stochastic scenarios for research. Dell’Amico et al. develop the stochastic programming model with the objective of minimizing the travel cost and the penalty costs for unfulfilled demands [
23]. Maggioni et al. propose the two-stage and multi-stage stochastic optimization models to determine the optimal number of bikes to assign to each station [
24]. Yuan et al. present a mixed integer programming model with the objective of minimizing the daily costs including the capital cost and the expected operating cost [
25]. Third, some studies deal uncertainty directly with dynamic factors. Legros focuses on dynamic rebalancing strategy in the BSS with the objective of minimizing the rate of arrival of unsatisfied users, and solve it by a Markov decision process approach [
26]. You develops a constrained mathematical model to deal with a multi-vehicle BRP, aiming to develop dynamic decisions to minimize the sum of the travel costs and unmet costs under service level constraints over a planning horizon [
27].
However, none of these literature works considers multi-energy mixed fleets. Goncalves et al. consider the vehicle routing problem with pickup and delivery, and propose a heterogeneous vehicle routing model based on ICVs and EVs [
28]. Sassi et al. formulate the heterogeneous electric vehicle routing problem with time dependent charging costs, in which a set of customers have to be served by a mixed fleet of vehicles composed of ICVs and EVs [
29]. A mixed fleet of ICVs and EVs are also considered in Goeke and Schneider [
30]. The authors formulate the electric vehicle routing problem with time windows and mixed fleet, which is solved through adaptive large neighborhood search algorithm. Charging times vary according to the battery level when the EV arrives at the charging station, and charging is always done up to maximum battery capacity. Macrina et al. present a new variant of the green vehicle routing problem with time windows and propose an iterative local search heuristic to optimize the routing of a mixed vehicle fleet, composed of EVs and ICVs [
31].
In summary, there are abundant studies about BSS, but no model considers multi-energy mixed fleets and traffic restrictions. For real-life BSSs in big cities, it is more realistic and more useful to consider a fleet of EVs and ICVs. Therefore, in this paper, we focus on a new and practical variant of BRP under the background of multi-energy mixed fleets (composed of EVs and ICVs) and traffic restrictions to ICVs. Our contribution to the development and application of the BSS model is twofold. On the one hand, we formulate BRP-MMFTR as a mixed integer programming model with the objective of minimizing the total rebalancing cost. On the other hand, because this model is too complex to be solved accurately, we develop SAVN to solve it. Our work will expand the existing knowledge on modeling BSS.
3. Model Formulation
3.1. Model Descripion and Notations
As shown in
Figure 1, BRP-MMFTR studied in this paper can be described as follows: There are two types of vehicles available, namely EVs and ICVs. Vehicles start from the depot with no inventory of bikes, then serve all stations by sequentially loading excess bikes or unloading insufficient bikes, and finally return to the depot after serving all stations. Each station can be served by a vehicle only once. During the rebalancing process, the number of bikes carried by a vehicle cannot exceed its maximal capacity. EVs need to visit the charging stations during the service process. To reduce the complexity of our model, the EV battery must be fully charged at any charging station and the depot. In addition, ICVs are not allowed to enter the traffic restricted area. The objective of BRP-MMFTR is to minimize the total rebalancing cost including the vehicles’ fixed costs and traveling energy costs, recharging costs for EVs, and carbon emissions for ICVs.
The assumptions related to BRP-MMFTR are given as follows:
All stations’ demands are known and fixed;
The traveling energy costs and carbon emissions are only related to the travel distances;
The loading and unloading time are neglected;
The residual charge level of the EV grows linearly with the charging time;
All homogeneous vehicles run at a uniform speed;
The number of vehicles in the depot and the number of charging piles in each charging stations are sufficient;
The notations of sets, parameters, and decision variables used in our model are listed in
Table 1.
3.2. The Total Rebalancing Cost
The total rebalancing cost of BRP-MMFTR include four parts: vehicles’ fixed costs, vehicles’ traveling energy costs, EV recharging costs, and ICVs’ carbon emission costs. The vehicles’ fixed costs and traveling energy costs are the basic components of objectives in most traditional VRP models. In the objective of our model, the recharging costs reflect the additional charging time during the operation of EVs, while the carbon emission costs are related to the greenhouse gas emission of ICVs.
(1) Fixed costs ()
The fixed costs of vehicles are the costs of using vehicles for rebalancing operations. They are different for EVs and ICVs, and the equation of vehicles’ fixed costs in our model is shown as follows:
(2) Traveling energy costs ()
The traveling energy costs are composed of two types of costs, that is, fuel costs of ICVs and electricity costs of EVs. Both of them are only associated with the travel distance. And the equation of vehicles’ traveling energy costs is shown as follows:
(3) Recharging costs ()
The travel distance of an EV is limited by its maximum battery level. Hence, it needs to be charged when its residual charge level lower than the safe residual charge level. The recharging cost is only related to the charging time. The equation of recharging costs is shown as follows:
(4) Carbon emission costs ()
In the process of rebalancing, a large amount of CO
2 is generated by ICVs from their fuel consumptions, resulting in greenhouse effect. By reducing the costs of carbon emissions, the total rebalancing cost is reduced. The equation of carbon emission costs is shown as follows:
3.3. Model Establishment
The mixed integer programming model for BRP-MMFTR can be written as follows:
Objective function (5) minimizes the total rebalancing cost, including vehicles’ fixed costs, vehicles’ traveling energy costs, EVs’ recharging costs, and ICVs’ carbon emission costs. Constraints (6) ensure that each vehicle starts at the depot and returns to the depot at the end of its route. Constraints (7) guarantee that each station is served exactly once. Constraints (8) refer to the usual flow conservation. Constraints (9) can avoid subtours and thus guarantee route-connectivity. Constraints (10) indicate that ICVs are restricted from entering the restricted area. Constraints (11) give the upper and lower bounds of the number of bikes loaded by vehicles. Constraints (12) and (13) ensure that the vehicle’s maximum capacity is not exceeded. Constraints (14) and (15) are the EVs’ charging functions and power consumption functions, respectively. Constraints (16) indicate the safe residual charge constraints of EVs. Constraints (17) and (18) show that EVs are fully charged when leaving the depot or a charging station. Constraints (19) guarantee the residual charges of EVs are the same after serving a BSS station. Constraints (20) are the binary decision variables.
4. Simulated Annealing Algorithm with Variable Neighborhood Structures
Simulated Annealing (SA) is a heuristic method to solve various NP-hard optimization problems. It can expand the exploration capability by accepting worsen solutions with some probability. This has benefit to reduce the probability of getting trapped in local optima. In order to improve the search efficiency and get solutions with higher quality, we introduce the variable neighborhood structures [
32] into the framework of SA, and propose SAVN to deal with the real-life BRP-MMFTR instances. The procedure and key components of our algorithm are described in detail below.
4.1. The Procedure of Our Algorithm
Given an initial solution, SAVN starts from the initial temperature . During the search process, the algorithm randomly selects a neighborhood structure to transform the current solution S into a randomly generated feasible neighbor . Note that the cost of a feasible solution S, namely , is evaluated with the Equation (5). If the cost of is less than the cost of S, will definitely be accepted. Otherwise, the acceptance probability of is , where T is the current temperature. For each T, this process is performed times. Then, T decreases by multiplying the cooling rate .
Repeating the above processes until the stop criterion is met, that is, the unimproved number of the best solution so far reaches the pre-specified MaxUN. Furthermore, when
T is less than 0.01,
T will increase to help the algorithm escape from the local optima [
33]. We double
first (but no more than
) and then set
. The pseudocode of SAVN is shown in Algorithm 1.
Algorithm 1 The procedure of SAVN |
1 | Parameters: (the best solution so far), (the initial temperature),
(the temperature with which is found), MaxUN (the maximum unimproved number of the best solution), (maximum number of iterations at the current temperature), (the neighborhood structures, ), (the cooling rate) |
2 | Construct S as an initial solution |
3 | , , , count = 0 |
4 | while count < MaxUN |
5 | for to |
6 | Select randomly a neighborhood structure |
7 | Generate a feasible solution from with |
8 | if |
9 | |
10 | else |
11 | Set with probability |
12 | end |
13 | if |
14 | , , count = 0 |
15 | else |
16 | count = count + 1 |
17 | end |
18 | end |
19 | |
20 | if |
21 | , |
22 | end |
23 | end |
24 | Return |
4.2. Initial Solution Generation
Considering the particularity of BRP-MMFTR, we firstly classify all BSS stations into two types by region: stations in restricted areas and stations in non-restricted areas. Then a three-step algorithm is proposed to generate the high-quality initial solution.
Step 1: For stations in the restricted areas, EVs must be employed. We use the insert algorithm to construct the initial routes for these stations. First, the station with the largest distance from the depot is selected as the first customer of an EV. Then, if the capacity constraints are satisfied, the other stations are inserted into the current EV route in turn. Otherwise, a new EV route will be generated and serve the remainder stations. Repeat this insertion process until all stations in the restricted areas are serviced.
Step 2: For the stations in non-restricted areas, we first judge whether a station can be inserted into the existing EV routes. For the stations that can be inserted, we insert them to the positions with the lowest incremental cost in the existing EV routes. For the other stations, we employ the same insert algorithm to generate some new ICV routes.
Step 3: Charging stations are allocated to EV routes. If the residual charge level of an EV is enough, this step can be skipped. Otherwise, when the residual charge level of an EV is lower than the designated safe-residual-charge level, the nearest charging station will be inserted into the EV route to increase its mileage.
4.3. Neighborhood Structures
Four neighborhood structures are employed in our algorithm. In the procedure of SAVN, when a new solution is needed, one of these four structures is randomly selected with equal probability. As shown in
Figure 2, all structures are described by an instance with 5 stations.
Neighborhood structure (a): A randomly selected station is relocated to another position in the current solution.
Neighborhood structure (b): Two randomly selected stations exchange their positions.
Neighborhood structure (c): Two randomly selected segments exchange their positions, and their lengths are at most 3.
Neighborhood structure (d): A pair of stations is randomly selected and all the stations between them, including themselves, are reversed.
6. Conclusions
As a low-carbon and ecologically sustainable transportation mode, BSS has become a way to deal with the growing menace of global warming. In this study, we have proposed, modeled and solved BRP-MMFTR, which is a variant of BRP considering multi-energy mixed fleets and traffic restrictions. We first formulate BRP-MMFTR as a mixed integer programming model with the objective of minimizing the total rebalancing cost composed of vehicles’ fixed costs, vehicles’ traveling energy costs, EVs’ recharging costs, and ICVs’ carbon emission costs. Then SAVN is designed to solve this model, which is the simulated annealing algorithm enhanced with variable neighborhood structures. To illustrate the efficiency and efficacy of our algorithm, some test instances of BRP-MMFTR are generated randomly. The computational results reveal the huge advantage of SAVN, compared with SA and VNS. SAVN can achieve better solution in terms of solution quality and CPU time, outperforming those obtained by SA and VNS. In addition, SAVN is more stable than SA and VNS. Finally, the sensitivity analysis results of parameter μ indicate that as μ increases, the total rebalancing cost shows a clear trend of decreasing and then increasing. Therefore, setting an appropriate value for μ is helpful to reduce the total rebalancing cost. In addition, the value of μ is not necessarily constant in the practical rebalancing operations, and it can be dynamically adjusted according to the real-time conditions.
For BSS operators, we provide the optimal vehicle scheduling suggestions for multi-energy mixed fleets to minimize the total rebalancing cost when bike supply and user demand are not matched. In addition, we also focus on carbon emissions during the rebalancing process. BSS is originally a sustainable transportation mode, but if their operators use ICVs during rebalancing operations, the low-carbon benefits of BSS will be partially offset by the carbon emissions of ICVs. Therefore, it is obviously beneficial to create a green and low-carbon sustainable transportation system by using EVs instead of ICVs. The government should vigorously promote the sustainable development of EVs. Some policies, such as traffic restrictions on ICVs, can be introduced to encourage the BSS operators to purchase more EVs to minimize the carbon emissions.
Future research can extend our model and algorithm to solve more complex variants of BRP-MMFTR, such as considering the impact of average speed and speed variations to the traveling energy costs. Furthermore, dynamic or stochastic BRP-MMFTR is also a good research direction.