The problem of economically and optimally designing a water supply system amounts to determining the values of all the variables involved in such a way that the investment and maintenance costs of the system are minimal; apart from other possible constraints which have to be taken into account