Algorithmic Methods for Investigating Equilibria in Epidemic Modeling

Similar documents
Mathematical Analysis of Epidemiological Models: Introduction

Introduction to SEIR Models

Modelling of the Hand-Foot-Mouth-Disease with the Carrier Population

Thursday. Threshold and Sensitivity Analysis

Mathematical Analysis of Epidemiological Models III

STABILITY ANALYSIS OF A GENERAL SIR EPIDEMIC MODEL

MODELING THE SPREAD OF DENGUE FEVER BY USING SIR MODEL. Hor Ming An, PM. Dr. Yudariah Mohammad Yusof

Stability of SEIR Model of Infectious Diseases with Human Immunity

Models of Infectious Disease Formal Demography Stanford Summer Short Course James Holland Jones, Instructor. August 15, 2005

Applications in Biology

Global Stability of a Computer Virus Model with Cure and Vertical Transmission

Mathematical Model of Tuberculosis Spread within Two Groups of Infected Population

Australian Journal of Basic and Applied Sciences

An Improved Computer Multi-Virus Propagation Model with User Awareness

GLOBAL STABILITY OF SIR MODELS WITH NONLINEAR INCIDENCE AND DISCONTINUOUS TREATMENT

Reproduction numbers and sub-threshold endemic equilibria for compartmental models of disease transmission

Behavior Stability in two SIR-Style. Models for HIV

A Note on the Spread of Infectious Diseases. in a Large Susceptible Population

Global Analysis of an SEIRS Model with Saturating Contact Rate 1

PARAMETER ESTIMATION IN EPIDEMIC MODELS: SIMPLIFIED FORMULAS

MATHEMATICAL MODELS Vol. III - Mathematical Models in Epidemiology - M. G. Roberts, J. A. P. Heesterbeek

Non-Linear Models Cont d: Infectious Diseases. Non-Linear Models Cont d: Infectious Diseases

Global Analysis of an Epidemic Model with Nonmonotone Incidence Rate

Mathematical Epidemiology Lecture 1. Matylda Jabłońska-Sabuka

GLOBAL DYNAMICS OF A MATHEMATICAL MODEL OF TUBERCULOSIS

Epidemiology and Chaos Jonathan Wills Math 053: Chaos! Prof. Alex Barnett Fall Abstract:

Models of Infectious Disease Formal Demography Stanford Spring Workshop in Formal Demography May 2008

Mathematical Modeling and Analysis of Infectious Disease Dynamics

The dynamics of disease transmission in a Prey Predator System with harvesting of prey

Australian Journal of Basic and Applied Sciences. Effect of Education Campaign on Transmission Model of Conjunctivitis

Australian Journal of Basic and Applied Sciences. Effect of Personal Hygiene Campaign on the Transmission Model of Hepatitis A

A comparison of delayed SIR and SEIR epidemic models

DENSITY DEPENDENCE IN DISEASE INCIDENCE AND ITS IMPACTS ON TRANSMISSION DYNAMICS

A Time Since Recovery Model with Varying Rates of Loss of Immunity

The Dynamic Properties of a Deterministic SIR Epidemic Model in Discrete-Time

Quantifier Elimination

Research Article A Delayed Epidemic Model with Pulse Vaccination

(mathematical epidemiology)

Dynamics of Disease Spread. in a Predator-Prey System

HETEROGENEOUS MIXING IN EPIDEMIC MODELS

Qualitative Analysis of a Discrete SIR Epidemic Model

A Mathematical Analysis on the Transmission Dynamics of Neisseria gonorrhoeae. Yk j N k j

Project 1 Modeling of Epidemics

Global Stability of SEIRS Models in Epidemiology

Modeling the Spread of Epidemic Cholera: an Age-Structured Model

Research Article Modeling Computer Virus and Its Dynamics

MODELING AND ANALYSIS OF THE SPREAD OF CARRIER DEPENDENT INFECTIOUS DISEASES WITH ENVIRONMENTAL EFFECTS

The Existence and Stability Analysis of the Equilibria in Dengue Disease Infection Model

Spotlight on Modeling: The Possum Plague

A New Mathematical Approach for. Rabies Endemy

Application demonstration. BifTools. Maple Package for Bifurcation Analysis in Dynamical Systems

Bifurcations in an SEIQR Model for Childhood Diseases

GLOBAL STABILITY OF A VACCINATION MODEL WITH IMMIGRATION

Parameter Estimation of Some Epidemic Models. The Case of Recurrent Epidemics Caused by Respiratory Syncytial Virus

Accepted Manuscript. Backward Bifurcations in Dengue Transmission Dynamics. S.M. Garba, A.B. Gumel, M.R. Abu Bakar

Stability Analysis of a SIS Epidemic Model with Standard Incidence

Network Models in Epidemiology

Epidemics in Networks Part 2 Compartmental Disease Models

A Symbolic Numeric Environment for Analyzing Measurement Data in Multi-Model Settings (Extended Abstract)

Sensitivity and Stability Analysis of Hepatitis B Virus Model with Non-Cytolytic Cure Process and Logistic Hepatocyte Growth

Research Article Two Quarantine Models on the Attack of Malicious Objects in Computer Network

Mathematical modelling and controlling the dynamics of infectious diseases

AN EPIDEMIOLOGY MODEL THAT INCLUDES A LEAKY VACCINE WITH A GENERAL WANING FUNCTION. Julien Arino

Module 02 Control Systems Preliminaries, Intro to State Space

Dynamical models of HIV-AIDS e ect on population growth

Control of Epidemics by Vaccination

Linearization of Differential Equation Models

Delay SIR Model with Nonlinear Incident Rate and Varying Total Population

Mathematical Model of Dengue Disease Transmission with Severe DHF Compartment

Hepatitis C Mathematical Model

A comparison of existing measles models

Electronic appendices are refereed with the text. However, no attempt has been made to impose a uniform editorial style on the electronic appendices.

Dynamical Analysis of Plant Disease Model with Roguing, Replanting and Preventive Treatment

Smoking as Epidemic: Modeling and Simulation Study

The E ect of Occasional Smokers on the Dynamics of a Smoking Model

SOME SIMPLE EPIDEMIC MODELS. Fred Brauer. In honor of Professor Zhien Ma s 70th birthday

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers

Analysis of a Vaccination Model for Carrier Dependent Infectious Diseases with Environmental Effects

Fractional Calculus Model for Childhood Diseases and Vaccines

Analysis of Numerical and Exact solutions of certain SIR and SIS Epidemic models

Dynamic pair formation models

SI j RS E-Epidemic Model With Multiple Groups of Infection In Computer Network. 1 Introduction. Bimal Kumar Mishra 1, Aditya Kumar Singh 2

