Optimization of sandwich plates with truss cores