Abstract
In order to tackle the congestion and environmental issues, customized bus services are proposed and deployed in metropolitan areas. As emerging public transportation services, customized bus services bring passengers more convenience and accessibility. Besides, conventional customized bus services generally organize homogeneous fleet and single location selection to passengers. In this paper, to enhance the mobility and flexibility of customized buses and increase companies’ profit, we propose a new form of customized bus service with heterogeneous fleets and multiple candidate locations. First, a mixedinteger programming model (MIP) is developed to describe the customized bus problem. Compared with the conventional model, the proposed MIP is involved in the case of one passenger with multiple candidate pickup or delivery locations and can be solved by GUROBI on small scale, quickly and efficiently. Second, an improved adaptive large neighborhood search algorithm () is utilized to address the largescale problem more efficiently. Time slack calculation method is then designed to optimize vehicle timetables, which provides stable and excellent performance for searching feasible solutions. In addition, we propose two inserting operators to deal with the problem with multiple candidate locations and analyse its influence on the results. Finally, we test the performance of the proposed model and algorithm on the numerical experiments. And they are verified the effectiveness and implication in a smallscale case on a simplified Sioux waterfall network and a largescale problem in Beijing, China. The result shows that outperforms other algorithms in searching for more satisfying solutions with higher efficiency. However, the GUROBI solver can obtain the solution to smallscale problems within a shorter time than . Furthermore, it can be suggested that the heterogeneous fleets service with multiple candidate locations is helpful to facilitate collaboration among vehicles and optimize pickup and delivery routes in consequence.
1. Introduction
The increase in the number of private cars has imposed an impact on potential traffic jams and environmental issues, and in the meanwhile, the increasing number of people has grown interest in enjoying personalized travel services. Therefore, many transportation service providers are gradually focusing their attention on seeking new services to attract more public transport users and increase passengers’ accessibility. In recent years, internetbased customized buses service has become more popular in the market due to its higher accessibility and quicker response, especially in congested metropolitan areas. Since Kirby and Bhatt analysed and discussed in detail about subscribing to the bus service in 1974 [1], the customized bus system (CB) has been continuously developed into a demandresponsive transportation service. Nowadays, some transportation companies have constructed mobile application platforms for customized bus services to collect detailed travel information [2, 3]. With the spatial and temporal characteristics of travel requests taken into considerable consideration, the customized bus service platform can aggregate similar requests and design bus routes. To the best of our knowledge, some customized bus services have been deployed in physical road networks of metropolitan areas such as Beijing.
According to different characteristics of travel requests, customized bus services can be usually divided into four major categories: “Customized commuter bus,” “Customized school bus,” “Customized business bus,” and “Customized community bus,” and other kinds of customized feeder or shuttle bus systems [2]. This paper focuses on the customized commuter bus, which offers commute shuttle service and takes customers from the residential community to the workplace. This is also the most important CB system. It is noted that there are some unique service features about commuters. They usually book relatively fixed demands and change them in different weeks or months. Therefore, the customized bus services will be updated according to new requests in each optimization time (e.g., one month and one week) [4].
The detailed operating procedure of the customized bus service is presented in Figure 1. Each passenger needs to input his/her request through the network and platform to complete the servicedesign process. This paper mainly focuses on the process to plan and deploy new routes based on failtomatch requests in the requests pool. If requests cannot be matched with the existing routes, these requests will be put into the requests pool. When the number of booked people meets the minimum load requirement, the platform will plan new routes deployed in the physical road network based on the requests in the requests pool.
There are several notable features of customized bus problems. As can be seen from the above operating procedure, compared to the traditional bus routing problem, customized bus problems pay more attention to individual passenger request information. Bus route and specific timetables are updated and designed by considering more about companies’ profit and various characteristics of passenger demands, including origindestination pairs and time windows. In the field of operations research, the problem regarding passengers’ pickup and delivery locations with time windows can be classified as a special vehicle planning problem [5]. With the consideration of all constraints, it is worthwhile but challenging to design reasonable routes and specific timetables. Furthermore, it is also of great significance to enrich the personalized public transportation services and provide highly reliable and accessible trip services for commuters living in congested metropolitan areas.
The remainder of this paper is organized as follows. The next section describes an overview of earlier research. Section 3 describes the MIP model. In Section 4, we describe in detail. Section 5 reports the test of the MIP and on numerical experiments. Finally, Section 6 summarizes the research content and future research directions of the paper.
2. Literature Review
Customized bus service can be regarded as a requestoriented public transportation service based on its unique service features. In earlier research, ondemand transportation was described as a set of vehicle routing problems with pickup and deliveries (VRPPD). Nagy et al. [6] divided the previous studies about the problem into three main categories: simultaneous pickups and deliveries, mixed pickups and deliveries, and deliveryfirst, pickupsecond. In subsequent research, VRPPD is gradually evolved into different versions due to the specific problems and traffic conditions. When the pickup and delivery locations with time windows are determined, VRPPD can be seen as pickup and delivery problems with time windows (PDPTW). In general, the exact algorithm is a major way to solve multivehicle pickup and delivery problems in most studies [7–9]. Ropke et al. [10] proposed a new branchandcutandprice algorithm to tackle the problem, which dynamically introduced valid inequalities and heuristic algorithm to enhance algorithm performance. Wang et al. [11–14] constructed related optimization models and proposed algorithms based on statespacetime network to effectively solve some pickup and delivery problems.
With the development of mobile technology, passengers can book vehicles and pay for trips through smartphones or platforms. In the operations research, this type of transportation service can be classified as dialaride problems (DARP). Compared to VRPPD, DARP offers more unique characteristics, including depots, time window, vehicles capacity, ride time, and route duration. Stein [15] proposed the first DARP model and gave the bounds of both static and dynamic models. For static and dynamic DARP versions, Psaraftis et al. [9] developed a dynamic programming algorithm for the problem with a single vehicle. For the multiobjective problem in DARP, Jorgensen et al. [16] considered the total weight of multiple objects and proposed a Granular Tabu Search algorithm to solve the static DARP. In addition, Garaix et al. [17] and Schilde et al. [18] considered optimizing multiobjective problems by priority. And Paquette et al. [19] used the Pareto boundary to solve it.
The original application of DARP was a nonprofit dialaride system service (DAR) for the elderly and the disabled. Relevant constraints include ride and waiting time, pickup or delivery with time windows, vehicles capacity, and fleet systems [20–23]. However, due to market demand and emerging communication technology, DARP has been applied in the field of public transportation. Based on the ondemand transportation system developed in rural France, Garaix et al. [17] designed a freeriding system that maximized customer occupancy and used the column generation way to deal with it. The problem where not all passengers are collected in advance is classified as dynamic ondemand transportation services [5]. Pillac et al. [24] introduced the concept of dynamic problem and reviewed the solution methods about it. AlonsoMora et al. [25] paid attention to the dynamic ridesharing problem with highcapacity and proposed a pairwise shareability graph to compute feasible trips. Studies about customized bus service, one type of demandresponsive transport service, are also gradually increasing. Liu et al. [2] introduced the development and application of customized bus services in China. To solve customized bus servicedesign problems, Tong et al. [4] proposed a multicommodity optimization model and provided a Lagrangian decompositionbased solution algorithm to solve the routing problems.
Furthermore, in terms of solving route planning problems, the neighborhood search algorithm always has a high performance [26–31]. To improve the performance of neighborhood search algorithm, Ropke and Pisinger [32] proposed an adaptive large neighborhood search algorithm for the first time (ALNS). In the subsequent studies, it is found that ALNS has an outstanding performance in solving largescale route planning problems with NPhard, and it has been applied to different fields. To stack with the pollution routing problem (PRP), Demir et al. [33] improved the ALNS algorithm and updated some mechanisms, applicable to the problem. Polat et al. [34] proposed a mixedinteger mathematical optimization model and design a perturbationbased variable neighborhood search heuristic to solve the vehicle routing problem with simultaneous pickup and delivery with time limit (VRPSPDTL). To study the sharearide problem, Li et al. [35] proposed an adaptive large neighborhood search method with time slack. Yu et al. [36] and Yu et al. [37] developed an adaptive large neighborhood search heuristic to solve green vehicle routing problems in largescale instances. In addition, ALNS is also widely used in the vehicle routing problem with drones, a supply chain, carsharing service, train stop planning, timetabling, and other fields [38–41]. Furthermore, there are also some hybridization and improvement from ALNS and other algorithms [42–44].
In the paper, to further improve passengers’ accessibility and increase bus operators’ profits, we consider adding two strategies (Strategy 1 and Strategy 2) into customized bus services.(I)Strategy 1: the heterogeneous fleets with different operating cost and vehicle capacity can be dispatched to offer customized bus service(II)Strategy 2: passengers can choose multiple candidate locations as their pickup and delivery locations
The existing literature still lacks relative research on the heterogeneous customized bus service problem with multiple pickup and delivery candidate locations. With the comprehensive consideration about the new service form, this paper builds a new MIP model based on the classical DARP model proposed by Cordeau [20] to address the practical and theoretical challenges. At the same time, to effectively solve largescale problems, we introduce and improve ALNS () proposed by Li et al. [35] by designing corresponding operators (MI.1 and MI.2) to address new challenges with multiple candidate locations. In addition, given the complexity of the problem with time window, a time slack calculation method is utilized to adjust vehicle arriving time during searching feasible solutions.
In summary, this study has several contributions in theory and application: (1) constructing a new bus service with heterogeneous fleets and multiple candidate locations to improve conventional service quality and facilitate collaboration among different buses, (2) formulating relative optimization model with considering the different time windows, capacities, passenger assignment, and location selection to maximize operator’s profit, (3) designing an improved heuristic algorithm based on ALNS, including a time slack calculation method and two inserting operators to address the largescale problem with high efficiency.
3. Mathematical Model
The PDPTW and the DARP can be modelled using classical formulation (see, e.g., Cordeau [20] and Dumas et al. [7]). It is usually utilized to optimize the problem where each request is represented by a set of unique pickup location and delivery location. In this paper, to further tackle the challenges with multiple depots, heterogeneous fleets and multiple candidate locations, we propose a MIP model to deal with the problem, where the state node concept is utilized to describe the relationship between every passenger and their pickup and delivery locations.
3.1. Problem Statement
We define the problem on a direct graph , where is the set of all state nodes and is the set of all arcs connecting state nodes. Each state node in means the passenger is picked up and delivered at the physical location . , , and mean, respectively, the set of passenger requests, the set of physical locations, and the set of customized buses. For each passenger , is the set of state nodes for passenger picked up, and the same for is the set of state nodes for passenger delivered. indicates one directed arc from one state node to another state node , where bus moves from location to location to offer service for passenger and passenger . Although one passenger may have multiple pickup and delivery locations, he/she must be picked up or delivered at a unique location.
To guarantee bus operators’ profit, the number of passengers the bus serves must meet the minimum load constraint. As a result, if the loading capacity of bus is , the number of passengers on the bus must be more than or equal to . Given a number of service features from customized buses, some unreasonable passenger requests may be rejected. The rejected passengers in the model are served by the vehicle , where is the set of virtual vehicles. Expensive cost from virtual vehicles is the penalty cost for unserved customers. The remaining passengers are served by the buses , where is the bus set with large capacity.
Pretreatment: before solving the model, it is necessary to find all potential state nodes and construct the arcs among these state nodes.
3.2. Related Definitions and Optimization Model
To formulate DARP with multiple candidate locations into a mathematical model, all parameters used in the model are defined in Table 1.
The total income mainly refers to the tickets income. The cost includes the following three parts: the fixed cost of each bus dispatched, fuel cost on the arcs, and penalty cost for unserved passengers.
The objective function (1) maximizes total profits. Constraints (2)–(5) are ticket income, total departure cost, penalty cost, and fuel cost, respectively. And constraints (3) and (4) can be represented by constraint (20).
For vehicles, constraints (6) and (7) ensure that each vehicle travels at most once, and each one leaves start depots and enters start depots. For some customers offering multiple locations as their candidate pickup or delivery locations, he/she can only be picked up or delivered at one location in the end, and the platform also will choose one location from their multiple pickup or delivery candidate locations. Therefore, constraints (8) and (9) ensure that all passengers are served and each passenger is picked up or delivered at a unique location. In addition, constraint (10) indicates that one person is just picked up and delivered by the same vehicle. For network flow, constraints (11) and (12) enforce traffic flow balance. If vehicle arrives in location to serve one person, it will leave from location to location to serve another one. Constraint (13) guarantees that the total number of served passengers cannot exceed the capacity of vehicle. To achieve the profit goal, constraint (14) ensures a minimum number of passengers in the vehicle. Constraints (15) and (16) enforce each passenger to be picked up or delivered within he/her time windows. Constraint (17) is subtour elimination constraint. Finally, constraints (18) and (19) define the binary decision variables. If the vehicle moves from the state node to the state node , then ; otherwise, . If one vehicle departs from start depots or returns to end depots, then ; otherwise, .
4. An Adaptive Large Neighborhood Search Algorithm for Customized Bus Service System
In this section, we describe and its application to the problem in great detail. The constructs the initial feasible solution using the greedy algorithm represented in Section 4.1. It uses several competing removal and insertion algorithms and chooses a reasonable set of operators by the score of each operator during the search. The removal algorithms are described in Section 4.3, and the insertion algorithms are described in Section 4.4. Furthermore, we propose a time slack calculation strategy to adjust timetables for searching more feasible solutions.
4.1. Initial Solution Construction
A greedy insertion algorithm is used to search for a feasible initial solution. Requests in the set are inserted one by one in a random order into routes. The entire process can be shown in the pseudocode of Algorithm 1.