SIR Epidemic Model with total Population size

The death of an epidemic

Threshold Conditions in SIR STD Models

ME 406 S-I-R Model of Epidemics Part 2 Vital Dynamics Included

The Effect of Stochastic Migration on an SIR Model for the Transmission of HIV. Jan P. Medlock

Global dynamics of a HIV transmission model

8.1 Bifurcations of Equilibria

STUDY OF THE DYNAMICAL MODEL OF HIV

Modeling and Global Stability Analysis of Ebola Models

Transmission Dynamics of an Influenza Model with Vaccination and Antiviral Treatment

Modelling the spread of bacterial infectious disease with environmental effect in a logistically growing human population

Controller Synthesis for Hybrid Systems using SMT Solving

AARMS Homework Exercises

The Fractional-order SIR and SIRS Epidemic Models with Variable Population Size

GLOBAL STABILITY OF THE ENDEMIC EQUILIBRIUM OF A TUBERCULOSIS MODEL WITH IMMIGRATION AND TREATMENT

Exact Computation of the Real Solutions of Arbitrary Polynomial Systems

Choosing a variable ordering for truth-table invariant cylindrical algebraic decomposition by incremental triangular decomposition

Global Stability of Worm Propagation Model with Nonlinear Incidence Rate in Computer Network

Transcription:

Algorithmic Methods for Investigating Equilibria in Epidemic Modeling Christopher W. Brown 1 Department of Computer Science, United States Naval Academy, U.S.A. M hammed El Kahoui Max-Planck-Institut für Informatik, Saarbrücken, Germany Dominik Novotni Bonn-Aachen International Center for Information Technology, Bonn, Germany Andreas Weber Institut für Informatik II, Universität Bonn, Römerstr. 164, 53117 Bonn, Germany Abstract The calculation of threshold conditions for models of infectious diseases is of central importance for developing vaccination policies. These models are often coupled systems of ordinary differential equations, in which case the computation of threshold conditions can be reduced to the question of stability of the disease-free equilibrium. This paper shows how computing threshold conditions for such models can be done fully algorithmically using quantifier elimination for real closed fields and related simplification methods for quantifier-free formulas. Using efficient quantifier elimination techniques for special cases that have been developed by Weispfenning and others, we can can also compute whether there are ranges of parameters for which sub-threshold endemic equilibria exist. Email addresses: wcbrown@usna.edu (Christopher W. Brown), elkahoui@mpi-sb.mpg.de (M hammed El Kahoui), novotni@cs.uni-bonn.de (Dominik Novotni), weber@cs.uni-bonn.de (Andreas Weber). 1 Supported in part by NSF grant number CCR-0306440. Preprint submitted to Elsevier Science 3 February 2005

1 Introduction Here at the beginning of the 21st century, infectious diseases are still major mortality factors in developing countries. In the past few decades several previously unknown infectious diseases like AIDS, Hepatitis C and E, Lyme disease, Legionnaires disease, Ebola hemorrhagic fever etc. have emerged, and known diseases have reemerged, e.g. Yellow Fever, Rabies, Tuberculosis etc. Some of these diseases play an important role as mortality and morbidity factors even in developed countries. Therefore modeling epidemics of infectious diseases is important for public health programs, especially for planning vaccinations. Epidemics are typically modeled by systems of ordinary differential equations. Examples are SEIR models (Earn et al., 2000; Olsen and Schaffer, 1990) which are frequently used to model measles epidemics, models considering reinfections such as SIS models Kribs-Zaleta and Velasco-Hernandez (2000), SIRS models (Lin and van den Driessche, 1992; Hadeler and van den Driessche, 1997; Weber et al., 2001), SEIRS models (Liu and van den Driessche, 1995), MSEIRS4 models (Weber et al., 2001), or models taking into account the effects of treatments (van den Driessche and Watmough, 2002; Blower et al., 1996) such as SEIT models (van den Driessche and Watmough, 2002). The division of the population into different groups in their relation to various stages of infectiousness, immunity, susceptibility, behavior, etc. is a standard technique to incorporate disease specific characteristics into the model while staying in the realm of ordinary differential equations (Anderson and May, 1992; Diekmann and Heesterbeek, 2000; Hethcote, 2000; van den Driessche and Watmough, 2002). Several of these models are given as examples in this paper. While these models do incorporate a priori medical knowledge on the specific disease, they are very often strong simplifications. Justification for them is then obtained a posteriori: the simple models often involving only 3 or 4 variables are good if they can reproduce the complex dynamics of the epidemic outbreaks. As non-linear dynamical systems can be complex, such a justification has been found in several cases (Earn et al., 2000; May, 2000). These epidemiological models involve many parameters, such as the rate of loss of immunity or parameters describing how infections are transmitted, that differ for specific diseases, locations or populations. Estimating these model parameters falls in the realm of numeric techniques (Kalivianakis et al., 1994; Novotni and Weber, 2003). However, there is also a very important calculation involving these parameters that is best formulated as a symbolic problem, namely the computation of threshold conditions. Threshold conditions are conditions that the parameters must satisfy in order for the model to exhibit certain kinds of qualitative behaviors. 2

When infections are present in a population, a disease outbreak may progress in qualitatively different ways: the disease may die out, or it may reach an endemic stage, in which the disease is always present in the population. The latter will be the case if the number of secondary infections from each infected individual exceeds one. This concept, formalized by the basic reproduction ratio R 0, is the key concept in the literature behind modeling threshold conditions see e.g. Diekmann and Heesterbeek (2000); Hethcote (2000); van den Driessche and Watmough (2002). Since the value of R 0 for a given model is a function of the parameters, R 0 provides a threshold condition for the parameters. As some parameters can be changed by vaccinations or behavior, knowledge of threshold conditions can be very important for public health policy. Experts in the field have calculated threshold conditions by hand, either solely by paper and pencil, or in part using computer algebra systems such as Maple or Mathematica as symbolic calculators. In this paper we will show that by using more advanced techniques of computer algebra especially quantifier elimination for real closed fields and related techniques of simplifying large quantifier-free formulas over the field of the real numbers threshold conditions can be computed completely algorithmically from the ODE-models of the infectious diseases. We present two approaches: One along the lines of previous hand calculations that is basically a local analysis of the disease free state. This approach does not involve quantifier elimination in its simplest form but requires the simplification of large formulas over the reals. We also show how several disease free states can be included into an algorithmic analysis. This generalization requires the elimination of quantifiers in general the method of local quantifier elimination (Dolzmann and Weispfenning, 2000) will be sufficient. Our second approach works globally as a quantifier elimination problem. As many of the models used in epidemic modelling are of a quite special form mostly linear with only some quadratic or higher-order terms we can use the efficient methods for linear, quadratic and cubic quantifier elimination Weispfenning (1988); Hong (1993); Weispfenning (1994) as they are implemented in the quantifier elimination package Redlog (Dolzmann and Sturm, 1999). Comparing the answers of the two approaches we can also decide whether subthreshold endemic equilibria exist or not. Using hand calculations the analysis of sub-threshold endemic equilibria required a conceptually much more complicated bifurcation analysis at R 0 = 1. Moreover, this analysis only involves a neighborhood of the disease-free equilibria, whereas we can come up with global results. 3

