Download Planning With Markov Decision Processes. An Ai Perspective