Structure Oriented Approaches for Water System Optimization