1.1 Organization of this Paper The algorithms presented in this paper make fundamental use of Real Quantifier Elimination and Formula Simplification. Section 2 surveys the methods employed and examines their effectiveness on the problems arising in these investigations. The algorithmic methods for computing threshold conditions are presented in Sec. 3. In this section we present an approach along the lines of previous hand calculations that is basically a local analysis of the disease free state. We also show how several disease free states can be included into an algorithmic analysis. In Sec. 4 we formulate an approach that works globally as a quantifier elimination problem and we consider the question of the existence of sub-threshold endemic equilibria. There are two calculations amongst the Examples presented in this paper that failed to terminate in a reasonable amount of time. We are looking at these problems a bit more deeply in order to gain some insights about possible improvements in quantifier elimination resp. simplification that might make these calculations feasible. Concluding remarks are given in Sec. 5. 2 Quantifier Elimination and Formula Simplification The algorithms presented in this paper make fundamental use of Real Quantifier Elimination and Formula Simplification. This section surveys the methods employed and examines their effectiveness for the problems arising in these investigations. Later sections comment on possible avenues for approaching larger problems of this same type. 2.1 The Role of Quantifier Elimination and Formula Simplification The problems discussed in this paper are of two types. Both start with a system of differential equations modelling a disease, several examples of which are given in Sections 3 4. In the first type we consider a disease-free equilibrium point and ask whether that equilibrium is stable. The point, i.e. an assignment of values for the dependent variables in the system, does not depend on the model s parameters 2. However, the stability of that equilibrium point does depend on the 2 For example, consider a model with dependent variables E, the fraction of the population exposed to the disease but not yet infectious, I, the fraction of the population who are actually infectious and S, the fraction of the population who are neither exposed nor infectious. The disease-free equilibrium is clearly E = 0, I = 4

parameters. Therefore, the answer to our question will be a formula in the parameters providing a necessary and sufficient condition for the stability of the disease-free equilibrium. The well-known Routh-Hurwitz condition can be applied to produce a necessary and sufficient condition. However, this condition makes no assumptions about parameters, while the model makes many assumptions in the models we consider parameters are always positive, are sometimes bounded from above, and are sometimes ordered with respect to one another. Given these assumptions, the Hurwitz condition, which is typically quite a large formula, may have a simple equivalent formulation. In fact, in these models there is a simple equivalent, and that is what the epidemiologists are interested in. In the second type of problem we ask whether there are endemic equilibria, i.e. equilibrium points at which the disease is present. The answer to this question will, in general, depend on the values of parameters in the model. Thus, the answer is really a formula in the parameters providing a necessary and sufficient condition for the existence of endemic equilibria. To find this condition we form a system of n equations in the n dependent variables from the original system of differential equations. There are endemic equilibria exactly when there exist values for the dependent variables that satisfy this system conjoined with the inequalities characterizing the existence of the disease. Using quantifier elimination, we find an equivalent condition in which only the parameters appear. Depending on how the quantifier elimination is performed, it may also be desirable to apply formula simplification to this result. The two systems used in this paper are Redlog and QepcadB (and SLFQ, which is built on QepcadB), which both provide quantifier elimination and formula simplification. Redlog provides quantifier elimination based on virtual term substitution, hermitian quantifier elimination, and quantifier elimination by cylindrical algebraic decomposition. Its simplification facilities employ a variety of techniques, which are described in Dolzmann and Sturm (1997). QepcadB and SLFQ are based on cylindrical algebraic decomposition. 2.2 Quantifier Elimination For the models we have studied, quantifier elimination problems have arisen from Algorithm 4, i.e. from the computation of conditions on the parameters for the existence of endemic equilibria. Consider Example 4.1, the SEIRS 0, S = 1, regardless of any particulars of the model, including parameter values 5

model. A point in SEIR-space is an equilibrium point if 0 = µ + γr µs βis 0 = βis (µ + σ)e 0 = σe (ν + µ)i 0 = νi (µ + γ)r and represents an endemic state if S > 0 E > 0 I > 0 R > 0. Therefore, there is an endemic equilibrium for the SEIR model if there exist real numbers S, E, I, R such that both formulas hold. Quantifier elimination produces a formula in only the parameters that is equivalent to this quantified formula. (The model assumes that all parameters are positive. This assumption may be included in the quantifier elimination problem, or conjoined with the result of quantifier elimination. Both Redlog and QepcadB are able to take advantage of these assumptions, however, and it is a good idea to include them.) Notice that each quantified variable appears only linearly. This means that virtual term substitution can be applied to eliminate some, if not all, of the quantified variables. This is indeed the case for all the models we have considered. When its degree restrictions allow it to be used, virtual term substitution is generally much faster than CAD-based methods especially when there are many parameters, as is the case with these models. However, the quantifierfree formulas it produces are often quite large. For the SEIRS model Redlog s formula, produced with virtual term substitution, contains 25 atomic formulas. Simplification of such a result (the formula simplifies to a single inequality, excluding positivity conditions on parameters) is necessary if it is to be useful. In fact without simplification it is quite difficult to even determine whether the quantifier elimination result agrees with the result in the literature. CAD-based quantifier elimination is able to produce simple quantifier-free equivalent formulas. However, its time and space complexities are heavily dependent on the number of variables and parameters. In the SEIRS model there are 9 parameters/variables, and straightforward quantifier elimination by CAD turns out to be infeasible. Typically, for these models, it is better to eliminate quantified variables by virtual term substitution rather than CAD. 2.3 Simplification Simplification of quantifier-free formulas plays a major role both in computing conditions for the stability of the disease-free equilibrium and for computing conditions for the existence of endemic equilibria. However, simplification is a very difficult problem. Indeed, in as much as an unsatisfiable formula should be simplified to false, simplification is at least as hard as deciding fully existentially quantified formulas. 6

