- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Recently Accepted Articles ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents
Mathematical Problems in Engineering
Volume 2012 (2012), Article ID 389086, 10 pages
Bus Dispatching Interval Optimization Based on Adaptive Bacteria Foraging Algorithm
Beijing Key Laboratory of Traffic Engineering, Beijing University of Technology, Beijing 100124, China
Received 4 September 2012; Accepted 14 November 2012
Academic Editor: Rui Mu
Copyright © 2012 Zhong-hua Wei 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.
The improved bacterial foraging algorithm was applied in this paper to schedule the bus departing interval. Optimal interval can decrease the total operation cost and passengers’ mean waiting time. The principles of colony sensing, chemotactic action, and improved foraging strategy made this algorithm adaptive. Based on adaptive bacteria foraging algorithm (ABFA), a model on one bus line in Hohhot city in China was established and simulated. Two other algorithms, original bacteria foraging algorithm (BFA) and genetic algorithm (GA), were also used in this model to decide which one could greatly accelerate convergence speed, improve searching precision, and strengthen robustness. The final result showed that ABFA was most feasible in optimizing variables.
Traffic demand becomes increasingly higher with the great development of social economy and urbanization. With the large amount of private cars and limited road facilities, severe traffic congestion occurs inevitably. Municipal governments and road transport authority have strongly recommended public transportation for its higher passenger capacity and smaller coverage area. So it is necessary to improve the quality of bus dispatching management, and a wholesome and intelligent bus scheduling scheme is needed.
Bus interval scheduling is a complex optimization problem for its nonlinear and multiobjective characteristics. It requires traffic planners to take round consideration of multi-interests, such as bus operating enterprises and passengers. The relationship between the two is contradictory. Obviously, bus operating enterprises always try to dispatch buses as few as possible with the longest intervals and the highest profit, whereas passengers are the opposite. According to the two contradictory characteristics, an optimal bus dispatching interval model is urgent to be established to benefit both sides.
As to the optimal algorithms, lots of intelligent algorithms have been adopted to solve transportation optimal problems . Intelligent algorithms enlightened by bacterium have become fashionable recently. Back to the history of bacteria foraging algorithm (BFA), it was initially proposed in 2002 by Passino  and applied to dealing with several engineering problems [3–5] successfully. However, it was limited to solo modal function optimization for its poor convergence behavior. So effort to pursue more adaptive algorithms goes on. Muñoz et al.  proposed some methods to simplify the algorithm while maintaining its core elements. These included the simplification of the algorithm architecture, the elimination of the bacteria colony scale, a clear adaptation rule for the step size, the use of a uniform distribution the position initialization, and the removal of the cell-to-cell communication. In 2008, Dasgupta et al.  mathematically analyzed the chemotactic step of a one-dimensional BFA and proposed the adaptive step size for BFA. In the same year, Chen et al.  analyzed how the run length unit parameter controlled the exploration and exploitation process of BFA and then employed the adaptive search strategy to significantly improve the performance of the original algorithm.
In this paper, the adaptive bacteria foraging algorithm was adopted to solve the complex bus interval dispatching problem. Many variables were taken into consideration such as dispatching interval, waiting time, load factor, economic efficiency, and trip service level. Among them, dispatching interval was chosen as the control variable. To compare which one was the best, genetic algorithm  (GA) and nonadaptive bacteria foraging algorithm (BFA) were employed in optimizing this model. The simulation results, focusing on minimizing two specific objective functions, depicted the advantages of the mentioned algorithm.
The rest of the paper is organized as follows. Section 2 gives brief views of basic and adaptive bacteria foraging algorithm. The theoretical optimal model for bus dispatching interval is built in Section 3. Based on this model, the simulations on ABFA, GA, and BFA are given in Section 4. Finally, Section 5 gives the conclusions.
2. Adaptive Bacteria Foraging Algorithm
2.1. Basic Bacteria Foraging Algorithm
To forage food, a bacterium needs to communicate with the group with its sensing abilities. By generating common knowledge, developing group identity and recognizing the identity of other colonies, bacterium engages in group decision-making . A sort of collective intelligence subsequently occurs. And this wit consists of four steps: chemotaxis, swarming, reproduction, and elimination and dispersal [11–13].
Basically, chemotaxis is a foraging strategy that implements a type of local optimization where the bacteria try to climb up the nutrient concentration . Swimming and tumbling are two aspects of this step. The bacterium’s flagella rotation determines its foraging direction in an anticipated route (swimming) or an unexpected one (tumbling). stands for the unit random length in the direction of a tumble, that is, where means the th bacteria’s th chemotactic behavior at the th reproductive and th elimination step. represents the step size adopted in the random route in a tumble. And is labeled as run length unit.
It is assumed that bacterium tends to inform others of its optimal food path, so group can locate food area more swiftly. Swarming gathers bacterium into high-density group and then forage food in a type of concentric circle, that is, where is the cost function value to be minimized; is the bacterium scale; is the number of parameters to be optimized. , , , and are different coefficients that are to be chosen carefully.
The least healthy bacterium vanishes, and the other healthiest bacterium splits into two and are released in the same position. This makes the population of bacteria constant.
(4) Elimination and Dispersal
Possibly in the current surroundings, bacterium’s life span changes slightly either by nutrient supplements or other unexpected influence. Accidents can kill some bacteria colonies in one second. But this has the effect of assisting in chemotaxis.
2.2. Adaptive Bacterial Foraging Algorithm
BFA is adaptive by adjusting the run length step parameter dynamically during its execution process to balance the exploration or exploitation search . Each bacterium has two different foraging states in ABFA model.(1)Exploration: imprecisely explore the regions never gone before quickly in the search space in a large run length unit.(2)Exploitation: exploit the potential regions slowly in its immediate vicinity in a small run length unit.
The self-adaptive search is given in pseudocode in Table 1 below.
2.3. Algorithm Flowchart of ABFA
The flowchart of ABFA is listed below.
Step 1. Initialize parameters like bacterium scale , custom constants , , and , run length step and precision , and position of bacterium colony.
Step 2 (chemotaxis and swarming). In this process, the signaling concentration (fitness value) released on every path will be calculated. Bacterium will choose paths that own the highest fitness value.
Step 3 (reproduction). Sort by the bacteria colony’s fitness values. The best half of the population undergoes reproduction. And the rest are eliminated to accelerate convergence speed.
Step 4 (elimination and dispersal). The wholesome adaptive bacteria colony migrate to other spaces randomly to expand the diversity of the colony.
Step 5 (judgment). If the current iteration is lower than the max iterations, then go to Step 2; if not, the algorithm loop ends.
The algorithm flowchart is given below in Figure 1, where, —the colony scale; —the current iterations; —the max iterations in the current nutrient gradient; —the current location in searching space of the th bacteria; —the number of times that bacteria’s fitness value has no continuous improvement.
3. Theoretical Optimal Model Building
Bus scheduling is a complex optimal problem influenced by varied external environment. According to the specific and available data on bus dispatching, the following hypothesis was made to establish a simulated model .(1)The type of buses was identical. They were well operated and dispatched strictly according to bus schedule, with no accidents on the road.(2)Passengers’ traffic flow volume at a bus line was independent of each other; their arrival distribution followed a uniform distribution.(3)The dispatching interval of every two successive buses was identical in a given period.(4)The trip cost unit for passengers and operation cost unit for bus operating enterprises were fixed.
A certain bus line with its upstream travel direction was selected as the scheduling object. The whole operating time was divided into several one-hour intervals. And the theoretical optimization model was given below.
(1) Control Variable
Bus dispatching interval was chosen as control variable.
(2) Objective Function
Minimum bus operating cost and minimum passengers’ waiting cost were two optimal objectives. In formula (3.1), represented the operation cost bus enterprises invested one day; in (3.2), represented the trip cost passengers invested one day; in (3.3), represented the final minimum function with weighting coefficients given: where is time duration at interval; means the upper or lower bound of bus interval; means the whole operating time span one day; is the dispatching interval; is passenger volume at the site; , is the density of passenger flow or passenger volume arriving at the site in the interval; is the getting off at the site in the interval; , is weighting coefficient.
(3) Standard Constraint Condition
Formula (3.4) represented the mean bus load factor to be more than 75%; formula (3.5) represented dispatching interval to be between the lower and upper bounds; (3.6) represented condition to ensure profitability for bus enterprises.
Standard constraint condition where is the rated passenger capacity of a bus; is time set , is the total time intervals; is site set , is the amount of bus sites of a line; is the length of the total bus line.
4. Practical Simulation Based on Optimal Model
A bus line in its upstream travel direction in Hohhot city in China was selected as the scheduling object. Several relevant data had been investigated and listed as follows: the number of total sites was sites; the operation period was 6:00–20:00 and divided into hours; the lower and upper bounds of bus dispatching interval were min and min, with the rated passenger capacity persons.
4.1. Passenger Traffic Flow and Basic Data on Bus Site Facilities
4.2. Simulation Results and Analysis
The bus dispatching interval optimal model was built and simulated on ABFA comparison with GA and BFA. First, basic settings were initialized: the population scale was 40. The maximum iterations was 1000. . . . The parameters of BFA and GA were similarly set. Three graphs showing convergence trend were given in Figure 2.
It could be drawn from Figure 2 that ABFA was the best one to accelerate convergence speed, improve searching precision, and strengthen robustness. So with the desired algorithm, latest bus interval was calculated in Table 4. Each bus departure interval was ; ; ; ; ; ; ; ; ; ; ; ; ; .
In this paper, an interval optimal model was applied into one bus line in Hohhot city in China. The bus interval dispatching issue was considered as a nonlinear and multiobjective optimization. The enterprise profits, load factor, and dispatching interval were particularly chosen as the primary parameters in this optimization. Two relevant objective functions were defined. The proposed optimal algorithm, ABFA, combined colony sensing, chemotactic action, and improved foraging strategy to solve the distributed bacterial optimization. For comparison purpose, two other algorithms, GA and BFA, were employed to decide which was the best one. Furthermore, extensive sight would be thrown years ahead to evaluate the practical merits of ABFA in traffic and transportation optimization problems.
This work is supported by funded projects: National Key Basic Research Program of China (SN: 2012CB723303).
- I. A. Farhat and M. E. El-Hawary, “Dynamic adaptive bacterial foraging algorithm for optimum economic dispatch with valve-point effects and wind power,” IET Generation, Transmission and Distribution, vol. 4, no. 9, pp. 989–999, 2010.
- K. M. Passino, “Biomimicry of bacterial foraging for distributed optimization and control,” IEEE Control Systems Magazine, vol. 22, no. 3, pp. 52–67, 2002.
- E. Daryabeigi, M. Moazzami, A. Khodabakhshian, and M. H. Mazidi, “A new power system stabilizer design by using smart bacteria foraging algorithm,” Canadian Conference on Electrical and Computer Engineering, Article ID 6030547, pp. 713–716, 2011.
- M. Tripathy, S. Mishra, L. L. Lai, and Q. P. Zhang, “Transmission loss reduction based on FACTS and bacteria foraging algorithm,” in Proceedings of the 9th International Conference on Parallel Problem Solving from Nature, pp. 222–231, 2006.
- D. H. Kim and J. H. Cho, “Adaptive tuning of PID controller for multivariable system using bacterial foraging based optimization,” in Proceedings of the 3rd International Atlantic Web Intelligence Conference on Advances in Web Intelligence, pp. 231–235, 2005.
- M. A. Muñoz, S. K. Halgamuge, W. Alfonso, and E. F. Caicedo, “Simplifying the bacteria foraging optimization algorithm,” in Proceedings of the 6th IEEE World Congress on Computational Intelligence, pp. 1–7, 2010.
- S. Dasgupta, A. Biswas, A. Abraham, and S. Das, “Adaptive computational chemotaxis in bacterial foraging algorithm,” IEEE Computer Society, vol. 6, pp. 64–72, 2008.
- H. Chen, Y. Zhu, and K. Hu, “Self-adaptation in bacterial foraging optimization algorithm,” in Proceedings of 3rd International Conference on Intelligent System and Knowledge Engineering (ISKE '08), pp. 1026–1031, November 2008.
- F. A. Kidwai, “A genetic algorithm based bus scheduling model for transit network,” Proceedings of the Eastern Asia Society For Transportation Studies, vol. 5, pp. 477–489, 2005.
- E. B. Jacob, I. Becker, Y. Shapira, and H. Levine, “Bacterial linguistic communication and social intelligence,” Trends in Microbiology, vol. 12, no. 8, pp. 366–372, 2004.
- S. Mishra, “A hybrid least square-fuzzy bacterial foraging strategy for harmonic estimation,” IEEE Transactions on Evolutionary Computation, vol. 9, no. 1, pp. 61–73, 2005.
- W. J. Tang, Q. H. Wu, and J. R. Saunders, “Bacterial foraging algorithm for dynamic environments,” in Proceedings of the IEEE Congress on Evolutionary Computation, pp. 1324–1330, 2006.
- S. D. Müller, J. Marchetto, S. Airaghi, and P. Koumoutsakos, “Optimization based on bacterial chemotaxis,” IEEE Transactions on Evolutionary Computation, vol. 6, no. 1, pp. 16–29, 2002.
- R. P. Gendron and J. E. R. Staddon, “Searching for cryptic prey: the effect of search rate,” American Naturalist, vol. 121, no. 2, pp. 172–186, 1983.
- G. Zhengwei, H. L. Pang, and D. W. Wang, “Adaptive bacterial foraging optimization and its application for bus scheduling,” Journal of System Simulation, vol. 23, no. 6, pp. 1151–1160, 2011.
- S. Sumathi, T. Hamsapriya, and P. Surekha, Evolutionary Intelligence: An Introduction to Theory and Applications with Matlab, 2008.
- H. Chen, Y. Zhu, and K. Hu, “Adaptive bacterial foraging optimization,” Abstract and Applied Analysis, vol. 2011, Article ID 108269, 7 pages, 2011.
- S. Dasgupta, S. Das, A. Abraham, and A. Biswas, “Adaptive computational chemotaxis in bacterial foraging optimization: an analysis,” IEEE Transactions on Evolutionary Computation, vol. 13, no. 4, pp. 919–941, 2009.