Gravar-mail: Optimizing the profit from a complex cascade of hydroelectric stations with recirculating water