SlideShare a Scribd company logo
1 of 16
Fuzzy adaptive gravitational
search algorithm

PREPARED BY
K.GAUTHAM REDDY 2011A8PS364G
Bidding
 Agents submit bids (Quantity and cost) to either buy

or sell energy.
 Independent System Operator (ISO)
 Market clearing price
 Uniform pricing or pay as bid
Strategic bidding
 Knowing their own costs, technical constraints and







their expectation of rival and market
behavior, suppliers face the problem of constructing
the best optimal bid.
Three basic approaches:
i) Based on the estimation of market clearing price
ii) Estimation of rival’s bidding behavior and
iii)On game theory
Fuzzy adaptive GSA
Mathematical formulation
 Consider total of ‘m’ suppliers
 Uniform pricing method is followed
 The jth supplier bid with linear supply curve denoted

by Gj (Pj ) = aj + bj Pj
Pj is the active power output, ajand bj are nonnegative bidding coefficients of the jth supplier.

 When we solve the above equation we get the

solutions as

 Cost function :Cj (Pj ) = ej Pj + fj Pj2 , where

ej and fj are the cost coefficients of the jth supplier.
Profit maximization
 Hence our main objective is to maximize profits

which is the difference between the selling price and
the production price which is as follows

 The objective is to determine bidding coefficients aj

and bj so as to maximize F(aj,bj) subject to
equations 5 and 6.
 Keep one constant and vary other as they are
interdependent
Gravitational search algorithm:
 Follows two basic laws

i) Law of gravity
ii) Law of motion.
 Agents are considered as objects and their
performance is measured by their masses.
 Lighter masses gravitate towards the heavier masses
(which signify good solutions)
 The position of the masses correlates to the solution
space in the search domain while the masses
characterize the fitness space.
 As the iterations increase, and gravitational

interactions occur, it is expected that the masses
would conglomerate at its fittest position and
provide an optimal solution to the problem.
 Now, consider a system with N agents (masses), the
position of the ith agent is defined by:
Xi = (x1 , . . . , xd , . . . , xn ) for i = 1, 2, . . . , N
where xd presents the position with N agents
(masses), the position of the ith agent in the dth
dimension and n is the space dimension
 At a specific time ‘t’ we define the force acting on

mass ‘i’ from mass ‘j’ as following:

where Maj is the active gravitational mass related to
agent j, Mpi is the passive gravitational mass related
to agent i, G(t) is gravitational constant at time t, ε is a
small constant and Rij(t) is the Euclidian distance
between two agents i and j.
 The total force acting on each mass i is given in a

stochastic form as the following

 where rand(wj) ∈ [0, 1] is a randomly assigned weight.

Consequently, the acceleration of each of the masses, is
then as follows.

where Mii is the inertial mass of ith agent.
 The next velocity of an agent is considered as a

fraction of its current velocity added to its
acceleration. Therefore, its position and its velocity
could be calculated as follows:
vi (t + 1) = randi × vi (t) + ai (t)
xd (t + 1) = xd(t) + vd(t + 1)
where randi is a uniform random variable in the
interval [0,1].
 The gravitational constant, G, is initialized at the

beginning and will be reduced with time to control
the search accuracy. Hence, G is a function of the
initial value (G0) and time (t):

Here G0 is set to 100.
 Fuzzification:
 Inputs :

(i) normalized fitness value (NFV)
(ii) current gravitational constant (G)
Outputs:
The correction of the gravitational constant (dG).
 Input variables represented by three linguistic

values, S (small), M (medium) and L (large) where as
output variable (G) is presented in three fuzzy sets of
linguistic values; NE (negative), ZE (zero) and PE
(positive) with associated triangular membership
functions.
 The value of the parameter ‘G’ is large at the

beginning of the search process and gradually it
becomes small as the iterations are increasing.
The change in gravitational constant (dG) is small
and requires both positive and negative corrections.

 After we get a new value of G, GSA until iteration

reaches their maximum limit. Return the best fitness
(optimal bid value bj) computed at final iteration as a
global fitness. Using bj values, calculate MCP

More Related Content

Viewers also liked

Η πριγκίπισσα των λέξεων
Η πριγκίπισσα των λέξεωνΗ πριγκίπισσα των λέξεων
Η πριγκίπισσα των λέξεων
mizadome
 
Gender in the History of Woman Suffrage
Gender in the History of Woman SuffrageGender in the History of Woman Suffrage
Gender in the History of Woman Suffrage
Profess Moravec
 
The bridge illustration
The bridge illustrationThe bridge illustration
The bridge illustration
Blessed Santos
 
Pr2 sos voc from a z (10-2013)
Pr2 sos voc from a z (10-2013)Pr2 sos voc from a z (10-2013)
Pr2 sos voc from a z (10-2013)
Nothing Co
 

Viewers also liked (20)

Rossa D-Thinking Agency - brochure
Rossa D-Thinking Agency - brochure Rossa D-Thinking Agency - brochure
Rossa D-Thinking Agency - brochure
 
7th sunday in ordinary time feb23, 2014
7th sunday in ordinary time feb23, 20147th sunday in ordinary time feb23, 2014
7th sunday in ordinary time feb23, 2014
 
Geraints Target Audience
Geraints Target AudienceGeraints Target Audience
Geraints Target Audience
 
Fiji luncheon presentation
Fiji luncheon presentationFiji luncheon presentation
Fiji luncheon presentation
 
Workshop desarrollo Cassandra con el driver Java
Workshop desarrollo Cassandra con el driver JavaWorkshop desarrollo Cassandra con el driver Java
Workshop desarrollo Cassandra con el driver Java
 
Η πριγκίπισσα των λέξεων
Η πριγκίπισσα των λέξεωνΗ πριγκίπισσα των λέξεων
Η πριγκίπισσα των λέξεων
 
Gender in the History of Woman Suffrage
Gender in the History of Woman SuffrageGender in the History of Woman Suffrage
Gender in the History of Woman Suffrage
 
The bridge illustration
The bridge illustrationThe bridge illustration
The bridge illustration
 
project
projectproject
project
 
Konsultupphandling enligt abk09
Konsultupphandling enligt abk09Konsultupphandling enligt abk09
Konsultupphandling enligt abk09
 
Energy-Efficient Lighting for the Farm
Energy-Efficient Lighting for the FarmEnergy-Efficient Lighting for the Farm
Energy-Efficient Lighting for the Farm
 
Borchure
BorchureBorchure
Borchure
 
Music History II foundations
Music History II foundationsMusic History II foundations
Music History II foundations
 
Qüestionari de Negoci
Qüestionari de NegociQüestionari de Negoci
Qüestionari de Negoci
 
гиа 21.10.2015
гиа 21.10.2015гиа 21.10.2015
гиа 21.10.2015
 
Xeriscape Gardening Technology
Xeriscape Gardening TechnologyXeriscape Gardening Technology
Xeriscape Gardening Technology
 
Meet C1
Meet C1Meet C1
Meet C1
 
Animal Scavenger Hunt
Animal Scavenger HuntAnimal Scavenger Hunt
Animal Scavenger Hunt
 
iSonic Color Doppler
iSonic Color DoppleriSonic Color Doppler
iSonic Color Doppler
 
Pr2 sos voc from a z (10-2013)
Pr2 sos voc from a z (10-2013)Pr2 sos voc from a z (10-2013)
Pr2 sos voc from a z (10-2013)
 

Similar to Fuzzy adaptive GSA

KAUST_talk_short.pdf
KAUST_talk_short.pdfKAUST_talk_short.pdf
KAUST_talk_short.pdf
Chiheb Ben Hammouda
 
An introduction to Static and Quasi-Static PricingPolicies c.docx
An introduction to Static and Quasi-Static PricingPolicies c.docxAn introduction to Static and Quasi-Static PricingPolicies c.docx
An introduction to Static and Quasi-Static PricingPolicies c.docx
galerussel59292
 
X01 Supervised learning problem linear regression one feature theorie
X01 Supervised learning problem linear regression one feature theorieX01 Supervised learning problem linear regression one feature theorie
X01 Supervised learning problem linear regression one feature theorie
Marco Moldenhauer
 

Similar to Fuzzy adaptive GSA (20)

GSA-BBO HYBRIDIZATION ALGORITHM
GSA-BBO HYBRIDIZATION ALGORITHMGSA-BBO HYBRIDIZATION ALGORITHM
GSA-BBO HYBRIDIZATION ALGORITHM
 
Gravitational search algorithm in optimization techniques
Gravitational search algorithm in optimization techniquesGravitational search algorithm in optimization techniques
Gravitational search algorithm in optimization techniques
 
Calisto 2016a 251116
Calisto 2016a 251116Calisto 2016a 251116
Calisto 2016a 251116
 
Monte-Carlo method for Two-Stage SLP
Monte-Carlo method for Two-Stage SLPMonte-Carlo method for Two-Stage SLP
Monte-Carlo method for Two-Stage SLP
 
Statistical Inference Part II: Types of Sampling Distribution
Statistical Inference Part II: Types of Sampling DistributionStatistical Inference Part II: Types of Sampling Distribution
Statistical Inference Part II: Types of Sampling Distribution
 
Machine learning
Machine learningMachine learning
Machine learning
 
Fourier_Pricing_ICCF_2022.pdf
Fourier_Pricing_ICCF_2022.pdfFourier_Pricing_ICCF_2022.pdf
Fourier_Pricing_ICCF_2022.pdf
 
An Approach For Solving Nonlinear Programming Problems
An Approach For Solving Nonlinear Programming ProblemsAn Approach For Solving Nonlinear Programming Problems
An Approach For Solving Nonlinear Programming Problems
 
Q-Metrics in Theory and Practice
Q-Metrics in Theory and PracticeQ-Metrics in Theory and Practice
Q-Metrics in Theory and Practice
 
Q-Metrics in Theory And Practice
Q-Metrics in Theory And PracticeQ-Metrics in Theory And Practice
Q-Metrics in Theory And Practice
 
KAUST_talk_short.pdf
KAUST_talk_short.pdfKAUST_talk_short.pdf
KAUST_talk_short.pdf
 
International journal of engineering and mathematical modelling vol2 no1_2015_1
International journal of engineering and mathematical modelling vol2 no1_2015_1International journal of engineering and mathematical modelling vol2 no1_2015_1
International journal of engineering and mathematical modelling vol2 no1_2015_1
 
CS229 Machine Learning Lecture Notes
CS229 Machine Learning Lecture NotesCS229 Machine Learning Lecture Notes
CS229 Machine Learning Lecture Notes
 
Presentation.pdf
Presentation.pdfPresentation.pdf
Presentation.pdf
 
ICCF_2022_talk.pdf
ICCF_2022_talk.pdfICCF_2022_talk.pdf
ICCF_2022_talk.pdf
 
2 linear regression with one variable
2 linear regression with one variable2 linear regression with one variable
2 linear regression with one variable
 
Beginning direct3d gameprogrammingmath04_calculus_20160324_jintaeks
Beginning direct3d gameprogrammingmath04_calculus_20160324_jintaeksBeginning direct3d gameprogrammingmath04_calculus_20160324_jintaeks
Beginning direct3d gameprogrammingmath04_calculus_20160324_jintaeks
 
An introduction to Static and Quasi-Static PricingPolicies c.docx
An introduction to Static and Quasi-Static PricingPolicies c.docxAn introduction to Static and Quasi-Static PricingPolicies c.docx
An introduction to Static and Quasi-Static PricingPolicies c.docx
 
Numerical smoothing and hierarchical approximations for efficient option pric...
Numerical smoothing and hierarchical approximations for efficient option pric...Numerical smoothing and hierarchical approximations for efficient option pric...
Numerical smoothing and hierarchical approximations for efficient option pric...
 
X01 Supervised learning problem linear regression one feature theorie
X01 Supervised learning problem linear regression one feature theorieX01 Supervised learning problem linear regression one feature theorie
X01 Supervised learning problem linear regression one feature theorie
 

More from Gautham Reddy

Bidding strategies in deregulated power market
Bidding strategies in deregulated power marketBidding strategies in deregulated power market
Bidding strategies in deregulated power market
Gautham Reddy
 
Bidding strategies in deregulated power market
Bidding strategies in deregulated power marketBidding strategies in deregulated power market
Bidding strategies in deregulated power market
Gautham Reddy
 
