In this paper,a non-complete directed graph is drawn according to practical route information and materials and the Dijkstra algorithm is used to calculate the shortest path between any given two points.Then the graph is simplified through virtual combining or deleting the non-destination points as is required and restructured into a non-complete directed graph containing information concerning all feasible routes and points,on the basis of which a solution to the Traveling Salesman Problem of the graph is developed to optimize the distribution routing.Finally a numerical example is used to illustrate the validity of this algorithm in distribution routing problems.