On the aerodynamic optimization of supersonic wings