Designing and Optimizing Supply Chain Networks for Resilience Using Ecological Network Analysis