The proposed MPSO improves the detection performance by 24% and time performance by 4.71 times compared to the original PSO, and also outperforms other state-of-the-art metaheuristic optimization algorithms including the artificial bee colony (ABC), ant colony optimization (ACO), genetic algorithm (GA), differential evolution (DE), and tree-seed algorithm (TSA) in most search scenarios.