A comparison of DE and PSO optimization using 8 benchmark functions.