Optimization Problems Algorithms And: Prof. G. K. Mahanti
Optimization Problems Algorithms And: Prof. G. K. Mahanti
Optimization Problems Algorithms And: Prof. G. K. Mahanti
Algorithms
Prof. G. K. Mahanti
Department of ECE
NIT,Durgapur
Overview
2
Definition of Optimization
Meta-heuristic Algorithms
Optimization
Problem
Objective
Variables Constraints
Function
F=Min(f)+penalty*(max(h,0)), penalty=106
Definition of Optimization Problem (cont.)
6
Multi-objective unconstrained:
Multi-objective to single
objective conversion:
Min of F=Min of σ𝑁 𝑁
𝑖=1 𝑤𝑖 𝑓𝑖 𝑠𝑢𝑐ℎ 𝑡ℎ𝑎𝑡 σ𝑖=1 𝑤𝑖 = 1
Constrained optimization:
Min=
{
Subject to:
F=w1*f1+w2*f2+w3*f3
+penalty1*(max(g1,0))
+penalty2*(max(g2,0))
Definition of Optimization Problem (cont.)
8
Constrained optimization:
Min=
{
Subject to:
F=w1*f1+w2*f2+w3*f3
+penalty1*(max(g1,0))
+penalty2*(max(g2,0))
Types of Optimization Techniques
9
Mathematical
Programming
Calculus
Conventional
Methods
Optimization Network
Technique Methods
Meta-heuristic
Nonconventional algorithms
Meta-heuristic Algorithms
10
Meta-heuristic
algorithms
Ant
GA GP CSS SA Whale TLBO EMA
Colony
Genetic Algorithm (GA) Genetic Programming (GP) Charged System Search (CSS)
Simulated Annealing (SA) Teaching Learning Based Optimization(TLBO) Exchange Market Algorithm (EMA)
QUANTUM PARTICLE SWARM OPTIMIZATION FOR
MINIMIZATION OF BENCHMARK FUNCTIONS
Dr. G.K.Mahanti
Minimize Y= f(x1,x2,x3……………xn)
Where x1,x2, x3….. are n no. of variables
x1,x2,x3……[lower bound, upper bound]
Example: x1 [-10,10]
Maximize Y=Minimize(-Y)
pos = Y=
PSO emulates the swarm behavior of insects, animals herding, birds flocking and fish
schooling where these swarms search for food in a collaborative manner.
In PSO, a member in the swarm, called a particle, represents a potential solution, which is a
point in the search space.
Each particle has a fitness value and a velocity to adjust its flying direction according to the
best experiences of the swarm to search for the global optimum in the D-dimensional solution
space.
The PSO algorithm is easy to implement & simpler and faster than GA.
What is QPSO?
Step1: Initialize positions of all particles (potential solutions) in the population randomly
between the maximum and the minimum operating limits of the search range in the
D-dimensional space.
Step2: Evaluate the fitness value of all particles.
Step3: Compare the personal best (pbest) of every particle with its current fitness value.
If the current fitness value is better, then assign the current fitness value to pbest and assign
the current coordinates to pbest coordinates.
Step 4:Determine the current best fitness value in the whole population and its coordinates.
If the current best fitness value is better than global best (gbest), then assign the current best
fitness value to gbest and assign the current coordinates to gbest coordinates.
Step 5: Determine the mean best position of all M particles using the following equation:
M
1
mbest
M
rand (1, D) pbesti (1 rand (1, D)) gbesti
i 1
Step6: Determine the vector local focus of the particle using the following equation:
r1tid pbest r 2tid gbest
t
pid
r1tid r 2tid
Step7: Update position (Xid) of the d-th dimension of the i-th particle using the following
equations:
t
X id t
pid 1
ceil 0.5 r 3tid mbest X idt 1 loge (1/ r 4tid )
If X id X min
t d
Or
t
X id X max
d
t
X id X min
d
r 5tid X max
d
X min
d
Start
Gen=Gen+1
Update pbest
No
Yes
Calculate mbest
Conver
-ged
Update gbest
Stop