Basics Of Particle Swarm Oprimisation Assignment Help

Nature Inspired Optimisation Tools - Basics Of Particle Swarm Oprimisation

Basics Of Particle Swarm Oprimisation

 The basic Particle Swarm Optimization or PSO is a computer paradigm such is based upon social and cognitive behaviour of humans. Mainly, the algorithm belongs to the category of swarm intelligence and gains its broad guideline from the socio-cognitive perspectives. Particle Swarm Optimization has received growing attention in past few years; a few significant papers can be cited from the literature that studies the application of the same in difficult optimization problems. It was first introduced and developed by Eberhart and Kennedy. Their motive was to envisage the effect of collaboration of

species onto achieving their goals as a group. In contrast, to Genetic Algorithm (GA) and Evolutionary Strategies (ESs) which exploits the competitive characteristics of biological evolution (e.g. survival of the fittest), Particle Swarm Optimization exploits cooperative and social aspects. The traditional artificial intelligence paradigms focuses mainly on problem-variables like parameter space, the particle-swarm approach embeds problem- solving attempts in a social network. It can be regarded as a system where multiple candidate solution co-exists and collaborate simultaneously. Each solution candidate resembles a 'particle', which flies in the problem search space looking for the optimal position to land. The search process is same just as the bird swarm searches for food. Gradually, as time passes, particle with his quest adjusts its position according to its own experience (i.e. local search) and as well as from the experience of neighbouring particles (i.e. global search). Particle's experience builds up as it tracks and memorizes the best position encountered so far. Both of these attributes have been utilized in PSO system for exploring the search space effectively.

Moreover, two factors demonstrating the particle status on the search space are its position and velocity. The position and velocity vector of ith particle, in d-dimensional search space is represented as

                                      xi  = ( xi,1 , xi, 2 , . . . , xi, d )......................Eq(11)

                                       vi  = (vi,1 , vi, 2 , . . . , vi, d ) ................Eq(12)

 Assume the best position of each particle corresponding to best fitness value obtained by that particle at time t is given by

                                       pi  = ( pi,1 , pi, 2 , . . . , pi, d ) ................Eq(13)

And the fittest particle found so long at time t is:

                                      pg  = ( pg ,1, pg , 2 , ... , pg , d ) ................Eq(14)

The new position and velocity of the particle for next fitness evaluation can be calculated from Eqs. 10 and 11.

                                 vi, j  = vi, j  + ?1 × rand (.) × Δxc + ?2  × Rand (.) × Δxn............................Eq(15)

                                         xi, j  = xi, j  + vi, j..................................Eq(16)

Here Δxc = pi, j  - pi, j


Δxn = pg , j  - xi, j

In velocity relation, Δxc and Δxn are self best positional differences and neighborhood best positional differences respectively. While ?1 and ?2 are positive (+ive) constant parameters named as acceleration coefficients that are causes for controlling the maximum step size whereas rand as X and Rand as Y are two separately generated uniformly spread random numbers in the range [0, 1]. The algorithmic steps of essential Particle Swarm Optimization Algorithm are represented in Programme no.3.

In mathematical presentation of velocity, its first part shows the previous velocity for roaming across search space, is provided by the essential momentum to particles. The second part is cognitive component, resembling the individual thinking of all particles. This encourages the particle to move towards their best positions found so long. The third part of Eq. 15 termed as the social component indicates the collaborative effect of the particles in determining global optimal solution. The social component all the time pulls the particles towards the global best particle found so far.

Initialize population parameters, topology, and constants


Do I = 1 to population size

Current Evali < eval (xi)

If Current Eval < pbesti then do

If Current Evali < Pbestgbest then gbest = i

Pbesti = Current Evali

For d=1 to Dimension

Pid = xid

Next d

End if

g = index of best neighbor

For d = 1 to Dimension

Vi,d  = vi,d + ?1 × rand (.) × Δxc + ?2  × Rand (.) × Δxn

xi,d   = xi,d   + vi,d 

Next d

Next i

Until termination criterion

                     Programme no.3: Algorithmic Steps of Particle Swarm Optimization Algorithm

Expertsmind’s world class education services

We at offer email based assignment help – homework help and projects assistance from k-12 academic level to college and university level and management and engineering studies. Our experts are helping students in their studies and they offer instant tutoring assistance giving their best practiced knowledge and spreading their world class education services through e-Learning program.

- Quality assignment help assistance 24x7 hrs
- Best qualified tutor’s network
- Time on delivery
- Quality assurance before delivery
- 100% originality and fresh work