Solving the Wake-up Scattering Problem Optimally