SlideShare a Scribd company logo
David C. Wyld et al. (Eds) : ITCS, CST, JSE, SIP, ARIA, DMS - 2015
pp. 157–164, 2015. © CS & IT-CSCP 2015 DOI : 10.5121/csit.2015.50116
ANT COLONY OPTIMIZATION FOR
CAPACITY PROBLEMS
Tad Gonsalves and TakafumiShiozaki
Department of Information and Communication Sciences,
Faculty of Science & Technology, Sophia University, Tokyo, Japan
tad-gonsal@sophia.jp, zakishio814@gmail.com
ABSTRACT
This paper deals with the optimization of the capacity of a terminal railway station using the
Ant Colony Optimization algorithm. The capacity of the terminal station is defined as the
number of trains that depart from the station in unit interval of time. The railway capacity
optimization problem is framed as a typical symmetrical Travelling Salesman Problem (TSP),
with the TSP nodes representing the train arrival /departure events and the TSP total cost
representing the total time-interval of the schedule. The application problem is then optimized
using the ACO algorithm. The simulation experiments validate the formulation of the railway
capacity problem as a TSP and the ACO algorithm produces optimal solutions superior to those
produced by the domain experts.
KEYWORDS
Travelling Salesman Problem, Ant Colony Optimization, Capacity Problems, Meta-heuristic
Optimization, Soft Computing.
1. INTRODUCTION
This study focuses on the simulation optimization of rail capacity, a prominent application
problem in the transportation domain. Zhu [1] defines the railway capacity as the maximum
number or pair of trains with standard load passing by a fixed equipment in unit time (usually one
day) on the basis of the given type of locomotives and vehicles. It usually depends on the
condition of the fixed equipment as well as the organization of the train operation. According to
the European Community directives [2], the provision, maintenance and marketing of the railway
track capacities should be separated from the operation of trains. This would imply a separation
of the management of the railway infrastructure from the management of the railway operation.
With this in mind, we frame the aim of this study as: the optimization of rail capacity by
managing the train operation, given a fixed railway network and equipment infrastructure. In
particular, we focus on the capacity of a terminal station, i.e., the number of trains departing from
the terminal station in unit time. The problem basically boils down to constructing an optimal
schedule of the passenger trains so as to maximize the terminal station capacity. However, owing
to the multiple decision variables, the problem becomes a typical combinatorial optimization
problem which cannot be solved using the conventional optimization algorithms.
158 Computer Science & Information Technology (CS & IT)
In order to solve the combinatorial optimization problem, we first cast it in the form of a
Travelling Salesman Problem and use some of the soft–computing techniques to find the optimal
solution. Although the TSP has applications in practical problems like Vehicle Routing, Job
Sequencing, Computer Wiring, etc. [3], it is known to be NP hard. Since brute force approach is
an infeasible option, heuristics approach can be fairly relied upon to solve thesetypes of problems
since heuristics approach utilizes much less computing power. Some of the conventional heuristic
techniques designed to solve the TSP include branch and cut [4], dynamic programming [5],
regression analysis [6], exact methods [7], etc. Recently many meta-heuristic algorithms (i.e.
heuristics that do not depend on the domain knowledge of the problem) are successfully
employed to search for the optimal TSP solution. The Genetic Algorithm (GA) based on the
Darwinian theory of natural selection and its variants are reported to be successful in finding the
optimal solutions to the benchmark TSP problems in a reasonable amount of computing time [8-
11]. In some studies, the Genetic Algorithm is combined with other meta-heuristic optimization
algorithms to improve the optimization results [12].
However, the most successful soft computing algorithm to obtain the optimal solution of the TSP
is the Ant Colony Optimization (ACO) algorithm. The development of the ACO algorithm has
been inspired by the foraging behaviour of some ant species. These ants deposit pheromone on
the ground in order to mark some favourable path that should be followed by other members of
the colony. The ACO algorithm exploits a similar mechanism for solving optimization problems
[13-19]. From the early nineties, when the first ACO algorithm was proposed, it has attracted the
attention of an increasing numbers of researchers and it has been extended to many successful
applications.
In this study, the railway capacity optimization problem is cast in the form of a TSP. The
arrival/departure events in the schedule are treated as nodes which need to be ordered under the
given scheduling constraints so as to minimize the entire schedule time. Some of the other
constraints are imposed by the track-changing hardware equipment. The time between two events
is considered to be the distance between two TSP edges and the train operation schedule is
considered to be the tour length of the TSP. The standard ACO application to this problem yields
an optimal schedule, under the given infrastructure and operational constraints.
This paper is organized as follows: Section 2 describes the TSP and ACO. Section 3 describes the
formulation of the railway capacity optimization problem (RCP) as the TSP and its solution using
the standard ACO algorithm. Section 4 presents the simulation optimization results and section 5
concludes the paper.
2. TSP AND ACO
In this section, we introduce the Travelling Salesman Problem and the Ant Colony Optimization
algorithm. We show how the Ant Colony Optimization algorithm is designed to solve the
Travelling Salesman Problem.
2.1. Travelling Salesman Problem (TSP)
The Travelling Salesman Problem (TSP) is a classic problem in computer science which may be
stated as follows: Given a list of cities and their pairwise distances, the task is to find the
Computer Science & Information Technology (CS & IT) 159
Figure 1. Three feasible routes of a 6-node TSP
shortest possible route that visits each city exactly once and then return to the original city. If n is
the number of cities to be visited, the total number of possible routes covering all cities, Snis
given by:
Sn= (n-1)!/2 (1)
A naive solution solves the problem in O(n!) time, simply by checking all possible routes, and
selecting the shortest one. A more efficient dynamic programming approach yields a solution in
O(n22n) time [3]. The TSP is proved to be NP-hard and various Operation Research (OR) solution
techniques have been proposed, yielding varying degrees of success [4-7]. The Ant Colony
Optimization, described in the following sub-section is a novel soft computing algorithm
developed to tackle combinatorial optimization problems.
2.2. Ant Colony Optimization CO
The Ant Colony Optimization (ACO) which is based on the foraging behaviour of ants was first
proposed by Dorigo [13].
1 Initialize parameters and solutions
2 While the termination criterion is not met
3 Evaluate solutions
4 Update pheromone
5 Construct new solutions
6 End
7 Output the optimum solution
Figure 2. The ACO algorithm
A generic ACO algorithm is shown in Figure. 2. In step 1, the algorithm parameters are initialized
and all the artificial ants (random solutions) are generated. The loop from lines 2 through 6 is
repeated until the termination condition is met. The steps inside the loop consist of evaluating the
solutions, updating the pheromones and constructing new solutions from the previous solutions.
The two main steps inside the loop are further described below.
Solution construction
Ant k on node i selects node j, based on the probability, pij, given by:
160 Computer Science & Information Technology (CS & IT)
where denotes the set of candidate sub-solutions; τij and ηij denote, respectively, the pheromone
value and the heuristic value associated with eij.
Updating the pheromone
The pheromone update operator employed for updating the pheromone value of each edge eijis
defined as
Where Lkdenotes the quality of the solution created by ant k; denotes the evaporation
rate.
3. CAPACITY PROBLEM AS TSP
This section describes in detail the railway capacity problem to be optimized. It explains the
optimization constraints, the framing of the railway capacity problem as a typical TSP and finally
the solution process by using the standard ACO algorithm.
3.1. Capacity Problem
When dealing with the railway capacity problem, the railway management has to consider the
different types of capacities in the railway domain. Some of the relevant capacities, for instance,
are: (1) the capacity of the platform to hold passengers, (2) the capacity of the carriages to hold
passengers, (3) the rail network capacity to hold the number of trains at a given time, and (4) the
capacity of the railway station structure to schedule the maximum number of trains per unit time.
Dealing with all these types of capacities simultaneously is a complex problem. This study is
dedicated to the maximization of only the type 4 railway capacity, i.e., maximization of the
number of trains that can be scheduled at a railway station per unit time. The type 4 rail capacity
optimization in turn leads to optimization of the royalties and alleviation of the congestion
problem during rush hours.
Computer Science & Information Technology (CS & IT) 161
3.2. Capacity problem as TSP
In the generalized form of the TSP, the cities are represented as nodes (Figure 3a). The task is
then finding the shortest route, starting from a given node and visiting each node in the network
exactly once before returning to the starting node. In the Railway Capacity Optimization (RCP)
problem, the arrival/departure events (Figure 3b) in the schedule are treated as nodes which need
to be ordered under the given scheduling constraints so as to minimize the entire schedule time.
Figure 3a.The TSP nodes (cities) Figure 3b. The RCP nodes (events)
3.3. Structure constraints
In this study, we consider a railway terminal station with four railroads, each with an attached
platform. The trains can arrive at the terminal and leave the terminal via any of these four
railroads. There are five train services, namely, S55, S5, L7, S2 and S1 and the railroad access
constraints are given in Table 1.
Figure 4. The platforms in the terminal station
.
162 Computer Science & Information Technology (CS & IT)
Table 1. Given parameters of the train capacity problem
4. OPTIMIZATION RESULTS
The aim of the simulation experiments using the ACO algorithm is to maximize the number of
trains leaving the terminal station in an hour. However, to reduce the calculation load, we divide
the hourly interval into 5 equal intervals, each being of 720 seconds (12 minutes) duration. The
assumption here is that the train schedule is periodic. The same period can then be stretched over
an hour. In Table 3, the final capacity of the terminal station is calculated by using the following
formula:
where, T is the total time for the entire schedule covering a period of 720 seconds.
The minimum time for the entire schedule over a period of 720 seconds is found to be 555
seconds and correspondingly the maximum capacity is 38.9 trains/hour
We conducted several experiments by varying the and parameters of the ACO algorithm.
Some of the optimal results obtained by these tuned parameters are shown in Table 4. Another
important parameter that needs an empirical tuning is the population size of the agents, N. Table 5
shows the results obtained by varying this number. As expected, the larger the population size,
the better the results are, although this increases the computational overhead.
Table 2. Varying the population size of the ACO agents
Computer Science & Information Technology (CS & IT) 163
5. CONCLUSIONS
The Ant Colony Optimization soft computing algorithm is apt for solving combinatorial
optimization problems like the classical NP-hard Travelling Salesman Problem. Basing the search
on the stigmery of the food foraging real-life ant colony, the algorithm explores the huge search
space of the NP-hard problems to find the optimal solution. In this study, the authors have applied
the ACO algorithm to optimize the capacity of a terminal railway station. The capacity
optimization problem is cast into the form of a TSP-like problem, where the arrival and departure
events of the trains are considered to be the nodes and the schedule length as the TSP total route.
The standard ACO optimizes the schedule length subject to the infrastructure and operational
constraints. The simulation experiments validate the formulation of the railway capacity problem
as a TSP. The optimal solutions obtained by the soft-computing technique is superior to those
produced by the domain experts.
REFERENCES
[1] Xiaoning Zhu, “Computer-based simulation analysis of railway carrying capacity utilization”,
Proceedings of the International Conferences on Info-tech and Info-net, ICII2001, Beijing, 2001,
vol.4, pp.107-112.
[2] Kuckelberg, A., “Component based system architecture for railway capacity management systems”,
Proceedings of the Fourth International Conference on Quality Software, QSIC 2004., pp.189-196.
[3] Rajesh Matai, Surya Singh and Murari Lai Mittal (2010). Traveling Salesman Problem: an Overview
of Applications, Formulations, and Solution Approaches, Traveling Salesman Problem, Theory and
Applications, Donald Davendra (Ed.), pp. 1-24.
[4] Sarubbi, J.; Miranda, G.; Luna, H.P.; Mateus, G., “A Cut-and-Branch algorithm for the
Multicommodity Traveling Salesman Problem,” IEEE International Conference on ,Service
Operations and Logistics, and Informatics, IEEE/SOLI 2008, vol.2, pp.1806-1811.
[5] Jellouli, O., “Intelligent dynamic programming for the generalised travelling salesman problem,”
2001, IEEE International Conference on Systems, Man, and Cybernetics, 2001, vol.4, pp.2765-2768.
[6] Shut, V., Prozherin, I., “A solution of travelling salesman problem by a method of correlative-
regression analysis,” Intelligent Data Acquisition and Advanced Computing Systems: Technology
and Applications, International Workshop on, 2001, pp.267-269.
[7] Woeginger, G.J. (2003), “Exact Algorithms for NP-Hard Problems: A Survey”, Combinatorial
Optimization – Eureka, You Shrink! Lecture notes in computer science, vol. 2570, Springer, pp. 185–
207.
[8] Pullan, W., “Adapting the genetic algorithm to the travelling salesman problem,” The 2003 Congress
on Evolutionary Computation, CEC '03, 2003, vol.2, pp.1029-1035.
[9] FatihTasgetiren, M.; Suganthan, P.N.; Quan-ke Pan; Yun-Chia Liang, “A genetic algorithm for the
generalized traveling salesman problem,” IEEE Congress on Evolutionary Computation, CEC 2007,
2007, pp.2382-2389.
[10] Geetha, R.R., Bouvanasilan, N., Seenuvasan, V., “A perspective view on Travelling Salesman
Problem using genetic algorithm,” World Congress on Nature & Biologically Inspired Computing,
NaBIC 2009, 2009, pp.356-361.
[11] Mudaliar, D.N., Modi, N.K., “Unraveling Travelling Salesman Problem by genetic algorithm using
m-crossover operator,” International Conference on Signal Processing Image Processing & Pattern
Recognition (ICSIPR), 2013, pp.127-130.
[12] Chen, S.M., &Chien, C.Y. (2011). Solving the traveling salesman problem based on the genetic
simulated annealing ant colony system with particle swarm optimization techniques. Expert Systems
with Applications, vol. 38, pp. 14439-14450.
[13] Dorigo, M. (1992). Optimization, learning and natural algorithms.Politecnico di Milano, Italy: Ph.D.
Thesis.
164 Computer Science & Information Technology (CS & IT)
[14] Dorigo, M., & Caro, D. G. (1999). Ant colony optimization: a new meta-heuristic (vol. 2). Proceeding
of the 1999 Congress on Evolutionary Computation.
[15] Dorigo, M., Maniezzo, V., &Colorni, A. (1996). Any System: Optimization by a colony of
cooperating agents. IEEE Trans Syst Man Cybernet Part B.
[16] Doringo, M., & Gambardella, L. M. (1997). A cooperative learninig approach to the traveling
salesman problem.IEEE Transactions on Evolutionary Computation.
[17] Bullnheimer, B., Hartl, R., & Strauss, C. (1999). A new rank-based version of the Ant System: A
computational study. Central European J Operations Res Econom.
[18] Blum, C., &Dorigo, M. (2004). The hyper-cube framework for ant colony optimization. IEEE Trans
Syst Man Cybernet Part B, 34(2), 1161-1172.
[19] M. Dorigo and T. Stützle.Ant Colony Optimization.MIT Press, Cambridge, MA, 2004.
AUTHORS
Dr. Tad Gonsalvesobtained the BS degree in theoretical Physics and the MS degree in Astrophysics from
the Pune University. He obtained the PhD in Systems Engineering from Sophia University, Tokyo, Japan.
Currently he is an Assistant Professor in the Department of Information and Communication Sciences,
Faculty of Science & Technology in the same university. His research interests include design of Expert
Systems, Evolutionary Algorithms, Machine Learning and Parallel Programming.
TakafumiShiozakiis an under-graduate student is the Department of Information and Communication
Sciences, Faculty of Science & Technology, Sophia University, Tokyo, Japan. His research is on the
application of the Evolutionary Algorithms to diverse real-world problems.

More Related Content

PDF
Solving capacity problems as asymmetric
PDF
Mobile robot path planning using ant colony optimization
PPTX
Presentation of GreenYourMove's hybrid approach in the 3rd Conference on Sust...
PDF
Platforming_Automated_And_Quickly_Beamer
PPTX
Trajectory Planning Through Polynomial Equation
PDF
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
PDF
710201909
PDF
TRBAM2020 Public Transit posters - University of Twente.
Solving capacity problems as asymmetric
Mobile robot path planning using ant colony optimization
Presentation of GreenYourMove's hybrid approach in the 3rd Conference on Sust...
Platforming_Automated_And_Quickly_Beamer
Trajectory Planning Through Polynomial Equation
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
710201909
TRBAM2020 Public Transit posters - University of Twente.

What's hot (18)

PDF
path planning for nedocio
PDF
International Journal of Computational Engineering Research(IJCER)
PDF
IRJET- Design and Development of Traffic Flow Prediction System for Efficient...
PPTX
1907555 ant colony optimization for simulated dynamic multi-objective railway...
PPTX
Fuzzy power point 1
PDF
Iaetsd modified artificial potential fields algorithm for mobile robot path ...
PDF
Conflict-free dynamic route multi-agv using dijkstra Floyd-warshall hybrid a...
PDF
Central moments of traffic delay at a signalized intersection
PDF
An Offline Hybrid IGP/MPLS Traffic Engineering Approach under LSP Constraints
PDF
40220130405004
PDF
Cooperative Traffic Control based on the Artificial Bee Colony
PDF
Realtimeoptimized trafficmanagement
PPS
Routes optimization
PDF
Enhancing three variants of harmony search algorithm for continuous optimizat...
PDF
Car Dynamics using Quarter Model and Passive Suspension, Part II: A Novel Sim...
PPTX
Comp prese (1)
PDF
Simulation of UC's North Route Shuttle
PDF
Vehicle route scheduling and transportation cost minimization in a latex indu...
path planning for nedocio
International Journal of Computational Engineering Research(IJCER)
IRJET- Design and Development of Traffic Flow Prediction System for Efficient...
1907555 ant colony optimization for simulated dynamic multi-objective railway...
Fuzzy power point 1
Iaetsd modified artificial potential fields algorithm for mobile robot path ...
Conflict-free dynamic route multi-agv using dijkstra Floyd-warshall hybrid a...
Central moments of traffic delay at a signalized intersection
An Offline Hybrid IGP/MPLS Traffic Engineering Approach under LSP Constraints
40220130405004
Cooperative Traffic Control based on the Artificial Bee Colony
Realtimeoptimized trafficmanagement
Routes optimization
Enhancing three variants of harmony search algorithm for continuous optimizat...
Car Dynamics using Quarter Model and Passive Suspension, Part II: A Novel Sim...
Comp prese (1)
Simulation of UC's North Route Shuttle
Vehicle route scheduling and transportation cost minimization in a latex indu...
Ad

Viewers also liked (20)

PDF
Multiclass Recognition with Multiple Feature Trees
PDF
Image Retrieval Using VLAD with Multiple Features
PDF
Critical Success Factors (CSFS) of Enterprise Resource Planning (ERP) System ...
PDF
Developing an arabic plagiarism detection corpus
PDF
Alamouti ofdm
PDF
Highly accurate log skew normal
PDF
Feature selection a novel
PDF
Quality assessment for online iris
PDF
Analysis of computational
PDF
Enterprise data protection meeting
PDF
3 d vision based dietary inspection for the central kitchen automation
PPT
Cacita
PPT
Circuito Turístico
PDF
PPT
A colonização do brasil
DOC
Prueba de C.del Medio CuartoBásico
PDF
Presentacion pliegos hospital vigo
PPT
A república da espada
PDF
Junta ubuntera CL 2007
Multiclass Recognition with Multiple Feature Trees
Image Retrieval Using VLAD with Multiple Features
Critical Success Factors (CSFS) of Enterprise Resource Planning (ERP) System ...
Developing an arabic plagiarism detection corpus
Alamouti ofdm
Highly accurate log skew normal
Feature selection a novel
Quality assessment for online iris
Analysis of computational
Enterprise data protection meeting
3 d vision based dietary inspection for the central kitchen automation
Cacita
Circuito Turístico
A colonização do brasil
Prueba de C.del Medio CuartoBásico
Presentacion pliegos hospital vigo
A república da espada
Junta ubuntera CL 2007
Ad

