Evolutionary and genetic algorithms for design of metadevices working on electric dipole resonance. (March 2020)