AbstractThe ideal gas molecular movement (IGMM) as a metaheuristic optimization method is a prominent option for solving optimization problems. However, in some complex cases, IGMM may possess premature convergence or get trapped in local optima. Therefore, to tackle these issues, this paper indicates a new modified IGMM algorithm named opposition‐based IGMM, which has been incorporated with opposition based learning (OBL), Cauchy mutation (CM), velocity clamping (VC), and mirror operator (MO) to enhance its performance. OBL, VC, and MO improve the convergence of IGMM, whereas CM assists IGMM to escape local optima. The effect of each strategy, OBL, CM, VC, and MO, on IGMM, is confirmed through 30 low and high‐dimensional benchmarks, including 23 well‐known mathematical problems and CEC2017 as complex test functions and three engineering problems. Analysis results represent that integration IGMM with OBL, CM, VC, and MO has the best performance among other IGMM variants and eventually improved IGMM in exploration, exploitation, accelerating convergence, and local optima avoidance.