Analyses are done to assist in design, operation, maintenance and optimization of water distribution systems. There are two main types of analyses: hydraulic, and water quality behavior as it flows through a water distribution system. Optimizing the design of water distribution networks is a complex task. However, a large number of methods have already been proposed, mainly based on metaheuristics. Employing mathematical optimization techniques can lead to substantial construction savings in these kinds of infrastructures.