Targeted Drug Delivery to CNS using Nanoparticles
Targeted Drug Delivery to CNS using NanoparticlesTargeted Drug Delivery to CNS using Nanoparticles
Targeted Drug Delivery to CNS using Nanoparticles
Gautham Reddy
 
Global positioning system (GPS)
Global positioning system (GPS)Global positioning system (GPS)
Global positioning system (GPS)
Gautham Reddy
 
Global positioning system (GPS)
Global positioning system (GPS)Global positioning system (GPS)
Global positioning system (GPS)
Gautham Reddy
 
Nano-particles and targeting strategies in drug delivery
Nano-particles and targeting strategies in drug deliveryNano-particles and targeting strategies in drug delivery
Nano-particles and targeting strategies in drug delivery
Gautham Reddy
 
Role of nanoparticles in drug delivery
Role of nanoparticles in drug deliveryRole of nanoparticles in drug delivery
Role of nanoparticles in drug delivery
Gautham Reddy
 
Bioelectronics and biosensors
Bioelectronics and biosensorsBioelectronics and biosensors
Bioelectronics and biosensors
Gautham Reddy
 
Resource allocation in OFDM based cognitive radio system
Resource allocation in OFDM based cognitive radio systemResource allocation in OFDM based cognitive radio system
Resource allocation in OFDM based cognitive radio system
Gautham Reddy
 

More from Gautham Reddy (20)

Steel Melting Shop (SMS)
Steel Melting Shop (SMS)Steel Melting Shop (SMS)
Steel Melting Shop (SMS)
 
Porters 5 forces for mobile industry
Porters 5 forces for mobile industryPorters 5 forces for mobile industry
Porters 5 forces for mobile industry
 
sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...
sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...
sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...
 
Biofuels
 Biofuels Biofuels
Biofuels
 
Resource Allocation in an OFDM-Based Cognitive Radio System
Resource Allocation in an OFDM-Based Cognitive Radio SystemResource Allocation in an OFDM-Based Cognitive Radio System
Resource Allocation in an OFDM-Based Cognitive Radio System
 
OTI Cyber warefare
OTI Cyber warefareOTI Cyber warefare
OTI Cyber warefare
 
Case study of profiles of electrical steel
Case study of profiles of electrical steelCase study of profiles of electrical steel
Case study of profiles of electrical steel
 
Design of Microwave oven using 8051 micro controller
Design of Microwave oven using 8051 micro controllerDesign of Microwave oven using 8051 micro controller
Design of Microwave oven using 8051 micro controller
 
Bidding strategies in deregulated power market
Bidding strategies in deregulated power marketBidding strategies in deregulated power market
Bidding strategies in deregulated power market
 
Bidding strategies in deregulated power market
Bidding strategies in deregulated power marketBidding strategies in deregulated power market
Bidding strategies in deregulated power market
 
Targeted Drug Delivery to CNS using Nanoparticles
Targeted Drug Delivery to CNS using NanoparticlesTargeted Drug Delivery to CNS using Nanoparticles
Targeted Drug Delivery to CNS using Nanoparticles
 
Global positioning system (GPS)
Global positioning system (GPS)Global positioning system (GPS)
Global positioning system (GPS)
 
Global positioning system (GPS)
Global positioning system (GPS)Global positioning system (GPS)
Global positioning system (GPS)
 
Nano-particles and targeting strategies in drug delivery
Nano-particles and targeting strategies in drug deliveryNano-particles and targeting strategies in drug delivery
Nano-particles and targeting strategies in drug delivery
 
Idealism vs Realism
Idealism vs RealismIdealism vs Realism
Idealism vs Realism
 
Satellite antennas
Satellite antennasSatellite antennas
Satellite antennas
 
Role of nanoparticles in drug delivery
Role of nanoparticles in drug deliveryRole of nanoparticles in drug delivery
Role of nanoparticles in drug delivery
 
Bioelectronics and biosensors
Bioelectronics and biosensorsBioelectronics and biosensors
Bioelectronics and biosensors
 
Resource allocation in OFDM based cognitive radio system
Resource allocation in OFDM based cognitive radio systemResource allocation in OFDM based cognitive radio system
Resource allocation in OFDM based cognitive radio system
 
