An analysis model of staff of single screw pump in declined oil well is established. Based on the analysis, a optimal model which takes maximum safety factor and minimum number of centralizers as objective function, subjects to four constraints: Static strength, fatigue strength, maximum deformation and the curve of well. The optimization model is studied by using dynamic programming. An example is completed to verify this method.