There are two algorithmic techniques that we are aware of for simplification of large quantifier-free formulas, that described in Dolzmann and Sturm (1997) and implemented in Redlog, and that described in Brown (2001) and implemented in the SLFQ system Brown (2002). The goals of the two methods are very different. The former is intended primarily to combat intermediate expression swell during virtual term substitution. As such it needs to be fast. The latter is intended to reduce the size of the formula, in terms of number of irreducible polynomials appearing, as much as possible, regardless of time required to do so. In our application, the results of quantifier elimination or the application of the Routh-Hurwitz condition are simplified for human comprehension, so that it is worth allowing the simplification program to take a long time if the result is a formula that is easier for people to understand. Thus, the approach taken in Brown (2001) and implemented in SLFQ is more appropriate. 3 Computing Threshold Conditions 3.1 Stability of Disease Free Equilibrium In compartmental ODE-models for infectious diseases there is generally an equilibrium for the disease free state (or states). If this equilibrium is asymptotically stable then a state involving a small number of infected will converge back to this disease-free equilibrium. Investigation of the stability of this disease-free equilibrium was done by the above mentioned hand calculations, see e.g. Hethcote (2000) and van den Driessche and Watmough (2002) for some recent examples. As has been previously seen in other contexts the question of stability of an equilibrium point can be reduced to a first-order formula over the ordered field of the real numbers, see e.g. (Hong et al., 1997; El Kahoui and Weber, 2000). We refer to these articles for a more precise description of the reduction and the techniques it uses, such as the Routh-Hurwitz criterion. For studies of equilibria for nonlinear control models using quantifier elimination we refer to Jirstrand (1996, 1997). The algorithm for computing threshold conditions by investigating the stability of disease-free equilibria is given in pseudo-code as Algorithm 1. Notice that in this algorithm we do not have to eliminate a quantified state variable, as the formula is generated at a specific equilibrium point. However, as can be seen from our examples, the application of the Routh-Hurwitz criterion gives a large quantifier-free formula, which is almost of no use for human interpretation. However, it can be simplified to small, insightful equivalent formulas 7

in many cases by the simplification techniques described in Sec. 2.3. Algorithm 1. Algorithmic method for computing threshold conditions via stability of disease-free equilibrium. Input: (1) System of ordinary differential equations; (2) Known-constraints on parameters as first-order formulas C; (3) Disease-free equilibrium Output: Logical formula involving parameters only stating the threshold condition 1: Note that for each system the disease-free equilibrium is S = 1 and the other dependent variables equal 0 (in a unit scaled population) 2: Compute the Jacobian J of the vector field 3: Evaluate the Jacobian at the disease-free equilibrium, call result J b 4: Compute the characteristic polynomial of J b, call result f 5: Compute the Hurwitz condition for f, call result H 6: Simplify the conjunction of H assuming C and return result 3.1.1 Using Factorizations of the Characteristic Polynomials If the characteristic polynomial f of the Jacobian J b at the disease-free equilibrium factors, say f = f 1 f 2 f k, then the Routh-Hurwitz condition on f is logically equivalent to the conjunction of the Routh-Hurwitz conditions of the f i, 1 i k. Thus we can use an algorithmic variant described in Algorithm 2, which performance was superior in all our examples. Algorithm 2. Algorithmic method for computing threshold conditions via stability of disease-free equilibrium improved version using factorization. Input: (1) A system of ordinary differential equations whose coefficients are polynomial in a set of parameters; (2) Known-constraints on parameters given as first-order formulas C; (3) The disease-free equilibrium given as a point in dependent-variable space. [Note that for each system the diseasefree equilibrium is S = 1 and the other dependent variables equal 0 (in a unit scaled population).] Output: Logical formula involving parameters only stating the threshold condition for the stability of the disease-free equilibrium 1: Compute the Jacobian J of the vector field 2: Evaluate the Jacobian at the disease-free equilibrium, call result J b 3: Compute the characteristic polynomial of J b, call result f 4: Factor f = f 1 f 2 f k (Note that k = 1 if f is irreducible.) 5: Compute the Hurwitz condition for each f i, calling the result H i 6: Simplify the conjunction of all H i assuming C and return result 8

3.2 Case of Several Disease-Free Equilibria Whereas in simple scenarios a unique disease-free equilibrium can be identified, in more complex settings there are different disease-free equilibria. In the literature this general situation has been seen (van den Driessche and Watmough, 2002), but has not been further investigated, as hand computations become more and more tedious. However, we can extend our previous algorithm quite easily to handle this situation too. The condition disease-free can be easily formalized as a set of equations in the state variables (dependent variables in the model) which have to be satisfied. In this case we construct a formula in which the state variables are universally quantified. In general the disease-free equilibria are connected. In this case the quantifier elimination can be facilitated by providing a sample point and using the method of local quantifier elimination (Dolzmann and Weispfenning, 2000) The algorithmic variant used in this case is given in Algorithm 3. Algorithm 3. Algorithmic variant for computing threshold conditions for stability in case of several disease-free equilibria. Input: (1) System of ordinary differential equations; (2) Known-constraints on parameters as first-order formulas; (3) First-order formula specifying property disease-free ; (4) Optionally sample point of a disease-free equilibrium Output: Logical formula involving parameters only stating the threshold condition for the stability of all disease-free equilibria. 1: Build formula expressing state is an equilibrium 2: Compute Jacobian of vector field in symbolic form involving the parameters and the state variables 3: Compute Routh-Hurwitz condition on the Jacobian in symbolic form involving the parameters and the state variables; you can use factorization of the characteristic polynomial of the Jacobian as in Algorithm 2 4: Build logical conjunction of Routh-Hurwitz condition and the first-order constraints on the parameters 5: Build first-order formulas expressing that all equilibria of vector field, which fulfill the property disease-free, are stable by combining the previously built formulas 6: Perform quantifier elimination on real closed fields on this formula (if sample point is given in the form of local quantifier elimination) 7: Simplify the resulting quantifier-free formula 9

3.3 Examples In our examples we are considering the SEIRS model of Liu and van den Driessche (1995), the SEIT model of van den Driessche and Watmough (2002), the MSEIR model of Hethcote (2000), and MSEIRS models for transmission of infectious diseases. Example 3.1 The SEIRS model is given by the following system of 4 ordinary differential equations: S Ṡ = µ + γr µs βis Ė = βis (µ + σ)e I = σe (ν + µ)i Ṙ = νi (µ + γ)r group of susceptibles E group of exposed (infected, not yet infectious) I group of infectious R group of recovered (currently immune) β transmission parameter µ birth rate = mortality rate σ γ ν rate of change from exposed to infectious rate of loss of immunity rate of loss of infectiousness Problem: Find the parameter values for which the disease-free equilibrium is stable. Following Algorithm 1: The Routh-Hurwitz condition on the disease free equilibrium consists of 4 polynomial inequalities. The largest of the polynomials has total degree 10 and consists of 108 monomials. Using the natural positivity conditions on the parameters SLFQ reduces this condition to σβ νσ µσ µν µ 2 < 0, which can easily be seen to be equivalent to σβ < (µ + σ) (µ + ν). Notice that this formula no longer depends on γ, whereas the formula gen- 10

