A Programming Model for Analysis of the Reliability, Resilience, and Vulnerability of a Water Supply Reservoir