Optimizing border control policies for global outbreak mitigation