Optimizing All-Optical Network Designs