Comparative optimization of sandwich plates with prismatic and truss cores