Swarm method

SIAM

Clear[best,S,H]
siamResults=
ParallelTable[
PSOFast[{siam,dsiam},{-1,1},{2,64,500},Swarm],
{12}
]
{Min[siamResults],Mean[siamResults]}

SIAM 4D

Clear[best,S,H]
siam4Results=
Table[
PSOFast[{siam4,dsiam4},{-1,1},{4,128,500},Swarm],
{12}
]
{Min[siam4Results],Mean[siam4Results]}

Himmelblau

hResults=
ParallelTable[
PSOFast[{f,g},{-5,5},{2,64,500},Swarm],
{12}
]
{Min[hResults],Mean[hResults]}

Rosen

rResults=
ParallelTable[
PSOFast[{rosen,drosen},{-5,5},{2,64,500},Swarm],
{12}
]
{Min[rResults],Mean[rResults]}

27D Himmelblau

f27Results=
ParallelTable[
PSOFast[{f27,g27},{-5,5},{27,32*27,500},Swarm],
{i,1,12}
]
{Min[f27Results],Mean[f27Results]}

Random Swarm method

SIAM

Clear[best,S,H]
siamResults=
ParallelTable[
PSOFast[{siam,dsiam},{-1,1},{2,64,500},RandomSwarm],
{12}
]
{Min[siamResults],Mean[siamResults]}

SIAM 4D

Clear[best,S,H]
siam4Results=
Table[
PSOFast[{siam4,dsiam4},{-1,1},{4,128,500},RandomSwarm],
{12}
]
{Min[siam4Results],Mean[siam4Results]}

Himmelblau

hResults=
ParallelTable[
PSOFast[{f,g},{-5,5},{2,64,500},RandomSwarm],
{12}
]
{Min[hResults],Mean[hResults]}

Rosen

rResults=
ParallelTable[
PSOFast[{rosen,drosen},{-5,5},{2,64,500},RandomSwarm],
{12}
]
{Min[rResults],Mean[rResults]}

27D Himmelblau

f27Results=
ParallelTable[
PSOFast[{f27,g27},{-5,5},{27,32*27,500},RandomSwarm],
{i,1,12}
]
{Min[f27Results],Mean[f27Results]}

GS1 method

SIAM

Clear[best,S,H]
siamResults=
ParallelTable[
PSOFast[{siam,dsiam},{-1,1},{2,64,500},GradientShotgun],
{12}
]
{Min[siamResults],Mean[siamResults]}

SIAM 4D

Clear[best,S,H]
siam4Results=
Table[
PSOFast[{siam4,dsiam4},{-1,1},{4,128,500},GradientShotgun],
{12}
]
{Min[siam4Results],Mean[siam4Results]}

Himmelblau

hResults=
ParallelTable[
PSOFast[{f,g},{-5,5},{2,64,500},GradientShotgun],
{12}
]
{Min[hResults],Mean[hResults]}

Rosen

rResults=
ParallelTable[
PSOFast[{rosen,drosen},{-5,5},{2,64,500},GradientShotgun],
{12}
]
{Min[rResults],Mean[rResults]}

27D Himmelblau

f27Results=
ParallelTable[
PSOFast[{f27,g27},{-5,5},{27,32*27,500},GradientShotgun],
{i,1,12}
]
{Min[f27Results],Mean[f27Results]}

GS2 method

SIAM

Clear[best,S,H]
siamResults=
ParallelTable[
PSOFast[{siam,dsiam},{-1,1},{2,64,500},GradientShotgun2],
{12}
]
{Min[siamResults],Mean[siamResults]}

SIAM 4D

Clear[best,S,H]
siam4Results=
ParallelTable[
PSOFast[{siam4,dsiam4},{-1,1},{4,128,500},GradientShotgun2],
{12}
]
{Min[siam4Results],Mean[siam4Results]}

Himmelblau

hResults=
ParallelTable[
PSOFast[{f,g},{-5,5},{2,64,500},GradientShotgun2],
{12}
]
{Min[hResults],Mean[hResults]}

Rosen

rResults=
ParallelTable[
PSOFast[{rosen,drosen},{-5,5},{2,64,500},GradientShotgun2],
{12}
]
{Min[rResults],Mean[rResults]}

27D Himmelblau

f27Results=
ParallelTable[
PSOFast[{f27,g27},{-5,5},{27,32*27,500},GradientShotgun2],
{i,1,12}
]
{Min[f27Results],Mean[f27Results]}

GM1 method

SIAM

Clear[best,S,H]
siamResults=
ParallelTable[
PSOFast[{siam,dsiam},{-1,1},{2,64,500},GravityMarbles,True],
{12}
]
{Min[siamResults],Mean[siamResults]}

SIAM 4D

Clear[best,S,H]
siam4Results=
ParallelTable[
PSOFast[{siam4,dsiam4},{-1,1},{4,128,500},GravityMarbles,True],
{12}
]
{Min[siam4Results],Mean[siam4Results]}

Himmelblau

hResults=
ParallelTable[
PSOFast[{f,g},{-5,5},{2,64,500},GravityMarbles,True],
{12}
]
{Min[hResults],Mean[hResults]}

Rosen

rResults=
ParallelTable[
PSOFast[{rosen,drosen},{-5,5},{2,64,500},GravityMarbles,True],
{12}
]
{Min[rResults],Mean[rResults]}

27D Himmelblau

f27Results=
ParallelTable[
PSOFast[{f27,g27},{-5,5},{27,32*27,500},GravityMarbles,True],
{i,1,12}
]
{Min[f27Results],Mean[f27Results]}

GM2 method

SIAM

Clear[best,S,H]
siamResults=
ParallelTable[
PSOFast[{siam,dsiam},{-1,1},{2,64,500},GravityMarbles2],
{12}
]
{Min[siamResults],Mean[siamResults]}

SIAM 4D

Clear[best,S,H]
siam4Results=
ParallelTable[
PSOFast[{siam4,dsiam4},{-1,1},{4,128,500},GravityMarbles2],
{12}
]
{Min[siam4Results],Mean[siam4Results]}

Himmelblau

hResults=
ParallelTable[
PSOFast[{f,g},{-5,5},{2,64,500},GravityMarbles2],
{12}
]
{Min[hResults],Mean[hResults]}

Rosen

rResults=
ParallelTable[
PSOFast[{rosen,drosen},{-5,5},{2,64,500},GravityMarbles2],
{12}
]
{Min[rResults],Mean[rResults]}

27D Himmelblau

f27Results=
ParallelTable[
PSOFast[{f27,g27},{-5,5},{27,32*27,500},GravityMarbles2],
{i,1,12}
]
{Min[f27Results],Mean[f27Results]}