Optimal control of deterministic epidemics | Synapse