Similar to tAnt colony optimization for (20)

PDF
An improved ant colony algorithm based on
PPTX
Solving TSP using Hybrid GACO
PDF
A Survey of Solving Travelling Salesman Problem using Ant Colony Optimization
PDF
Solving real world delivery problem using improved max-min ant system with lo...
PDF
Algorithms And Optimization Techniques For Solving TSP
PDF
A hybrid optimization algorithm based on genetic algorithm and ant colony opt...
PDF
Route optimization via improved ant colony algorithm with graph network
PDF
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
PDF
K046036367
PDF
A Real Time Framework of Multiobjective Genetic Algorithm for Routing in Mobi...
PDF
PPT
53564379-Ant-Colony-Optimization.ppt
PPTX
Ant colony optimization
PDF
Traveling Salesman Problem Federico Greco
PDF
antcolonyoptimization-130619020831-phpapp01.pdf
PDF
Accelerating the ant colony optimization by
PDF
The Traveling Salesman Problem: A Neural Network Perspective
PDF
Swarm Intelligence Technique ACO and Traveling Salesman Problem
PDF
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
PPT
香港六合彩-六合彩
An improved ant colony algorithm based on
Solving TSP using Hybrid GACO
A Survey of Solving Travelling Salesman Problem using Ant Colony Optimization
Solving real world delivery problem using improved max-min ant system with lo...
Algorithms And Optimization Techniques For Solving TSP
A hybrid optimization algorithm based on genetic algorithm and ant colony opt...
Route optimization via improved ant colony algorithm with graph network
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
K046036367
A Real Time Framework of Multiobjective Genetic Algorithm for Routing in Mobi...
53564379-Ant-Colony-Optimization.ppt
Ant colony optimization
Traveling Salesman Problem Federico Greco
antcolonyoptimization-130619020831-phpapp01.pdf
Accelerating the ant colony optimization by
The Traveling Salesman Problem: A Neural Network Perspective
Swarm Intelligence Technique ACO and Traveling Salesman Problem
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
香港六合彩-六合彩

