Seven-Compartment Markov Decision Process Model for Control of Epidemic Infections