Introduction - If you have any usage issues, please Google them yourself
Chaos particle swarm optimization, seeking cost function problems, avoid getting into local optimum particle swarm algorithm, obtaining the global optimum. Code containing cost function can be understood as an example.