Text this: Optimal allocation of resources between control and surveillance for complex eradication scenarios