How to optimise something when multiple parameters change the output
From what I understand, those problems are often solved with metaheuristics, like genetic algorithms: they have been successfully applied in solving engineering problems.

I don't know how well it would apply to your case, but antenna design has been done using genetic algorithms.