Install packages using script below. pip must be installed in your environment to execute this script.
pip install -r requirements.txt
Run the the script below on the terminal
python main.py
How to Use
Select at least one algoritm and one function
Hit run button and get the convergence plot. It will plot only result of the selected algorithm.
You can select up to three algorithms to compare or one algorithm for three different parameters.
The result of comparison look likes this for ackley function. We have 16 more pre-defined well-known functions.
SMA (Slime Mould Algorithm) has different parameters from other algorithms.
To get detailed explanation and formula of the selected function hit the question mark. You can see ackley's detailed information below.
You can use the following script to understand creating custom function. The following example is ackley function rewritten version using numpy functions.