Through a case of glass plate cutting, two-dimensional cutting pattern problem of rectangular blanks is discussed. The raw material is cut and laid out by applying the method of grouping and two-stage cutting pattern types. Here, the blanks are first divided into different groups based on certain requirements and then two-dimensional cutting pattern problem is transformed into two one dimensional cutting problems. Through constructing an integer programming model, the cutting program of the raw material can be obtained step-by-step by calculating in LINGO. Here, the precise algorithm of integer programming is applied, which is not the time algorithm of polynomial, in the specific implementation, there should be no other variables, so all the data should be divided into different groups to calculate. In each group, there should be no more than 6 blanks, grouped according to their size. This algorithm is simple and easy to operate with a high material usage.