In this paper, on the basis of full understanding of the model and the algorithm of solving combinatorial mathematics bin-packing problem and production planning processes arrangements, in accordance with the characteristics of the students' physical fitness test to determine the two-stage method for solving the problem. The first stage, simplify the model into a bin-packing problem, and thus get the minimum time period, assign the class to each time according to the total number of physical fitness test to the principle of the optimal balance. The second stage, in order to simplify the calculation, take the student as little as possible total waiting time as the objective function to simplify the problem into the process arrangements model, the model for different rationality makes a better evaluation, adaptability is strong and have a certain value of popularization and application.