Enhancing Power System Resilience Through Computational Optimization