Cadancesimulation
CadancesimulationCadancesimulation
Cadancesimulation
 

Recently uploaded

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 

Fuzzy adaptive GSA

  • 1. Fuzzy adaptive gravitational search algorithm PREPARED BY K.GAUTHAM REDDY 2011A8PS364G
  • 2. Bidding  Agents submit bids (Quantity and cost) to either buy or sell energy.  Independent System Operator (ISO)  Market clearing price  Uniform pricing or pay as bid
  • 3. Strategic bidding  Knowing their own costs, technical constraints and     their expectation of rival and market behavior, suppliers face the problem of constructing the best optimal bid. Three basic approaches: i) Based on the estimation of market clearing price ii) Estimation of rival’s bidding behavior and iii)On game theory
  • 4. Fuzzy adaptive GSA Mathematical formulation  Consider total of ‘m’ suppliers  Uniform pricing method is followed  The jth supplier bid with linear supply curve denoted by Gj (Pj ) = aj + bj Pj Pj is the active power output, ajand bj are nonnegative bidding coefficients of the jth supplier.
  • 5.
  • 6.  When we solve the above equation we get the solutions as  Cost function :Cj (Pj ) = ej Pj + fj Pj2 , where ej and fj are the cost coefficients of the jth supplier.
  • 7. Profit maximization  Hence our main objective is to maximize profits which is the difference between the selling price and the production price which is as follows  The objective is to determine bidding coefficients aj and bj so as to maximize F(aj,bj) subject to equations 5 and 6.  Keep one constant and vary other as they are interdependent
  • 8. Gravitational search algorithm:  Follows two basic laws i) Law of gravity ii) Law of motion.  Agents are considered as objects and their performance is measured by their masses.  Lighter masses gravitate towards the heavier masses (which signify good solutions)  The position of the masses correlates to the solution space in the search domain while the masses characterize the fitness space.
  • 9.  As the iterations increase, and gravitational interactions occur, it is expected that the masses would conglomerate at its fittest position and provide an optimal solution to the problem.  Now, consider a system with N agents (masses), the position of the ith agent is defined by: Xi = (x1 , . . . , xd , . . . , xn ) for i = 1, 2, . . . , N where xd presents the position with N agents (masses), the position of the ith agent in the dth dimension and n is the space dimension
  • 10.  At a specific time ‘t’ we define the force acting on mass ‘i’ from mass ‘j’ as following: where Maj is the active gravitational mass related to agent j, Mpi is the passive gravitational mass related to agent i, G(t) is gravitational constant at time t, ε is a small constant and Rij(t) is the Euclidian distance between two agents i and j.
  • 11.  The total force acting on each mass i is given in a stochastic form as the following  where rand(wj) ∈ [0, 1] is a randomly assigned weight. Consequently, the acceleration of each of the masses, is then as follows. where Mii is the inertial mass of ith agent.
  • 12.  The next velocity of an agent is considered as a fraction of its current velocity added to its acceleration. Therefore, its position and its velocity could be calculated as follows: vi (t + 1) = randi × vi (t) + ai (t) xd (t + 1) = xd(t) + vd(t + 1) where randi is a uniform random variable in the interval [0,1].
  • 13.  The gravitational constant, G, is initialized at the beginning and will be reduced with time to control the search accuracy. Hence, G is a function of the initial value (G0) and time (t): Here G0 is set to 100.
  • 14.  Fuzzification:  Inputs : (i) normalized fitness value (NFV) (ii) current gravitational constant (G) Outputs: The correction of the gravitational constant (dG).
  • 15.  Input variables represented by three linguistic values, S (small), M (medium) and L (large) where as output variable (G) is presented in three fuzzy sets of linguistic values; NE (negative), ZE (zero) and PE (positive) with associated triangular membership functions.
  • 16.  The value of the parameter ‘G’ is large at the beginning of the search process and gradually it becomes small as the iterations are increasing. The change in gravitational constant (dG) is small and requires both positive and negative corrections.  After we get a new value of G, GSA until iteration reaches their maximum limit. Return the best fitness (optimal bid value bj) computed at final iteration as a global fitness. Using bj values, calculate MCP