Dynamic multiobjective optimization: a way to the shape design with transient magnetic fields