Optimal control of a large dam using time-inhomogeneous Markov chains with an application to flood control. Issue 1 (July 2017)