Models for the layout of production lines have been studied in this paper. First, it constructed a model of Multi-row Mix Integer Programming for the Flexible Manufacturing Systems. Secondly, using the genetic algorithms to analyze, it established the effective solutions. Finally, it completed the evaluation of the program. Demonstrating the feasibility and effectiveness method through the case of studies, a new method was given for the layout of large-scale production line.