%0 Journal Article %T Optimal Control of an SIR Model with Delay in State and Control Variables %A Mohamed Elhia %A Mostafa Rachik %A Elhabib Benlahmar %J ISRN Biomathematics %D 2013 %R 10.1155/2013/403549 %X We will investigate the optimal control strategy of an SIR epidemic model with time delay in state and control variables. We use a vaccination program to minimize the number of susceptible and infected individuals and to maximize the number of recovered individuals. Existence for the optimal control is established; PontryaginĄ¯s maximum principle is used to characterize this optimal control, and the optimality system is solved by a discretization method based on the forward and backward difference approximations. The numerical simulation is carried out using data regarding the course of influenza A (H1N1) in Morocco. The obtained results confirm the performance of the optimization strategy. 1. Introduction For a long time, infectious diseases have caused several epidemics, leaving behind them not only millions of dead and infected individuals but also severe socioeconomic consequences. Nowadays, mathematical modeling of infectious diseases is one of the most important research areas. Indeed, mathematical epidemiology has contributed to a better understanding of the dynamical behavior of infectious diseases, its impacts, and possible future predictions about its spreading. Mathematical models are used in comparing, planning, implementing, evaluating, and optimizing various detection, prevention, therapy, and control programs. Many influential results related to the development and analysis of epidemiological models have been established and can be found in many articles and books (see, e.g., [1¨C3]). Epidemiological models often take the form of a system of nonlinear, ordinary, and differential equations without time delay. However, for various biological reasons, the real dynamic behavior of an epidemic depends not only on its current state but also on its past history. Thus, to reflect the real behavior of some diseases, many researchers have proposed and analyzed more realistic models including delays to model different mechanisms in the dynamics of epidemics like latent period, temporary immunity and length of infection (see, e.g., [4¨C8] and the references therein). To the best of our knowledge, including time delay in both state and control variables in the context of an epidemic controlled model has not been studied. There have been some works (like [9, 10]) which study an optimal control problem with time delay but only in the state variable. In this paper, we will investigate the effect of a vaccination program in the case of an SIR (susceptible-infected-recovered) epidemic model with time delay in the control and the state variables. To do this, %U http://www.hindawi.com/journals/isrn.biomathematics/2013/403549/