We stress the fact that in our case the assumption that the cost function is linear with respect the state variable \(u\)  is crucial; otherwise simple examples show that an optimal shape or an optimal potential may not exist (see for instance [1]}, [2]} and [3]}) and the optimal solution only exists in a relaxed sense in the space of capacitary measures, introduced in [4]}.
