粒子群算法PSO源代码 MATLAB(1).docxVIP

  • 2
  • 0
  • 约2.88万字
  • 约 15页
  • 2026-05-07 发布于浙江
  • 举报

function[x,fval,exitflag,output]=pso(objfunc,nvars,options)

%PSOParticleSwarmOptimizationAlgorithm

%

%PSOattemptstosolvecontinuousoptimizationproblemoftheform

%

%minOBJFUNC(X)

%X

%

%NoconstraintsonthevaluesofentriesofXcanbeimposed,notewenboxcontraintsinformof

%thelowerandupperbound.Anydesiredconstraintsshouldbedealthwithbymodificationofthe

%objectivefunction:byintroductionofpenaltyfunctions,byreformulationoftheproblem,orsome

%otherway.

%

%Inthepresentimplementation,onlyclassicalstartopologyPSO

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档