International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015
DOI:10.5121/ijcsit.2015.7106 59
IMPROVING INITIAL GENERATIONS IN PSO
ALGORITHM FOR TRANSPORTATION NETWORK
DESIGN PROBLEM
Navid Afkar and Abbas Babazadeh
Department of Civil Engineering, University of Tehran, Tehran, Iran
ABSTRACT
Transportation Network Design Problem (TNDP) aims to select the best project sets among a number of
new projects. Recently, metaheuristic methods are applied to solve TNDP in the sense of finding better
solutions sooner. PSO as a metaheuristic method is based on stochastic optimization and is a parallel
revolutionary computation technique. The PSO system initializes with a number of random solutions and
seeks for optimal solution by improving generations. This paper studies the behavior of PSO on account of
improving initial generation and fitness value domain to find better solutions in comparison with previous
attempts.
KEYWORDS
Transportation; Network Design; optimization; Particle Swarm; roulette cycle; initial value
1. INTRODUCTION
In transportation planning, Transportation Network Design Problem (TNDP) is a substantial area
in which specific objectives are minimized through selection among a given set of projects under
constraints (1). Solving TNDP requires too much time. Various approaches have been taken to
solve TNDP (1,2,3). One of the typical methods to solve TNDP are Meta-Heuristic algorithms
(such as Genetic Algorithm). Particle Swarm optimization (PSO) is a Meta-Heuristic algorithm
that has shown good performance to solve TNDP.
In this paper, particle swarm optimization (PSO) algorithm developed with some variations or
added methods is presented to solve the TNDP (4,5). The results of each method are compared
together and with Original PSO method. The remainder of the paper is organized as follows. The
next section is devoted to define the TNDP mathematically. In the following sections, the PSO is
described in details, and then applied to the TNDP. After that Binary Sorting, Binary Count, and
Roulette methods are defined and used to enhance the efficiency of PSO for solving the TNDP on
the Sioux Falls network. The results are obtained by a computer program in VISUAL BASIC 6.0
on a laptop with Intel core 2 due 2.4 GHz processor. In this program, each algorithm is terminated
after a fixed number of 1000 iterations. Due to the stochastic nature of PSO, the algorithms have
been solved 50 times and the results are based on the average values of the 50 runs.
Computational results and figures are reported in the final section.
International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015
60
2. TNDP
Let ),( AVG  be a graph representing a transportation network with node set V and arc set A,
and define }:),{( srVVsrP  as the set of origin-destination (OD) pairs. For each OD
pair Psr ),( , there is a nonnegative flow rate (travel demand) from r to s, denoted by rsd . In
order to simplify the presentation, suppose that G is strongly connected, that is each node j can
be reached from every other node i by following a directed path in G , and let rsK be the non-
empty set of paths from the origin r to the destination s.
Define Ā	(Ā ≠ ) as the set of project arcs, and let the decision vector be y = ( ) ∈Ā with
being the binary project decision variable, taking values 0 or 1 depending on rejection or
acceptance of any project ∈ Ā . For a given vector y, define the decision network G( ) =
( , ( )) with A(y) = A∪ { ∈ 	Ā ∶	 = 1} as the set of arcs followed by decision y, and for
each (r, s) ∈ denote by ( ) the set of paths joining r to s in	G( ). For each path k ∈ ( )
let be the flow of path k from origin r to destination s. Moreover, let equals 1 if arc a
∈ ( ) lies on path k, and 0 otherwise.
Assume further that each arc a ∈ ∪ Ā has a node creasing and continuously differentiable
travel time function ( ):[0, ∞) → [0, ∞) with being the flow rate assigned to arc a. Then,
letting 	be the construction cost of project arc a	∈ 	Ā	, and considering the total construction
cost being limited to the level of Budget B, the TNDP can be illustrated with upper level problem,
ULP:
[ULP] 			 T(y) = ∑ (	∈ ( ) )
s.t. ∑ ( )	∈	Ā
=0 or 1 ∀a ∈ 	Ā
X(y) is a solution of [LLP(y)]
Where x(y) = ( ) 	∈ ( ) is the user equilibrium flow in the decision network G(y), given as
the solution of the lower level (traffic assignment) problem, LLP(y), for given y:
[LLP(y)] Min ∑ ∫ ( )∈ ( )
s.t. ∑ ∈ ( ) = ∀( , ) ∈
≥ 0 ∀	 	 ∈	 ( ), ∀	( , ) ∈
=	∑ ∑ ∈( , )∈ ∀	 	 ∈ ( )
This is a well-known bi-level programming problem, where the [ULP] seeks a decision vector
y for minimizing the total travel time T(y) of the (assigned) traveler, and the [LLP(y)] is the traffic
assignment model which estimates the traveler flows, given the decision y (6,7,8).
3. PARTICLE SWARM OPTIMIZATION
Particle Swarm Optimization (PSO) is a meta-heuristic optimization approach which has been
widely applied to various problems (4). PSO technique that was developed by Kennedy and
International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015
61
Eberhart is originated from the behavior of birds ’flocks in which individuals convey information
between themselves and the leader in order to seek the best direction to food (9, 10).
In a problem space, each particle has a position and a velocity and it moves in the search space
with the velocity according to its own previous best position and the group’s previous best
position. The dimension of the search space can be any positive number. Considering D as the
dimension of the search space, the ith
particle’s position and velocity are represented as
  1,...,i ij j D
P p

 and   1,...,i ij j D
V v

 respectively. Each particle maintains its own best position so
far achieved as  * *
1,...,i ij j D
P p

 and the global best position so far recorded by the population as
 * *
1,...,g gj j D
P p

 .
During the iteration time t, the velocity of the jth
dimension of each particle i is updated by:
* *
1 1 2 2( 1) ( ) ( ( ) ( )) ( ( ) ( ))ij ij ij ij gj ijv t wv t c r p t p t c r p t p t      Where w is called as the
inertia weight, 1c and 2c are constant values and 1r , 2r are random numbers in the interval 0,1 .
The current position of each particle is then defined by the sum of its current velocity and its
previous position (11,12,13).
( 1) ( ) ( 1)ij ij ijp t p t v t   
In order to avoid the particles from moving out of the search space, the maximum velocity during
the iterations is restricted by maxv . As proposed by Hong Zhang, et al 2005, the maximum velocity
( maxv ) is set to maxx . This results in moving more effectively in the search space and accordingly
better algorithm performance.
4. ADAPTING THE PSO TO THE TNDP
Employing the PSO for solving TNDP needs some modifications to the algorithm given in the
previous section. First, the PSO is basically developed for continuous optimization problems(14).
This is while the TNDP is formulated as a combinatorial optimization problem in terms of
variables y denoted as A -bit binary strings. To adapt the algorithm for this combinatorial
nature, one may provide some mapping from the one-dimensional real-valued space to the A -
dimensional binary space. This is done here by transforming each real number ip to its nearest
integer in 0 , 2 1
A 
  
, and then transforming the resulting integer in to the base-2 number
system as an A -bit binary code. To facilitate the presentation, the latter transformation is
illustrated by the function  ( ) : 0 , 2 1 0 ,1 .
A A
iy p Z   
  
The PSO must also be adapted for budget constraint embedded in the [ULP](15).
International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015
62
5. PSO ALGORITHM
Step 1. Initialization
Select the particle swarm size n, the parameters 1c and 2c , the value of the inertia weight w, and
the maximum velocity maxv .
For i 1 to n do: initialize the decision variable ip so that Bpyc iaaAa
 
)( ; set
and 0iv .
Set ))(..,.),((minarg 1 ng pfpfp 
. Set the iteration counter 0t .
Step 2. Updating each particle's position and velocity
For i 1 to n do: generate random numbers 1r and 2r in [0, 1]; update
)()( 2211 igiiii pprcpprcwvv  
; clamp in iv between the range ],[ maxmax vv as
)|,min(|)sign( maxvvvv iii  ; update iii vpp  ; transform ip to its nearest integer in
12,0[ ||
A
].
Step 3. Calculating each particle's fitness value
For i 1 to n do: set )( ipyy  ; if Byc aaAa
 
then set Mpf i )( (large fitness value);
else, solve the user equilibrium problem [LLP ( y )] to compute )(yT , and set )()( yTpf i  .
Step 4. Updating local bests and global best
For i 1 to n do: update ))(),((minarg iii pfpfp 
 .
Update ))(..,.),(),((minarg 1 ngg pfpfpfp 
 .
Step 5. End criterion.
Set 1 tt . If end criterion is not met, go to Step 2. Otherwise, )( 
 gpyy is the best solution
found so far with the objective function value )()( 
 gpfyT Collect the necessary information
and stop.
6. SIOUX FALLS NETWORK
The Sioux Falls network has 24 nodes and 76 arcs, as shown in Fig. 1. The parameters of the
travel time function
4
)( aaaaa xxt   for each arc a, and the OD (origin/destination)
demands are basically those given in Poorzahedy and Turnquist (1982), and LeBlanc (1975), and
are eliminated here for brevity(16).
There are 10 pairs of project arcs )10|(| A , of which 5 projects are improvement on existing arcs,
and 5 are new arcs. The construction costs of the projects 1-10 are, respectively, 625, 650, 850,
1000, 1200, 1500, 1650, 1800, 1950, and 2100 units of money (Poorzahedy and Abulghasemi
2005). Considering 10 projects, there are )1024(210
 alternative networks. A complete
enumeration was used to compute the optimal solution of the TNDP for any given budget level
for checking purposes (Poorzahedy and Abulghasemi 2005; Poorzahedy and Rouhani 2007).
ii pp 
International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015
63
7. BINARY SORTING (BS)
Binary Sorting is a type of mapping the objective function value domain from
:[0 ,2 1]n
ix Z  to :[0 ,2 1]n
mp Z  . This results in a more effective sorting on the
function domain and puts the decision variables with the same number of projects beside each
other, therefore the PSO algorithm searches with more intelligence toward the optimum solution.
The algorithm is expressed below:
Let iB be the binary value of :[0 ,2 1]n
ix Z  in base-2 number system then count the iB
number of digits and put them into iC .
m=1
for d=0 to n
for i=0 to 2n
-1
if > −1 then
if iC =d then
m ip x
1ix  
m = m+1
End if
End if
Next i
Next d
8. BINARY COUNT (BC)
Binary Count is an initialization strategy which is defined for this specific problem. The idea
comes from choosing more particles which are near to the budget level. The algorithm is outlined
below.
For d=0 to n
For i=0 to 2n
-1
If Ci=d then count (d) =count (d) + 1
Next i
Next d
Assume b/c
all=int(b/c * n)+1
For i=0 to all
numb(i)=i / ∑ * n
sum numb= numb(i)+sumnumb
Next i
m=1
for i=1 to all
for d=1 to numb(i)
Select a particle that has i binary digit
Next d
Next i
Do while sum numb(i) < n
International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015
64
Select a particle that has at most all binary digits
Loop
9. ROULETTE WHEEL SELECTION (ALGORITHM)
It is the most common selection strategy. It will assign to each individual a selection probability
that is proportional to its relative fitness. Let be the fitness of the individual in the population
P. Its probability to be selected is = / (∑ ).Suppose a pie graph where each individual is
assigned a space on the graph that is proportional to its fitness. An outer roulette wheel is placed
around the pie. The selection of μ individuals is performed by μ independent spins of the roulette
wheel. Each spin will select a single individual. Better individuals have more space, and then
more chance to be chosen. Moreover, when all individuals are equally fit, this selection strategy
does not introduce a sufficient pressure to select the best individuals. This method is applied on
the initialization step of the PSO algorithm to improve its initial generation and the combined
algorithm is named as Roulette in the following discussions.
10. COMPUTATIONAL RESULTS
In this study, the algorithms comprised of the above strategies are compared from various
perspectives. First, Average Objective Function Value (OFV) related to the initial generation of
each algorithm is shown in figure 2. According to this figure, Roulette and Roulette-BS (Binary
Sorting) generate better initial particles than the other methods.
In figure 3, BC method shows a good convergence performance concerning its decreasing
behavior despite of the relative large quantity of the initial average OFV and after 70 iterations
average OFV of BC method gets very close to average OFV of the Roulette-BS. Still, it is
obvious that the Roulette-BS method shows the best performance based on initialization and
convergence capability and its graph stands under the others in figure 3.
To perceive the effectiveness of Binary Sorting, Random and Random-BS methods are compared
with each other. The Random-BS method has more decreasing behavior than the Random method
and shows more convergence to the optimum solutions in the last iterations. So we can figure out
that the BS method makes an improvement on the PSO algorithm which is adapted to the TNDP.
Figure 4 depicts the frequency of finding the optimal solution in iterations for each method. It is
clear that each algorithm graph that stands upper than the other graphs is more powerful to find
the optimum solution. Comparison of these methods proves that the Roulette and Random
methods have less capability than the other three methods which have used binary sorting to find
the optimum solution.
The average Number of Traffic Assignment Problem Solved (NTAPS) of each method is shown
in figure 5. All of the graphs are showing decreasing behavior. This fact proves that all methods
are trying to decrease the NTAPS. As the results show, Roulette and Random graphs stand upper
than others after 50 iterations.
Figure 6 displays initialization time and PSO algorithm time usage in each method. Initialization
time of BC method is shorter than the other methods. It’s obvious that initialization time for BC
International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015
65
method is shorter than Roulette and Roulette-BS methods, but the reason why this time is shorter
than Random method’s time is related to unsuccessful tries of generating particles with higher
budget than the problem’s budget constraint in Random method. As a result, we can figure out
that in TNDP problems with large scale of particles, the BC method shows better performance
and can find the optimum solution sooner.
REFERENCES
1. Dantzig G D, Harvey R P, Lansdowne Z F, Robinson D W and Maier S F (1979). Formulating and
solving the network design problem by decomposition. Transport Res B-Meth 13:5–17.
2. Hoang H H (1982). Topological optimization of networks: A nonlinear mixed integer model
employing generalized benders decomposition. IEEE T Automat Contr 27: 164–169.
3. LeBlanc L J (1975). An algorithm for discrete network design problem. Transport Sci 9: 183–199.
4. Eberhart R C and Kennedy J (1995). A new optimizer using particle swarm theory. Proceedings of the
Sixth International Symposium on Micro Machine and Human Science, Nagoya, Japan, pp 39-43.
Piscataway,NJ: IEEE Service Center.
5. Abraham A, Guo H and Lio H (2006). Swarm intelligence: Foundations, perspectives and
Applications. In: Nedjah N and M.Mourelle L (eds). Swarm Intelligent Systems. Springer:
Netherlands, pp 18-25.
6. Chen M and Sul Alfa A (1991). A Network design algorithm using a stochastic incremental traffic
assignment approach. Transport Sci 25: 215–224.
7. Magnanti T L and Wong R T (1984). Network design and transportation planning: models and
algorithms. Transport Sci 18 : 1–55.
8. Haghani, A.E., and Daskin, M.S. (1983). “Network design application of an extraction algorithm for
network aggregation.” Transportation Research Record, 944, 37-46.
9. Holmberg, K., and Hellstrand, J. (1998). “Solving the uncapacitated network design problem by a
lagrangean heuristic and branch-and-bound.” Operations Research, 46 (2), 247–259.
10. Yisu, J., Knowles, J., Hongmei, L., Yizeng, L., and Kell D.B. (2008). “The landscape adaptive
particle swarm optimizer.” Applied Soft Computing, 8 (1), 295-304.
11. Langerudi, Mehran Fasihozaman; Javanmardi, Mahmoud; Mohammadian, Abolfazl (Kouros); Sriraj,
PS; "Choice Set Imputation”, Transportation Research Record: Journal of the Transportation
Research Board, 2429, 1, 79-89, 2014, Transportation Research Board of the National Academies.
12. Langerudi, Mehran Fasihozaman; Abolfazl, Mohammadian; Sriraj, PS; "Health and Transportation:
Small Scale Area Association”, Journal of Transport & Health, 2014, Elsevier,
doi:10.1016/j.jth.2014.08.005
13. Fasihozaman Langerudi, Mehran; Hossein Rashidi, Taha; Mohammadian, Abolfazl; "Investigating
the Transferability of Individual Trip Rates: Decision Tree Approach", Transportation Research
Board 92nd Annual Meeting, 13-0218, 2013. http://trid.trb.org/view.aspx?id=1240410H
14. H. Miar Naimi, M. Salarian, “A Fast fractal Image Compression Algorithm Using Predefined Values
for Contrast Sacaling”, Proceedings of the World Congress on Engineering and Computer Science
USA, October-2007.
15. M Salarian, H Hassanpour, A new fast no search fractal image compression in DCT domain, Machine
Vision, 2007. ICMV 2007. International Conference on, 62-66.
16. M. Javanmardi, M. Fasihozaman, A. Talebpour, A. Mohammadian “Integrated Demand and Supply
Model: Networkwide Validation” Presented in the Transportation Research Board 93th Annual
Meeting, 2014
17. M Salarian, E Nadernejad and H. M. Naimi, A new modified fast fractal image compression
algorithm, Imaging Science Journal, vol. 61, Feb. 2013, pp. 219-231, doi: 10.1179/
1743131X11Y.0000000027.
International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015
66
Figure 1. The Sioux Falls Network
Figure 2. Average Objective Function Value for first 10 Particles
International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015
67
Figure 3. Average Objective Function Value
Figure 4. Frequency of Finding
International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015
68
Figure 5. Average Number of Traffic Assignment Problem Solved
Figure 6. Initialization time and PSO algorithm time

More Related Content

PDF
Ml srhwt-machine-learning-based-superlative-rapid-haar-wavelet-transformation...
PDF
Adaptive dynamic programming algorithm for uncertain nonlinear switched systems
PDF
Automatic digital modulation recognition using articial
PDF
Advances in the Solution of Navier-Stokes Eqs. in GPGPU Hardware. Modelling F...
PDF
Acceleration of the Longwave Rapid Radiative Transfer Module using GPGPU
PDF
An improved spfa algorithm for single source shortest path problem using forw...
PDF
International Journal of Managing Information Technology (IJMIT)
Ml srhwt-machine-learning-based-superlative-rapid-haar-wavelet-transformation...
Adaptive dynamic programming algorithm for uncertain nonlinear switched systems
Automatic digital modulation recognition using articial
Advances in the Solution of Navier-Stokes Eqs. in GPGPU Hardware. Modelling F...
Acceleration of the Longwave Rapid Radiative Transfer Module using GPGPU
An improved spfa algorithm for single source shortest path problem using forw...
International Journal of Managing Information Technology (IJMIT)

What's hot (17)

PDF
An improved spfa algorithm for single source shortest path problem using forw...
PDF
ICML2013読み会 Large-Scale Learning with Less RAM via Randomization
PDF
Impact of Auto-tuning of Kernel Loop Transformation by using ppOpen-AT
PDF
Solving The Shortest Path Tour Problem
PDF
Stochastic Alternating Direction Method of Multipliers
PDF
第13回 配信講義 計算科学技術特論A(2021)
PDF
FPGA Implementation of CORDIC Algorithm Architecture
PDF
Large scale logistic regression and linear support vector machines using spark
PDF
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
PDF
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
PDF
Elementary Landscape Decomposition of the Hamiltonian Path Optimization Problem
PDF
Yuki Oyama - Incorporating context-dependent energy into the pedestrian dynam...
PDF
Numerical approach for Hamilton-Jacobi equations on a network: application to...
PDF
Digital Signal Processing[ECEG-3171]-Ch1_L06
PDF
Digital Signal Processing[ECEG-3171]-Ch1_L05
PDF
Dynamic Economic Dispatch Assessment Using Particle Swarm Optimization Technique
PDF
NIPS2017 Few-shot Learning and Graph Convolution
An improved spfa algorithm for single source shortest path problem using forw...
ICML2013読み会 Large-Scale Learning with Less RAM via Randomization
Impact of Auto-tuning of Kernel Loop Transformation by using ppOpen-AT
Solving The Shortest Path Tour Problem
Stochastic Alternating Direction Method of Multipliers
第13回 配信講義 計算科学技術特論A(2021)
FPGA Implementation of CORDIC Algorithm Architecture
Large scale logistic regression and linear support vector machines using spark
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM
Elementary Landscape Decomposition of the Hamiltonian Path Optimization Problem
Yuki Oyama - Incorporating context-dependent energy into the pedestrian dynam...
Numerical approach for Hamilton-Jacobi equations on a network: application to...
Digital Signal Processing[ECEG-3171]-Ch1_L06
Digital Signal Processing[ECEG-3171]-Ch1_L05
Dynamic Economic Dispatch Assessment Using Particle Swarm Optimization Technique
NIPS2017 Few-shot Learning and Graph Convolution

Similar to Automated Information Retrieval Model Using FP Growth Based Fuzzy Particle Swarm Optimization (20)

PDF
A STUDY AND IMPLEMENTATION OF THE TRANSIT ROUTE NETWORK DESIGN PROBLEM FOR A ...
PDF
A study and implementation of the transit route network design problem for a ...
PDF
Population based optimization algorithms improvement using the predictive par...
PDF
Distributed Parallel Process Particle Swarm Optimization on Fixed Charge Netw...
PDF
Particle Swarm Optimization Application In Power System
PDF
P REDICTION F OR S HORT -T ERM T RAFFIC F LOW B ASED O N O PTIMIZED W...
PDF
PARTICLE SWARM INTELLIGENCE: A PARTICLE SWARM OPTIMIZER WITH ENHANCED GLOBAL ...
PDF
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
PDF
V26136141
PDF
Combination of Immune Genetic Particle Swarm Optimization algorithm with BP a...
PDF
A PARTICLE SWARM OPTIMIZATION ALGORITHM BASED ON UNIFORM DESIGN
PDF
IRJET- Fuel Cost Reduction for Thermal Power Generator by using G.A, PSO, QPS...
PDF
PPTX
PSO__AndryPinto_InesDomingues_LuisRocha_HugoAlves_SusanaCruz.pptx
PDF
Hybrid Meta-Heuristic Algorithms For Solving Network Design Problem
PDF
Dual Target Optimization of Two-Dimensional Truss Using Cost Efficiency and S...
PDF
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
PPTX
Optimization and particle swarm optimization (O & PSO)
PPT
PSO and Its application in Engineering
A STUDY AND IMPLEMENTATION OF THE TRANSIT ROUTE NETWORK DESIGN PROBLEM FOR A ...
A study and implementation of the transit route network design problem for a ...
Population based optimization algorithms improvement using the predictive par...
Distributed Parallel Process Particle Swarm Optimization on Fixed Charge Netw...
Particle Swarm Optimization Application In Power System
P REDICTION F OR S HORT -T ERM T RAFFIC F LOW B ASED O N O PTIMIZED W...
PARTICLE SWARM INTELLIGENCE: A PARTICLE SWARM OPTIMIZER WITH ENHANCED GLOBAL ...
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
V26136141
Combination of Immune Genetic Particle Swarm Optimization algorithm with BP a...
A PARTICLE SWARM OPTIMIZATION ALGORITHM BASED ON UNIFORM DESIGN
IRJET- Fuel Cost Reduction for Thermal Power Generator by using G.A, PSO, QPS...
PSO__AndryPinto_InesDomingues_LuisRocha_HugoAlves_SusanaCruz.pptx
Hybrid Meta-Heuristic Algorithms For Solving Network Design Problem
Dual Target Optimization of Two-Dimensional Truss Using Cost Efficiency and S...
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
Optimization and particle swarm optimization (O & PSO)
PSO and Its application in Engineering

More from AIRCC Publishing Corporation (20)

PDF
Hard-Soft Data Fusion with ChatGPT: Toward Structured Representations and Aut...
PDF
Application Development to Convert Heterogeneous Information into PQDIF (Powe...
PDF
Computer Vision Based Fall Detection Methods Using the Kinect Camera : A Survey
PDF
Models of IT-Project Management - ijcst journal
PDF
Open Source Technology : An Emerging and Vital Paradigm in Institutions of Le...
PDF
Improved Computing Performance for Listing Combinatorial Algorithms Using Mul...
PDF
Simulation of Software Defined Networks with Open Network Operating System an...
PDF
CFP : 17th International Conference on Wireless & Mobile Network (WiMo 2025
PDF
Online Legal Service : The Present and Future
PDF
Applying Cfahp to Explore the Key Models of Semiconductor Pre-Sales
PDF
Hybrid Transformer-Based Classification for Web-Based Injection Attack Detect...
PDF
CFP : 6 th International Conference on Natural Language Processing and Applic...
PDF
Dual Edge-Triggered D-Type Flip-Flop with Low Power Consumption
PDF
Analytical Method for Modeling PBX Systems for Small Enterprise
PDF
CFP : 12th International Conference on Computer Science, Engineering and Info...
PDF
CFP: 14th International Conference on Advanced Computer Science and Informati...
PDF
Investigating the Determinants of College Students Information Security Behav...
PDF
CFP : 9 th International Conference on Computer Science and Information Techn...
PDF
CFP : 6 th International Conference on Artificial Intelligence and Machine Le...
PDF
Remotely View User Activities and Impose Rules and Penalties in a Local Area ...
Hard-Soft Data Fusion with ChatGPT: Toward Structured Representations and Aut...
Application Development to Convert Heterogeneous Information into PQDIF (Powe...
Computer Vision Based Fall Detection Methods Using the Kinect Camera : A Survey
Models of IT-Project Management - ijcst journal
Open Source Technology : An Emerging and Vital Paradigm in Institutions of Le...
Improved Computing Performance for Listing Combinatorial Algorithms Using Mul...
Simulation of Software Defined Networks with Open Network Operating System an...
CFP : 17th International Conference on Wireless & Mobile Network (WiMo 2025
Online Legal Service : The Present and Future
Applying Cfahp to Explore the Key Models of Semiconductor Pre-Sales
Hybrid Transformer-Based Classification for Web-Based Injection Attack Detect...
CFP : 6 th International Conference on Natural Language Processing and Applic...
Dual Edge-Triggered D-Type Flip-Flop with Low Power Consumption
Analytical Method for Modeling PBX Systems for Small Enterprise
CFP : 12th International Conference on Computer Science, Engineering and Info...
CFP: 14th International Conference on Advanced Computer Science and Informati...
Investigating the Determinants of College Students Information Security Behav...
CFP : 9 th International Conference on Computer Science and Information Techn...
CFP : 6 th International Conference on Artificial Intelligence and Machine Le...
Remotely View User Activities and Impose Rules and Penalties in a Local Area ...

Recently uploaded (20)

PPTX
MALARIA - educational ppt for students..
PDF
V02-Session-4-Leadership-Through-Assessment-MLB.pdf
PDF
NGÂN HÀNG CÂU HỎI TÁCH CHỌN LỌC THEO CHUYÊN ĐỀ TỪ ĐỀ THI THỬ TN THPT 2025 TIẾ...
PPTX
Single Visit Endodontics.pptx treatment in one visit
PPTX
ENGlishGrade8_Quarter2_WEEK1_LESSON1.pptx
PDF
BSc-Zoology-02Sem-DrVijay-Comparative anatomy of vertebrates.pdf
PDF
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
PPTX
Ppt obs emergecy.pptxydirnbduejguxjjdjidjdbuc
PDF
GSA-Past-Papers-2010-2024-2.pdf CSS examination
PPTX
Chapter-4-Rizal-Higher-Education-1-2_081545.pptx
PPT
hsl powerpoint resource goyloveh feb 07.ppt
PPTX
Entrepreneurship Management and Finance - Module 1 - PPT
PDF
CHALLENGES FACED BY TEACHERS WHEN TEACHING LEARNERS WITH DEVELOPMENTAL DISABI...
PPTX
MMW-CHAPTER-1-final.pptx major Elementary Education
PDF
New_Round_Up_6_SB.pdf download for free, easy to learn
PDF
horaris de grups del curs 2025-2026 de l'institut
PDF
The 10 Most Inspiring Education Leaders to Follow in 2025.pdf
PPSX
namma_kalvi_12th_botany_chapter_9_ppt.ppsx
PDF
Global strategy and action plan on oral health 2023 - 2030.pdf
PDF
gsas-cvs-and-cover-letters jhvgfcffttfghgvhg.pdf
MALARIA - educational ppt for students..
V02-Session-4-Leadership-Through-Assessment-MLB.pdf
NGÂN HÀNG CÂU HỎI TÁCH CHỌN LỌC THEO CHUYÊN ĐỀ TỪ ĐỀ THI THỬ TN THPT 2025 TIẾ...
Single Visit Endodontics.pptx treatment in one visit
ENGlishGrade8_Quarter2_WEEK1_LESSON1.pptx
BSc-Zoology-02Sem-DrVijay-Comparative anatomy of vertebrates.pdf
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
Ppt obs emergecy.pptxydirnbduejguxjjdjidjdbuc
GSA-Past-Papers-2010-2024-2.pdf CSS examination
Chapter-4-Rizal-Higher-Education-1-2_081545.pptx
hsl powerpoint resource goyloveh feb 07.ppt
Entrepreneurship Management and Finance - Module 1 - PPT
CHALLENGES FACED BY TEACHERS WHEN TEACHING LEARNERS WITH DEVELOPMENTAL DISABI...
MMW-CHAPTER-1-final.pptx major Elementary Education
New_Round_Up_6_SB.pdf download for free, easy to learn
horaris de grups del curs 2025-2026 de l'institut
The 10 Most Inspiring Education Leaders to Follow in 2025.pdf
namma_kalvi_12th_botany_chapter_9_ppt.ppsx
Global strategy and action plan on oral health 2023 - 2030.pdf
gsas-cvs-and-cover-letters jhvgfcffttfghgvhg.pdf

Automated Information Retrieval Model Using FP Growth Based Fuzzy Particle Swarm Optimization

  • 1. International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015 DOI:10.5121/ijcsit.2015.7106 59 IMPROVING INITIAL GENERATIONS IN PSO ALGORITHM FOR TRANSPORTATION NETWORK DESIGN PROBLEM Navid Afkar and Abbas Babazadeh Department of Civil Engineering, University of Tehran, Tehran, Iran ABSTRACT Transportation Network Design Problem (TNDP) aims to select the best project sets among a number of new projects. Recently, metaheuristic methods are applied to solve TNDP in the sense of finding better solutions sooner. PSO as a metaheuristic method is based on stochastic optimization and is a parallel revolutionary computation technique. The PSO system initializes with a number of random solutions and seeks for optimal solution by improving generations. This paper studies the behavior of PSO on account of improving initial generation and fitness value domain to find better solutions in comparison with previous attempts. KEYWORDS Transportation; Network Design; optimization; Particle Swarm; roulette cycle; initial value 1. INTRODUCTION In transportation planning, Transportation Network Design Problem (TNDP) is a substantial area in which specific objectives are minimized through selection among a given set of projects under constraints (1). Solving TNDP requires too much time. Various approaches have been taken to solve TNDP (1,2,3). One of the typical methods to solve TNDP are Meta-Heuristic algorithms (such as Genetic Algorithm). Particle Swarm optimization (PSO) is a Meta-Heuristic algorithm that has shown good performance to solve TNDP. In this paper, particle swarm optimization (PSO) algorithm developed with some variations or added methods is presented to solve the TNDP (4,5). The results of each method are compared together and with Original PSO method. The remainder of the paper is organized as follows. The next section is devoted to define the TNDP mathematically. In the following sections, the PSO is described in details, and then applied to the TNDP. After that Binary Sorting, Binary Count, and Roulette methods are defined and used to enhance the efficiency of PSO for solving the TNDP on the Sioux Falls network. The results are obtained by a computer program in VISUAL BASIC 6.0 on a laptop with Intel core 2 due 2.4 GHz processor. In this program, each algorithm is terminated after a fixed number of 1000 iterations. Due to the stochastic nature of PSO, the algorithms have been solved 50 times and the results are based on the average values of the 50 runs. Computational results and figures are reported in the final section.
  • 2. International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015 60 2. TNDP Let ),( AVG  be a graph representing a transportation network with node set V and arc set A, and define }:),{( srVVsrP  as the set of origin-destination (OD) pairs. For each OD pair Psr ),( , there is a nonnegative flow rate (travel demand) from r to s, denoted by rsd . In order to simplify the presentation, suppose that G is strongly connected, that is each node j can be reached from every other node i by following a directed path in G , and let rsK be the non- empty set of paths from the origin r to the destination s. Define Ā (Ā ≠ ) as the set of project arcs, and let the decision vector be y = ( ) ∈Ā with being the binary project decision variable, taking values 0 or 1 depending on rejection or acceptance of any project ∈ Ā . For a given vector y, define the decision network G( ) = ( , ( )) with A(y) = A∪ { ∈ Ā ∶ = 1} as the set of arcs followed by decision y, and for each (r, s) ∈ denote by ( ) the set of paths joining r to s in G( ). For each path k ∈ ( ) let be the flow of path k from origin r to destination s. Moreover, let equals 1 if arc a ∈ ( ) lies on path k, and 0 otherwise. Assume further that each arc a ∈ ∪ Ā has a node creasing and continuously differentiable travel time function ( ):[0, ∞) → [0, ∞) with being the flow rate assigned to arc a. Then, letting be the construction cost of project arc a ∈ Ā , and considering the total construction cost being limited to the level of Budget B, the TNDP can be illustrated with upper level problem, ULP: [ULP] T(y) = ∑ ( ∈ ( ) ) s.t. ∑ ( ) ∈ Ā =0 or 1 ∀a ∈ Ā X(y) is a solution of [LLP(y)] Where x(y) = ( ) ∈ ( ) is the user equilibrium flow in the decision network G(y), given as the solution of the lower level (traffic assignment) problem, LLP(y), for given y: [LLP(y)] Min ∑ ∫ ( )∈ ( ) s.t. ∑ ∈ ( ) = ∀( , ) ∈ ≥ 0 ∀ ∈ ( ), ∀ ( , ) ∈ = ∑ ∑ ∈( , )∈ ∀ ∈ ( ) This is a well-known bi-level programming problem, where the [ULP] seeks a decision vector y for minimizing the total travel time T(y) of the (assigned) traveler, and the [LLP(y)] is the traffic assignment model which estimates the traveler flows, given the decision y (6,7,8). 3. PARTICLE SWARM OPTIMIZATION Particle Swarm Optimization (PSO) is a meta-heuristic optimization approach which has been widely applied to various problems (4). PSO technique that was developed by Kennedy and
  • 3. International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015 61 Eberhart is originated from the behavior of birds ’flocks in which individuals convey information between themselves and the leader in order to seek the best direction to food (9, 10). In a problem space, each particle has a position and a velocity and it moves in the search space with the velocity according to its own previous best position and the group’s previous best position. The dimension of the search space can be any positive number. Considering D as the dimension of the search space, the ith particle’s position and velocity are represented as   1,...,i ij j D P p   and   1,...,i ij j D V v   respectively. Each particle maintains its own best position so far achieved as  * * 1,...,i ij j D P p   and the global best position so far recorded by the population as  * * 1,...,g gj j D P p   . During the iteration time t, the velocity of the jth dimension of each particle i is updated by: * * 1 1 2 2( 1) ( ) ( ( ) ( )) ( ( ) ( ))ij ij ij ij gj ijv t wv t c r p t p t c r p t p t      Where w is called as the inertia weight, 1c and 2c are constant values and 1r , 2r are random numbers in the interval 0,1 . The current position of each particle is then defined by the sum of its current velocity and its previous position (11,12,13). ( 1) ( ) ( 1)ij ij ijp t p t v t    In order to avoid the particles from moving out of the search space, the maximum velocity during the iterations is restricted by maxv . As proposed by Hong Zhang, et al 2005, the maximum velocity ( maxv ) is set to maxx . This results in moving more effectively in the search space and accordingly better algorithm performance. 4. ADAPTING THE PSO TO THE TNDP Employing the PSO for solving TNDP needs some modifications to the algorithm given in the previous section. First, the PSO is basically developed for continuous optimization problems(14). This is while the TNDP is formulated as a combinatorial optimization problem in terms of variables y denoted as A -bit binary strings. To adapt the algorithm for this combinatorial nature, one may provide some mapping from the one-dimensional real-valued space to the A - dimensional binary space. This is done here by transforming each real number ip to its nearest integer in 0 , 2 1 A     , and then transforming the resulting integer in to the base-2 number system as an A -bit binary code. To facilitate the presentation, the latter transformation is illustrated by the function  ( ) : 0 , 2 1 0 ,1 . A A iy p Z       The PSO must also be adapted for budget constraint embedded in the [ULP](15).
  • 4. International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015 62 5. PSO ALGORITHM Step 1. Initialization Select the particle swarm size n, the parameters 1c and 2c , the value of the inertia weight w, and the maximum velocity maxv . For i 1 to n do: initialize the decision variable ip so that Bpyc iaaAa   )( ; set and 0iv . Set ))(..,.),((minarg 1 ng pfpfp  . Set the iteration counter 0t . Step 2. Updating each particle's position and velocity For i 1 to n do: generate random numbers 1r and 2r in [0, 1]; update )()( 2211 igiiii pprcpprcwvv   ; clamp in iv between the range ],[ maxmax vv as )|,min(|)sign( maxvvvv iii  ; update iii vpp  ; transform ip to its nearest integer in 12,0[ || A ]. Step 3. Calculating each particle's fitness value For i 1 to n do: set )( ipyy  ; if Byc aaAa   then set Mpf i )( (large fitness value); else, solve the user equilibrium problem [LLP ( y )] to compute )(yT , and set )()( yTpf i  . Step 4. Updating local bests and global best For i 1 to n do: update ))(),((minarg iii pfpfp   . Update ))(..,.),(),((minarg 1 ngg pfpfpfp   . Step 5. End criterion. Set 1 tt . If end criterion is not met, go to Step 2. Otherwise, )(   gpyy is the best solution found so far with the objective function value )()(   gpfyT Collect the necessary information and stop. 6. SIOUX FALLS NETWORK The Sioux Falls network has 24 nodes and 76 arcs, as shown in Fig. 1. The parameters of the travel time function 4 )( aaaaa xxt   for each arc a, and the OD (origin/destination) demands are basically those given in Poorzahedy and Turnquist (1982), and LeBlanc (1975), and are eliminated here for brevity(16). There are 10 pairs of project arcs )10|(| A , of which 5 projects are improvement on existing arcs, and 5 are new arcs. The construction costs of the projects 1-10 are, respectively, 625, 650, 850, 1000, 1200, 1500, 1650, 1800, 1950, and 2100 units of money (Poorzahedy and Abulghasemi 2005). Considering 10 projects, there are )1024(210  alternative networks. A complete enumeration was used to compute the optimal solution of the TNDP for any given budget level for checking purposes (Poorzahedy and Abulghasemi 2005; Poorzahedy and Rouhani 2007). ii pp 
  • 5. International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015 63 7. BINARY SORTING (BS) Binary Sorting is a type of mapping the objective function value domain from :[0 ,2 1]n ix Z  to :[0 ,2 1]n mp Z  . This results in a more effective sorting on the function domain and puts the decision variables with the same number of projects beside each other, therefore the PSO algorithm searches with more intelligence toward the optimum solution. The algorithm is expressed below: Let iB be the binary value of :[0 ,2 1]n ix Z  in base-2 number system then count the iB number of digits and put them into iC . m=1 for d=0 to n for i=0 to 2n -1 if > −1 then if iC =d then m ip x 1ix   m = m+1 End if End if Next i Next d 8. BINARY COUNT (BC) Binary Count is an initialization strategy which is defined for this specific problem. The idea comes from choosing more particles which are near to the budget level. The algorithm is outlined below. For d=0 to n For i=0 to 2n -1 If Ci=d then count (d) =count (d) + 1 Next i Next d Assume b/c all=int(b/c * n)+1 For i=0 to all numb(i)=i / ∑ * n sum numb= numb(i)+sumnumb Next i m=1 for i=1 to all for d=1 to numb(i) Select a particle that has i binary digit Next d Next i Do while sum numb(i) < n
  • 6. International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015 64 Select a particle that has at most all binary digits Loop 9. ROULETTE WHEEL SELECTION (ALGORITHM) It is the most common selection strategy. It will assign to each individual a selection probability that is proportional to its relative fitness. Let be the fitness of the individual in the population P. Its probability to be selected is = / (∑ ).Suppose a pie graph where each individual is assigned a space on the graph that is proportional to its fitness. An outer roulette wheel is placed around the pie. The selection of μ individuals is performed by μ independent spins of the roulette wheel. Each spin will select a single individual. Better individuals have more space, and then more chance to be chosen. Moreover, when all individuals are equally fit, this selection strategy does not introduce a sufficient pressure to select the best individuals. This method is applied on the initialization step of the PSO algorithm to improve its initial generation and the combined algorithm is named as Roulette in the following discussions. 10. COMPUTATIONAL RESULTS In this study, the algorithms comprised of the above strategies are compared from various perspectives. First, Average Objective Function Value (OFV) related to the initial generation of each algorithm is shown in figure 2. According to this figure, Roulette and Roulette-BS (Binary Sorting) generate better initial particles than the other methods. In figure 3, BC method shows a good convergence performance concerning its decreasing behavior despite of the relative large quantity of the initial average OFV and after 70 iterations average OFV of BC method gets very close to average OFV of the Roulette-BS. Still, it is obvious that the Roulette-BS method shows the best performance based on initialization and convergence capability and its graph stands under the others in figure 3. To perceive the effectiveness of Binary Sorting, Random and Random-BS methods are compared with each other. The Random-BS method has more decreasing behavior than the Random method and shows more convergence to the optimum solutions in the last iterations. So we can figure out that the BS method makes an improvement on the PSO algorithm which is adapted to the TNDP. Figure 4 depicts the frequency of finding the optimal solution in iterations for each method. It is clear that each algorithm graph that stands upper than the other graphs is more powerful to find the optimum solution. Comparison of these methods proves that the Roulette and Random methods have less capability than the other three methods which have used binary sorting to find the optimum solution. The average Number of Traffic Assignment Problem Solved (NTAPS) of each method is shown in figure 5. All of the graphs are showing decreasing behavior. This fact proves that all methods are trying to decrease the NTAPS. As the results show, Roulette and Random graphs stand upper than others after 50 iterations. Figure 6 displays initialization time and PSO algorithm time usage in each method. Initialization time of BC method is shorter than the other methods. It’s obvious that initialization time for BC
  • 7. International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015 65 method is shorter than Roulette and Roulette-BS methods, but the reason why this time is shorter than Random method’s time is related to unsuccessful tries of generating particles with higher budget than the problem’s budget constraint in Random method. As a result, we can figure out that in TNDP problems with large scale of particles, the BC method shows better performance and can find the optimum solution sooner. REFERENCES 1. Dantzig G D, Harvey R P, Lansdowne Z F, Robinson D W and Maier S F (1979). Formulating and solving the network design problem by decomposition. Transport Res B-Meth 13:5–17. 2. Hoang H H (1982). Topological optimization of networks: A nonlinear mixed integer model employing generalized benders decomposition. IEEE T Automat Contr 27: 164–169. 3. LeBlanc L J (1975). An algorithm for discrete network design problem. Transport Sci 9: 183–199. 4. Eberhart R C and Kennedy J (1995). A new optimizer using particle swarm theory. Proceedings of the Sixth International Symposium on Micro Machine and Human Science, Nagoya, Japan, pp 39-43. Piscataway,NJ: IEEE Service Center. 5. Abraham A, Guo H and Lio H (2006). Swarm intelligence: Foundations, perspectives and Applications. In: Nedjah N and M.Mourelle L (eds). Swarm Intelligent Systems. Springer: Netherlands, pp 18-25. 6. Chen M and Sul Alfa A (1991). A Network design algorithm using a stochastic incremental traffic assignment approach. Transport Sci 25: 215–224. 7. Magnanti T L and Wong R T (1984). Network design and transportation planning: models and algorithms. Transport Sci 18 : 1–55. 8. Haghani, A.E., and Daskin, M.S. (1983). “Network design application of an extraction algorithm for network aggregation.” Transportation Research Record, 944, 37-46. 9. Holmberg, K., and Hellstrand, J. (1998). “Solving the uncapacitated network design problem by a lagrangean heuristic and branch-and-bound.” Operations Research, 46 (2), 247–259. 10. Yisu, J., Knowles, J., Hongmei, L., Yizeng, L., and Kell D.B. (2008). “The landscape adaptive particle swarm optimizer.” Applied Soft Computing, 8 (1), 295-304. 11. Langerudi, Mehran Fasihozaman; Javanmardi, Mahmoud; Mohammadian, Abolfazl (Kouros); Sriraj, PS; "Choice Set Imputation”, Transportation Research Record: Journal of the Transportation Research Board, 2429, 1, 79-89, 2014, Transportation Research Board of the National Academies. 12. Langerudi, Mehran Fasihozaman; Abolfazl, Mohammadian; Sriraj, PS; "Health and Transportation: Small Scale Area Association”, Journal of Transport & Health, 2014, Elsevier, doi:10.1016/j.jth.2014.08.005 13. Fasihozaman Langerudi, Mehran; Hossein Rashidi, Taha; Mohammadian, Abolfazl; "Investigating the Transferability of Individual Trip Rates: Decision Tree Approach", Transportation Research Board 92nd Annual Meeting, 13-0218, 2013. http://trid.trb.org/view.aspx?id=1240410H 14. H. Miar Naimi, M. Salarian, “A Fast fractal Image Compression Algorithm Using Predefined Values for Contrast Sacaling”, Proceedings of the World Congress on Engineering and Computer Science USA, October-2007. 15. M Salarian, H Hassanpour, A new fast no search fractal image compression in DCT domain, Machine Vision, 2007. ICMV 2007. International Conference on, 62-66. 16. M. Javanmardi, M. Fasihozaman, A. Talebpour, A. Mohammadian “Integrated Demand and Supply Model: Networkwide Validation” Presented in the Transportation Research Board 93th Annual Meeting, 2014 17. M Salarian, E Nadernejad and H. M. Naimi, A new modified fast fractal image compression algorithm, Imaging Science Journal, vol. 61, Feb. 2013, pp. 219-231, doi: 10.1179/ 1743131X11Y.0000000027.
  • 8. International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015 66 Figure 1. The Sioux Falls Network Figure 2. Average Objective Function Value for first 10 Particles
  • 9. International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015 67 Figure 3. Average Objective Function Value Figure 4. Frequency of Finding
  • 10. International Journal of Computer Science & Information Technology (IJCSIT) Vol 7, No 1, February 2015 68 Figure 5. Average Number of Traffic Assignment Problem Solved Figure 6. Initialization time and PSO algorithm time