erated by the Routh-Hurwitz condition involved all parameters. The threshold conditions for the SEIRS model coincides with that of the SEIR model. Example 3.2 In the so called SEIT model the effects of treatment are modeled by adding a group T of individuals under treatment for the disease. It was used to model tuberculosis by van den Driessche and Watmough (2002). It is given by the following system of 4 ordinary differential equations. Ṡ = d ds β 1 IS Ė = β 1 IS + β 2 IT (d + v + r 1 )E + (1 q)r 2 I I = ve (d + r 2 )I T = dt + r 1 E + qr 2 I β 2 T I S E I T β 1 β 2 d v r 1 r 2 q group of susceptibles group of exposed (infected, not yet infectious) group of infectious group of persons under treatment transmission parameter for susceptibles transmission parameter for those under treatment birth rate = mortality rate rate of change from exposed to infectious treatment rate for exposed treatment rate for infectious fraction of infectious successfully treated Problem: Find the parameter values for which the disease-free equilibrium is stable. Following Algorithm 1: The Routh-Hurwitz condition on the disease free equilibrium consists of 4 polynomial inequalities. The largest of the polynomials has total degree 13 and consists of 166 monomials. Using the natural positivity conditions on the parameters SLFQ reduces this large formula to vβ 1 vr 2 q r 2 r 1 dr 1 dr 2 dv d 2 < 0. This formula coincides with the one given by van den Driessche and Watmough (2002), which was stated there in the form involving the threshold condition R 0 < 1: 1 > (vβ 1 )/((d + v + r 1 ) (d + r 2 ) vr 2 (1 q)) 11

Again the non-dependency of the threshold formula on certain parameters in this case β 2 is a corollary of the simplification. Example 3.3 Newborn children of mothers who are immune to a specific disease are passively protected by maternal antibodies for a certain time. Generalizations of the SEIR model and SEIRS model that incorporate a group of children being protected by maternal antibodies are the MSEIR model described by Hethcote (2000) and the MSEIRS model. The MSEIRS model is given by the following system of 5 ordinary differential equations. M S E I R β Ṁ = µ(1 S) (ξ + µ)m Ṡ = µs + ξm + γr µs βis Ė = βis (µ + σ)e I = σe (ν + µ)i Ṙ = νi (µ + γ)r group of newborns protected by maternal antibodies group of susceptibles group of exposed (infected but not yet infectious) group of infectious group of recovered (currently immune) transmission parameter µ birth rate = mortality rate ξ σ γ ν rate of loss of protection by maternal antibodies rate of changing from exposed to infectious state rate of loss of immunity rate of loss of infectiousness Problem: Find the parameter values for which the disease-free equilibrium is stable. Using the natural given positivity conditions on the parameters and the factorization of the characteristic polynomial, i.e. using Algorithm 2, we obtained the following formula as a threshold condition: σβ νσ µσ µν µ 2 > 0 Again there is no dependency on γ, the duration of immunity. Moreover, the 12

threshold condition is also independent of the rate of loss of protection by maternal antibodies ξ. Our result coincides with the one given for the MSEIR model by Hethcote (2000). When using Algorithm 1, the Routh-Hurwitz condition on the disease free equilibrium consists of 4 polynomial inequalities. The largest of the polynomials has total degree 15 and consists of 1772 monomials. However, this polynomial factors into 9 parts. The largest irreducible factor in the Hurwitz polynomials has total degree 6 and consists of 206 monomials. In this example the current version of SLFQ did not succeed in the simplification. Thus it is important to apply factorization to the characteristic polynomial and not to postpone it to the Hurwitz polynomials. 3.3.1 Variations of the Examples In the models above a linear mass-action law of the form βis is used to model the rate of infection. If we want to exclude spontaneous infection without the presence of infectious individuals, this linear mass-action law is the firstorder Taylor approximation of a general function of the form Sf(I), where f(i) = n=1 β n I n. When we replace the linear mass-action law with this more general law in our examples above we nevertheless obtain the same threshold conditions: At the disease-free equilibrium the Jacobian remains the same, as all new terms, which arise by considering the entire Taylor expansion instead of the linear approximation, in the partial derivatives contain at least one factor of I and are thus 0. Although the general proof has to be done by such an argument, we nevertheless found it useful to have our algorithmic method at hand, which easily allowed to experiment with higher-order laws. 3.4 Remark on Vaccination Policies One of the parameters that can be influenced by social factors and policy is the transmission parameter β (or its variants). By estimating the transmission parameter from empirical data and using estimates for the other parameters out of the medical literature, one can see how far away from the threshold one is. Our symbolic computation of the threshold condition has the major advantage that the influences of changes on the parameters can be estimated much better than would be the case by numerical estimates. This might be one of the reasons why previously a lot of work involving tedious hand calculations has been spent to obtain symbolic threshold conditions. 13

Another way to bring a population below the threshold is to reduce the number of susceptibles by vaccinations. If a proportion p of newborns is vaccinated it can be easily shown by a simple change of variables for most of the models we are considering that the effect on the dynamics is the same as if in the original model the transmission parameter β is replaced by β(1 p). We refer to Earn et al. (2000) for the details in the case of the SEIR model. Thus by vaccinating a sufficiently high fraction of susceptibles it is possible to avoid infections also in the group of remaining susceptibles. Example 3.4 In the case of measle epidemics the numerical value of the threshold for β is about 40, when using the disease specific values for average latency period, average duration of infectiousness and the birth rates for developed countries. The estimate of β for pre-vaccination epidemics is about 800. Thus the critical percentage of vaccinations is 95 % for this example. 4 Existence of an Endemic Equilibrium An possible alternative is to pose the question of the existence of an endemic equilibrium directly. This formulation is valid for in the entire state space, not just in a neighborhood of a disease-free state. It leads to Algorithm 4, which involves quantifier elimination. Algorithm 4. Algorithmic method for computing threshold condition via question of existence of an endemic equilibrium. Input: (1) A system of ordinary differential equations whose coefficients are polynomial in a set of parameters; (2) Known constraints on variables and parameters as first-order formulas; (3) Classification of dependent variables as disease free state and endemic state. Output: Logical formula involving parameters only stating the threshold condition for the existence of a disease-free equilibrium. 1: Generate first-order existentially quantified formula expressing existence of an endemic equilibrium from the system of ordinary differential equations, the constraints and the classification of state variables, and the constraints on the parameters 2: Perform quantifier elimination on real closed fields on this formula 3: Simplify the resulting quantifier-free formula The practicality of this approach depends on efficient methods for quantifier elimination over the reals that take advantage of the special structure of the problems. Very often the system of ODEs is linear in all variables with the exception of the term modelling the rate of infection. This non-linear term is usually given by a linear mass action law in the number susceptibles times 14

