Optimum hydraulic design of cylindrical weirs