In this work, a mathematical model describing an infectious disease (pine wilt disease) caused by bark beetles has been studied. It has been analyzed qualitatively on the basis of “basic reproduction number” \({R_0}\) . We proved that, only disease-free state exists as long as the basic reproduction number is below or equal to unity and all solutions approach this point. When \({R_0}>1\) , all trajectories ultimately approach the endemic equilibrium. The model has been applied on the actual number of infectious pine trees occurred in Korea during ten years period and estimated the values of parameters. Significant parameters have been observed with the help of the sensitivity analysis and artificial neural networks has been used to observe the numerical treatment of tainted hosts (pines) and vectors (pine sawyers) through fitness curves with respect to the most considerable factors. These curves demonstrate the upshot of the effects of parameters clearly on the infectious hosts and vectors. Optimal control problem has been designed and studied. The efficacy of applied control strategies has been shown through the numerical simulations by using RK-4 method.