Abstract
Flexible transit systems are a way to address challenges associated with conventional fixed route and fully demand responsive systems. Existing studies indicate that such systems are often planned and designed without established guidelines, and optimization techniques are rarely implemented on actual flexible systems. This study presents a hybrid transit system where the degree of flexibility can vary from a fixed route service (with no flexibility) to a fully flexible transit system. Such a system is expected to be beneficial in areas where the best transit solution lies between the fixed route and fully flexible systems. Continuous approximation techniques are implemented to model and optimize the stop spacing on a fixed route corridor, as well as the boundaries of the flexible region in a corridor. Both user and agency costs are considered in the optimization process. A numerical analysis compares various service areas and demand densities using input variables with magnitudes similar to those of real-world case studies. Sensitivity analysis is performed for service headway, percent of demand served curb-to-curb, and user and agency cost weights in the optimization process. The analytical models are evaluated through simulations. The hybrid system proposed here achieves estimated user benefits of up to 35% when compared with fixed route systems, under different case scenarios. Flexible systems are particularly beneficial for serving corridors with low or uncertain demand. This provides value for corridors with low demand density as well as communities in which transit ridership has dropped significantly because of the COVID-19 pandemic.
Current economic trends and population growth patterns pose challenges for the operation of fixed route systems, whereas demand responsive systems are often associated with high operating costs. There are several flexible transit services as an intermediate system between conventional fixed route and demand responsive transit services, which leads to the improved efficiency of transit systems. Flexible route systems are preferable in areas with demand density that is too low to support fixed route systems. The ability of flexible transit services to adapt to customer demands also makes it suitable for serving passengers with a disability. Changing demand for transit services, including disruptions caused by the COVID-19 pandemic, has created a need for alternative public transit systems that accommodate the need for user mobility and agency cost reduction associated with low transit demand.
Flexible transit systems can be designed under different service configurations according to service area characteristics and demand levels. It is thus important to properly identify the service areas where such systems may be effective, as well as the type of flexible transit that is most appropriate. There are many variations of flexible route services, and it is not uncommon for similar types of service to be referred to by different names, since individual transit agencies do not follow a standard naming practice. According to Koffman ( 1 ), there are four elements of service design that could assist in defining the type of flexible service: (a) where vehicles operate; (b) boarding and alighting locations; (c) schedule; and (d) advance notice requirements.
Existing literature includes flexible transit modeling approaches, such as analytical methods, simulation, empirical analysis, and stochastic processes. These are described in the following section. The study proposed here analyzes a hybrid fixed route transit system with elements of flexible services. More specifically, continuous approximation techniques are implemented to identify the optimal boundaries in a given corridor for providing flexible services in the form of route deviation. The proposed flexible hybrid service is compared with conventional fixed route service and fully flexible route deviation within the same corridor. The proposed model for flexible transit is expected to be beneficial in areas where the best transit solution lies between the fixed route and the fully flexible route systems.
Literature Review
An overview of flexible transit systems is provided by Mulley and Nelson ( 2 ), stating that the main goals of flexible systems are to improve the convenience of public transport and maintain a comparable price to existing public transit systems. A survey by Koffman ( 1 ) reveals that most flexible transit services are planned and designed without established guidelines. In Errico et al. ( 3 ) the authors classified existing studies on flexible transit into two categories. The first group includes studies that describe practical experiences, and the second refers to methodological contributions to assist planning processes. There are few cases of implementing optimization techniques for actual flexible systems ( 3 – 5 ). Many approaches are based on analytical models that consider rectilinear distances, because street networks often restrict vehicles to movements along a rectilinear grid ( 6 ).
Existing literature includes surveys related to flexible transit that aim to portray the current conditions under which flexible transit services operate. According to Koffman ( 1 ), at the time of the study development, flexible transit services were implemented in more than 50 transit agencies throughout North America. In Weiner ( 7 ), the authors complement Koffman ( 1 ) by focusing on integrated flexible transit services that were either designed according to the Americans with Disabilities Act (ADA) (1990) or have proven beneficial for riders with disabilities. In Potts et al. ( 4 ), the authors aim to provide a practical guide for implementing flexible transit services through the identification of best practices among 26 agencies, including Mason County Transportation Authority and Jacksonville Transportation Authority.
Most of the studies on public transit user preferences focus on the competition between fixed route and demand responsive services ( 8 , 9 ). Few studies have focused on flexible route transit more generally ( 10 ). In Broome et al. ( 11 ), the authors completed a study showing the public’s positive perception of flexible transit systems. In Chavis and Gayah ( 12 ), a stated preference survey is performed to develop a mode choice model that can be used to describe how transit users select among competitive transit options. Their study covered the entire public transit spectrum. The results indicated that there are statistically significant predictors of the flexible service type selected, such as monetary cost, expected in-vehicle time, waiting time, and walking time. According to Fu ( 13 ), the main benefit of flexible services that involve vehicle route deviation is that they serve trips that would not be otherwise served or that would be served by a more expensive alternative.
Among the many types of flexible transit service, deviated fixed route services are the most widely used ( 14 ). In Zheng et al. ( 10 ), a methodology is proposed to support the decision-making process when choosing between a route deviation policy and a point deviation policy. In Nourbakhsh and Ouyang ( 15 ), the agency and user cost components of a flexible transit system are analyzed considering idealized square cities. In Kim et al. ( 16 ), a planning model is presented for optimizing a flexible system serving many-to-one and one-to-many demand patterns, identifying relations among optimal zone sizes, headways, and relevant exogenous factors. A study included in Pei et al. ( 17 ) summarizes valuable findings from the existing literature on modeling approaches for flexible transit systems.
Continuous approximation methods are widely implemented in existing literature for transportation systems in general ( 18 ). An early study on this topic was conducted in Newell ( 19 ). The optimized coordination between rail and bus transit services through analysis of the user and agency benefits is presented in Wirasjnghe et al. ( 20 ). A recent study by Chen et al. ( 21 ) investigates the usage of local route and short-turn services to complement a regular fixed route transit service by implementing a continuous approximation to model the proposed hybrid system. A detailed review of continuous approximation techniques in existing literature for transportation systems is presented in Ansari et al. ( 22 ).
System Description
The service area considered in this study is rectangular with length

