Optimally scheduling public safety power shutoffs