Text this: A SEIR model for control of infectious diseases with constraints