Recently uploaded (20)

PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Encapsulation theory and applications.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Approach and Philosophy of On baking technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
Empathic Computing: Creating Shared Understanding
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
MYSQL Presentation for SQL database connectivity
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Big Data Technologies - Introduction.pptx
Encapsulation theory and applications.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Dropbox Q2 2025 Financial Results & Investor Presentation
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The AUB Centre for AI in Media Proposal.docx
Approach and Philosophy of On baking technology
Machine learning based COVID-19 study performance prediction
Empathic Computing: Creating Shared Understanding
The Rise and Fall of 3GPP – Time for a Sabbatical?
Unlocking AI with Model Context Protocol (MCP)
MYSQL Presentation for SQL database connectivity
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Chapter 3 Spatial Domain Image Processing.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Per capita expenditure prediction using model stacking based on satellite ima...

tAnt colony optimization for

  • 1. David C. Wyld et al. (Eds) : ITCS, CST, JSE, SIP, ARIA, DMS - 2015 pp. 157–164, 2015. © CS & IT-CSCP 2015 DOI : 10.5121/csit.2015.50116 ANT COLONY OPTIMIZATION FOR CAPACITY PROBLEMS Tad Gonsalves and TakafumiShiozaki Department of Information and Communication Sciences, Faculty of Science & Technology, Sophia University, Tokyo, Japan tad-gonsal@sophia.jp, zakishio814@gmail.com ABSTRACT This paper deals with the optimization of the capacity of a terminal railway station using the Ant Colony Optimization algorithm. The capacity of the terminal station is defined as the number of trains that depart from the station in unit interval of time. The railway capacity optimization problem is framed as a typical symmetrical Travelling Salesman Problem (TSP), with the TSP nodes representing the train arrival /departure events and the TSP total cost representing the total time-interval of the schedule. The application problem is then optimized using the ACO algorithm. The simulation experiments validate the formulation of the railway capacity problem as a TSP and the ACO algorithm produces optimal solutions superior to those produced by the domain experts. KEYWORDS Travelling Salesman Problem, Ant Colony Optimization, Capacity Problems, Meta-heuristic Optimization, Soft Computing. 1. INTRODUCTION This study focuses on the simulation optimization of rail capacity, a prominent application problem in the transportation domain. Zhu [1] defines the railway capacity as the maximum number or pair of trains with standard load passing by a fixed equipment in unit time (usually one day) on the basis of the given type of locomotives and vehicles. It usually depends on the condition of the fixed equipment as well as the organization of the train operation. According to the European Community directives [2], the provision, maintenance and marketing of the railway track capacities should be separated from the operation of trains. This would imply a separation of the management of the railway infrastructure from the management of the railway operation. With this in mind, we frame the aim of this study as: the optimization of rail capacity by managing the train operation, given a fixed railway network and equipment infrastructure. In particular, we focus on the capacity of a terminal station, i.e., the number of trains departing from the terminal station in unit time. The problem basically boils down to constructing an optimal schedule of the passenger trains so as to maximize the terminal station capacity. However, owing to the multiple decision variables, the problem becomes a typical combinatorial optimization problem which cannot be solved using the conventional optimization algorithms.
  • 2. 158 Computer Science & Information Technology (CS & IT) In order to solve the combinatorial optimization problem, we first cast it in the form of a Travelling Salesman Problem and use some of the soft–computing techniques to find the optimal solution. Although the TSP has applications in practical problems like Vehicle Routing, Job Sequencing, Computer Wiring, etc. [3], it is known to be NP hard. Since brute force approach is an infeasible option, heuristics approach can be fairly relied upon to solve thesetypes of problems since heuristics approach utilizes much less computing power. Some of the conventional heuristic techniques designed to solve the TSP include branch and cut [4], dynamic programming [5], regression analysis [6], exact methods [7], etc. Recently many meta-heuristic algorithms (i.e. heuristics that do not depend on the domain knowledge of the problem) are successfully employed to search for the optimal TSP solution. The Genetic Algorithm (GA) based on the Darwinian theory of natural selection and its variants are reported to be successful in finding the optimal solutions to the benchmark TSP problems in a reasonable amount of computing time [8- 11]. In some studies, the Genetic Algorithm is combined with other meta-heuristic optimization algorithms to improve the optimization results [12]. However, the most successful soft computing algorithm to obtain the optimal solution of the TSP is the Ant Colony Optimization (ACO) algorithm. The development of the ACO algorithm has been inspired by the foraging behaviour of some ant species. These ants deposit pheromone on the ground in order to mark some favourable path that should be followed by other members of the colony. The ACO algorithm exploits a similar mechanism for solving optimization problems [13-19]. From the early nineties, when the first ACO algorithm was proposed, it has attracted the attention of an increasing numbers of researchers and it has been extended to many successful applications. In this study, the railway capacity optimization problem is cast in the form of a TSP. The arrival/departure events in the schedule are treated as nodes which need to be ordered under the given scheduling constraints so as to minimize the entire schedule time. Some of the other constraints are imposed by the track-changing hardware equipment. The time between two events is considered to be the distance between two TSP edges and the train operation schedule is considered to be the tour length of the TSP. The standard ACO application to this problem yields an optimal schedule, under the given infrastructure and operational constraints. This paper is organized as follows: Section 2 describes the TSP and ACO. Section 3 describes the formulation of the railway capacity optimization problem (RCP) as the TSP and its solution using the standard ACO algorithm. Section 4 presents the simulation optimization results and section 5 concludes the paper. 2. TSP AND ACO In this section, we introduce the Travelling Salesman Problem and the Ant Colony Optimization algorithm. We show how the Ant Colony Optimization algorithm is designed to solve the Travelling Salesman Problem. 2.1. Travelling Salesman Problem (TSP) The Travelling Salesman Problem (TSP) is a classic problem in computer science which may be stated as follows: Given a list of cities and their pairwise distances, the task is to find the
  • 3. Computer Science & Information Technology (CS & IT) 159 Figure 1. Three feasible routes of a 6-node TSP shortest possible route that visits each city exactly once and then return to the original city. If n is the number of cities to be visited, the total number of possible routes covering all cities, Snis given by: Sn= (n-1)!/2 (1) A naive solution solves the problem in O(n!) time, simply by checking all possible routes, and selecting the shortest one. A more efficient dynamic programming approach yields a solution in O(n22n) time [3]. The TSP is proved to be NP-hard and various Operation Research (OR) solution techniques have been proposed, yielding varying degrees of success [4-7]. The Ant Colony Optimization, described in the following sub-section is a novel soft computing algorithm developed to tackle combinatorial optimization problems. 2.2. Ant Colony Optimization CO The Ant Colony Optimization (ACO) which is based on the foraging behaviour of ants was first proposed by Dorigo [13]. 1 Initialize parameters and solutions 2 While the termination criterion is not met 3 Evaluate solutions 4 Update pheromone 5 Construct new solutions 6 End 7 Output the optimum solution Figure 2. The ACO algorithm A generic ACO algorithm is shown in Figure. 2. In step 1, the algorithm parameters are initialized and all the artificial ants (random solutions) are generated. The loop from lines 2 through 6 is repeated until the termination condition is met. The steps inside the loop consist of evaluating the solutions, updating the pheromones and constructing new solutions from the previous solutions. The two main steps inside the loop are further described below. Solution construction Ant k on node i selects node j, based on the probability, pij, given by:
  • 4. 160 Computer Science & Information Technology (CS & IT) where denotes the set of candidate sub-solutions; τij and ηij denote, respectively, the pheromone value and the heuristic value associated with eij. Updating the pheromone The pheromone update operator employed for updating the pheromone value of each edge eijis defined as Where Lkdenotes the quality of the solution created by ant k; denotes the evaporation rate. 3. CAPACITY PROBLEM AS TSP This section describes in detail the railway capacity problem to be optimized. It explains the optimization constraints, the framing of the railway capacity problem as a typical TSP and finally the solution process by using the standard ACO algorithm. 3.1. Capacity Problem When dealing with the railway capacity problem, the railway management has to consider the different types of capacities in the railway domain. Some of the relevant capacities, for instance, are: (1) the capacity of the platform to hold passengers, (2) the capacity of the carriages to hold passengers, (3) the rail network capacity to hold the number of trains at a given time, and (4) the capacity of the railway station structure to schedule the maximum number of trains per unit time. Dealing with all these types of capacities simultaneously is a complex problem. This study is dedicated to the maximization of only the type 4 railway capacity, i.e., maximization of the number of trains that can be scheduled at a railway station per unit time. The type 4 rail capacity optimization in turn leads to optimization of the royalties and alleviation of the congestion problem during rush hours.
  • 5. Computer Science & Information Technology (CS & IT) 161 3.2. Capacity problem as TSP In the generalized form of the TSP, the cities are represented as nodes (Figure 3a). The task is then finding the shortest route, starting from a given node and visiting each node in the network exactly once before returning to the starting node. In the Railway Capacity Optimization (RCP) problem, the arrival/departure events (Figure 3b) in the schedule are treated as nodes which need to be ordered under the given scheduling constraints so as to minimize the entire schedule time. Figure 3a.The TSP nodes (cities) Figure 3b. The RCP nodes (events) 3.3. Structure constraints In this study, we consider a railway terminal station with four railroads, each with an attached platform. The trains can arrive at the terminal and leave the terminal via any of these four railroads. There are five train services, namely, S55, S5, L7, S2 and S1 and the railroad access constraints are given in Table 1. Figure 4. The platforms in the terminal station .
  • 6. 162 Computer Science & Information Technology (CS & IT) Table 1. Given parameters of the train capacity problem 4. OPTIMIZATION RESULTS The aim of the simulation experiments using the ACO algorithm is to maximize the number of trains leaving the terminal station in an hour. However, to reduce the calculation load, we divide the hourly interval into 5 equal intervals, each being of 720 seconds (12 minutes) duration. The assumption here is that the train schedule is periodic. The same period can then be stretched over an hour. In Table 3, the final capacity of the terminal station is calculated by using the following formula: where, T is the total time for the entire schedule covering a period of 720 seconds. The minimum time for the entire schedule over a period of 720 seconds is found to be 555 seconds and correspondingly the maximum capacity is 38.9 trains/hour We conducted several experiments by varying the and parameters of the ACO algorithm. Some of the optimal results obtained by these tuned parameters are shown in Table 4. Another important parameter that needs an empirical tuning is the population size of the agents, N. Table 5 shows the results obtained by varying this number. As expected, the larger the population size, the better the results are, although this increases the computational overhead. Table 2. Varying the population size of the ACO agents
  • 7. Computer Science & Information Technology (CS & IT) 163 5. CONCLUSIONS The Ant Colony Optimization soft computing algorithm is apt for solving combinatorial optimization problems like the classical NP-hard Travelling Salesman Problem. Basing the search on the stigmery of the food foraging real-life ant colony, the algorithm explores the huge search space of the NP-hard problems to find the optimal solution. In this study, the authors have applied the ACO algorithm to optimize the capacity of a terminal railway station. The capacity optimization problem is cast into the form of a TSP-like problem, where the arrival and departure events of the trains are considered to be the nodes and the schedule length as the TSP total route. The standard ACO optimizes the schedule length subject to the infrastructure and operational constraints. The simulation experiments validate the formulation of the railway capacity problem as a TSP. The optimal solutions obtained by the soft-computing technique is superior to those produced by the domain experts. REFERENCES [1] Xiaoning Zhu, “Computer-based simulation analysis of railway carrying capacity utilization”, Proceedings of the International Conferences on Info-tech and Info-net, ICII2001, Beijing, 2001, vol.4, pp.107-112. [2] Kuckelberg, A., “Component based system architecture for railway capacity management systems”, Proceedings of the Fourth International Conference on Quality Software, QSIC 2004., pp.189-196. [3] Rajesh Matai, Surya Singh and Murari Lai Mittal (2010). Traveling Salesman Problem: an Overview of Applications, Formulations, and Solution Approaches, Traveling Salesman Problem, Theory and Applications, Donald Davendra (Ed.), pp. 1-24. [4] Sarubbi, J.; Miranda, G.; Luna, H.P.; Mateus, G., “A Cut-and-Branch algorithm for the Multicommodity Traveling Salesman Problem,” IEEE International Conference on ,Service Operations and Logistics, and Informatics, IEEE/SOLI 2008, vol.2, pp.1806-1811. [5] Jellouli, O., “Intelligent dynamic programming for the generalised travelling salesman problem,” 2001, IEEE International Conference on Systems, Man, and Cybernetics, 2001, vol.4, pp.2765-2768. [6] Shut, V., Prozherin, I., “A solution of travelling salesman problem by a method of correlative- regression analysis,” Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications, International Workshop on, 2001, pp.267-269. [7] Woeginger, G.J. (2003), “Exact Algorithms for NP-Hard Problems: A Survey”, Combinatorial Optimization – Eureka, You Shrink! Lecture notes in computer science, vol. 2570, Springer, pp. 185– 207. [8] Pullan, W., “Adapting the genetic algorithm to the travelling salesman problem,” The 2003 Congress on Evolutionary Computation, CEC '03, 2003, vol.2, pp.1029-1035. [9] FatihTasgetiren, M.; Suganthan, P.N.; Quan-ke Pan; Yun-Chia Liang, “A genetic algorithm for the generalized traveling salesman problem,” IEEE Congress on Evolutionary Computation, CEC 2007, 2007, pp.2382-2389. [10] Geetha, R.R., Bouvanasilan, N., Seenuvasan, V., “A perspective view on Travelling Salesman Problem using genetic algorithm,” World Congress on Nature & Biologically Inspired Computing, NaBIC 2009, 2009, pp.356-361. [11] Mudaliar, D.N., Modi, N.K., “Unraveling Travelling Salesman Problem by genetic algorithm using m-crossover operator,” International Conference on Signal Processing Image Processing & Pattern Recognition (ICSIPR), 2013, pp.127-130. [12] Chen, S.M., &Chien, C.Y. (2011). Solving the traveling salesman problem based on the genetic simulated annealing ant colony system with particle swarm optimization techniques. Expert Systems with Applications, vol. 38, pp. 14439-14450. [13] Dorigo, M. (1992). Optimization, learning and natural algorithms.Politecnico di Milano, Italy: Ph.D. Thesis.
  • 8. 164 Computer Science & Information Technology (CS & IT) [14] Dorigo, M., & Caro, D. G. (1999). Ant colony optimization: a new meta-heuristic (vol. 2). Proceeding of the 1999 Congress on Evolutionary Computation. [15] Dorigo, M., Maniezzo, V., &Colorni, A. (1996). Any System: Optimization by a colony of cooperating agents. IEEE Trans Syst Man Cybernet Part B. [16] Doringo, M., & Gambardella, L. M. (1997). A cooperative learninig approach to the traveling salesman problem.IEEE Transactions on Evolutionary Computation. [17] Bullnheimer, B., Hartl, R., & Strauss, C. (1999). A new rank-based version of the Ant System: A computational study. Central European J Operations Res Econom. [18] Blum, C., &Dorigo, M. (2004). The hyper-cube framework for ant colony optimization. IEEE Trans Syst Man Cybernet Part B, 34(2), 1161-1172. [19] M. Dorigo and T. Stützle.Ant Colony Optimization.MIT Press, Cambridge, MA, 2004. AUTHORS Dr. Tad Gonsalvesobtained the BS degree in theoretical Physics and the MS degree in Astrophysics from the Pune University. He obtained the PhD in Systems Engineering from Sophia University, Tokyo, Japan. Currently he is an Assistant Professor in the Department of Information and Communication Sciences, Faculty of Science & Technology in the same university. His research interests include design of Expert Systems, Evolutionary Algorithms, Machine Learning and Parallel Programming. TakafumiShiozakiis an under-graduate student is the Department of Information and Communication Sciences, Faculty of Science & Technology, Sophia University, Tokyo, Japan. His research is on the application of the Evolutionary Algorithms to diverse real-world problems.