Optimal Management of Flow in Groundwater Systems: An Introduction to Combining Simulation Models and Optimization Methods