the number of infectious, which introduces a polynomial that is quadratic in the variables to be eliminated. Thus the efficient methods for linear, quadratic and cubic quantifier elimination given in Weispfenning (1988); Hong (1993); Weispfenning (1994, 1997) can be used. Unfortunately, with several variables to be eliminated, it cannot be guaranteed that the result eliminating one variable will be quadratic or cubic in the remaining variables to be eliminated, so that a general fallback method must be available. In our examples we started with the special methods for linear and quadratic quantifier elimination but observed in many cases that a fallback to a general methods such as partial cylindrical algebraic decomposition became necessary. 4.1 Sub-Threshold Endemic Equilibria If there are common solutions to the formulas produced by Algorithm 1 (resp. 2 or 3) and Algorithm 4 for a given ODE-model, the model has sub-threshold endemic equilibria (see Hadeler and van den Driessche (1997); van den Driessche and Watmough (2002); Kribs-Zaleta and Velasco-Hernandez (2000)): At common solutions the disease-free equilibrium is stable, but endemic equilibria exist nevertheless. Formulas characterizing these common solutions are sub-threshold conditions, and they are more relevant for epidemic control than the threshold conditions By conjoining the formulas produced by Algorithm 1 and Algorithm 4 and simplifying the result we have an algorithmic method for deciding whether sub-threshold endemic equilibria exist and for producing sub-threshold conditions when they do. In general the computational problem to be solved by Algorithm 4 is much harder than the computation of the threshold condition. So using the threshold condition as an additional constraint on the parameters in Algorithm 4 should improve the range of practically solvable quantifier elimination problems in general. 4.1.1 Bifurcation Analysis In the literature a conceptually much more complicated (and more restricted approach) for investigating possible sub-threshold equilibria has been used: a bifurcation analysis at the disease free equilibrium at R 0 = 1 (see Hadeler and van den Driessche (1997); van den Driessche and Watmough (2002)). If a so called backward bifurcation occurs then sub-threshold endemic equilibria exist. While the existence of a backward bifurcation implies the existence of a subthreshold equilibrium, the opposite case does not globally exclude the existence of sub-threshold equilibria, it only excludes them in a neighborhood of 15

the disease-free equilibrium. Nevertheless, this bifurcation analysis in its various refinements, done by hand, is the standard technique in the literature. However, even these hand calculations can be transformed into algorithmic methods. The Jacobian matrix of the disease-free equilibrium will be singular at R 0 = 1, i.e. will have 0 as eigenvalue. It is possible, using center manifold techniques, to analyze the singular cases and come up with a first order formula which involves higher-order partial derivatives. This leads in principle to a first order formula for every multiplicity of 0 as eigenvalue. The case where 0 is a simple eigenvalue of the Jacobian matrix is analyzed in van den Driessche and Watmough (2002), and one can easily extract from their analysis a firstorder formula involving partial derivatives up to degree 2 stating the existence of a backward bifurcation. Using quantifier-elimination this formula can be reduced to an equivalent quantifier free condition on the parameters stating the existence of a backward bifurcation and thus of sub-threshold endemic equilibria. 4.2 Examples Example 4.1 Following Algorithm 4 for the SEIRS model, with implied positivity conditions on all dependent variables and parameters, the combination of Redlog and SLFQ gives the following formula as a threshold condition for the existence of an endemic equilibrium: σβ νσ µσ µν µ 2 > 0 Thus for the SEIRS model there is no sub-threshold endemic equilibrium, as the conjunction of this formula and the formula obtained by Algorithm 1 is equivalent to false. Furthermore, the formula obtained by Algorithm 4 is actually equivalent to the negation of the answer of Algorithm 1 (modulo the measure zero set involving equality). We obtained the same result for the SEIRS model with the linear mass-action law replaced by a quadratic one, cf. Sec. 3.3.1. However, in contrast to the result on the threshold condition, we do not know whether the condition on the parameters for the existence of endemic equilibria will remain the same for general Taylor approximations. Example 4.2 For the MSEIRS model the combination of Redlog and SLFQ gives the following formula as answer: σβ νσ µσ µν µ 2 > 0 Again the answer coincides with the one obtained by Algorithm 2 (in the sense given in Example 4.1). 16

Notice that this formula is identical to the threshold condition for the SEIRS model, which is also identical to the one for the SEIR model. Thus we have the same threshold conditions for the SEIR model, the SEIRS model, the MSEIR model, and the MSEIRS model. 4.3 Learning from Failure There are two calculations we attempted that failed to terminate in a reasonable amount of time: the quantifier elimination problem arising from computing conditions for the existence of endemic equilibria for the SEIT model (Example 3.2), and the simplification problem arising from the successful quantifier elimination in computing conditions for the existence of endemic equilibria in the so called SIS model of Kribs-Zaleta and Velasco-Hernandez (2000). It is instructive to look at these problems a bit more deeply in order to gain some insights about possible improvements in quantifier elimination resp. simplification that might make these calculations feasible. 4.3.1 The SEIT Model The SEIT model from Example 3.2 includes seven parameters. It is, in that sense, the largest of the models considered. Following Algorithm 4, we determine conditions on the parameters for the existence of endemic equilibria using quantifier elimination by virtual term substitution, followed by simplification of the result. Applying quantifier elimination by CAD directly to the problem in impractical in terms of both time and space. However, dependent variables E, I and T are easily eliminated by hand, leaving the quantifier elimination problem S [P (S) = 0 0 < S < 1] where P = νs 2 β 2 1 + β 1 νs 2 β 2 + dβ 1 Sr 2 d 2 β 2 S + d 2 β 1 S + β 1 Sr 1 r 2 dνsβ 2 + νβ 1 Sqr 2 dβ 2 r 2 S + dνsβ 1 β 1 Sνβ 2 + β 1 Sr 1 d + β 2 d 2 + νβ 2 d + β 2 dr 2. This problem can be solved directly by CAD-based quantifier elimination to produce the simple solution expected. The question is why can one do this easily by hand, and can this kind of preprocessing of input before quantifier elimination algorithms are applied be automated? The reason that E and I and T can be eliminated by hand is that they appear linearly, so one may solve for I in one equation, for instance, and substitute the solution into the other equations and inequalities, and so on. Denominators do appear in the process, but the positivity conditions on the dependent variables and the assumptions on the parameters guarantee that they are always positive. This by hand elimination is, of course, ad hoc. 17

