population size of pso in matlab

4 Ansichten (letzte 30 Tage)
yuen andy
yuen andy am 15 Okt. 2020
Kommentiert: yuen andy am 16 Okt. 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.

Akzeptierte Antwort

Stephan
Stephan am 15 Okt. 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."

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by