A model to find the minimum value of multidimensional functions.
It uses:
Partical Swap Optimization
https://en.wikipedia.org/wiki/Particle_swarm_optimization
Artificial Bee Colony algorithm
https://en.wikipedia.org/wiki/Artificial_bee_colony_algorithm
cd pso
python3 main.py
Shows the lowest value, and position at that time.
Also plots the history of the lowest value on Semi-log graph.
Firstly runs with PSO, and then ABC.
In functions.installer
, change below:
class FunctionInstaller:
...
def function_install(dimension):
# return Sphere(dimension) <- remove comment out of the function you wanna use.
...
return Minima2n(dimension) <- comment out functions you don't wanna use.
Then, run test.py
cd pso
python3 test.py