We try solving for one variable in a particular equation, then perhaps try a different equation or a different variable. Furthermore, in doing this by hand, we use the simple conditions, like T > 0 to deduce that denominators never vanish, and thus avoid case distinctions. Situations like this, in which we have a system of equations with side conditions, are not uncommon and, of course, are intrinsic to this application of quantifier elimination. Preprocessing the input by searching for equations that can be solved for one variable, using quantifier elimination on the simple side conditions and parameter restrictions to try and prove that denominators introduced in the process do not vanish, and substituting these solutions into the remaining equations and inequalities is likely to be of benefit in applications like ours regardless of the method of quantifier elimination that is to be used subsequently. What is suggested here differs from what Redlog does with virtual term substitution (according to our understanding), in that we are suggesting a backtracking search approach that tries many different orders of equations and variables, and which aggressively attempts to use quantifier elimination to determine that denominators do not vanish so that multiple branches or cases are not generated. This is in contrast to generating different branches or cases and checking subsequently to see if formulas describing some cases are unsatisfiable. The fundamental idea is that quantifier elimination algorithms do not make good black boxes. Problems must be formulated in intelligent ways in order for the algorithms to be successful in practice. A preprocessor that tries to do some of this automatically would be very useful, and indeed Redlog s powerful formula manipulation and simplification does some of this already. Here we suggest a preprocessing approach that seems to be particularly well suited to our application, and which may apply more widely as well. 4.3.2 The SIS Model Formulation (1) from Kribs-Zaleta and Velasco-Hernandez (2000) for the SIS model is I = (N I (1 σ)v )βi/n (µ + c)i V = φ(n I V ) σβv I/N (µ + θ)v where I, V 0, I + V N (1) The population N can be normalized to one, and Algorithm 4 can be applied to compute conditions for the existence of endemic equilibria. In the context of Kribs-Zaleta and Velasco-Hernandez (2000) it is clear that the side conditions on the system should be I, V > 0, I + V < 1 for endemic equilibria. The result of Redlog s quantifier-elimination for the SIS model is the following formula: beta**2*sigma**2-2*beta*c*sigma**2-2*beta*mu*sigma**2 + 18

2*beta*mu*sigma + 2* beta*phi*sigma**2 + 2*beta*sigma*theta + c**2*sigma**2 + 2*c*mu*sigma**2-2*c* mu*sigma + 2*c*phi*sigma**2-4*c*phi*sigma - 2*c*sigma*theta + mu**2*sigma**2-2*mu**2*sigma + mu**2 + 2*mu*phi*sigma**2-2*mu*phi*sigma - 2*mu*sigma*theta + 2*mu*theta + phi**2*sigma**2 + 2*phi*sigma*theta + theta**2 >= 0 and (beta**2* sigma**2 - beta*c*sigma**2 - beta*mu*sigma**2 - beta*mu*sigma - beta*phi*sigma** 2 - beta*sigma*theta > 0 and beta*mu*sigma + beta*phi*sigma**2 + beta*sigma* theta - c*mu*sigma - c*phi*sigma - c*sigma*theta - mu**2*sigma - mu*phi*sigma - mu*sigma*theta < 0 and (beta**2*sigma**3 - beta**2*sigma**2 - beta*c*sigma**3 + beta*c*sigma**2 - beta*mu*sigma**3 + 2*beta*mu*sigma**2 - beta*mu*sigma + beta* phi*sigma**3 - beta*phi*sigma**2 + beta*sigma**2*theta - beta*sigma*theta < 0 or c*phi*sigma**2 - c*phi*sigma + mu*phi*sigma**2 - mu*phi*sigma > 0) and (c*phi* sigma**2 - c*phi*sigma + mu*phi*sigma**2 - mu*phi*sigma < 0 or sigma**2 - sigma < 0) or (beta**2*sigma**3 - beta**2*sigma**2 - beta*c*sigma**3 + beta*c*sigma**2 - beta*mu*sigma**3 + 2*beta*mu*sigma**2 - beta*mu*sigma + beta*phi*sigma**3 - beta*phi*sigma**2 + beta*sigma**2*theta - beta*sigma*theta < 0 or c*phi*sigma**2 - c*phi*sigma + mu*phi*sigma**2 - mu*phi*sigma > 0) and (c*phi*sigma**2 - c*phi *sigma + mu*phi*sigma**2 - mu*phi*sigma < 0 or sigma**2 - sigma > 0) and (beta** 2*sigma**2 - beta*c*sigma**2 - beta*mu*sigma**2 - beta*mu*sigma - beta*phi*sigma **2 - beta*sigma*theta > 0 or beta*mu*sigma + beta*phi*sigma**2 + beta*sigma* theta - c*mu*sigma - c*phi*sigma - c*sigma*theta - mu**2*sigma - mu*phi*sigma - mu*sigma*theta > 0)) While this formula is not terribly large, it is considerably larger and more complex than the result reported in Lemma 2 of Kribs-Zaleta and Velasco- Hernandez (2000), and it is not at all clear that the two are even equivalent. Unfortunately, SLFQ cannot simplify this formula in a reasonable amount of time. The 6 parameters and several extraneous polynomials result in CAD computations that are just prohibitive. However, looking back at (1) we see that we could replace the expressions µ + c and µ + θ with two new variables, which reduces the number of parameters from six to five. With this substitution, SLFQ simplifies Redlog s output to [ muc - beta < 0 /\ mutheta^2 + 2 sigma phi mutheta - 2 sigma muc mutheta + 2 sigma beta mutheta + sigma^2 phi^2 + 2 sigma^2 muc phi - 4 sigma muc phi + 2 sigma^2 beta phi + sigma^2 muc^2-2 sigma^2 beta muc + sigma^2 beta^2 >= 0 /\ [ sigma muc phi - muc phi + sigma muc^2-2 sigma beta muc + sigma beta^2 > 0 \/ muc mutheta - beta mutheta + muc phi - sigma beta phi < 0 ] ] which is the same size as the formula reported in Kribs-Zaleta and Velasco- Hernandez (2000). Checking with QepcadB, we find that the two are not equiv- 19

