The function for algorithm benchmark is the Himmelblau’s function which minimas are at (3,2), (-2.8,3.1), (-3.7, -3.2) and (3.5, -1.8).
- .ipynb: Notebook for code exploration
- pso.py: Script that performs the PSO for Himmelblau’s function
- pyproject.toml: Project information with poetry dependencies
- shell.nix: Nix shell with system dependencies
python3 pso.py