Skip to content

This repository contains an implementation of the Self-Adaptive Particle Swarm Optimization (SA-PSO) algorithm, a dynamic method that adjusts its parameters to optimize problem-solving.

Notifications You must be signed in to change notification settings

2Gpb/SA-ParticleSwarmOptimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SelfAdaptive-ParticleSwarmOptimization (SA-PSO)

This project implements the Self-Adaptive Particle Swarm Optimization (SA-PSO) algorithm, which combines the concepts of Particle Swarm Optimization (PSO) and Self-Adaptive mechanisms. The main feature of SA-PSO is the dynamic adaptation of the inertia weight w during the optimization process, improving the balance between exploration and exploitation.

Main Components

  • Particle Class — Represents an individual particle with methods to update its velocity, position, and track the best position based on fitness.
  • SAParticleSwarmOptimization Class — Manages the swarm, dynamically adjusts the inertia weight, and iteratively updates particles’ positions and velocities to find an optimal solution.

Getting Started:

To run this project, you need to install the required dependencies. You can install them using pip: 

pip install -r requirements.txt

About

This repository contains an implementation of the Self-Adaptive Particle Swarm Optimization (SA-PSO) algorithm, a dynamic method that adjusts its parameters to optimize problem-solving.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages