Swarm particule optimization in python
Je cite l'intro:
Wed Aug 2 11:58:58 2017 - permalink -
Imagine that you and your friends are looking for a treasure together. The treasure is magical, and it rewards not only the one who finds it, but also others based on their proximity. Your group knows, approximately, where the treasure is, but not exactly sure of its definite location.
Your group then decided to split up and all of you received walkie-talkies and metal detectors. The purpose of the walkie-talkie is to inform everyone of your current position, while the metal detectors indicate if you are near the treasure. In return, you gain knowledge of the location of your friends, and also their proximity to the treasure.
Here, it is evident that by using the information you can gather from your friends, you can increase the chances of finding the treasure, and at the same time maximize the group’s reward. This is the basics of Particle Swarm Optimization (PSO). The group is called the swarm, you are a particle, and the treasure is the global optimum