In this study, we propose an integrated mixed-integer programming (MIP) model for allocating a limited budget to control a destructive invasive insect endangering the forest vegetation, Hyphantria cunea (H. cunea). Our model seeks to minimize the number of infected and dead trees within a preset planning period, factoring in various infestation scenarios, migration behaviors, resource limitations, intervention timing, and monitoring capabilities. Our modeling framework is novel in the sense that it depicts the transmission process of H. cunea as an infectious compartmental model. Our optimization model is also meaningful because it innovatively bridges the spread dynamics of H. cunea and the optimal resource allocation by using the time-varying number of infected trees that can be accepted in testing and surveillance. Our numerical test data and parameter settings have been collected from large-scale field surveys on H. cunea in Jiangsu Province over the past three years. The scenarios-based method offers significant computational advantages in searching for the best alternatives to real-world size problems in a rational time. Furthermore, our test results specify that the proposed model can not only aid in controlling H. cunea, but also can be adopted as a potential tool for managing other invasive species in the future.