alent because of a small error in Kribs-Zaleta and Velasco-Hernandez (2000) one of their strict inequalities should be non-strict! This example in which the automated approach failed is instructive. The parameters in this problem were chosen for their physical interpretations, not with quantifier elimination in mind, and in this case that leads to a quantifier elimination formulation containing more parameters than necessary. In fact, inspecting the SEIRS model one sees that dividing all equations by the parameter µ leaves an equation in parameters γ/µ, β/µ, σ/µ, and ν/µ. Once again the number of parameters can be reduced. The situation is the same for the SEIT and MSEIRS models. In light of this, an automated search for substitutions that reduce the number of parameters in the problem is worth investigating. 5 Conclusion and Future Work We have shown that the computation of threshold conditions for epidemic models can be done fully algorithmically using the techniques of quantifier elimination for real closed fields and related simplification methods for quantifier-free formulas. In this work we have reproduced known results previously obtained by some more or less tedious hand computations by fully algorithmic methods. A major advantage of our novel technique is the relative ease by which we can now explore the properties of variations of the models. It is not only possible to explore the threshold properties of several meaningful variations of the models but also variations of many other epidemic models. While the algorithmic methods for computing threshold conditions have been successful on all the examples that we have considered, the algorithmic method for computing conditions on the existence of sub-threshold equilibria have been successful on some but not all. It has been instructive to look at these problems a bit more deeply in order to gain some insights about possible improvements in quantifier elimination resp. simplification that might make these calculations feasible. We hope that our algorithmic methods are useful tools for the task of modeling disease transmission and other processes in the life sciences, because potentially the threshold condition properties of many more models can be explored in a parametric way by our algorithmic methods than could be done by hand calculations. Threshold conditions are relevant to many ecological models, not just those 20

for disease transmission. The species to be considered can be macroscopic as in the examples considered above, but also microscopic see e.g. the models for competition of microorganisms in the gradostat (Jäger et al., 1987; Smith et al., 1991) or are entities on the cellular, sub-cellular or even molecular level (Ruan et al., 2003; Beuter et al., 2003; Voit, 2000). References Anderson, R. M., May, R. M., 1992. Infectious Diseases of Humans Dynamics and Control. Oxford University Press, Oxford, GB. Beuter, A., Glass, L., Mackey, M. C., Titcombe, M. S., 2003. Nonlinear Dynamics in Physiology and Medicine. Springer. Blower, S. M., Small, P. M., Hopewell, P. C., 1996. Control strategies for tuberculosis epidemics: new models for old problems. Science 273, 497 500. Brown, C. W., May 2001. Simple CAD construction and its applications. Journal of Symbolic Computation 31 (5), 521 547. Brown, C. W., 2002. The SLFQ system. URL http://www.cs.usna.edu/~qepcad/slfq/home.html Diekmann, O., Heesterbeek, J. A. P., 2000. Mathematical Epidemiology of Infectious Diseases. Wiley. Dolzmann, A., Sturm, T., Aug. 1997. Simplification of quantifier-free formulae over ordered fields. Journal of Symbolic Computation 24 (2), 209 231, special Issue on Applications of Quantifier Elimination. Dolzmann, A., Sturm, T., 1999. Redlog User Manual. FMI, Universität Passau, 94030 Passau, Germany. URL http://www.fmi.uni-passau.de/~redlog/ Dolzmann, A., Weispfenning, V., 2000. Local quantifier elimination. In: Proceedings of the 2000 international symposium on Symbolic and algebraic computation. ACM Press, pp. 86 94. URL http://doi.acm.org/10.1145/345542.345589 Earn, D. J., Rohani, P., Bolker, B. M., Grenfell, B. T., Jan. 2000. A simple model for complex dynamical transitions in epidemics. Science 287 (5453), 667 670. El Kahoui, M., Weber, A., Aug. 2000. Deciding Hopf bifurcations by quantifier elimination in a software-component architecture. Journal of Symbolic Computation 30 (2), 161 179. URL http://dx.doi.org/10.1006/jsco.1999.0353 Hadeler, K. P., van den Driessche, P., 1997. Backward bifurcation in epidemic control. Mathematical Biosciences 146 (1), 15 35. Hethcote, H. W., 2000. The mathematics of infectious diseases. Siam Review 42 (4), 599 653. Hong, H., Liska, R., Steinberg, S., Aug. 1997. Testing stability by quantifier elimination. Journal of Symbolic Computation 24 (2), 161 187. 21

URL http://dx.doi.org/10.1006/jsco.1997.0121 Hong, H., 1993. Quantifier elimination for formulas constrained by quadratic equations. In: Proceedings of the 1993 international symposium on Symbolic and algebraic computation. ACM Press, pp. 264 274. URL http://doi.acm.org/10.1145/164081.164140 Jäger, W., So, J. W. H., Tang, B., Waltman, P., 1987. Competition in the gradostat. Journal of Mathematical Biology 25, 23 42. Jirstrand, M., 1996. Applications of quantifier elimination to equilibrium calculations in nonlinear aircraft dynamics. In: Proceedings on the 5th International Student Olympiad. pp. 72 79. Jirstrand, M., 1997. Nonlinear control system design by quantifier elimination. Journal of Symbolic Computation 24 (2), 137 152. URL http://dx.doi.org/10.1006/jsco.1997.0119 Kalivianakis, M., Mous, S. L. J., Grasman, J., 1994. Reconstruction of the seasonally varying contact rate for measles. Mathematical Biosciences 214 (2), 225 234. Kribs-Zaleta, C. M., Velasco-Hernandez, J. X., 2000. A simple vaccination model with multiple endemic states. Mathematical Biosciences 164, 183 201. Lin, X.-D., van den Driessche, P., 1992. A threshold result for an epidemiological model. Journal of Mathematical Biology 30 (6), 647 654. Liu, W.-M., van den Driessche, P., 1995. Epidemiological models with varying population size and dose-dependent latent period. Mathematical Biosciences 128, 57 69. May, R., 2000. Epidemiology: Enhanced: Simple rules with complex dynamics. Science 287, 601 602. Novotni, D., Weber, A., Jun. 2003. A stochastic method for solving inverse problems in epidemic modelling. In: Valafar, F., Valafar, H. (Eds.), Proceedings of the International Conference on Mathematics and Engineering Techniques in Medicine and Biological Sciences (METMBS 03). CSREA Press, Las Vegas, USA, pp. 467 473. Olsen, L. F., Schaffer, W. M., 1990. Chaos versus noisy periodicity: alternative hypotheses for childhood epidemics. Science 249 (4968), 499 504. Ruan, S., Wolkowicz, G. S. K., Wu, J. (Eds.), 2003. Dynamical Systems and their Applications in Biology. American Mathematical Society. Smith, H. L., Tang, B., Waltman, P., 1991. Competition in an n-vessel gradostat. SIAM Journal of Mathematics Applied 51 (5), 1451 1471. van den Driessche, P., Watmough, J., 2002. Reproduction numbers and subthreshold endemic equilibria for compartmental models of disease transmission. Mathematical Biosciences 180, 29 48. Voit, E. O., 2000. Computational Analysis of Biochemical Systems. Cambridge University Press. Weber, A., Weber, M., Milligan, P., Sep. 2001. Modeling epidemics caused by respiratory syncytial virus (RSV). Mathematical Biosciences 172 (2), 95 113. 22