The flowing sequence has important effect to the flow ste Pdistance and the period of non-rhythm flowing construction,algorithmic research of ordering and step distance calculation are always difficult point of non-rhythm flowing construction optimizes studying.An optimization model of non-rhythm flow process is founded,and a common method for confirming the length of flow step was put forward.In order to find the solution of the optimization model conveniently,the optimization problem is transformed to shortest path problem skillfully.A dynamic programming algorithm is given to make the construction project period as shorter as possible,to reduce cost and improve economic efficiency.