FEM and evolution strategies in the optimal design of electromagnetic devices | Synapse