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

What's hot (18)

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

Viewers also liked (20)

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

Similar to tAnt colony optimization for (20)

PDF
An improved ant colony algorithm based on
IJCI JOURNAL
 
PPTX
Solving TSP using Hybrid GACO
Shruti Gandhi
 
PDF
A Survey of Solving Travelling Salesman Problem using Ant Colony Optimization
IRJET Journal
 
PDF
Solving real world delivery problem using improved max-min ant system with lo...
ijaia
 
PDF
Algorithms And Optimization Techniques For Solving TSP
Carrie Romero
 
PDF
A hybrid optimization algorithm based on genetic algorithm and ant colony opt...
ijaia
 
PDF
Route optimization via improved ant colony algorithm with graph network
International Journal of Reconfigurable and Embedded Systems
 
PDF
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
csandit
 
PDF
K046036367
IJERA Editor
 
PDF
A Real Time Framework of Multiobjective Genetic Algorithm for Routing in Mobi...
IDES Editor
 
PDF
paper
Hari Krishnan
 
PPT
53564379-Ant-Colony-Optimization.ppt
AhmedSalimJAlJawadi
 
PPTX
Ant colony optimization
Joy Dutta
 
PDF
Traveling Salesman Problem Federico Greco
zotteltambik
 
PDF
antcolonyoptimization-130619020831-phpapp01.pdf
nrusinhapadhi
 
PDF
Accelerating the ant colony optimization by
ijcsa
 
PDF
The Traveling Salesman Problem: A Neural Network Perspective
mustafa sarac
 
PDF
Swarm Intelligence Technique ACO and Traveling Salesman Problem
IRJET Journal
 
PDF
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
April Smith
 
PPT
香港六合彩-六合彩
vfnvtd
 
An improved ant colony algorithm based on
IJCI JOURNAL
 
Solving TSP using Hybrid GACO
Shruti Gandhi
 
A Survey of Solving Travelling Salesman Problem using Ant Colony Optimization
IRJET Journal
 
Solving real world delivery problem using improved max-min ant system with lo...
ijaia
 
Algorithms And Optimization Techniques For Solving TSP
Carrie Romero
 
A hybrid optimization algorithm based on genetic algorithm and ant colony opt...
ijaia
 
Route optimization via improved ant colony algorithm with graph network
International Journal of Reconfigurable and Embedded Systems
 
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
csandit
 
K046036367
IJERA Editor
 
A Real Time Framework of Multiobjective Genetic Algorithm for Routing in Mobi...
IDES Editor
 
53564379-Ant-Colony-Optimization.ppt
AhmedSalimJAlJawadi
 
Ant colony optimization
Joy Dutta
 
Traveling Salesman Problem Federico Greco
zotteltambik
 
antcolonyoptimization-130619020831-phpapp01.pdf
nrusinhapadhi
 
Accelerating the ant colony optimization by
ijcsa
 
The Traveling Salesman Problem: A Neural Network Perspective
mustafa sarac
 
Swarm Intelligence Technique ACO and Traveling Salesman Problem
IRJET Journal
 
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
April Smith
 
香港六合彩-六合彩
vfnvtd
 
Ad

Recently uploaded (20)

PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 

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 [email protected], [email protected] 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.