population size of pso in matlab

3 vues (au cours des 30 derniers jours)
yuen andy
yuen andy le 15 Oct 2020
Commenté : yuen andy le 16 Oct 2020
I am trying particle swarm optimization in MATLAB, but i could not find any information about the default number of population size for the PSO in matlab function. ( pos() ). I want to know about the population size. thank you.

Réponse acceptée

Stephan
Stephan le 15 Oct 2020
You find it here:
The entry is in the third row from the bottom of the table:
"SwarmSize
Number of particles in the swarm, an integer greater than 1. Default is min(100,10*nvars), where nvars is the number of variables."

Plus de réponses (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by