Optimal designs with topology optimisation