Examples of system configuration for: (a) conventional fixed route; (b) flexible with route deviation; and (c) hybrid fixed with route deviation.
Users are assumed to travel from a location within the service area to a terminal station, or vice versa. The terminal station is assumed to connect the service area with a city center or other transportation hub. Thus, it is considered that passengers only board the vehicle as it moves toward the terminal station and they only alight in the opposite direction. Two types of users are analyzed:
Curb-to-curb users—system users that request curb-to-curb service either for their pick-up or drop-off and will be served by a vehicle that is routed to the requested stop.
Fixed stop users—system users that use only the fixed stops that are served by the flexible system.
Flexible services may involve only one or both the types of user presented above. Examples of curb-to-curb requests include users that are eligible for ADA paratransit or other passengers that want to avoid the efforts associated with accessing a fixed stop and waiting at a transit stop rather than their own private space. Such phenomena are expected to increase substantially during the ongoing COVID-19 pandemic, since public transit users aim to reduce their risk of infection to the extent possible. Alternatively, curb-to-curb requests could be assigned on a first-come-first-served basis to the first
The modeling approach presented in this study assumes that all users are served as they desire, either curb-to-curb or at fixed stops. Thus, the factors that could lead to rejection of service (e.g., vehicle seating capacity) are considered negligible. Both types of demand are perfectly inelastic, which means that they are not affected by the quality of service. This study focuses specifically on a model of flexible service using route deviation, as described in the following section.
Modeling Route Deviation
A vehicle starts its trip from the terminal station and serves customers in a given corridor at fixed stops or by deviating to serve the curb-to-curb demand, which makes up a fraction
The focus of this study is to optimize the operation of a transit system to identify when and where flexible service will be more beneficial for both agency and users. The resulting system is a hybrid system between a conventional fixed route and a flexible route deviation system. An example of such a system’s configuration is given in Figure 1c. The red dashed line indicates the flexible region where the vehicles may deviate from the fixed corridor to serve the curb-to-curb requested demand. The width of the flexible area around a point
Here we present calculations for distributed demand and vehicle operations in a corridor heading toward the terminal. The reverse direction, with distributed destinations for passengers heading away from the terminal, is symmetric. The number of passengers boarding each vehicle per unit distance traveled in the corridor is the product of the demand rate, the headway since the last vehicle, and the corridor width,
Vehicle distance and travel time can be calculated by integrating across the incremental vehicle distance and time required for the transit vehicle to traverse a distance
The vehicle distance is the sum of longitudinal distance traveled along the corridor and the lateral distance traveled to serve each requested stop.
The first term is the longitudinal distance traveled per unit length of the corridor; the total longitudinal distance is
The cycle time,
Modeling Costs
The continuous approximation approach is adopted here to determine the optimal width of the flexible service area,
Agency Costs
The agency cost per vehicle cycle,
where
The vehicle distance traveled per cycle,
User Costs
User costs include costs associated with walking, waiting, and riding as experienced by the users. Like the analysis of vehicle operations and agency costs, the user costs can be calculated by integrating the incremental user cost associated with each unit length across the corridor. As a result, the total daily user cost is the sum of these components, weighted by corresponding user cost coefficients:
The models for each of these components of time spent by users are presented in the subsections below.
Walking
Passengers that receive request stop service do not experience walking time, so the remaining demand
Waiting
All transit users, either served curb-to-curb or at fixed stops, are expected to experience waiting time equal to half the headway. User choices, such as planning trips around the timetable, are not considered. The total waiting time for all passengers served in a vehicle cycle is simply the product of the demand,
Riding
The expected riding time is calculated based on the incremental riding time experienced by all passengers on board a vehicle as it traverses a unit length of the corridor at location
To estimate the total riding costs, the dwell time at the terminal should also be considered. For a fixed corridor of length
Total Weighted Generalized Costs
The generalized cost for a day of flexible transit operations,
This cost depends on the size of the flexible region,
The total daily generalized cost,
The objective in this study is to minimize
Optimal Spacing and Flexible Region
Given that the duration and daily operations,
s.t.
The constraints on
To facilitate the optimization, it is useful to note that in Equations 1, 2, 5, 6, and 7, which are the inputs to Equation 8, the decision variables,
The value of the continuous approximation formulation is that we can now focus on identifying the values of
Expression 13 is not quite separable with respect to
Likewise, a closed form for the optimal size of the flexible service area at each location,
Equations 14 and 15 are directly applicable to cases where one of the two decision variables is exogenous. For example, Equation 14 provides the optimal fixed stop spacing for a system in which an agency has already decided how big the flexible service area should be (e.g.,
The more complex case is to optimize both decision variables,
Finally, it is necessary to confirm that the available fleet size,
Numerical Analysis
We now present a numerical analysis to illustrate application of the model to realistic corridors. Optimal values of
Input Values
Note: AC = agency costs; UC = user costs.
The fundamental assumption for user costs is that walking should have higher cost coefficients than waiting and riding and the latter two are considered equal. Insights on the transit user cost coefficients can be found in Wardman ( 23 ). The magnitudes considered here for agency costs are derived from existing literature for the paratransit services in New Jersey and the Greater Boston area, which are considered the worst case scenario, since demand responsive operations in large cities tend to be made more expensive by the high costs of labor. For more details on the agency cost coefficients, readers are referred to Rahimi et al. ( 24 ) and Turmo et al. ( 25 ).
Real-world flexible service areas where vehicles deviate from their routes to serve customers as needed can be identified in existing literature. In Zheng et al. (
10
), Route 289 in a suburban area of Zhengzhou City, China, is evaluated for an implementation of point and route deviation services. A single service vehicle is considered for a service area of
In the remaining analyses, the magnitudes of
Optimal Decision Variables
Figure 2 shows the flexible region boundaries for

Service area configuration for: (a) W = 1; (b) W = 2; and (c) W = 3.
Optimized System Cost Components
Figure 3 shows that increasing

Daily costs of: (a) walking; (b) waiting; (c) riding; (d) fleet size; (e) VHT; and (f) VMT.
Optimal Percent Flexibility
The percentage of the service area that is covered by the flexible region,
Figure 4 shows

Optimal percent flexibility of a service area with length L = 10 and headway equal to: (a) 0.5; (b) 1; and (c) 1.5 h/veh.
Comparison between Fixed Route, Hybrid Transit, and Route Deviation System Costs
Table 2 compares the benefit of the optimized hybrid system with a fixed route and the fully flexible service. The agency cost components considered in optimizing the hybrid service are the
Percent Agency Benefit from Implementing the Optimized Hybrid Transit Instead of Fixed Route (FR) and Route Deviation (RD)
where
The user benefits associated with the hybrid system compared with the fixed route are shown in Figure 5. The user costs of walking and riding affect the optimization process and are considered here. The user benefits range from 0% to 35 % for all combinations of service areas and demand densities. Smaller service areas and lower demand densities lead to greater user benefits from the implementation of hybrid systems compared with fixed routes. Comparing with full route deviation systems, the implementation of the hybrid transit has a user benefit of up to

Percent user benefits from implementing hybrid transit instead of fixed route for: (a) Q = 2.5; (b) Q = 5; (c) Q = 7.5; and route deviation for: (d) Q = 2.5; (e) Q = 5; and (f) Q = 7.5.
Given the COVID-19 pandemic and the resulting decrease in transit ridership, it is noteworthy that for any one of the service areas studied here, there is a significant increase in user benefits with a hybrid system as the demand density decreases. The hybrid system is also more beneficial for users than full route deviation systems, especially for
Optimization of Station Spacing Based on Fixed Route and Route Deviation Systems
We now consider the effect of the the size of the flexible region,

Optimized decision variable of: (a) station spacing; and (b) flexible region for a corridor with
The difference in cost is more important than that difference in the design variables, because it is the generalized cost of the system that we seek to minimize. The percent change in cost for implementating either the fixed route or full route deviation system relative to the optimized hybrid system is given by
where
The costs considered in this analysis are the sum of costs that participate in the optimization process, namely walking, riding, VHT, and VMT costs.
This analysis shows that the effect of different optimized station spacings on the user and agency costs is always small, less than 2% for the cases presented in Figure 7. As a result, it is acceptable to approximate the joint optimization of

Percent difference between costs for: (a) Q = 2.5; (b) Q = 5; and (c) Q = 7.5.
Sensitivity Analysis
Effect of Headway, H
The headway of service has a significant effect on the system design and cost, because it determines the number of passengers served by each vehicle and the number of vehicles needed in the fleet. To facilitate the analysis in this study,

Optimal decision variable of: (a) S* (x) for various headways, H; (b) A* (x) for various headways, H; (c) S* (x) for various percentages, a; (d) A* (x) for various percentages, a; (e) S* (x) for various weights wuc; and (f) A* (x) for various weights, wuc.
Table 3 shows that, as
User and Agency Costs per Day for Different Headways and Percent of Demand Served Curb-To-Curb
Effect of Flexible Service Demand
The percentage of demand receiving request stop service within the flexible region,
Effect of Cost Weights
These weights can control the relative effect that agency costs and user costs have on the optimal values for the two decision variables. Figure 8, e and f, show the effects of changing user cost weights from 0.1 to 1 with a step of 0.1 and 1 to 10 with a step of 1. When a cost weight is examined the other is considered equal to one.
Figure 8e shows that station distance is decreased as user costs are taken on higher consideration. Intuitively, this could be attributed to walking costs, which are reduced as user costs have a higher impact on the total generalized costs. The change in
In relation to the effect of the agency cost weight,
Simulation
The simulation process is developed using the R programming language and aims to evaluate the assumptions made during the analytical model development. The output of the simulation algorithm is the scheduling of vehicles in relation to times of arrival at the fixed and curb-to-curb stops, as well as the costs that result from their operation. The demand is generated considering a Poisson distribution. The generated values include location coordinates and requested time. The algorithm serves curb-to-curb passengers following a first-come-first-served pattern and the vehicles do not backtrack.
Figure 9 presents costs resulting from analytical models accompanied by error bars based on the confidence interval from running
where

Validation of analytical costs of: (a) users; and (b) agency.
Conclusions
Flexible transit systems are widely implemented in real-world service areas, but according to existing literature there is still area for improvement in current services both in relation to operation and design. This study focuses on a hybrid transit system, with elements of both fixed route and route deviation systems. The main outputs of this study include two formulas for optimizing the flexible region boundaries and the station spacing for a hybrid transit service in any given service area. It is highlighted that if agencies prefer to use either fixed route or fully flexible route deviation services, the proposed formulas can serve as a guidance in deciding which service to choose. The numerical analysis performed here adopts input values based on existing flexible service areas and reveals the behavior of the modeling approach under various case scenarios. The analytical method’s performance is evaluated considering a simulation approach developed in R programming language. The hybrid transit has significant user benefits over full route deviation services. In relation to agency costs for the three systems considered here, fixed route is associated with the lowest agency costs, followed by the optimized hybrid system and the fully flexible route deviation system. An important finding is that a service area could switch from fixed route or full deviation to hybrid service within a day, adjusting to any level of demand and maintaining the same station spacing and infrastructure without negative impacts on the operational costs. The benefits from the analyzed hybrid system as transit demand decreases is promising for the implementation of such systems during and after the COVID-19 pandemic. Future work includes the application of these models in case studies and, if possible, their calibration to make them reflect actual operational characteristics to the greatest possible extent.
Footnotes
Author Contributions
The authors confirm contribution to the paper as follows: study conception and design: E.J. Gonzales; data collection: C. Sipetas; analysis and interpretation of results: E.J. Gonzales, C. Sipetas; draft manuscript preparation: E.J. Gonzales, C. Sipetas. All authors reviewed the results and approved the final version of the manuscript.
Declaration of Conflicting Interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This study was undertaken as part of the Massachusetts Department of Transportation Research Program. This program is funded with Federal Highway Administration (FHWA) and State Planning and Research (SPR) funds. Through this program, applied research is conducted on topics of importance to the Commonwealth of Massachusetts transportation agencies.
Data Accessibility
Data not available.
