Design optimization of heterogeneous microstructured materials