In order to solve the problem of automatic optimization of the weighting factor in the DLS method for automatic lens design, the concept of the uniformizing factor of weight is proposed in this paper. The merit function could be made automatically out of false local minimum during optimization by means of automatic adjustment of the uniformizing factor of weight in the program. The program and a practical example are also given in this paper.