Markov models and optimization. ([2018?])