Rastrigin Function, Ackley's Function and Sphere Function
Rastrigin Function, Ackley's Function and Sphere Function
Lab Assignment
In applied mathematics, optimization test functions are useful to evaluate characteristics of optimization
algorithms, such as: Convergence rate, Precision, Robustness and General performance etc.
Some of the popular functions such as Rastrigin function, Ackley's function and Sphere function are given below.
Their MATLAB code has also been provided with this assignment. The functions are valid for n
dimensional input; however the plots can only be visualized for one or two dimension input.
Task2: Apply PSO for the aforementioned functions to find the global minima.
Task3: Apply Genetic Algorithm for the aforementioned functions to find the global minima.