various methods have been used to economically design wastewater and stormwater collection systems. in this article, discrete differential dynamic programming (dddp) which is a subsection of dynamic programming (dp) was used. for each pipe network, various alternatives such as depth and slope of pipe laying and various diameters could be considered to satisfy hydraulic and engineering constrain...