In this study, the optimization of the location of oil production and injection wells, the number of production and injection wells, and the economic evaluation in the water injection process has been carried out using three algorithms: PSO, GA, and HGAPSO. Optimizing the oil extraction process by optimizing well locations, the optimal number of production and injection wells, and economic evaluation can improve the performance and efficiency of the process. In this study, the optimization of the water injection process into oil reservoirs using the PSO, GA, and HGAPSO algorithms has been addressed. Additionally, economic evaluation, considering costs and profits from oil production using the best-optimized parameters, has been conducted, and the best Net Present Value (NPV) has been calculated. Initially, the optimal well location problem is modeled, taking into account reservoir characteristics and geological conditions. Using the PSO and GA algorithms, the best well location and number of water injection wells have been obtained, leading to improved efficiency and cost reduction. Then, the GA algorithm is used to combine and modify viewpoints and optimize the number and location of wells. This algorithm explores optimal solutions in the well location space. Economic evaluation is performed using the best-optimized parameters by the algorithms. Costs of water injection, oil production costs, and profits from increased oil production are considered. By calculating the best Net Present Value (NPV), optimal decisions regarding the water injection process and enhancing the performance of oil reservoirs are made. Simulation results indicate that the GA algorithm outperforms other algorithms and can be used as a robust and effective method for optimizing well locations and the number of production and injection wells in the oil injection process. Ultimately, this study assists the oil industry in making better decisions about optimizing water injection and improving the