Research Article | Open Access
Agent-Based Modeling and Simulation for the Bus-Corridor Problem in a Many-to-One Mass Transit System
With the growing problem of urban traffic congestion, departure time choice is becoming a more important factor to commuters. By using multiagent modeling and the Bush-Mosteller reinforcement learning model, we simulated the day-to-day evolution of commuters’ departure time choice on a many-to-one mass transit system during the morning peak period. To start with, we verified the model by comparison with traditional analytical methods. Then the formation process of departure time equilibrium is investigated additionally. Seeing the validity of the model, some initial assumptions were relaxed and two groups of experiments were carried out considering commuters’ heterogeneity and memory limitations. The results showed that heterogeneous commuters’ departure time distribution is broader and has a lower peak at equilibrium and different people behave in different pattern. When each commuter has a limited memory, some fluctuations exist in the evolutionary dynamics of the system, and hence an ideal equilibrium can hardly be reached. This research is helpful in acquiring a better understanding of commuter’s departure time choice and commuting equilibrium of the peak period; the approach also provides an effective way to explore the formation and evolution of complicated traffic phenomena.
The agglomeration of commuters has resulted in severe traffic congestion. Departure time should be considered when congestion exists. The “corridor problem” is crucial in the study of commuters’ departure time. The core content of this problem is the commuters’ departure pattern at equilibrium, during which no commuter can experience a lower commuting cost by departing at a different time. Vickrey  was the first to depict a similar problem. In his model, a road with limited capacity connects residential locations and workplaces; commuters drive daily from their home to work and minimize commuting costs by departing at a proper time. Commuting cost includes the costs of travel time, schedule delay, and queuing time. All commuters’ costs are equal when equilibrium is reached. This model, which is called the “bottleneck model,” analyzes the mechanism of commuters’ departure time choice succinctly and directly. The “bottleneck model” has been extensively studied in the past decades. Studies have considered different attendance times , elastic traffic demand , and so on. Ramadurai et al.  summarized related studies.
The “corridor problem” assumes that all people commute by driving. However, the use of private cars results in serious congestion and pollution. Public transportation priority has become an efficient method to solve these problems. In the 1990s, researchers studied the departure time choice of commuters who utilize mass transit in peak periods, which is termed the “bus-corridor problem.” Sumi et al.  proposed an optimization model of commuters’ departure time and route choice in mass transit systems, in which a commuter’s departure time is mainly determined by his or her scheduled arrival and the operational features of the system. Arnott and DePalma  conjectured a departure pattern of equilibrium; however, the pattern was not proven because of a discretization problem. Huang et al. [7, 8] modeled commuters’ feelings of discomfort induced by crowding. Sumalee et al.  proposed a stochastic dynamic model with an explicit seat allocation process. Tian et al.  analyzed the equilibrium properties of a variant of the “bus-corridor problem”; in-vehicle crowding and schedule delay cost are considered in the model, and the numerical examples are consistent with the pattern of departure conjectured by Arnott and DePalma .
The “bus-corridor problem” is generally considered a variant of the “corridor problem,” in which users commute through a transit line that connects residential locations and workplaces. However, several differences exist between the two problems. First, commuters select an alternative from a discrete decision space, which is why Arnott and DePalma  conjectured a departure pattern of equilibrium but failed to prove it. Second, an additional commuter on a given train generally increases crowding in that train but has no effect on the speed of the train or other trains, whereas an additional vehicle on a given road generally slows down the speed of other vehicles and causes time loss to subsequent road users. Third, the “bus-corridor problem” is a more realistic problem than the “corridor problem,” particularly in large cities, such as Beijing, Hong Kong, London, and New York, where many users go to work by using the transit system. Several policies, such as those for ticket pricing, line frequency, and service level, can be investigated in the context of the “bus-corridor problem.”
The “corridor problem” and “bus-corridor problem” attempt to depict the morning commute problem. Numerous studies have been conducted to investigate the decision-making process of commuters. To examine the effect of incentives on commuters’ morning commute decision, Zhang et al.  conducted an empirical study on the Beijing subway system and recommended two policies to reduce congestion during peak periods. With regard to morning commute modeling, Maio et al.  presented a day-to-day route choice model to study the influence of experience on commuters’ behavior. Further studies on day-to-day models in route choice behavior in response to previous travel experience can be found in Watling’s work . Ben-Akiva et al.  presented an elegant modeling framework that incorporates behavioral models of drivers’ route and departure time choices, in which drivers follow a bounded rational decision rule.
Several studies have focused on individual varieties among commuters. By incorporating the notion of punctuality reliability, Siu and Lo  found that risk-averse travelers (those with high punctuality reliability) opt to depart from home at an early time; this finding was confirmed by an empirical study. References [16, 17] investigated a type of users with bounded rationality, specifically, “oblivious users.” References [18–20] studied the morning commute problem within the context of heterogeneous commuters who have different value-of-time or early/late arrival penalty parameters.
Other studies have investigated some distinct phenomena. Xiao et al.  studied the “tactical waiting” phenomenon where travelers find it advantageous to delay reaching the bottleneck by slowing down or waiting. Feng et al.  developed a travel cost function with constraints of train capacity to depict the phenomenon where commuters have to wait at platforms for several scheduled intervals because of large passenger flow volume in the morning commute.
Review of the related literature indicates that modeling the behavioral pattern of travelers is a critical factor when dealing with the morning commute problem. Most existing traffic models that incorporate departure time choice are analytical models. A microsimulation approach is particularly attractive because of its ability to describe various behavioral hypotheses of an individual. Ettema et al.  proposed a microsimulation model system, in which a mental model of travelers’ travel circumstances was utilized to make the departure time decision. To deal with the transit assignment problem (TAP), [24, 25] proposed a multiagent learning-based approach and demonstrated the flexibility of the multiagent method in representing the different views of TAP. Wahba and Shalaby  took a significant step toward the advancement of TAP modeling by providing the operational integrated dynamic modeling framework MILATRAS; departure time and path choices are considered in the framework. MILATRAS has been applied to a large-scale real-world transit network and exhibited promising predictability . The core of MILATRAS is a departure time and transit path choice model based on the Markovian decision process, which can be found in .
Microsimulation is a method of “bottom-up” modeling. This process has inherent superiority because of its capability to depict individual behavior and the interaction between the system level and the individual. This process is adept at modeling the nonlinearity of systems, such as the emergence of congestion; thus, it is a proper method of dealing with the “corridor problem.” Another benefit of utilizing microsimulation is that new behavioral principles in psychology or economics can be flexibly incorporated instead of the utility-maximizing assumption in traditional analytical models.
Although the “corridor problem” is only concerned about travelers’ departure time choice, it remains an interesting problem worthy of attention. First, this problem is a critical issue when the aim is to optimize the performance of a transit system. Second, the many perceptual factors (e.g., in-vehicle crowding) or details of the commuting process (e.g., seat allocation) that shape the behavioral pattern of travelers result in the emergence of various phenomena in the “corridor problem.” Tian et al.  investigated the equilibrium properties of a type of the “corridor problem” by considering in-vehicle crowding and schedule delay; Tian’s model is thus an ideal reference point in verifying the feasibility of an agent-based approach.
Based on Tian’s model, this study aims to establish a departure choice model that utilizes an agent-based approach to understand the departure time equilibrium during peak periods. Commuters are expected to adjust their behavior according to their experience with the performance of the transit system and base their daily travel decisions on the accumulated experience gathered from repetitively traveling through the transit network on consecutive days. This concept is similar to that implemented by Ettema et al. . In the present study, a transit line that links residential locations and workplaces may emerge when the transit line serves a concentric city where all commuters are assumed to work in a highly compact city center and live in dispersed surrounding suburban areas. To concentrate on the mechanism of departure time choice, we did not consider commuters’ route choice. Thus, demand is exogenous. We also assumed that urban transit is the only option for all commuters. An agent-based approach is presented, in which reinforcement learning is adopted to represent passengers’ adaptation and account for the dynamics in commuters’ behavioral pattern.
Many researchers have suggested that a microsimulation approach is highly suitable when modeling individuals in complex or real-life systems (see [29–32]). Our study supports this view. With the same parameter settings and assumptions, our model produced results in line with those in Tian’s work. Additionally, insight into the aspects of commuter characteristics can be gained, leading to system equilibrium. When we relax some of its assumptions or add features to it, the agent-based approach can be flexible in characterizing complicated circumstances. Two realistic conditions, commuters’ heterogeneity and commuters’ limited memory (indicating bounded rationality), were investigated. Results show that, in the heterogeneity case, the distribution of commuters’ departure time is broad at equilibrium. In the case of limited memory, commuters present a certain degree of irrationality and randomness and ideal equilibrium is difficult to reach.
Section 2 states the problem and presents the model and learning algorithm. Section 3 presents the verification of the proposed model. Section 4 describes two subsequent experiments, in which several idealistic assumptions are relaxed. This section also contains our analysis. Section 5 provides the conclusion.
2. Commuters’ Departure Time Choice Model Based on a Multiagent Approach
A bus line with multiple origins and a single destination (Figure 1) was considered in accordance with Tian’s research . Buses set out from the furthest residential location, , stop by at and finally stop at workplace . Given commuters using the bus line from stations to workplace in the morning peak period, commuters are free to select which bus to take from the set of bus services. Considering a daily commuting situation, we assumed that commuters have full information of the bus timetable. Thus, the waiting time at a station is assumed to be zero for simplicity. Supposing that the buses’ speed is constant, constants are utilized to indicate the moving time in each segment from to (stopping time at each station is included). The bus services’ timetable is predefined, and a bus departs from to every time. Given that the moving time in each segment is constant, all buses arrive at workplace at a uniform interval of .
The total commuting cost of a commuter at station selecting bus is provided by , which contains bus fare, in-vehicle travel time, total crowding cost, and early/late arrival penalty. All commuters from the same station have a uniform bus fare and in-vehicle travel time. Thus, these two factors would not affect the commuters’ departure time choice. Commuters have to make a trade-off between crowding cost and arrival penalty. We assumed that all commuters attempt to minimize their individual total commuting costs by selecting their departure times (or bus services). Traditional theory states that the departure time choice of all commuters is conducted openly with noncooperative game rules; that is, after a long period of adjustment, a state of equilibrium (user equilibrium) exists. At equilibrium, the total commuting costs of commuters departing from the same station are identical and no one experiences lower individual cost by unilaterally changing his/her departure time. Mathematically, this condition can be expressed as where is the equilibrium commuting cost from station to workplace and is the number of commuters from station taking bus . This equation indicates that if some commuters who utilized bus depart from , then their individual commuting cost is equal to the equilibrium commuting cost; otherwise, the commuting cost by bus is not less than the equilibrium cost.
2.1. Proposed Model
Each commuter is considered an agent whose basic behavior pattern is to take the bus to work every day; the commuting cost is computed afterward. A commuter’s knowledge of departure time choice is updated by reinforcement learning. The commuter agent is composed of several modules as shown in Figure 2.
The function of each module is explained as follows.
The perception module is utilized to perceive the external environment, such as in-vehicle crowding and early/late arrival penalty.
The memory module is utilized to save and extract previous commuting records.
The cost valuation module is utilized to calculate the commuting cost based on information from the perception module.
The experience module contains an agent’s feeling and evaluation of the entire peak-period commuting. This module is updated continuously as the system evolves.
The learning mechanism is the core module that provides agents intelligence and is utilized to update commuter’s experience and knowledge of peak-hour commuting. The Bush-Mosteller (BM) reinforcement learning model is adopted in this study.
The decision-making module determines which bus to take. Decisions are made using information from the experience module and commuter’s memory.
2.2. BM Learning Model
The BM model is a stochastic model designed to analyze data with changing probabilities. BM is a classical learning model widely utilized to address different problems. Macy and Flache  applied this model to three classes of social dilemma and investigated cooperative equilibrium. Zhou et al.  designed a BM model-based power control algorithm to address cognitive radio network problems. Wynne  explored the BM learning model as an account of nonverbal transitive inference performance. In the BM model, a player can only make decisions by learning from his or her own experiences; choices and perceived utilities are private and cannot be known by others. Hence, the BM model is a fully distributed learning model. This feature fits our purpose well. Therefore, we modified the model and utilized it in the peak-period commuting context.
The BM model generally consists of a stochastic decision rule and a learning algorithm, in which the consequences of a decision create positive and negative stimuli (rewards and punishments). The stimuli update the probability that the decision will be repeated. Choices that have resulted in satisfactory outcomes (i.e., outcomes that met or exceeded aspirations) tend to be repeated in the future, whereas choices that have resulted in unsatisfactory experiences will be avoided. The stochastic decision rule determines which strategy to select stochastically. Unlike the widely utilized -greedy action-choice model in which a fixed parameter is employed to determine whether to exploit the current experience (i.e., choosing the selection with most immediate reward with probability) or explore other selections, the decision rule involves simple selection according to the probability of each strategy updated by the stimuli every turn.
The BM model comprises conceptions, such as “payoff” and “aspiration.” These conceptions are used to calculate stimulus. From the perspective of knowledge, players need to know their strategy set and all the potential utilities; they are assumed to have basic math skills to perform some calculations.
When the BM model is applied to the case of peak-period commuting, strategy means taking bus and stands for the probability of selecting strategy . Hence, a commuter’s strategy set is the bus service set and corresponds to a vector of probabilities (denoted by ). The stochastic decision rule utilizes to make a decision about which bus to take every day. Commuting cost is from the cost-calculating module previously mentioned. Figure 3 illustrates how the probability of strategy changes.
In the standard BM model, the premise for calculating stimuli is that players know all the potential costs (or payoffs). Therefore, they can calculate the maximum absolute value of the difference between all the possible costs and their aspirations. For example, in Macy’s work of exploring social dilemma , stimulus is calculated as where stands for the payoff of selecting strategy and , , , are the four potential payoffs. In our context, one commuter is unable to know all the potential commuting costs. Thus, we utilized extreme historical costs to settle this issue and modify the calculation of stimulus , which is expressed as where is the average commuting cost of decision , is the commuter’s aspiration level, is the highest commuting cost perceived (including the current turn), and is the lowest commuting cost perceived (including the current turn).
The denominator in (3) represents the supremum of the absolute value of the difference between any cost the commuter ever perceived and his/her aspiration. With this scaling factor, the absolute value of is ensured to be not more than unity. By utilizing individual and , the commuters’ distributed learning pattern is enhanced.
Aspiration provides a reference point of positive or negative stimulus in calculating . If commuting cost is lower than aspiration, the commuter will receive a positive stimulus; otherwise, a negative stimulus would be provided. When strategy is selected, its corresponding probability will be updated as follows: where represents the probability of strategy at day , is the learning rate , and is the stimulus experienced after taking strategy at day . To ensure that the sum of all probabilities is always equal to unity, the probabilities of other strategies are updated as follows:
3. Model Verification
Owing to the difficulty of obtaining empirical data, the traditional analytical model is compared with our model to verify the latter. Tian’s model was selected for this purpose because Tian investigated the equilibrium properties of peak-period commuting in a many-to-one mass transit system . Considering that Tian’s conclusions were drawn under the assumption that commuters are homogenous and have complete information, an experiment with consistent assumptions and parameter settings similar to those utilized by Tian was conducted to verify our model.
All commuters from the same station have uniform bus fare and in-vehicle travel time. Thus, these two factors would not affect the commuters’ departure time choice. Commuters have to make a trade-off between crowding cost and arrival penalty. The total commuting cost of a commuter at station choosing bus is where represents a commuter’s in-vehicle crowding cost from station to on bus . Crowding levels and the travel time between stations are considered when calculating where is the number of commuters taking bus from station , represents the travel time between and , and crowding function reflects a commuter’s perception of in-vehicle crowding. is the early/late arrival penalty of commuters on bus ; the definition of early/late arrival penalty is consistent with that in Vickrey’s bottleneck model . was employed as the tab set of bus services, where and are sufficiently large to ensure that all commuters can arrive at the workplace during the peak period considered. Only one bus is assumed to arrive at workplace on time (arrival at work-start time); this bus is denoted by 0. Thus, denotes trains arriving early, and the early arrival time is . denotes trains arriving late, and the late arrival time is . is provided by where and denote the early and late arrival penalties per unit time, respectively.
Tian derived the following four properties of the equilibrium state.
Property 1. At equilibrium, if train is selected by commuters at nonstarting station , then this train must have also been selected by cohorts of commuters from upstream station(s).
Property 2. At equilibrium, if train is selected by commuters at nonstarting station , then commuters must have taken the same train at the previous station.
Property 3. At equilibrium, if train is selected by commuters at nonstarting station , then the number of all commuters from upstream stations is a constant independent of train number . Furthermore, is a constant independent of train number denoted as .
Property 4. For any boarding station , except the last one , a time duration exists during which the numbers of commuters taking all trains are identical and maximal . A numerical example from Tian’s study is presented in Figure 4.
We consider a bus line with four origins and a single destination . In this simulation, (h), (RMB/h), , , , (h), , , , (persons), (RMB/h), and . A commuter’s own average cost is employed to represent his/her aspiration. At the beginning of the simulation, each bus has the same probability of being selected. Figure 5 shows the commuters’ departure time (bus choices) distribution after 1500 days of evolution.
Considering that agent-based simulation is different from traditional analytical method and that random disturbances exist, it is regarded as a result that meets the four equilibrium properties. Insights into the formation of equilibrium can be obtained through the analysis of original simulation data.
We determined if any difference exists among commuters from each station, especially whether some form of ordering exists in the formation of equilibrium. Therefore, we selected an indicator to represent the stability of a commuter’s departure time choice. For each commuter, the max probability in , which is denoted as , fits our needs well. A large suggests stable departure time for a commuter. If reaches 1, the commuter will stick to one bus and always departs at the corresponding time.
A typical evolutionary process of a commuter’s is shown in Figure 6(a). After approximately 500 days, the commuter’s reached 1. According to the stochastic decision of the BM model, this commuter will always select one specific bus afterward. This condition may lead to too cold (exploitation) reinforcement (meaning our agent may freeze into always implementing the wrong strategy); however, this condition is only the theoretical probability for unsatisfactory outcomes. BM learners are very successful indeed (see  for further discussion on BM or related reinforcement learning models). Analysis of the original simulation data reveals that approximately 360 days are needed for a commuter to explore different alternatives until he/she freezes into selecting a specific strategy.
Figure 6(b) shows the average of the commuters of each station.
At the beginning of the simulation (roughly before day 250), commuters from had the highest stability of departure time selection, followed by those from . However, their speeds of growth slowed down afterward and commuters from and exhibited faster speeds of growth. Finally, by checking that the time cost before reached Probability 1, we found that upstream commuters reached equilibrium faster than downstream commuters.
The number of commuters in one bus shows the overall level of commuters’ willingness to select this bus. The number also reflects the distribution of commuters’ departure time. Figure 7 shows the change in commuters’ number in several typical buses (bus 0 is the on-time bus, buses 7 and 17 are buses that arrive before work-start time, and bus −3 is the bus that arrives after work-start time).
The number of commuters in bus 17 or bus −3 became stable after approximately 1200 days of evolution, that in bus 7 became stable after approximately 1800 days, and that in bus 0 continued to fluctuate after 2500 days. As for buses whose arrival time at the workplace is close to the work-start time, their number of commuters fluctuates more than that of buses whose arrival time is far from the work-start time.
Previous research has shown that when equilibrium is reached, each commuter’s commuting cost is equal. To verify this finding, each commuter’s average cost was examined in this study from day 1500 to day 3000 when most commuters reached equilibrium. The result is shown in Figure 8.
The commuting costs of commuters from upstream stations are high, and the data of exhibit centralized distributions. The data of are scattered. Most of the commuters have cost approximately about 320; some reached approximately 350, and a few exceeded 400 and were even close to 500. By checking the original data, we found that for commuters whose commuting costs are more than 320, their choices were mostly among buses 8, 7, 6, 5, 4, and −1 and their early/late arrival penalties are higher than those of other commuters from .
The average cost of commuters on each bus was also calculated (from day 1 to 3000). As shown in Figure 9, the average costs of commuters from the first three stations exhibit a similar tendency. The average cost decreased when it was relatively early and then maintained a stable value for a period when the commuting cost of taking all buses was identical and minimum. The farther a station is from the workplace, the longer the duration is. However, no similar duration existed for commuters from . All these results corroborate Property 4 in Tian’s research and explain why the average costs of commuters from are more scattered than those of other stations (Figure 8).
Figure 9 explains the distribution in Figure 5. Figure 5 shows that the departure time choices of all commuters in the first three stations at equilibrium are in those durations (when the average cost was identical and minimum). In other words, these commuters minimized their commuting costs.
In summary, our model can reproduce the results of traditional analogical method; its results meet the four equilibrium properties. With the developed multiagent technology and learning model, we can gain insights into the formation of equilibrium. This provides a new means to understand equilibrium.
4. Simulation Results and Analysis
As shown in the verification experiment, inexperienced commuters can minimize their costs through reinforcement learning. Our simulation result is in accordance with the four equilibrium properties. All these findings verify the validity of the model. Therefore, some idealized assumptions were relaxed to evaluate the distribution of commuters’ departure time equilibrium in realistic situations.
First, commuters should be heterogeneous; that is, they should have diverse perceptions of commuting cost. Second, in the original model, a commuter’s memory increases indefinitely as the system evolves and his/her aspiration is the average of all costs perceived. However, in reality, old memories always have less influence and commuters’ aspirations are mainly derived from recent travel experience. Unlimited memory is unrealistic.
Hence, two groups of comparative experiments were conducted. In the heterogeneous group, commuters have individual differences in the perception of in-vehicle crowding or early/late penalty. The other group involves the situation wherein commuters have limited memory.
4.1. Experiments in Consideration of Commuters’ Heterogeneity
In our model, commuting costs include in-vehicle crowding and early/late penalty. Crowding function is utilized to represent a commuter’s perception of in-vehicle crowding and coefficients of early/late penalty are employed to represent a commuter’s perception of early/late penalty. The following experiments were conducted for the aforementioned two aspects.
4.1.1. In-Vehicle Crowding
In reality, commuters have different perceptions of crowding. Some elderly people or children hesitate to board a crowded carriage, whereas some young people do not mind such situation. In this experiment, commuters were divided into three types based on their tolerance level of crowding. These three types are normal, crowding-sensitive, and crowding-insensitive commuters. Their crowding functions and mixing ratios are shown in Table 1.
Figure 11(a) shows that commuters’ equilibrium did not meet Properties 3 and 4 because Tian’s research was under the assumption of homogeneity, which was relaxed in this experiment. The distribution of commuters’ choices had a broader range and a lower peak than that of the results of the verification experiment. Besides, there were not much differences between commuters’ average of each station. In our experiment, different groups of commuters exhibited different patterns of departure time choice.
Comparison of the different commuters’ choices revealed that normal commuters mostly select from buses , whereas buses were favored by downstream commuters. The crowding-sensitive commuters from the first three stations selected buses before bus 12 or after bus −3, whereas all those from the fourth station selected from buses . Most of the crowding-insensitive commuters selected buses . Thus, all buses can be divided into three types. The first type contains buses whose arrival times are close to the work-start time. These buses have more commuters at equilibrium, with a high level of in-vehicle crowding and minimal early/late arrival penalty. The majority of crowding-insensitive and downstream normal commuters selected these buses at equilibrium. The second type contains buses and buses . Their arrival times are before or after the work-start time. A few commuters rode in these buses, and taking these buses would generate a certain early/late arrival penalty. Normal commuters from the first three stations mainly selected this type. The third type contains buses and buses . Their arrival at the workplace is either too early or too late. Crowding-sensitive commuters from upstream stations mostly selected this type. These buses have a very low level of in-vehicle crowding but a very high early/late arrival penalty.
4.1.2. Early/Late Arrival Penalty
Another aspect of commuters’ heterogeneity is that commuters have different perceptions of early/late arrival penalty. For example, some companies have very strict attendance policies; consequently, commuters working in these companies may be more sensitive to being late. By contrast, some companies have flexible working hours; thus, employee punctuality is not an issue. In the experiment on early/late arrival penalty, commuters were divided into three types based on their sensitivity toward early/late arrival penalty. The three types are normal, early-sensitive, and late-sensitive commuters. Their coefficients of early/late arrival penalty and mixing ratios were set as in Table 2.
We identified a distribution similar to that in the experiment in Section 4.1.1 in Figure 13(a); that is, the distribution had a broader range and a lower peak compared with that in the verification experiment. Minimal difference was observed in commuters’ average between this experiment and the verification experiment. However, less time was required for numbers of commuters on peak buses to reach steady state.
Comparison of different commuters’ choices revealed that most of the normal commuters selected from buses and the early-sensitive commuters mainly selected from buses . Most of the late-sensitive commuters from the first three stations selected from buses , whereas those from the fourth station preferred buses . The normal commuters mainly selected buses whose arrival time is close to the work-start time. These buses are crowded with passengers but could still ensure that commuters would not be late or too early for work. Buses that arrived after work-start time were selected mainly by the early-sensitive commuters. Buses whose arrival time is before work-start time contained most of the late-sensitive commuters. These commuters would never be late for work and could enjoy sufficient space in the bus at the cost of getting up earlier compared to other commuters.
4.2. Experiments in Consideration of Commuters’ Limitation of Memory
In the verification experiment, a commuter’s capability of memory is unlimited, and his/her aspiration originates from all previous commuting experiences. To explore the departure time choice of commuters when this assumption is relaxed, commuter’s memory capability was limited in this set of experiments. Thus, a commuter’s aspiration is only determined by recent experience. Three experiments were conducted. Commuter’s capability of memory was confined to 3 days to represent short-term memory in the first experiment. Capability of 30 days then was tested as middle-term memory and 100 days capability as long-term memory. The other parameter settings were in line with those in the verification experiment.
In the first experiment, we observed an analogous distribution of commuters’ equilibrium as that in the verification experiment (referred to as ideal equilibrium because no idealized assumptions were relaxed). However, the stable state did not last long (roughly between days 500 and 1000). Afterward, a system evolved between some short-term states, where commuter numbers in certain buses were abnormally large or small. Figure 14 shows this phenomenon.
Commuters with middle-term memory made a more stable evolution as Figure 15 shows.
Compared with that in the two previous experiments, commuters’ distribution maintained a relatively stable state in the long-term memory experiment as shown in Figure 16.
The results of this set of experiments indicate that the extension of each commuter’s memory capability may improve a commuter group’s general stability of departure time selection. The extension renders the choice distribution stable and close to ideal equilibrium. However, comparing the snapshots on day 500, the distribution of commuters with short-term memory appears to be closer to the ideal equilibrium. Therefore, commuters with short-term memory may learn faster than those with long-term memory although their learning rates are identical .
Figure 17 shows that equilibrium is difficult to reach when a commuter’s memory is limited. An approximate equilibrium can be formed in the case of long-term memory. Conversely, the number of commuters in certain buses in the short-term memory experiment fluctuated sharply and roughly periodically. This phenomenon may be due to the irrationality of commuters.
The above analysis indicates that ideal equilibrium is difficult to reach when commuters’ memory capability is limited. When commuters have short memory, their departure time distribution is unstable. The number of commuters in certain buses may fluctuate substantially, and commuters are always willing to try other buses instead of sticking to merely one. Although ideal equilibrium may not exist when a commuter’s memory is limited, we suppose that this situation is closer to reality because having perfect rationality is impossible in reality.
5. Conclusion and Discussion
The peak-period commuting of commuters who utilize a bus line with multiple origins and a single destination was modeled. Multiagent modeling and the BM learning model were utilized to simulate commuters’ departure time choice behavior. Comparison with the results of traditional analytical method verified the feasibility of the proposed model and revealed that the model can be extended to cases where commuters are heterogeneous or have limited memory. Compared with traditional analytical methods, our model has several characteristics.(1)Commuters are inexperienced. Their only prior knowledge is the schedule of bus services. Their intelligence is gained in the process of reinforcement learning through continuous trial-and-error and amendment. Good strategies are reinforced so that they can adapt to the environment.(2)By using multiagent modeling method, we can revert to many details in the process of commuting, such as the fully distributed learning pattern or commuters’ memory limitation. Commuters’ equilibrium is a result of a continuous process of game and learning but is not a resolvable mathematical problem. Thus, the model conforms closely to reality.
Simulation experiments show that the equilibrium of peak-period commuting is built from upstream stations to downstream stations. Most commuters obtain their minimum commuting cost at equilibrium. Considering the heterogeneity of commuters, the distribution of their departure time choices is broad and has a low peak. Considering the memory limitation of commuters, results show that short-term memory may accelerate the formation of a state similar to ideal equilibrium; however, this state would not last long and irrationality can be observed afterward as the system evolves. On the contrary, an approximate equilibrium can be formed in the long-term memory case.
The two experiments illustrate that the agent-based approach can be extended to incorporate travelers’ heterogeneity or bounded rationality. Although these factors have been successfully described in several traditional analytical models (see [37–41]), strict assumptions are usually required. The agent-based approach is more lenient.
The use of agent-based technology to model travelers’ behavior is becoming popular. To the authors’ knowledge and based on the literature review, only a few agent-based studies have been conducted to address the “bus-corridor problem.” We implemented an agent-based approach to depict the problem that is based on Tian’s variant. The results show the compatibility of the proposed model with the traditional analytical model and prove that the former is actually a more lenient method to investigate commuters’ departure time equilibrium. Compared with Wahba and Shalaby’s work , this study primarily aims to demonstrate the flexibility and compatibility of the proposed approach in terms of the “bus-corridor problem.” Tian’s model was employed for comparison, and commuters’ path choice was neglected.
In the proposed model, there exists a loosely coupled relationship between agent and environment. We can delve into the evolutionary process and find out how commuters adapt to shocks. The dynamics of the system after a disruption can be reproduced. Furthermore, by incorporating management measures and evaluating system performance (e.g., calculating average utility of all users), policies which have the potential to reduce influences of the disruption can also be studied. Thus, it has an advantage over traditional analytical methods in investigating network vulnerability problems.
Another advantage of this approach is that it delves into individual-level dynamics and provides insight into the evolutionary process. The proposed approach presents an intuitive, bottom-up perspective to depict the morning commute situation of passengers; it is flexible such that it can incorporate commuters’ mental model, decision process, individual differences, and so on. Hence, this study can account for the effect of commuters’ characteristics on departure time equilibrium. By altering the perception module, we can restore the individual differences in commuters’ subjective perception (e.g., the subjective perception of travel time is considered one of the main elements that influence route choice ). We can also modify the cost valuation module by adding new factors or changing the process of calculating cost. Hence, the influence of different incentives on commuters’ behavior can be investigated. These factors can be general, such as service level, riding comfort, and transit route reliability. By altering the memory module, the ability of commuters to process information or their bounded rationality can be reflected.
In future research, our model faces the challenge of demonstrating how a sophisticated pattern of commuters’ departure time might emerge when applied to a network structure. The effect of bus service quality on commuters should also be incorporated.
Conflict of Interests
The authors declare that they do not have any commercial or associative interest that represents a conflict of interests in connection with this work.
This work was supported by the National Natural Science Foundation of China (Grants nos. 71101102, 71371134, 71271150, and 71301115) and the authors would like to thank the anonymous referees for their constructive criticism and fruitful comments.
- W. Vickrey, “Some implications of marginal cost pricing for public utilities,” The American Economic Review, vol. 45, no. 2, pp. 605–620, 1955.
- C. F. Daganzo, “The uniqueness of a time-dependent equilibrium distribution of arrivals at a single bottleneck,” Transportation Science, vol. 19, no. 1, pp. 29–37, 1985.
- R. Arnott, A. de Palma, and R. Lindsey, “A structural model of peak-period congestion: a traffic bottleneck with elastic demand,” The American Economic Review, vol. 83, no. 1, pp. 161–179, 1993.
- G. Ramadurai, S. Ukkusuri, J. Zhao, and J.-S. Pangd, “Linear complementary formulation for the multi-user class single bottleneck problem,” Transportation Research Part B: Methodological, vol. 44, no. 2, pp. 193–214, 2010.
- T. Sumi, Y. Matsumoto, and Y. Miyaki, “Departure time and route choice of commuters on mass transit systems,” Transportation Research B, vol. 24, no. 4, pp. 247–262, 1990.
- R. Arnott and E. DePalma, “The corridor problem: preliminary results on the no-toll equilibrium,” Transportation Research B: Methodological, vol. 45, no. 5, pp. 743–768, 2011.
- H. J. Huang, Q. Tian, H. Yang et al., “Modeling the equilibrium bus riding behavior in morning rush hour,” in Proceedings of the 9th Annual Conference of the Hong Kong Society of Transportation Studies, pp. 434–442, Hong Kong, 2004.
- H. J. Huang, Q. Tian, and Z. Y. Gao, “An equilibrium model in urban transit riding and fare polices,” in Algorithmic Applications in Management, pp. 112–121, Springer, Berlin, Germany, 2005.
- A. Sumalee, Z. Tan, and W. H. K. Lam, “Dynamic stochastic transit assignment with explicit seat allocation model,” Transportation Research B: Methodological, vol. 43, no. 8-9, pp. 895–912, 2009.
- Q. Tian, H. J. Huang, and H. Yang, “Equilibrium properties of the morning peak-period commuting in a many-to-one mass transit system,” Transportation Research B: Methodological, vol. 41, no. 6, pp. 616–631, 2007.
- Z. Zhang, H. Fujii, and S. Managi, “How does commuting behavior change due to incentives? An empirical study of the Beijing Subway System,” Transportation Research F: Traffic Psychology and Behaviour, vol. 24, pp. 17–26, 2014.
- M. L. D. Maio, A. Vitetta, and D. Watling, “Influence of experience on users' behaviour: a day-to-day model for route choice updating,” Procedia—Social and Behavioral Sciences, vol. 87, pp. 60–74, 2013.
- D. Watling and M. L. Hazelton, “The dynamics and equilibria of day-to-day assignment models,” Networks and Spatial Economics, vol. 3, no. 3, pp. 349–370, 2003.
- M. Ben-Akiva, A. de Palma, and K. Isam, “Dynamic network models and driver information systems,” Transportation Research A: General, vol. 25, no. 5, pp. 251–266, 1991.
- Siu B. W. Y. and H. K. Lo, “Punctuality-based route and departure time choice,” Transportmetrica A: Transport Science, vol. 10, no. 7, 2014.
- C. L. Zhao and H. J. Huang, “Modeling the equilibrium bus line choice behavior and transit system design with oblivious users,” Discrete Dynamics in Nature and Society, vol. 2014, Article ID 173876, 5 pages, 2014.
- G. Karakostas, T. Kim, A. Viglas, and H. Xia, “On the degradation of performance for traffic networks with oblivious users,” Transportation Research B: Methodological, vol. 45, no. 2, pp. 364–371, 2011.
- F. E. Xiao, Z. S. Qian, and H. M. Zhang, “The morning commute problem with coarse toll and nonidentical commuters,” Networks and Spatial Economics, vol. 11, no. 2, pp. 343–369, 2011.
- Y. Liu and Y. M. Nie, “Morning commute problem considering route choice, user heterogeneity and alternative system optima,” Transportation Research B: Methodological, vol. 45, no. 4, pp. 619–642, 2011.
- Z. S. Qian and H. M. Zhang, “The morning commute problem with heterogeneous travellers: the case of continuously distributed parameters,” Transportmetrica A: Transport Science, vol. 9, no. 2, pp. 178–203, 2013.
- F. Xiao, W. Shen, and H. Michael Zhang, “The morning commute under flat toll and tactical waiting,” Transportation Research B: Methodological, vol. 46, no. 10, pp. 1346–1359, 2012.
- J. Feng, B. Mao, Z. Chen et al., “A departure time choice for morning commute considering train capacity of a rail transit line,” Advances in Mechanical Engineering, vol. 2013, Article ID 582703, 7 pages, 2013.
- D. Ettema, G. Tamminga, H. Timmermans, and T. Arentze, “A micro-simulation model system of departure time using a perception updating model under travel time uncertainty,” Transportation Research A: Policy and Practice, vol. 39, no. 4, pp. 325–344, 2005.
- M. Wahba and A. Shalaby, “A general multi-agent modelling framework for the transit assignment problem–a learning-based approach,” in Innovative Internet Community Systems, vol. 3473 of Lecture Notes in Computer Science, pp. 276–295, Springer, Berlin, Germany, 2006.
- M. Wahba and A. Shalaby, “Multiagent learning-based approach to transit assignment problem a prototype,” Transportation Research Record, vol. 1926, pp. 96–105, 2005.
- M. Wahba and A. Shalaby, “MILATRAS: a new modeling framework for the transit assignment problem,” in Schedule-Based Modeling of Transportation Networks, vol. 46 of Operations Research/Computer Science Interfaces, pp. 1–24, Springer, New York, NY, USA, 2009.
- M. Wahba and A. Shalaby, “Large-scale application of MILATRAS: Case study of the Toronto transit network,” Transportation, vol. 38, no. 6, pp. 889–908, 2011.
- M. Wahba and A. Shalaby, “Learning-based framework for transit assignment modeling under information provision,” Transportation, vol. 41, no. 2, pp. 397–417, 2013.
- J. D. Farmer and D. Foley, “The economy needs agent-based modelling,” Nature, vol. 460, no. 7256, pp. 685–686, 2009.
- J. Bouchaud, “Economics needs a scientific revolution,” Nature, vol. 455, no. 7217, p. 1181, 2008.
- S. Pouget, “Adaptive traders and the design of financial markets,” Journal of Finance, vol. 62, no. 6, pp. 2835–2863, 2007.
- T. H. Noe, M. J. Rebello, and J. Wang, “Corporate financing: an artificial agent-based analysis,” Journal of Finance, vol. 58, no. 3, pp. 943–973, 2003.
- M. W. Macy and A. Flache, “Learning dynamics in social dilemmas,” Proceedings of the National Academy of Sciences of the United States of America, vol. 99, supplement 3, pp. 7229–7236, 2002.
- P. Zhou, Y. Chang, and J. A. Copeland, “Reinforcement learning for repeated power control game in cognitive radio networks,” IEEE Journal on Selected Areas in Communications, vol. 30, no. 1, pp. 54–69, 2012.
- C. D. L. Wynne, “Reinforcement accounts for transitive inference performance,” Animal Learning & Behavior, vol. 23, no. 2, pp. 207–217, 1995.
- B. Skyrms, Signals: Evolution, Learning, and Information, Oxford University Press, 2010.
- Q. Wang and W. Xu, “A user equilibrium model based on cumulative prospect theory for degradable transport network,” in Proceedings of the 4th International Joint Conference on Computational Sciences and Optimization (CSO '11), pp. 1078–1082, Yunnan, China, April 2011.
- G. Wang, S. Ma, and N. Jia, “A combined framework for modeling the evolution of traveler route choice under risk,” Transportation Research C: Emerging Technologies, vol. 35, pp. 156–179, 2013.
- H. Xu, J. Zhou, and W. Xu, “A decision-making rule for modeling travelers' route choice behavior based on cumulative prospect theory,” Transportation Research C: Emerging Technologies, vol. 19, no. 2, pp. 218–228, 2011.
- G. Wang, N. Jia, S. Ma et al., “A rank-dependent bi-criterion equilibrium model for stochastic transportation environment,” European Journal of Operational Research, vol. 235, no. 3, pp. 511–529, 2014.
- H. Xu, Y. Lou, Y. Yin, and J. Zhou, “A prospect-based user equilibrium model with endogenous reference points and its application in congestion pricing,” Transportation Research B: Methodological, vol. 45, no. 2, pp. 311–328, 2011.
Copyright © 2014 Qinmu Xie et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.