New Post

Python Code || Path Planning with Grey Wolf Optimization (GWO) ~xRay Pixy

Image
Learn how to implement an obstacle-avoiding path planning for a robot using the Grey Wolf Optimization (GWO) in a static environment. #optimization #algorithm #metaheuristic #robotics #deeplearning #ArtificialIntelligence #MachineLearning #computervision #research #projects #thesis #Python

Chemical Reaction Optimization Algorithm step-by-step with example ~xRay...

Chemical Reaction Optimization Algorithm

Chemical Reaction Optimization algorithm is a population-based metaheuristic algorithm. Chemical Reaction Optimization algorithm is inspired by Chemical reactions. Chemical Reaction Optimization algorithm is developed by Albert Y.S. Lam and Victor O.K. Li. In this algorithm, Molecular structure (sum all characteristics) is used to compute the solution. Chemical Reaction Optimization algorithm is used to solve optimization problems.


Chemistry Basic Fundamentals: Atom / Molecule / Chemical Bonding / Molecular Structure / Molecule Energy / Chemical Reations/ Elementary Reactions 

Atom:  According to Dalton (in 1808), an atom is the smallest part of an element that exists as the smallest entity. 3 important fundamental particles of an atom are Proton, Electron, and Neutron.
For Example Oxygen (O), Nitrogen (N), Hydrogen (H), etc.

Molecule: A molecule is composed of 2 or more atoms held together by chemical bonds. The molecule is always formed when it is more stable and has lower energy than individual atoms. The molecule is characterized by: Atom Type, Bond Length, Bond Energy, and Angle.
For Example Water (H2O), Nitrogen (N2), Ozone (O3), Carbon Dioxide (CO2).

Energy: Capacity to do any work. Different Energy Forms are: 
  1. Light Energy
  2. Heat Energy
  3. Electrical Energy
  4. Mechanical Energy
Energy Principals:
1.) Potential Energy: Potential Energy Means energy due to Object Position/condition/composition.
2.) Kinetic Energy: Kinetic Energy means capacity for doing work directly (easily transferred between objects). For Example Body in Motion.

A chemical bond is the force of attraction that holds the atoms together in a molecule. 

In any chemical reaction, molecules collide with each other or with the wall of the container. 
Four Elementary reactions in Chemical Reaction Optimization algorithm:

Uni-molecular Reactions
  • On-Wall Ineffective Collision: Collision occurred when any molecule hits the wall of the container and bounce back
  • Decomposition: When any molecule hit the wall it decomposes into 2 molecules
Multi molecular Reactions
  • Inner molecular Ineffective Collision: Two molecules collide with each other and bounce away.
  • Synthesis: Two molecules collide together and fuse into one molecule. 
Chemical Reaction Optimization Algorithm Step-by-Step
1.) Parameter Initialization Phase
Initialize all important parameters such as:
Population Size,  [Molecular Structure]
Number of Variables, [Total number of characteristics of molecule]
KineticEnergyLoassRate, [% of an upper limit of K.E. loss in the environment (in the collision)]
Molecule Collision Fraction, 
Initial Kinetic Energy,

2.) Initialize population Randomly in the search space.
Population = Set of Molecules
[1,2,3,4,5,6,…..Population Size]

3.) For each molecule do
    Assign a Random Solution to the molecular structure.
    Calculate the Potential Energy (P.E.) using the Objective function.
    Assign Kinetic Energy as Initial Kinetic Energy.
End For

4.) Further Process in Flow Chart: Chemical Reaction Optimization Algorithm Flow Chart.

Chemical Reaction Optimization algorithm Advantage:
Chemical Reaction Optimization algorithms achieve the best solutions to solve different real-world problems.


#Metaheuristic #Algorithms
Meta-heuristic Algorithms
Link - Click Here


Comments

Popular Post

PARTICLE SWARM OPTIMIZATION ALGORITHM NUMERICAL EXAMPLE

Cuckoo Search Algorithm for Optimization Problems

Particle Swarm Optimization (PSO)

PSO (Particle Swarm Optimization) Example Step-by-Step

how is the LBP |Local Binary Pattern| values calculated? Step-by-Step with Example

PSO Python Code || Particle Swarm Optimization in Python || ~xRay Pixy

Bat algorithm Explanation Step by Step with example

Grey Wolf Optimization Algorithm

Grey Wolf Optimization Algorithm Numerical Example

Whale Optimization Algorithm Code Implementation || WOA CODE || ~xRay Pixy