Text this: Mathematical Optimization of Water Networks