Control and Optimization Methods for Complex System Resilience