Graph algorithms and central control of sewer systems