Product tolerance is one of the key factors which can determine the good or bad performance of mechanical products. Its size not only affects the manufacturing and assembly process, but also affects product features . Thus tolerance optimization design gets more and more attention. In this paper, an improved physical programming method is used to make mathematical modeling for tolerance allocation problem of assembly dimensional chain, and PSO algorithm is also used to improve solving ability. And the effective solution for tolerance optimization is designed.