Generalized Optimization in the British Columbia Hydroelectric System