Skip to content

MuizHamzat/Particle-Swarm-Optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Particle-Swarm-Optimization

This was an assignment from my MECHTRON2MP3 course.

The purpose of this assignment was to implement the particle swarm optimization in C, and determine the optimal fitness value of the given function. The PSO function in this assignment takes multiple arguments: the objective function, number of dimensions, the lower and upper bounds, the number of particles to be used, and the max number of iterations to go through.

main.c is used to run test cases on the program. The tested objective functions can be found here.

About

Implementing Particle Swarm Optimization (PSO) in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors