<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mintoc.de/index.php?action=history&amp;feed=atom&amp;title=SEIR_Epidemic</id>
	<title>SEIR Epidemic - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mintoc.de/index.php?action=history&amp;feed=atom&amp;title=SEIR_Epidemic"/>
	<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=SEIR_Epidemic&amp;action=history"/>
	<updated>2026-10-19T01:10:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://mintoc.de/index.php?title=SEIR_Epidemic&amp;diff=2947&amp;oldid=prev</id>
		<title>RobertLampel at 11:28, 4 September 2026</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=SEIR_Epidemic&amp;diff=2947&amp;oldid=prev"/>
		<updated>2026-09-04T11:28:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://mintoc.de/index.php?title=SEIR_Epidemic&amp;amp;diff=2947&amp;amp;oldid=2940&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=SEIR_Epidemic&amp;diff=2940&amp;oldid=prev</id>
		<title>RobertLampel: /* References */</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=SEIR_Epidemic&amp;diff=2940&amp;oldid=prev"/>
		<updated>2026-09-03T11:49:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;References&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:49, 3 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l80&quot;&gt;Line 80:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 80:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:MIOCP]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:ODE model]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:ODE model]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Epidemiological model]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Epidemiological model]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Biological systems]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Biological systems]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=SEIR_Epidemic&amp;diff=2929&amp;oldid=prev</id>
		<title>RobertLampel: Created page with &quot;{{Dimensions |nd        = 1 |nx        = 4 |nw        = 1 }}  The &#039;&#039;&#039;SEIR epidemic optimal control problem&#039;&#039;&#039; is a classical benchmark in mathematical epidemiology and optimal control of biological systems. This description is taken from  [1].  It models the spread of an infectious disease through a homogeneous population divided into four compartments: susceptible (&lt;math&gt;S&lt;/math&gt;), exposed (&lt;math&gt;E&lt;/math&gt;), infectious (&lt;math&gt;I&lt;/math&gt;), and recovered (&lt;math&gt;R...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=SEIR_Epidemic&amp;diff=2929&amp;oldid=prev"/>
		<updated>2026-09-03T11:43:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Dimensions |nd        = 1 |nx        = 4 |nw        = 1 }}  The &amp;#039;&amp;#039;&amp;#039;SEIR epidemic optimal control problem&amp;#039;&amp;#039;&amp;#039; is a classical benchmark in mathematical epidemiology and optimal control of biological systems. This description is taken from &lt;a href=&quot;#OCPjl&quot;&gt; [1&lt;/a&gt;].  It models the spread of an infectious disease through a homogeneous population divided into four compartments: susceptible (&amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;), exposed (&amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;), infectious (&amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;), and recovered (&amp;lt;math&amp;gt;R...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 4&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;SEIR epidemic optimal control problem&amp;#039;&amp;#039;&amp;#039; is a classical benchmark in mathematical epidemiology and optimal control of biological systems. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
It models the spread of an infectious disease through a homogeneous population divided into four compartments: susceptible (&amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;), exposed (&amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;), infectious (&amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;), and recovered (&amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt;).&lt;br /&gt;
The control represents a time-varying vaccination (or isolation) rate applied to the susceptible compartment.&lt;br /&gt;
The objective is to minimise a weighted combination of the cumulative infectious burden and the cost of the intervention over a finite horizon, yielding a trade-off between disease suppression and resource expenditure.&lt;br /&gt;
The problem is nonlinear and non-convex, and typically admits a singular arc structure in the optimal control.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \begin{array}{lll}&lt;br /&gt;
 \displaystyle \min_{u} &amp;amp;&amp;amp; \int_0^{t_\mathrm{f}} \Bigl[ A\, I(t) + \tfrac{1-A}{2}\, u(t)^2 \Bigr]\, \mathrm{d}t \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{S}(t) &amp;amp;=&amp;amp; -\beta\, S(t)\, I(t) - u(t)\, S(t), \\&lt;br /&gt;
\quad \dot{E}(t) &amp;amp;=&amp;amp; \beta\, S(t)\, I(t) - \sigma\, E(t), \\&lt;br /&gt;
\quad \dot{I}(t) &amp;amp;=&amp;amp; \sigma\, E(t) - \gamma\, I(t), \\&lt;br /&gt;
\quad \dot{R}(t) &amp;amp;=&amp;amp; \gamma\, I(t) + u(t)\, S(t), \\&lt;br /&gt;
\quad x(0) &amp;amp;=&amp;amp; (S_0,\; E_0,\; I_0,\; R_0)^T, \\&lt;br /&gt;
\quad u(t) &amp;amp;\in&amp;amp; [0,\, u_{\max}] \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x = (S, E, I, R)^T&amp;lt;/math&amp;gt;.&lt;br /&gt;
All compartments are fractions of the total population, so &amp;lt;math&amp;gt;S(t) + E(t) + I(t) + R(t) = 1&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;.&lt;br /&gt;
The term &amp;lt;math&amp;gt;-u(t)\,S(t)&amp;lt;/math&amp;gt; removes susceptible individuals through vaccination (or effective isolation), moving them directly to the recovered compartment at rate &amp;lt;math&amp;gt;u(t)\,S(t)&amp;lt;/math&amp;gt;.&lt;br /&gt;
The quadratic penalty &amp;lt;math&amp;gt;\tfrac{1-A}{2}\,u^2&amp;lt;/math&amp;gt; models the increasing marginal cost of intervention.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
These fixed values are used within the model:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- bgcolor=#c7c7c7&lt;br /&gt;
! Symbol !! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; || align=right | 0.5 || Transmission rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt; || align=right | 0.2 || Progression rate from exposed to infectious (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; || align=right | 0.1 || Recovery rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; || align=right | 0.5 || Weight on infection burden vs. control cost&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;u_{\max}&amp;lt;/math&amp;gt; || align=right | 0.5 || Maximum vaccination/isolation rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;S_0&amp;lt;/math&amp;gt; || align=right | 0.99 || Initial susceptible fraction&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; || align=right | 0.01 || Initial exposed fraction&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt; || align=right | 0 || Initial infectious fraction&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;R_0&amp;lt;/math&amp;gt; || align=right | 0 || Initial recovered fraction&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 100 || Horizon of the control problem (days)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Reference Solutions ==&lt;br /&gt;
&lt;br /&gt;
Here is one local solution to the above control problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;Reference solution plots&amp;quot; widths=&amp;quot;500px&amp;quot; heights=&amp;quot;300px&amp;quot; perrow=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
 Image: SEIR_Epidemic.png | Compartment trajectories and optimal vaccination rate for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The basic reproduction number for the uncontrolled SEIR model is &amp;lt;math&amp;gt;\mathcal{R}_0 = \beta/\gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
With the parameters above, &amp;lt;math&amp;gt;\mathcal{R}_0 = 5&amp;lt;/math&amp;gt;, corresponding to a highly transmissible pathogen.&lt;br /&gt;
The optimal control problem was studied in detail by Lenhart and Workman [[#Lenhart|[2]]], where necessary conditions via Pontryagin&amp;#039;s minimum principle are derived and adjoint equations are solved numerically.&lt;br /&gt;
This formulation and further discussion can be found in [[#OCPjl|[1]]] and [[#Lenhart|[2]]].&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;OCPjl&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Caillau, J.-B., Cots, O., Gergaud, J., &amp;amp; Martinon, P. OptimalControlProblems.jl: a collection of optimal control problems with ODE&amp;#039;s in Julia. https://github.com/control-toolbox/OptimalControlProblems.jl&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Lenhart&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Lenhart, S., &amp;amp; Workman, J. T. (2007). &amp;lt;i&amp;gt;Optimal Control Applied to Biological Models&amp;lt;/i&amp;gt;. CRC Press.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Epidemiological model]]&lt;br /&gt;
[[Category:Biological systems]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
</feed>