Posts

Showing posts from August 8, 2023

New Post

Poplar Optimization Algorithm || Step-By-Step || ~xRay Pixy

Image
The Poplar Optimization Algorithm (POA) is a nature-inspired optimization method based on how poplar trees reproduce. It uses sexual propagation (seed dispersal by wind) for exploration and asexual reproduction (cutting and regrowth) for exploitation. Mutation and chaos factors help maintain diversity and prevent premature convergence, making POA efficient for solving complex optimization problems. Learn the Poplar Optimization Algorithm Step-By-Step using Examples. Video Chapters: Poplar Optimization Algorithm (POA) 00:00 Introduction 02:12 POA Applications 03:32 POA Steps 05:50 Execute Algorithm 1 13:45 Execute Algorithm 2 16:38 Execute Algorithm 3 18:15 Conclusion Main Points of the Poplar Optimization Algorithm (POA) Nature-Inspired Algorithm ā€“ Based on the reproductive mechanisms of poplar trees. Two Key Processes : Sexual Propagation (Seed Dispersal) ā€“ Uses wind to spread seeds, allowing broad exploration. Asexual Reproduction (Cuttings) ā€“ Strong branches grow ...

GWO Python Code || Grey Wolf Optimizer in Python || ~xRay Pixy

Image
SOURCE CODE import numpy as np import tkinter as tk import matplotlib.pyplot as plt from tkinter import messagebox def initialization (PopSize,D,LB,UB):     SS_Boundary = len(LB) if isinstance(UB,(list,np.ndarray)) else 1     if SS_Boundary ==1:         Positions = np.random.rand(PopSize,D)*(UB-LB)+LB     else:         Positions = np.zeros((PopSize,D))         for i in range(D):             Positions[:,i]=np.random.rand(PopSize)*(UB[i]-LB[i])+LB[i]     return Positions def GWO(PopSize,MaxT,LB,UB,D,Fobj):     Alpha_Pos = np.zeros(D)     Alpha_Fit = np.inf     Beta_Pos = np.zeros(D)     Beta_Fit = np.inf     Delta_Pos = np.zeros(D)     Delta_Fit = np.inf     Positions = initialization(PopSize,D,UB,LB)     Convergence_curve = np.zeros(MaxT)     l = 0     while l...
More posts