PSO(1)PSO(1)AbEC - PSO> [ Home ] > [ Examples ][~]$ The algorithmThe Particle Swarm Optimization (PSO) is a population-based global optimization algorithm that was inspired by the behavior of swarms of animals, such as birds and schools of fish. The algorithm starts with a group of particles, each representing a candidate solution. These particles move in the search space looking for the optimal solution. Each particle keeps the memory of its best position found so far and, through social interaction with other particles, seeks to find a better solution. Particles are attracted to the position of the best particles in their group and are also influenced by their own best position. The direction and speed of each particle are updated at each iteration of the algorithm, allowing them to explore the search space cooperatively. The PSO algorithm has been widely used for optimization problems in several areas, such as engineering, computer science, finance, among others. Its effectiveness and ease of implementation make it a popular choice for solving complex optimization problems.
If you want to know more about it, please come here. Below the configuration files to run the PSO using the framework.[~]$ Configuration filesBe free to use this framework.> algoConfig.ini
> [ file ]
{
"__COMMENT__": "BASIC CONFIGURATION",
"ALGORITHM": "PSO", -> Configure the name
"POPSIZE": 50,-> Set the population size
"MIN_POS": 0,-> Set the min value in the search space
"MAX_POS": 100,-> Set the max value in the search space
"__COMMENT__": "OPTIMIZER CONFIGURATION",
"GA_POP_PERC": 0,
"GA_ELI_PERC": 0.2,
"GA_CROSS_PERC": 1,
"GA_MUT_PERC": 0.1,
"GA_MUT_STD": 1,
"GA_ENCODER": 0,
"GA_INDSIZE": 16,
"PSO_POP_PERC": 1,-> Set the whole population to perform PSO
"PSO_PHI1": 2.05,-> Set the σ1 hyper-parameter in 2.05
"PSO_PHI2": 2.05,-> Set the σ1 hyper-parameter in 2.05
"PSO_W": 0.729,-> Set the ω hyper-parameter in 0.729
"PSO_MIN_VEL": -100,-> Set the min speed of a individual in -100
"PSO_MAX_VEL": 100,-> Set the max speed of a individual in 100
"DE_POP_PERC": 0,
"DE_F": 0.5,
"DE_CR": 0.7,
"ES_POP_PERC": 0,
"ES_RCLOUD": 0.2,
"__COMMENT__": "COMPONENTS CONFIGURATION",
"COMP_CHANGE_DETECT": 0,
"COMP_CHANGE_DETECT_MODE": 0,
"COMP_MULTIPOP": 0,
"COMP_MULTIPOP_N": 10,
"COMP_MUT": 0,
"COMP_MUT_PERC": 0.05,
"COMP_MUT_ELI": 0.5,
"COMP_MUT_STD": 0.1,
"COMP_EXCLUSION": 0,
"COMP_EXCLUSION_REXCL": 22.9,
"COMP_ANTI_CONVERGENCE": 0,
"COMP_ANTI_CONVERGENCE_RCONV": 39.7,
"COMP_LOCAL_SEARCH": 0,
"COMP_LOCAL_SEARCH_ETRY": 20,
"COMP_LOCAL_SEARCH_RLS": 1
}
AbEC © 2023.