4.2. Process
To diversify the search, the selects suitable removal and insertion operators by a roulette wheel mechanism at every iteration. We define every times as a cycle. The probabilities of choosing operator in the cycle, , is updated as formulation , where is the weight of the operator in the cycle. For every iteration, weights are recalculated using the scores obtained as formulation , where is the weight coefficient and and are the overall score and selected times of the operator in cycle. If the operator is chosen, its score is increased by , as shown in Table 2, according to its performance at the current iteration. For every iteration, all scores are reset to zero. Finally, the entire process of is completed under iterations, as shown in Algorithm 2.

Some parameters are shown in Table 2 by using the tuning strategy proposed by Ropke and Pisinger [32] and Li et al. [35] to obtain values. When just one parameter is adjusted, the rest will be fixed. Finally, the setting with the best average behaviour is chosen.
The acceptance criterion adopts the simulated annealing criterion shown as Algorithm 2, where is the objective value of the new solution, is the objective value of the current solution, and is the objective value of the global optimal solution. The probability that we accept new solution is , where is the current temperature, is the cooling rate, and is the initial temperature.
4.3. Removal Algorithms (RA)
In each iteration, a removal operator is selected from RA and removes the total number of passenger requests in the solution to break the current solution, where is the random removal parameter. These requests removed are added to the perturbation set . The section has designed five operators, the first three are chosen from Ropke and Pisinger [32], the fourth operator is adapted from Demir et al. [33], and the last one is motivated by Cordeau and Laporte [5]. R1Random Removal: the operator randomly removes requests from the current solution put them into the set . R2WorstRemoval: the operator calculates the value of all passengers, where denotes the change in objective value incurred by removing passenger request from current position. Then, requests with the greatest value are removed and put into the set . R3Shaw Removal: to diversify the search, the operate measures the similarity level between passenger and passenger through the correlation function , where are the Shaw coefficients, is the distance between pickup locations of passengers and , is the distance between delivery locations, is the boarding time, is the alighting time, indicates whether passengers and are in the same vehicle () or not (). The operator randomly chooses one customer and calculates all between the passenger and other ones. Then, it removes requests with the smallest similarity level. R4Random Route Removal: This operator randomly removes all passenger requests of one route and puts them into the set . R5Tabu Removal: the operator is spired by tabu search. It keeps a track of the times passenger has been removed and then removes requests with the smallest removed times and puts them to the set .
4.4. Insertion Algorithms (IA)
After a number of passenger requests are removed from the vehicle routing solution, insertion operators are used to repair and generate new solution. The first three operators are adapted from Ropke and Pisinger [32], the fourth one is motivated by Cordeau and Laporte [5], the fifth is inspired by Demir et al. [33], while the last two are the insertion operators designed for the problem with multiple pickup and delivery locations in the paper. I1Greedy Insertion: the requests in the set are sequentially removed from set and inserted into the best location. I2Regret2Insertion: to avoid the myopia of local optimization from greedy algorithm, the operator calculates the regret value, where . And then it sequentially inserts the request with the greatest regret value. I3Regret3Insertion: this operator is similar to I2 and makes . I4One by one Insertion: the operator is similar to I1. The difference is that I4 inserts one request into the best location after removing it, rather than reinserting one by one after removing all requests. I5TimeWindows Insertion: to tackle with the impact of the time feature from the problem, I5 gets the similarity level of all removed passengers in terms of time window, that is, the value of time window difference, . And then, it sequentially inserts the request with the greatest value.
For the passenger with multiple locations, we need to combine one of I1–I5 and one of the last two operators to complete the insertion of the passenger. For this, one of the following two operators is randomly selected: MI.1Random insertion based on multiple locations: MI.1 principle randomly selects a candidate location as the current pickup or delivery location of the passenger and then inserts the passenger using I1–I5. MI.2Onebyone insertion based on multiple locations: MI.2 principle compares the performance of all candidate locations using I1–I5 separately and selects the candidate location with the best performance as the current pickup or delivery location of the passenger and inserts it.
4.5. Time Slack Calculation Strategy
As seen in Figure 2, if we break and repair the solution using RA and IA operators without adjusting timetables, it is possible to fail to search more feasible insertion solutions. Therefore, we design the instance to simulate the issue, where the maximum ride time of each passenger is 40 and the service time is 0. Time window, pickup, and delivery locations of two passengers are presented in Figure 2.
If we just use Algorithm 3 without any ways to adjust timetables, it can be found that the ride time of passenger 1 is more than 40 and passenger 2 cannot be inserted into the route as shown in Figure 2. After using Algorithm 4 to change the timetables, passenger 2 can be inserted in the position and the insertion solution is feasible, as shown in Figure 3. Therefore, it is very essential to adjust timetables to further improve the solution during the search. The time slack calculation strategy we proposed can test the feasibility of any insertion cases in time constraints. The symbols that may be used in Section 4.5 are shown in Table 3.

As shown in Figure 2, the greedy algorithm just guarantees time window constraint but cannot consider the impact of the maximum ride time. In addition, it may also cause more waiting time.
is the adjustable time bus can delay its arrival at the location according to the timetable and time window:
is the adjustable time bus can delay its arrival at the location within the maximum ride time constraint:
means the adjustable time vehicle can delay its arrival at the location , where its value may affect time constraints at other locations.
Note:(1)If both boarding and alighting locations of one passenger are behind the location , on pickup location or delivery location of the passenger is (2)If only delivery location of one passenger is behind the location and , of the location is
means the adjustable time of the vehicle at location based on waiting time, where its value may affect time constraints of other locations.
means the maximum adjustable time of the vehicle at the location , where its value cannot affect time constraints at other locations.
The relationship among , , and and the entire process of time slack calculation strategy is shown as Algorithm 4.
4.6. Stopping Criteria
There are two types of stopping criteria used to avoid local optimization:(i)When the current iteration exceeds the maximum iteration, the algorithm operation ends and the result is output(ii)When the temperature is less than 0.5, the algorithm operation ends and the result is output
5. Numerical Experiments
We first verify the accuracy of the above proposed MIP model by solving an instance with smallscale requests in the simplified Sioux waterfall network proposed by Tong et al. [3]. The experiments in the paper were performed on the Inter(R) Core(TM) i57300HQ CPU @ 2.50 GHz 8G RAM computer. The MIP model was solved by the commercial software GUROBI.
5.1. Small Numerical Experiments on a Simplified Sioux Waterfall Network
To verify the proposed model, we test and compare it with the proposed algorithm by one example with 20 passenger requests on the simplified Sioux Falls network proposed by Tong et al. [4]. Some nodes meaning candidate stop locations (denoted by the blue and green dots), other nodes (denoted by the white dots), and transportation links are shown in Figure 4(a). The number on links means travel time.
(a)
(b)
Two kinds of buses can be originally located at depot nodes, namely, nodes 1, 2, and 13 (denoted by the yellow dots), which have different load capacity, departure costs, and fuel costs. The maximum and minimum load capacity, and , of one with large capacity is 10 and 7, and the other with small capacity is 6 and 3. The departure cost of is, respectively, 22 and 17, and the fuel cost per unit time is 1 and 0.7. The ticket price is set to 10, and the penalty cost for each unserved passenger is half of the ticket price in this example. Note that, in this case, we assume that the end depot of the customized bus is virtual depots, of which distance to any point is zero.
Table 4 lists related information of all passenger requests. Take passenger 1 as an example. Passenger 1 can be picked up at node 3 between time 11 and 15 and be delivered at node 7 between time 26 and 30. In addition, there are some passengers (passengers 4, 15, and 19) with more than one candidate pickup location in requests information. For passenger 4, he/she can select only one node as the final pickup location, namely, 4 or 5.

The commercial software GUROBI and are used to solve this instance. Finally, the route is generated as shown in Figure 4(b).
5.1.1. Optimal Solution for the Example
Computational results of the example are found using, respectively, the commercial software GUROBI and algorithm to assess their respective performance. The computational results show that the total income is 62.6. Four passengers cannot be served, namely, passengers 5, 6, 9, and 16. Other passengers are assigned to two buses. The computational result is the optimal solution (Gap value is 0), as shown in Table 5. Although the optimal solution from the solver and are the same, shorter CPU time indicates the MIP solver has better performance in terms of the smallscale problems.
Table 6 lists detailed vehicle routes and passenger assignments. Ten passengers are assigned to the bus with large capacity, and the rest six passengers to the bus with small one. Their routes are presented by red and orange lines in Figure 4(b).
5.1.2. Sensitive Analysis for Strategy 1
By the example on Sioux Waterfall Network, we further analyse the impact of Strategy 1 on the result. The computational results are shown in Table 7.
As can be seen from Table 7, the heterogeneous fleet achieves better profit in both experiments. Furthermore, the result shows that the heterogeneous fleet serves more passengers than homogeneous fleets in the second experiment. It means more passengers can be served by a flexible solution from heterogeneous fleets. Homogeneous fleets cannot make flexible dispatch based on various passenger requests, which may increase cost or make more passengers unserviceable.
5.2. Benchmark Test Results
5.2.1. Benchmark Test with Unique Pickup or Delivery Locations
Because there is no benchmark instance applied to customized bus problem, we choose DARP benchmark instances proposed by Cordeau and Laporte [5] as test instances to evaluate the performance of the proposed, which has similar properties as customized bus problems. Assuming all requests are serviced, the total distance is minimized as the objective function.
Li et al. [35] tested, respectively, two solution evaluation approaches for ALNS ( is to allow only feasible solutions, is to allow infeasible solutions) and found that although the results of are better than , takes more time than . Table 8 shows the calculation results of , , and on DARP instances. The first column in Table 8 represents the instance number, and the refers to the percentage deviation of the , , and compared to the best results from [5, 45]. We test the on DARP benchmark instances and find it provides good results within 5000 iterations. The best result of is selected based on 10 runs. All results are shown in Table 8 and compared with the best results of , from Li et al. [35].
Table 8 shows that compared to , the proposed can obtain better solutions in most instances where the results have on an average 84.16% decreased gap values with only 23.03% longer CPU time on average. In these instances, the generally gives better results but consumes longer time than . But the exception is that for instances R2a, R10a, R8b, R9b, and R10b, searches better solutions but faster than . Furthermore, generally gives similar (for instances, R1a, R2a, R4a, R7a, and R7b) or even worse results but consumes less time than in these instances. Table 8 shows that the proposed searches solutions 60.71% higher gap values but 42.75% shorter CPU time on average than . While the exception is that for instances R2a, R4a and R9a, obtains better solutions than within a shorter time. As a result, it turned out that could get efficient and highquality results in a reasonable time. In addition, ensures the feasible solutions at each iteration. It is of great significance to solve the largescale routing problems with multiple locations and time windows.
5.2.2. Benchmark Test with Multiple Pickup or Delivery Locations
In the section, we improve DARP benchmark instances to further analyse the impact of Strategy 2 and test the performance of the in terms of multiple pickup or delivery locations problem. Some passengers are randomly appended pickup or delivery candidate locations, where new pickup or delivery locations are some locations closest to the passenger's original pickup or delivery location. Considering different scales, we choose R1a (smallscale problem), R2a (mediumscale problem), and R5a (largescale problems) as tested instances to illustrate the following analysis.(i)Analysis for Strategy 2: Table 9 compares the impacts of Strategy 2 or not. It can be seen that, compared with the strategy that does not consider multiple candidate locations, Strategy 2 provides more flexible and higher solution quality for the final solution. The results also show that compared with classic , can effectively solve the problem with multiple candidate locations in a reasonable time.(ii)Analysis for the number of candidate locations: to perform a sensitive analysis of the number of candidate locations, we test it from two perspectives, that is, the number of candidate locations of each passenger (2, 3, or 4 candidate locations) and the total number of people chosen to append candidate locations (5%, 10%, and 20% of passengers randomly). Overall, Strategy 2 with more than one location gives more applicable solutions than cases without multiple locations in terms of two perspectives. Table 10 shows that with the increase of candidate locations, it can obtain the better solution in smallscale problems. But for largerscale instances, the results in Table 10 may be worse if one passenger has more candidate locations. Possibly, the reason is that multiple candidate locations cause more feasible solutions during the search, which expands the search area and need more iterations and time to search optimized solutions. Therefore, given that passengers generally do not have too many candidate locations near their destination in practice, 2 or 3 candidate locations are more appropriate in practical issues.
5.2.3. Comparison of Heuristic Algorithms
To evaluate the effectiveness of the in searching the problem with multiple candidate locations, we compare and analyse its performance with other heuristic algorithms, namely, Genetic Algorithm (GA) [46], Particle Swarm Optimization (PSO) [47], and Artificial Bee Colony Algorithm (ABC) [48]. We randomly choose 10% customers with 2 candidate locations based on the benchmark instances R1b∼R3b. These heuristic algorithms continuously find feasible solutions and use the data preprocessing techniques [49] to avoid infeasible results. For multiple candidate locations, one location from multiple candidate locations will be chosen during the iteration. The parameter settings are set as follows: the number of populations = 20 and the number of generations = 5000, and crossover ratio of GA = 0.8, crossover ratio of PSO = 0.6, and mutation ratio = 0.2. The comparisons of four heuristic algorithms’ performances, including mean value and the best value, are shown in Table 11.
Table 11 shows the best value and mean value computed by each algorithm for each instance. The results of the four algorithms show a significant difference. We can observe in comparison with other heuristic algorithms the results obtained are optimal in terms of the best value and mean value. And with an increase in the number of customers, the ability to find the best optimization solution is higher. In addition, the convergence plot (Figure 5) shows us the convergence of the different algorithms. On observing the plot of them, we can see that performs better than other algorithms in convergence and has a strong ability to jump out of the local optimum to avoid premature convergence. As a result, can obtain better optimization solutions and effectively search the solution space in terms of solution quality and stability.
(a)
(b)
(c)
5.3. Customized Buses Instances
In order to test the performance of in solving practical problems with large scale, we are inspired by Tong et al. [4] and consider the real commuting issue in Beijing. Finally, we design three customized bus service instances containing smallscale problems and largescale problems, where commuters leave for their workplaces from their houses and two main business areas, namely, Jingrongjie (destination 1) and Guomao (destination 2), as shown in Figure 6.
(a)
(b)
The maximum and minimum load capacity, and , of one with large capacity is 16 and 10, and the other with small capacity range is 9 and 6. We obtain the passengers' preferred time windows with the information processing proposed by Tong et al. [4]. The fixed cost of bus dispatched with large capacity is 30, 25 for the small one. The fuel cost per unit time is 0.4 for those buses with large capacity and 0.25 for the small. The maximum route duration of buses is determined according to the shortest path of the hometowork. If it is more than 60 minutes, the ticket will be set to 14, and the penalty cost of unserved passengers is 7. If it is less than or equal to 60 minutes, the ticket is set to 10, and the penalty cost is 5. With respect to their proximity in time and space, the requests are divided into 3 groups, and the results of the actual case are finally obtained as follows.
Tables 12 and 13 show the passengers’ information and routing time between some locations (measured by map software) of Group 1. Similarly, Tables 14 and 15 are for Group 2, and Tables 16 and 17 are for Group 3.
Given the data information in Tables 1215, the results using MIP solver and are shown in Table 18.
We set 1000s as the termination condition of the MIP solver. In the first two cases, GROUBI returns feasible solutions with 2.33% and 0% of gap value in the allowed time. In the last largescale case, there are no feasible solutions in the allowed time for MIP solver. But for , as shown in Table 18, it can efficiently solve routing problems with different scales. Multiple experiments in Sections 5.2 and 5.3 also demonstrate that it is effective for the proposed to solve practice problems with large scale. Additionally, to further verify the effectiveness and advancement of heterogeneous customized bus service with multiple candidate locations, we compare the performance among the two strategies, the homogeneous fleet, as well as the result without candidate locations in Table 19. It can be compared with other cases that the heterogeneous fleets and candidate locations strengthen the cooperation among vehicles and flexibility of routes planning. Therefore, both strategies provide the highest profits (relative increase of 12.3%, 6.2%, and 13.7% in total profits, respectively), no unserved requests, and fewer vehicles to reduce lane occupation. It is of great practical significance for increasing operators’ profit and improving service quality.
5.4. Implications
The customized bus service based on heterogeneous fleets and multiple candidate locations provides a good organizational form and service framework. The proposed mathematical model and algorithm also verify its effectiveness and offer a theoretical basis for further research and implications in practice. The bus operators can improve fleets management and route planning by introducing the new mechanism and strategy. The detailed managerial implications of the proposed methodology can be summarized as follows:(1)The design of heterogeneous fleets can make customized bus companies construct the fleets more flexibly, save costs, and increase the occupancy rate. Heterogeneous fleets have different load capacities and different transportation costs. The selection of customized buses with different capacities improves scheduling and collaboration among buses and enhances the operational efficiency of bus system. Therefore, effective collaboration among heterogeneous vehicles can contribute to avoiding empty seats and increasing operator profitability.(2)More candidate locations chosen by passengers in the platform make a breakthrough in the limitations of a single candidate location. From the passengers’ perspective, it increases the probability for the passengers to be served. From the operators’ perspective, it means more flexible route planning. Consequently, multiple candidate locations can be utilized to optimize pickup and delivery routes and serve as many passengers as possible to improve service quality.
6. Conclusion
For passengers living in congested metropolitan areas, the customized bus system offers flexible and highaccessibility bus service in the existing transportation network services. Compared with the general customized bus problem, this study constructs a new service form with heterogeneous fleets and multiple candidate locations to deal with practical issues. The two strategies are then analysed and evaluated their effects. To optimize the operator’s profits based on the new service form proposed, a mixedinteger programming model is developed to describe the problem. It is not only suitable for solving smallscale problems but also simple to operate by GUROBI, a commercial solver. An improved is then designed to address a largescale challenge. The initial algorithm has good performance in terms of routing problem. The time slack calculation method is employed to intelligently adjust vehicle timetables to optimize the wait and duration time. Two inserting operators are utilized to enhance the ability to search solution space, considering some passengers with multiple candidate locations.
Numerical experiments are constructed to evaluate the effectiveness of the proposed model and algorithm. The sensitive analysis on smallscale instances indicates that the mechanism with heterogeneous fleets and multiple candidate locations can serve more passengers and obtain more profits. A comparison among and indicates can be efficient in searching for better solutions within a reasonable time. In addition, also outperform other heuristic algorithms, like GA, PSO, and ABC, in search ability and avoiding premature. Finally, this study tests the customized bus service in real life to verify its theoretical research and practical implication.
This study aims to propose a new form of customized bus service based on heterogeneous fleets and multiple candidate locations. And the designed model and algorithm can offer robust solutions in different scales. In future research, our work can be conducted in the following three directions: (1) researching other models for passengers with random characteristics, who usually offer information in real time and hope to obtain dynamic service, (2) considering the cooperation mechanism between customized bus service and the other transportation systems, and (3) improving the solution algorithm through introducing distributed parallel computing to shorten computing time.
Data Availability
The data of Sections 5.1 and 5.3 used to support the findings of this study are included within the article. The data of Section 5.2 are from [5].
Conflicts of Interest
The authors declare that they have no conflicts of interest.
Acknowledgments
All the authors gratefully acknowledge the supporting of Key Laboratory of Transport Industry of Big Data Application Technologies for Comprehensive Transport. This paper was supported by National Natural Science Foundation of China (No. 62076023).