Abstract To solve the scheduling problem of a flexible production line of reinforced mesh, a mathematical model of flexible production line scheduling of reinforced mesh was established to minimize the maximum completion time. The Improved Gray Wolf Algorithm (IGWO) was designed, and the improvement measures of the Gray Wolf Algorithm (GWO) were proposed from the population initialization method, key parameter improvement, and search mechanism. Through the example verification, the Improved Grey Wolf Algorithm is applied to the scheduling problem of the flexible steel production line. The problem of the flexible production line of steel mesh and the results of the Improved Grey Wolf Algorithm, Grey Wolf Algorithm, Genetic Algorithm (GA), and artificial scheduling are compared. The results verify that the results of the enhanced Grey Wolf Algorithm have better quality and can better guide the production line to carry out efficient and energy-saving production.