Optimization Algorithm for Sandwich Panels