<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mintoc.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RobertLampel</id>
	<title>mintOC - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://mintoc.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RobertLampel"/>
	<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Special:Contributions/RobertLampel"/>
	<updated>2026-06-09T09:04:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://mintoc.de/index.php?title=Compartmental_OED&amp;diff=2919</id>
		<title>Compartmental OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Compartmental_OED&amp;diff=2919"/>
		<updated>2026-03-26T10:18:55Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 12&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Compartmental OED problem&#039;&#039;&#039; looks for an optimal measurement strategy to determine three parameters in a one-dimensional [[:Category:ODE model|ODE model]], where we can directly measure the single state. The following description is taken from [[#compartmental| [1]]].&lt;br /&gt;
&lt;br /&gt;
Here we consider the open one-compartment model with first-order absorption input fitted by Button (unpublished Ph.D. thesis, Texas A&amp;amp;M University, 1979) to the results of an experiment in which six horses each received 15 mg/kg of theophylline as aminophylline by intragastric administration.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
For the three-dimensional parameter &amp;lt;math&amp;gt;p = (\theta_1, \theta_2, \theta_3)&amp;lt;/math&amp;gt; the original initial value problem is given by&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  \dot{y}(t) = f(t, p) = \theta_3 \cdot (-\theta_1 \cdot \exp(-\theta_1 \cdot t) + \theta_2 \cdot \exp(-\theta_2 \cdot t)), \quad y(0) = 0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We assume both &amp;lt;math&amp;gt;x_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;t_f&amp;lt;/math&amp;gt; to be fixed and are only interested in when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the state directly, i.e. &amp;lt;math&amp;gt;h(x(t)) = x(t)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem:&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_{y,G,F,z,w} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{y}(t) &amp;amp; = &amp;amp; f(t, p) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_p(y(t),p) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; w(t)(h_y(y(t))G(t))^T(h_y(y(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad y(0) &amp;amp; = &amp;amp; y_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; 0, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z(t_f) &amp;amp; \leq &amp;amp; M&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;
== Parameters ==&lt;br /&gt;
These fixed values are used within the model:&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;lt;math&amp;gt;&lt;br /&gt;
  y_0 = 0; \quad t_f = 40; \quad \mathcal{W} = [0,1]; \quad M = 5; \quad p = (0.05884,4.298,21.80)&lt;br /&gt;
 &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;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:Compartmental OED.png| Sensitivities and measurement control for &amp;lt;math&amp;gt;\theta=(0.05884, 4.298, 21.80)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;compartmental&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Optimum Experimental Designs for Properties of a Compartmental Model, A. Atkinson, K. Chaloner, A. Herzberg, J. Juritz, https://www.jstor.org/stable/pdf/2532547.pdf&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Jackson_OED&amp;diff=2918</id>
		<title>Jackson OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Jackson_OED&amp;diff=2918"/>
		<updated>2026-03-26T10:17:14Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 13&lt;br /&gt;
|nw        = 3&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Jackson OED problem&#039;&#039;&#039; is a variation of the [[:Jackson]] problem. It looks for optimal time intervals to measure the three states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;k_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k_2&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x_1}(t) &amp;amp;=&amp;amp; -u(t) (k_1 x_1(t) - k_2 x_2(t)), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 1, \\&lt;br /&gt;
\dot{x_2}(t) &amp;amp;=&amp;amp; u(t) (k_1 x_1(t) - k_2 x_2(t)) - (1-u(t)) k_3 x_2(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 0, \\&lt;br /&gt;
\dot{x_3}(t) &amp;amp;=&amp;amp; (1-u(t)) k_3 x_2(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 0.&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;
The initial values and &amp;lt;math&amp;gt;t_f&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the control &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_2&amp;lt;/math&amp;gt; directly, &amp;lt;math&amp;gt;h^1(x(t)) = x_1(t)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h^2(x(t)) = x_2(t)&amp;lt;/math&amp;gt;. We use two different sampling functions, &amp;lt;math&amp;gt;w_1(\cdot)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;w_2(\cdot)&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a two-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (k_1, k_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{n_o} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; x_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{2 \times 2}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;k_1&amp;lt;/math&amp;gt; || align=right | 1  || Interaction between &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;k_2&amp;lt;/math&amp;gt; || align=right | 10 || Interaction between &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;k_3&amp;lt;/math&amp;gt; || align=right | 1  || Growth of &amp;lt;math&amp;gt;x_3&amp;lt;/math&amp;gt; under complementary control&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 1 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.01 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2&amp;lt;/math&amp;gt; || align=right | 0.2 || Maximum measurement time&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:Jackson_OED.png| States, control, and sampling functions for a local optimum. Both measurement functions overlap.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Jackson_OED&amp;diff=2917</id>
		<title>Jackson OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Jackson_OED&amp;diff=2917"/>
		<updated>2026-03-26T10:16:59Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 13&lt;br /&gt;
|nw        = 3&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Jackson OED problem&#039;&#039;&#039; is a variation of the [[:Jackson]] problem. It looks for optimal time intervals to measure the three states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;k_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k_2&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x_1}(t) &amp;amp;=&amp;amp; -u(t) (k_1 x_1(t) - k_2 x_2(t)), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 1, \\&lt;br /&gt;
\dot{x_2}(t) &amp;amp;=&amp;amp; u(t) (k_1 x_1(t) - k_2 x_2(t)) - (1-u(t)) k_3 x_2(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 0, \\&lt;br /&gt;
\dot{x_3}(t) &amp;amp;=&amp;amp; (1-u(t)) k_3 x_2(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 0.&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;
The initial values and &amp;lt;math&amp;gt;t_f&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the control &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_2&amp;lt;/math&amp;gt; directly, &amp;lt;math&amp;gt;h^1(x(t)) = x_1(t)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h^2(x(t)) = x_2(t)&amp;lt;/math&amp;gt;. We use two different sampling functions, &amp;lt;math&amp;gt;w_1(\cdot)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;w_2(\cdot)&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a two-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (k_1, k_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{n_o} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; x_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{2 \times 2}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;k_1&amp;lt;/math&amp;gt; || align=right | 1  || Interaction between &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;k_2&amp;lt;/math&amp;gt; || align=right | 10 || Interaction between &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_2&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;k_3&amp;lt;/math&amp;gt; || align=right | 1  || Growth of &amp;lt;math&amp;gt;x_3&amp;lt;/math&amp;gt; under complementary control&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 1 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.01 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2&amp;lt;/math&amp;gt; || align=right | 0.2 || Maximum measurement time&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:Jackson_OED.png| States, control, and sampling functions for a local optimum. Both measurement functions overlap.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2916</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2916"/>
		<updated>2026-03-26T10:16:25Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 4}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;\alpha_0, \alpha_1,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - \alpha_0 x_0(t) x_1(t) - x_0(t) x_2(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_0(0) = 1.5, \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + \alpha_1 x_0(t) x_1(t) - c_1 x_1(t) u(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 0.5, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha_2 x_0(t) x_2(t) - c_2 x_2(t) u(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 1,&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 20&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=0,1,2&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w_i(\cdot), i=0,1,2,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha_0, \alpha_1, \alpha_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=0}^{2} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t) \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (1.5, 0.5, 1)^T \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 0,1,2,&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_0, M_1, M_2&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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:Lotka_Shared_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Casadi | CasADi]] at https://github.com/rlampel/PySHeRLOC&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2915</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2915"/>
		<updated>2026-03-26T10:15:58Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; =&amp;amp; -\sqrt{x_1(t)}+c_1 u_1(t) + c_2 u_2(t) - u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; =&amp;amp; \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; =&amp;amp; \sqrt{x_2(t)}-\sqrt{x_3(t)} + u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;u_1,u_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 u_i(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the controls &amp;lt;math&amp;gt;u_i, \ i=1,2,3,&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=1,2,3&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w_i(\cdot), \ i=1,2,3,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{3} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t) \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (2,2,2)^T \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad \sum_{i=1}^3 u_i(t) &amp;amp; = &amp;amp; 1 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,3,&amp;lt;/math&amp;gt; for each observed function of states.&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;c_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 2 || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; || align=right | 0.8 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 12 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Three_Tank_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=File:Three_Tank_OED.png&amp;diff=2914</id>
		<title>File:Three Tank OED.png</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=File:Three_Tank_OED.png&amp;diff=2914"/>
		<updated>2026-03-26T10:14:48Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: RobertLampel uploaded a new version of File:Three Tank OED.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=File:Three_Tank_OED.png&amp;diff=2913</id>
		<title>File:Three Tank OED.png</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=File:Three_Tank_OED.png&amp;diff=2913"/>
		<updated>2026-03-26T10:13:10Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2912</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2912"/>
		<updated>2026-03-26T10:12:54Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Reference Solutions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; =&amp;amp; -\sqrt{x_1(t)}+c_1 u_1(t) + c_2 u_2(t) - u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; =&amp;amp; \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; =&amp;amp; \sqrt{x_2(t)}-\sqrt{x_3(t)} + u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;u_1,u_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 u_i(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the controls &amp;lt;math&amp;gt;u_i, \ i=1,2,3,&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=1,2,3&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), \ i=1,2,3,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{3} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t) \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (2,2,2)^T \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad \sum_{i=1}^3 u_i(t) &amp;amp; = &amp;amp; 1 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,3,&amp;lt;/math&amp;gt; for each observed function of states.&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;c_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 2 || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; || align=right | 0.8 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 12 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Three_Tank_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2911</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2911"/>
		<updated>2026-03-26T10:03:49Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; =&amp;amp; -\sqrt{x_1(t)}+c_1 u_1(t) + c_2 u_2(t) - u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; =&amp;amp; \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; =&amp;amp; \sqrt{x_2(t)}-\sqrt{x_3(t)} + u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;u_1,u_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 u_i(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the controls &amp;lt;math&amp;gt;u_i, \ i=1,2,3,&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=1,2,3&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), \ i=1,2,3,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{3} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t) \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (2,2,2)^T \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad \sum_{i=1}^3 u_i(t) &amp;amp; = &amp;amp; 1 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,3,&amp;lt;/math&amp;gt; for each observed function of states.&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;c_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 2 || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; || align=right | 0.8 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 12 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Van_der_Pol_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2910</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2910"/>
		<updated>2026-03-26T10:02:39Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; =&amp;amp; -\sqrt{x_1(t)}+c_1 u_1(t) + c_2 u_2(t) - u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; =&amp;amp; \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; =&amp;amp; \sqrt{x_2(t)}-\sqrt{x_3(t)} + u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;u_1,u_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 u_i(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the controls &amp;lt;math&amp;gt;u_i, \ i=1,2,3,&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=1,2,3&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), \ i=1,2,3,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{3} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t) \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (2,2,2)^T \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad \sum_{i=1}^3 u_i(t) &amp;amp; = &amp;amp; 1 \\&lt;br /&gt;
\quad x_1(t) &amp;amp; \in &amp;amp; \mathcal{X} \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,3,&amp;lt;/math&amp;gt; for each observed function of states.&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;c_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 2 || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; || align=right | 0.8 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 12 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Van_der_Pol_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2909</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2909"/>
		<updated>2026-03-26T10:02:18Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; =&amp;amp; -\sqrt{x_1(t)}+c_1 u_1(t) + c_2 u_2(t) - u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; =&amp;amp; \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; =&amp;amp; \sqrt{x_2(t)}-\sqrt{x_3(t)} + u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;u_1,u_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 u_i(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the controls &amp;lt;math&amp;gt;u_i, \ i=1,2,3,&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=1,2,3&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), \ i=1,2,3,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{3} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t) \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (2,2,2)^T \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad \sum_{i=1}^3 u_i(t) &amp;amp; = &amp;amp; 1 &lt;br /&gt;
\quad x_1(t) &amp;amp; \in &amp;amp; \mathcal{X} \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,3,&amp;lt;/math&amp;gt; for each observed function of states.&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;c_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 2 || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; || align=right | 0.8 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 12 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Van_der_Pol_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2908</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2908"/>
		<updated>2026-03-26T09:58:29Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; =&amp;amp; -\sqrt{x_1(t)}+c_1 u_1(t) + c_2 u_2(t) - u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; =&amp;amp; \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; =&amp;amp; \sqrt{x_2(t)}-\sqrt{x_3(t)} + u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;u_1,u_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 u_i(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the controls &amp;lt;math&amp;gt;u_i, \ i=1,2,3,&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=1,2,3&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), \ i=1,2,3,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{3} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t) \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (2,2,2)^T \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad x_1(t) &amp;amp; \in &amp;amp; \mathcal{X} \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,3,&amp;lt;/math&amp;gt; for each observed function of states.&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;c_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 2 || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; || align=right | 0.8 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 12 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Van_der_Pol_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2907</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2907"/>
		<updated>2026-03-26T09:58:11Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 4}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;\alpha_0, \alpha_1,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - \alpha_0 x_0(t) x_1(t) - x_0(t) x_2(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_0(0) = 1.5, \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + \alpha_1 x_0(t) x_1(t) - c_1 x_1(t) u(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 0.5, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha_2 x_0(t) x_2(t) - c_2 x_2(t) u(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 1,&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 20&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=0,1,2&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), i=0,1,2,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha_0, \alpha_1, \alpha_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=0}^{2} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t) \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (1.5, 0.5, 1)^T \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 0,1,2,&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_0, M_1, M_2&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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:Lotka_Shared_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Casadi | CasADi]] at https://github.com/rlampel/PySHeRLOC&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2906</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2906"/>
		<updated>2026-03-26T09:58:00Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; =&amp;amp; -\sqrt{x_1(t)}+c_1 u_1(t) + c_2 u_2(t) - u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; =&amp;amp; \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; =&amp;amp; \sqrt{x_2(t)}-\sqrt{x_3(t)} + u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;u_1,u_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 u_i(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the controls &amp;lt;math&amp;gt;u_i, \ i=1,2,3,&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=1,2,3&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), \ i=1,2,3,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{3} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t) \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (2,2,2) \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad x_1(t) &amp;amp; \in &amp;amp; \mathcal{X} \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,3,&amp;lt;/math&amp;gt; for each observed function of states.&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;c_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 2 || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; || align=right | 0.8 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 12 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Van_der_Pol_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2905</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2905"/>
		<updated>2026-03-26T09:57:09Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 4}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;\alpha_0, \alpha_1,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - \alpha_0 x_0(t) x_1(t) - x_0(t) x_2(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_0(0) = 1.5, \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + \alpha_1 x_0(t) x_1(t) - c_1 x_1(t) u(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 0.5, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha_2 x_0(t) x_2(t) - c_2 x_2(t) u(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 1,&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 20&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=0,1,2&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), i=0,1,2,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha_0, \alpha_1, \alpha_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=0}^{2} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (1.5, 0.5, 1)^T \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 0,1,2,&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_0, M_1, M_2&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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:Lotka_Shared_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Casadi | CasADi]] at https://github.com/rlampel/PySHeRLOC&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2904</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2904"/>
		<updated>2026-03-26T09:56:11Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 4}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;\alpha_0, \alpha_1,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - \alpha_0 x_0(t) x_1(t) - x_0(t) x_2(t), \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + \alpha_1 x_0(t) x_1(t) - c_1 x_1(t) u(t),  \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha_2 x_0(t) x_2(t) - c_2 x_2(t) u(t),&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 20&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=0,1,2&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), i=0,1,2,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha_0, \alpha_1, \alpha_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=0}^{2} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (1.5, 0.5, 1)^T \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 0,1,2,&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_0, M_1, M_2&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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:Lotka_Shared_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Casadi | CasADi]] at https://github.com/rlampel/PySHeRLOC&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2903</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2903"/>
		<updated>2026-03-26T09:52:20Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; =&amp;amp; -\sqrt{x_1(t)}+c_1 u_1(t) + c_2 u_2(t) - u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; =&amp;amp; \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; =&amp;amp; \sqrt{x_2(t)}-\sqrt{x_3(t)} + u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;u_1,u_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 u_i(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the controls &amp;lt;math&amp;gt;u_i, \ i=1,2,3,&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=1,2,3&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), \ i=1,2,3,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{3} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (2,2,2) \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad x_1(t) &amp;amp; \in &amp;amp; \mathcal{X} \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,3,&amp;lt;/math&amp;gt; for each observed function of states.&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;c_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 2 || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; || align=right | 0.8 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 12 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Van_der_Pol_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2902</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2902"/>
		<updated>2026-03-26T09:51:59Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; =&amp;amp; -\sqrt{x_1(t)}+c_1 u_1(t) + c_2 u_2(t) - u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; =&amp;amp; \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; =&amp;amp; \sqrt{x_2(t)}-\sqrt{x_3(t)} + u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;u_1,u_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 u_i(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the controls &amp;lt;math&amp;gt;u_i, \ i=1,2,3,&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=1,2,3&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), \ i=1,2,3,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{3} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (2,2,2) \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad x_1(t) &amp;amp; \in &amp;amp; \mathcal{X} \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,3,&amp;lt;/math&amp;gt; for each observed function of states.&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;c_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 2 || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; || align=right | 0.8 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 12 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | &amp;lt;math&amp;gt;[0,1]^3&amp;lt;/math&amp;gt; || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Van_der_Pol_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2901</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2901"/>
		<updated>2026-03-26T09:49:25Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; =&amp;amp; -\sqrt{x_1(t)}+c_1 u_1(t) + c_2 u_2(t) - u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; =&amp;amp; \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; =&amp;amp; \sqrt{x_2(t)}-\sqrt{x_3(t)} + u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;u_1,u_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 u_i(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the controls &amp;lt;math&amp;gt;u_i, \ i=1,2,3,&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=1,2,3&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), \ i=1,2,3,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{3} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (2,2,2) \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad x_1(t) &amp;amp; \in &amp;amp; \mathcal{X} \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,3,&amp;lt;/math&amp;gt; for each observed function of states.&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;c_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 2 || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; || align=right | 0.8 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 12 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Van_der_Pol_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2900</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2900"/>
		<updated>2026-03-26T09:47:11Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; =&amp;amp; -\sqrt{x_1(t)}+c_1 u_1(t) + c_2 u_2(t) - u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; =&amp;amp; \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; =&amp;amp; \sqrt{x_2(t)}-\sqrt{x_3(t)} + u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;u_1,u_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 u_i(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the controls &amp;lt;math&amp;gt;u_i, \ i=1,2,3,&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=1,2,3&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), \ i=1,2,3,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{3} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (2,2,2) \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad x_1(t) &amp;amp; \in &amp;amp; \mathcal{X} \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,3,&amp;lt;/math&amp;gt; for each observed function of states.&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;p_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; || align=right | 1 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 10 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{X}&amp;lt;/math&amp;gt; || align=right | [-0.5,&amp;lt;math&amp;gt;\infty&amp;lt;/math&amp;gt;] || Bounds of &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [-1,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Van_der_Pol_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2899</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2899"/>
		<updated>2026-03-26T09:46:54Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; =&amp;amp; -\sqrt{x_1(t)}+c_1 u_1(t) + c_2 u_2(t) - u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; =&amp;amp; \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; =&amp;amp; \sqrt{x_2(t)}-\sqrt{x_3(t)} + u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;u_1,u_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 u_i(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the controls &amp;lt;math&amp;gt;u_i, \ i=1,2,3,&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=1,2,3&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), \ i=1,2,3,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{n_o} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (2,2,2) \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad x_1(t) &amp;amp; \in &amp;amp; \mathcal{X} \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,3,&amp;lt;/math&amp;gt; for each observed function of states.&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;p_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; || align=right | 1 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 10 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{X}&amp;lt;/math&amp;gt; || align=right | [-0.5,&amp;lt;math&amp;gt;\infty&amp;lt;/math&amp;gt;] || Bounds of &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [-1,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Van_der_Pol_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2898</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2898"/>
		<updated>2026-03-26T09:46:40Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; =&amp;amp; -\sqrt{x_1(t)}+c_1 u_1(t) + c_2 u_2(t) - u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; =&amp;amp; \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; =&amp;amp; \sqrt{x_2(t)}-\sqrt{x_3(t)} + u_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;u_1,u_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 wui(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the controls &amp;lt;math&amp;gt;u_i, \ i=1,2,3,&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=1,2,3&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), \ i=1,2,3,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{n_o} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (2,2,2) \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad x_1(t) &amp;amp; \in &amp;amp; \mathcal{X} \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2,3,&amp;lt;/math&amp;gt; for each observed function of states.&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;p_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; || align=right | 1 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 10 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{X}&amp;lt;/math&amp;gt; || align=right | [-0.5,&amp;lt;math&amp;gt;\infty&amp;lt;/math&amp;gt;] || Bounds of &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [-1,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Van_der_Pol_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2897</id>
		<title>Three Tank OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Three_Tank_OED&amp;diff=2897"/>
		<updated>2026-03-26T09:42:38Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: Created page with &amp;quot;{{Dimensions |nd        = 1 |nx        = 21 |nw        = 6 }}  The &amp;#039;&amp;#039;&amp;#039;Three Tank OED problem&amp;#039;&amp;#039;&amp;#039; is a variation of the :Three Tank multimode problem. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.  The mathematical equations form a small-scale ODE model. It also includes state sensitivities, the Fisher information matr...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 6&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Three Tank OED problem&#039;&#039;&#039; is a variation of the [[:Three Tank multimode problem]]. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;c_1, c_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_3&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = -\sqrt{x_1(t)}+c_1 w_1(t) + c_2 w_2(t) - w_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 2, \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = \sqrt{x_1(t)}-\sqrt{x_2(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 2, \\&lt;br /&gt;
\dot{x}_3(t) &amp;amp; = \sqrt{x_2(t)}-\sqrt{x_3(t)} + w_3(t) \sqrt{c_3 x_1(t)}, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_3(0) = 2.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, the controls &amp;lt;math&amp;gt;w_1,w_2,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;w_3&amp;lt;/math&amp;gt; are constrained by:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \sum_{i=1}^3 w_i(t) = 1 \quad \forall t\in [0,t_f]&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 10&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the control &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, &amp;lt;math&amp;gt;h^1(x(t)) = x_1(t)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h^2(x(t)) = x_2(t)&amp;lt;/math&amp;gt;. We use two different sampling functions, &amp;lt;math&amp;gt;w^1(\cdot)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;w^2(\cdot)&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a two-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{n_o} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; x_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad x_1(t) &amp;amp; \in &amp;amp; \mathcal{X} \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{2 \times 2}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2&amp;lt;/math&amp;gt; for each observed function of states.&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;p_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; || align=right | 1 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 10 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{X}&amp;lt;/math&amp;gt; || align=right | [-0.5,&amp;lt;math&amp;gt;\infty&amp;lt;/math&amp;gt;] || Bounds of &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [-1,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Van_der_Pol_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=User:RobertLampel&amp;diff=2896</id>
		<title>User:RobertLampel</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=User:RobertLampel&amp;diff=2896"/>
		<updated>2026-03-26T09:34:26Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Working on &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/DOW_Experimental_Design &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Urethane &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Toy_OED &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Rao_Mease &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Bryson_Denham &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Tubular_Reactor &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Mountain_Car &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Denbigh_Reaction &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Linear_Quadratic_Regulator &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Ocean &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Fermenter &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Van_der_Pol_OED &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Exponential_OED &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/LV_Shared_Resource &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/LV_Competitive &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Oscillating_OED &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Compartmental_OED &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Dielectrophoretic_Particle&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Double_Oscillator&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Ducted_Fan&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Jackson&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Robbins&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Hang_Glider&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Dielectrophoretic_Particle_OED&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Jackson_OED&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Moon_Landing&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Cart_Pendulum&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Lotka_Shared_OED&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Three_Tank_OED&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2895</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2895"/>
		<updated>2026-03-26T09:28:52Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 4}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;\alpha_0, \alpha_1,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - \alpha_0 x_0(t) x_1(t) - x_0(t) x_2(t), \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + \alpha_1 x_0(t) x_1(t) - c_1 x_1(t) u(t),  \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha_2 x_0(t) x_2(t) - c_2 x_2(t) u(t),&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 20&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=0,1,2&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), i=0,1,2,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha_0, \alpha_1, \alpha_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=0}^{2} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (1.5, 0.5, 1)^T \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 0,1,2,&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_0, M_1, M_2&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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:Lotka_Shared_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Casadi | CasADi]] at https://github.com/rlampel/PySHeRLOC&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2894</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2894"/>
		<updated>2026-03-26T09:28:11Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 4}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;\alpha_0, \alpha_1,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - \alpha_0 x_0(t) x_1(t) - x_0(t) x_2(t), \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + \alpha_1 x_0(t) x_1(t) - c_1 x_1(t) u(t),  \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha_2 x_0(t) x_2(t) - c_2 x_2(t) u(t),&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 20&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=0,1,2&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), i=0,1,2,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha_0, \alpha_1, \alpha_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=0}^{2} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (1.5, 0.5, 1)^T \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 0,1,2,&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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:Lotka_Shared_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Casadi | CasADi]] at https://github.com/rlampel/PySHeRLOC&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Van_der_Pol_OED&amp;diff=2893</id>
		<title>Van der Pol OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Van_der_Pol_OED&amp;diff=2893"/>
		<updated>2026-03-26T09:25:34Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 11&lt;br /&gt;
|nw        = 3&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Van der Pol OED problem&#039;&#039;&#039; is a variation of the [[:Van der Pol Oscillator]] problem. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;p_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x_1}(t) &amp;amp;=&amp;amp; (p_1 - x_2(t)^2) \cdot x_1(t) - x_2(t) + u(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 0, \\&lt;br /&gt;
\dot{x_2}(t) &amp;amp;=&amp;amp; p_2 + x_1(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 1.&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
Additionally, we add the constraint&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 x_1(t) \geq -0.5, \; t\in [0,t_f].&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The initial values and &amp;lt;math&amp;gt;t_f = 10&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the control &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, &amp;lt;math&amp;gt;h^1(x(t)) = x_1(t)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h^2(x(t)) = x_2(t)&amp;lt;/math&amp;gt;. We use two different sampling functions, &amp;lt;math&amp;gt;w^1(\cdot)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;w^2(\cdot)&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a two-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (p_1, p_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{n_o} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; x_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad x_1(t) &amp;amp; \in &amp;amp; \mathcal{X} \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{2 \times 2}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2&amp;lt;/math&amp;gt; for each observed function of states.&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;p_1&amp;lt;/math&amp;gt; || align=right | 1  || Unknown parameter&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; || align=right | 1 || Unknown parameter&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 10 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_{\mathrm{reg}}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{X}&amp;lt;/math&amp;gt; || align=right | [-0.5,&amp;lt;math&amp;gt;\infty&amp;lt;/math&amp;gt;] || Bounds of &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [-1,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Van_der_Pol_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Van_der_Pol_Oscillator&amp;diff=2892</id>
		<title>Van der Pol Oscillator</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Van_der_Pol_Oscillator&amp;diff=2892"/>
		<updated>2026-03-26T09:22:31Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 2&lt;br /&gt;
|nu        = 1&lt;br /&gt;
|nc        = 1&lt;br /&gt;
|nre       = 2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The Van der Pol Oscillator is an oscillating system with non-linear damping and self regulation. The System was first introduced by the Dutch physician Balthasar Van der Pol in 1927. The aim is to control the oscillation such that the system stays in a mean position.  &lt;br /&gt;
 	&lt;br /&gt;
&lt;br /&gt;
== Model formulation ==&lt;br /&gt;
	&lt;br /&gt;
	The Van der Pol Oscillator evolves over time according to the second order differential equation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{d^2x \over dt^2}-u(1-x^2){dx \over dt}+x= 0&amp;lt;/math&amp;gt;&lt;br /&gt;
 		&lt;br /&gt;
where &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; is the position coordinate, which is a function of the time &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; is a scalar parameter indicating the non-linearity and the strength of the damping.&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;u&amp;gt;&amp;gt;1&amp;lt;/math&amp;gt; the oscillator is being damped, whereas for &amp;lt;math&amp;gt;u&amp;lt;&amp;lt;1&amp;lt;/math&amp;gt; energy is added to the system.&lt;br /&gt;
 		&lt;br /&gt;
Based on the transformation &amp;lt;math&amp;gt;y = \dot x&amp;lt;/math&amp;gt;  the problem can be reformulated:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;		 \dot x = y&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\dot y = u(1-x^2) y-x&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 		&lt;br /&gt;
The Optimal Control Problem arises by adding the objective function:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\min\limits_{u}\int\limits_{t_0}^{t_f}(x(t)^2+y(t)^2+u(t)^2) dt&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Optimal Control Problem ==&lt;br /&gt;
The Optimal Control Problem with the aim to minimize the deflection can be formulated as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; 		&lt;br /&gt;
\begin{array}{lll}&lt;br /&gt;
\min\limits_{u}  &amp;amp; \int\limits_{t_0}^{t_f} &amp;amp; (x(t)^2+y(t)^2+u(t)^2) dt\\&lt;br /&gt;
s.t. &amp;amp; 	 \dot x &amp;amp; = y,\\&lt;br /&gt;
&amp;amp;	\dot y &amp;amp; = u(1-x^2) y-x,\\&lt;br /&gt;
&amp;amp; x(0) &amp;amp; =1,\\&lt;br /&gt;
&amp;amp; y(0) &amp;amp; =0,\\&lt;br /&gt;
&amp;amp; u(t) &amp;amp; \le 0.75.\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
These fixed values are used within the model:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;[t_0,t_f]=[0,20]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Variants ==&lt;br /&gt;
The following modified version is used in [https://github.com/rlampel/pysherloc PySHeRLOC]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; 		&lt;br /&gt;
\begin{array}{lll}&lt;br /&gt;
\min\limits_{u}  &amp;amp; \int\limits_{t_0}^{t_f} &amp;amp; (x(t)^2+y(t)^2+u(t)^2) dt\\&lt;br /&gt;
s.t. &amp;amp; 	 \dot x(t) &amp;amp; = (1 - y(t)^2) \cdot x(t) - y(t) + u(t),\\&lt;br /&gt;
&amp;amp;	\dot y(t) &amp;amp; = x(t),\\&lt;br /&gt;
&amp;amp; x(0) &amp;amp; = 0,\\&lt;br /&gt;
&amp;amp; y(0) &amp;amp; = 1,\\&lt;br /&gt;
&amp;amp; x(t) &amp;amp; \geq -0.25,\\&lt;br /&gt;
&amp;amp; u(t) &amp;amp; \in [-1,1].\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
The following reference solution was generated using JModelica with the automatic differentiation tool CasADI and the solver IPOPT. The Optimica code used to solve the problem can be found under [[Van der Pol Oscillator (JModelica)]] The optimal value of the objective function is 3.1762. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;Reference solution plots&amp;quot; widths=&amp;quot;180px&amp;quot; heights=&amp;quot;140px&amp;quot; perrow=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
 Image:VDP_Plot_control.png| Control u over time (damping).&lt;br /&gt;
 Image:VDP_Plot_states.png| Position coordinate x and it&#039;s derivative y.&lt;br /&gt;
 Image:VDP_Plot_derivatives.png| Derivative &amp;lt;math&amp;gt;\dot x&amp;lt;/math&amp;gt; and second derivative &amp;lt;math&amp;gt;\dot y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
Model descriptions are available in:&lt;br /&gt;
&lt;br /&gt;
* [[:Category: JModelica | JModelica code]] at [[Van der Pol Oscillator (JModelica)]]&lt;br /&gt;
* [[:Category: Julia/JuMP | JuMP code]] (of a slightly modified Van der Pol oscillator problem) at [[Van der Pol Oscillator (Jump)]]&lt;br /&gt;
&lt;br /&gt;
== Variants ==&lt;br /&gt;
&lt;br /&gt;
There are several alternative formulations and variants of the above problem, in particular&lt;br /&gt;
&lt;br /&gt;
* a variant where partial outer convexification is applied on the control and the continous control is replaces by binary controls, see also [[Van der Pol Oscillator (binary variant)]],&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
The Problem can be found under the following [https://en.wikipedia.org/wiki/Van_der_Pol_oscillator link] or in the [http://www.jmodelica.org/api-docs/usersguide/1.4.0/ch08s02.html JModelica Users Guide].&lt;br /&gt;
&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Path-constrained arcs]]&lt;br /&gt;
[[Category:ODE model]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2891</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2891"/>
		<updated>2026-03-26T09:14:48Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 4}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;\alpha_0, \alpha_1,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - \alpha_0 x_0(t) x_1(t) - x_0(t) x_2(t), \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + \alpha_1 x_0(t) x_1(t) - c_1 x_1(t) u(t),  \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha_2 x_0(t) x_2(t) - c_2 x_2(t) u(t),&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 20&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=0,1,2&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), i=0,1,2,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha_0, \alpha_1, \alpha_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=0}^{2} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; x_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 0,1,2,&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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:Lotka_Shared_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Casadi | CasADi]] at https://github.com/rlampel/PySHeRLOC&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2890</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2890"/>
		<updated>2026-03-26T09:13:23Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Variants */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 4}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_4&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey fish initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - \alpha_0 x_0(t) x_1(t) - x_0(t) x_2(t), \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + \alpha_1 x_0(t) x_1(t) - c_1 x_1(t) u(t),  \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha_2 x_0(t) x_2(t) - c_2 x_2(t) u(t),&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 20&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=0,1,2&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), i=0,1,2,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha_0, \alpha_1, \alpha_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=0}^{2} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; x_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 0,1,2,&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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:Lotka_Shared_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Casadi | CasADi]] at https://github.com/rlampel/PySHeRLOC&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2889</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2889"/>
		<updated>2026-03-26T09:13:13Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Source Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 4}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_4&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey fish initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - \alpha_0 x_0(t) x_1(t) - x_0(t) x_2(t), \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + \alpha_1 x_0(t) x_1(t) - c_1 x_1(t) u(t),  \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha_2 x_0(t) x_2(t) - c_2 x_2(t) u(t),&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 20&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=0,1,2&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), i=0,1,2,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha_0, \alpha_1, \alpha_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=0}^{2} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; x_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 0,1,2,&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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:Lotka_Shared_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Casadi | CasADi]] at https://github.com/rlampel/PySHeRLOC&lt;br /&gt;
&lt;br /&gt;
== Variants ==&lt;br /&gt;
&lt;br /&gt;
There are several alternative formulations and variants of the above problem, in particular&lt;br /&gt;
&lt;br /&gt;
* a prescribed time grid for the control function &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt;, see also [[Lotka Experimental Design (AMPL)]],&lt;br /&gt;
* no fishing, i.e., &amp;lt;math&amp;gt;u \equiv 0&amp;lt;/math&amp;gt;,&lt;br /&gt;
* different fishing control functions for the two species,&lt;br /&gt;
* different parameters and start values.&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=File:Lotka_Shared_OED.png&amp;diff=2888</id>
		<title>File:Lotka Shared OED.png</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=File:Lotka_Shared_OED.png&amp;diff=2888"/>
		<updated>2026-03-26T09:08:46Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2887</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2887"/>
		<updated>2026-03-26T09:08:33Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Reference Solutions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 4}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_4&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey fish initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - \alpha_0 x_0(t) x_1(t) - x_0(t) x_2(t), \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + \alpha_1 x_0(t) x_1(t) - c_1 x_1(t) u(t),  \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha_2 x_0(t) x_2(t) - c_2 x_2(t) u(t),&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 20&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=0,1,2&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), i=0,1,2,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha_0, \alpha_1, \alpha_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=0}^{2} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; x_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 0,1,2,&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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:Lotka_Shared_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:AMPL | AMPL]] at [[Lotka Experimental Design (AMPL)]]&lt;br /&gt;
* [[:Category: VPLAN | VPLAN code]] at [[Lotka Experimental Design (VPLAN)]]&lt;br /&gt;
&lt;br /&gt;
== Variants ==&lt;br /&gt;
&lt;br /&gt;
There are several alternative formulations and variants of the above problem, in particular&lt;br /&gt;
&lt;br /&gt;
* a prescribed time grid for the control function &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt;, see also [[Lotka Experimental Design (AMPL)]],&lt;br /&gt;
* no fishing, i.e., &amp;lt;math&amp;gt;u \equiv 0&amp;lt;/math&amp;gt;,&lt;br /&gt;
* different fishing control functions for the two species,&lt;br /&gt;
* different parameters and start values.&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2886</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2886"/>
		<updated>2026-03-26T08:53:56Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 21&lt;br /&gt;
|nw        = 4}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_4&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey fish initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - \alpha_0 x_0(t) x_1(t) - x_0(t) x_2(t), \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + \alpha_1 x_0(t) x_1(t) - c_1 x_1(t) u(t),  \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha_2 x_0(t) x_2(t) - c_2 x_2(t) u(t),&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 20&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=0,1,2&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), i=0,1,2,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha_0, \alpha_1, \alpha_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=0}^{2} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; x_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 0,1,2,&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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;180px&amp;quot; heights=&amp;quot;140px&amp;quot; perrow=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
 Image:vplotkaUStates.png| States and fishing control.&lt;br /&gt;
 Image:vplotkaUSensitivities.png| Sensitivities G().&lt;br /&gt;
 Image:vplotkaUMeas1.png| Sampling function for first state.&lt;br /&gt;
 Image:vplotkaUMeas2.png| Sampling function for second state.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:AMPL | AMPL]] at [[Lotka Experimental Design (AMPL)]]&lt;br /&gt;
* [[:Category: VPLAN | VPLAN code]] at [[Lotka Experimental Design (VPLAN)]]&lt;br /&gt;
&lt;br /&gt;
== Variants ==&lt;br /&gt;
&lt;br /&gt;
There are several alternative formulations and variants of the above problem, in particular&lt;br /&gt;
&lt;br /&gt;
* a prescribed time grid for the control function &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt;, see also [[Lotka Experimental Design (AMPL)]],&lt;br /&gt;
* no fishing, i.e., &amp;lt;math&amp;gt;u \equiv 0&amp;lt;/math&amp;gt;,&lt;br /&gt;
* different fishing control functions for the two species,&lt;br /&gt;
* different parameters and start values.&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2885</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2885"/>
		<updated>2026-03-26T08:51:58Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 11&lt;br /&gt;
|nw        = 2&lt;br /&gt;
|nc        = 4&lt;br /&gt;
|nre       = 11&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_4&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey fish initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - \alpha_0 x_0(t) x_1(t) - x_0(t) x_2(t), \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + \alpha_1 x_0(t) x_1(t) - c_1 x_1(t) u(t),  \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha_2 x_0(t) x_2(t) - c_2 x_2(t) u(t),&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 20&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=0,1,2&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), i=0,1,2,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha_0, \alpha_1, \alpha_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=0}^{2} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; x_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{3 \times 3}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 0,1,2,&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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;180px&amp;quot; heights=&amp;quot;140px&amp;quot; perrow=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
 Image:vplotkaUStates.png| States and fishing control.&lt;br /&gt;
 Image:vplotkaUSensitivities.png| Sensitivities G().&lt;br /&gt;
 Image:vplotkaUMeas1.png| Sampling function for first state.&lt;br /&gt;
 Image:vplotkaUMeas2.png| Sampling function for second state.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:AMPL | AMPL]] at [[Lotka Experimental Design (AMPL)]]&lt;br /&gt;
* [[:Category: VPLAN | VPLAN code]] at [[Lotka Experimental Design (VPLAN)]]&lt;br /&gt;
&lt;br /&gt;
== Variants ==&lt;br /&gt;
&lt;br /&gt;
There are several alternative formulations and variants of the above problem, in particular&lt;br /&gt;
&lt;br /&gt;
* a prescribed time grid for the control function &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt;, see also [[Lotka Experimental Design (AMPL)]],&lt;br /&gt;
* no fishing, i.e., &amp;lt;math&amp;gt;u \equiv 0&amp;lt;/math&amp;gt;,&lt;br /&gt;
* different fishing control functions for the two species,&lt;br /&gt;
* different parameters and start values.&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Dielectrophoretic_Particle_OED&amp;diff=2884</id>
		<title>Dielectrophoretic Particle OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Dielectrophoretic_Particle_OED&amp;diff=2884"/>
		<updated>2026-03-26T08:49:43Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 13&lt;br /&gt;
|nw        = 3&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Dielectrophoretic Particle OED problem&#039;&#039;&#039; is a variation of the [[:Dielectrophoretic Particle]] problem. It looks for optimal time intervals to measure the two states in order to minimize the uncertainty of a follow-up parameter estimation problem for the two unknown parameters.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. It also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; of the initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x_1}(t) &amp;amp;=&amp;amp; x_2(t) \cdot u(t) + \alpha \cdot u(t)^2, &amp;amp;&amp;amp; t \in [0,t_f], \quad x_1(0) = 1, \\&lt;br /&gt;
\dot{x_2}(t) &amp;amp;=&amp;amp; -c \cdot x_2(t) + u(t), &amp;amp;&amp;amp; t \in [0,t_f], \quad x_2(0) = 0.&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;
The initial values and &amp;lt;math&amp;gt;t_f = 8&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose the control &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, &amp;lt;math&amp;gt;h^1(x(t)) = x_1(t)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h^2(x(t)) = x_2(t)&amp;lt;/math&amp;gt;. We use two different sampling functions, &amp;lt;math&amp;gt;w^1(\cdot)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;w^2(\cdot)&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a two-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha, c)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{2} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; x_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{2 \times 2}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha&amp;lt;/math&amp;gt; || align=right | -0.75  || Nonlinear coefficient&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; || align=right | 1 || Damping coefficient&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 8 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.01 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [-1,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2&amp;lt;/math&amp;gt; || align=right | 2 || Maximum measurement time&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:Dielectrophoretic_Particle_OED.png| States, control, and sampling functions for a local optimum.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2883</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2883"/>
		<updated>2026-03-26T08:48:34Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 11&lt;br /&gt;
|nw        = 2&lt;br /&gt;
|nc        = 4&lt;br /&gt;
|nre       = 11&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_4&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey fish initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - \alpha_0 x_0(t) x_1(t) - x_0(t) x_2(t), \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + \alpha_1 x_0(t) x_1(t) - c_1 x_1(t) u(t),  \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha_2 x_0(t) x_2(t) - c_2 x_2(t) u(t),&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 20&amp;lt;/math&amp;gt; are fixed. We are interested in how to choose &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, i.e., &amp;lt;math&amp;gt;h^i(x(t)) = x_i(t), \ i=0,1,2&amp;lt;/math&amp;gt;. We use three different sampling functions, &amp;lt;math&amp;gt;w^i(\cdot), i=0,1,2,&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a three-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical.&lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem with &amp;lt;math&amp;gt;\theta := (\alpha_0, \alpha_1, \alpha_2)&amp;lt;/math&amp;gt;:&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_{x,G,F,z,w,u} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; f(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_x(x(t),u(t),\theta) G(t) + f_\theta(x(t),u(t),\theta) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; \sum_{i=1}^{n_o} w_i(t)(h^i_x(x(t))G(t))^T(h^i_x(x(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; x_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; \frac{\partial x(0)}{\partial \theta} \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; I \cdot \varepsilon_{\mathrm{reg}}, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U} \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z_i(t_f) &amp;amp; \leq &amp;amp; M_i&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;
The evolution of the symmetric matrix &amp;lt;math&amp;gt;F: \left[0,t_f \right] \rightarrow \mathbb{R}^{2 \times 2}&amp;lt;/math&amp;gt; is given by the weighted sum of observability Gramians&lt;br /&gt;
&amp;lt;math&amp;gt;h^i_x (x(t)) G(t), \ i = 1,2&amp;lt;/math&amp;gt; for each observed function of states.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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;180px&amp;quot; heights=&amp;quot;140px&amp;quot; perrow=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
 Image:vplotkaUStates.png| States and fishing control.&lt;br /&gt;
 Image:vplotkaUSensitivities.png| Sensitivities G().&lt;br /&gt;
 Image:vplotkaUMeas1.png| Sampling function for first state.&lt;br /&gt;
 Image:vplotkaUMeas2.png| Sampling function for second state.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:AMPL | AMPL]] at [[Lotka Experimental Design (AMPL)]]&lt;br /&gt;
* [[:Category: VPLAN | VPLAN code]] at [[Lotka Experimental Design (VPLAN)]]&lt;br /&gt;
&lt;br /&gt;
== Variants ==&lt;br /&gt;
&lt;br /&gt;
There are several alternative formulations and variants of the above problem, in particular&lt;br /&gt;
&lt;br /&gt;
* a prescribed time grid for the control function &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt;, see also [[Lotka Experimental Design (AMPL)]],&lt;br /&gt;
* no fishing, i.e., &amp;lt;math&amp;gt;u \equiv 0&amp;lt;/math&amp;gt;,&lt;br /&gt;
* different fishing control functions for the two species,&lt;br /&gt;
* different parameters and start values.&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2882</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2882"/>
		<updated>2026-03-26T08:45:32Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 11&lt;br /&gt;
|nw        = 2&lt;br /&gt;
|nc        = 4&lt;br /&gt;
|nre       = 11&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_4&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey fish initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - x_0(t) x_1(t) - x_0(t) x_2(t), \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + x_0(t) x_1(t) - c_1 x_1(t) u(t),  \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha x_0(t) x_2(t) - c_2 x_2(t) u(t),&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to fish and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, &amp;lt;math&amp;gt;h^1(x(t)) = x_1(t)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h^2(x(t)) = x_2(t)&amp;lt;/math&amp;gt;. We use two different sampling functions, &amp;lt;math&amp;gt;w^1(\cdot)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;w^2(\cdot)&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a two-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical. The experimental design problem then reads&lt;br /&gt;
&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_{x,G,F,z^1,z^2,u,w^1,w^2} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x_1}(t) &amp;amp; = &amp;amp;  p_1 \; x_1(t) - p_2 x_1(t) x_2(t) - p_5 u(t) x_1(t),\\&lt;br /&gt;
\quad \dot{x_2}(t) &amp;amp; = &amp;amp;  - p_3 \; x_2(t) + p_4 x_1(t) x_2(t) - p_6 u(t) x_2(t),\\&lt;br /&gt;
\quad \dot{G_{11}}(t) &amp;amp; = &amp;amp; f_{x11}(\cdot) \; G_{11}(t) + f_{x12}(\cdot) \; G_{21}(t) + f_{p12}(\cdot), \\&lt;br /&gt;
\quad \dot{G_{12}}(t) &amp;amp; = &amp;amp; f_{x11}(\cdot) \; G_{12}(t) + f_{x12}(\cdot) \; G_{22}(t), \\&lt;br /&gt;
\quad \dot{G_{21}}(t) &amp;amp; = &amp;amp; f_{x21}(\cdot) \; G_{11}(t) + f_{x22}(\cdot) \; G_{21}(t), \\&lt;br /&gt;
\quad \dot{G_{22}}(t) &amp;amp; = &amp;amp; f_{x21}(\cdot) \; G_{12}(t) + f_{x22}(\cdot) \; G_{22}(t) + f_{p24}(\cdot), \\&lt;br /&gt;
\quad \dot{F_{11}}(t) &amp;amp; = &amp;amp; w^1(t) G_{11}(t)^2 + w^2(t) G_{21}(t)^2, \\&lt;br /&gt;
\quad \dot{F_{12}}(t) &amp;amp; = &amp;amp; w^1(t) G_{11}(t) G_{12}(t) + w^2(t) G_{21}(t) G_{22}(t), \\&lt;br /&gt;
\quad \dot{F_{22}}(t) &amp;amp; = &amp;amp; w^1(t) G_{12}(t)^2 + w^2(t) G_{22}(t)^2, \\&lt;br /&gt;
\quad \dot{z^1}(t) &amp;amp; = &amp;amp; w^1(t), \\&lt;br /&gt;
\quad \dot{z^2}(t) &amp;amp; = &amp;amp; w^2(t), \\[1.5ex]&lt;br /&gt;
\quad x(0) &amp;amp;=&amp;amp; (0.5, 0.7), \\&lt;br /&gt;
\quad G(0) &amp;amp;=&amp;amp; F(0) = 0, \\&lt;br /&gt;
\quad z^1(0) &amp;amp;=&amp;amp; z^2(0) = 0, \\[1.5ex]&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U}, \; w^1(t) \in \mathcal{W}, \; w^2(t) \in \mathcal{W}, \\&lt;br /&gt;
\quad 0    &amp;amp; \le &amp;amp; M - z(t_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;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
f_{x11}(\cdot) &amp;amp;= \partial f_1(\cdot) / \partial x_1 = p_1 - p_2 x_2(t) - p_5 u(t), \\&lt;br /&gt;
f_{x12}(\cdot) &amp;amp;= - p_2 x_1(t), \\&lt;br /&gt;
f_{x21}(\cdot) &amp;amp;= p_4 x_2(t), \\&lt;br /&gt;
f_{x22}(\cdot) &amp;amp;= -p_3 + p_4 x_1(t) - p_6 u(t), \\ &lt;br /&gt;
f_{p12}(\cdot) &amp;amp;= \partial f_1(\cdot) / \partial p_2 = -x_1(t) x_2(t), \text{ and}\\&lt;br /&gt;
f_{p24}(\cdot) &amp;amp;= \partial f_2(\cdot) / \partial p_4 = x_1(t) x_2(t)&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Note that the state &amp;lt;math&amp;gt;F_{21}(\cdot) = F_{12}(\cdot)&amp;lt;/math&amp;gt; has been left out for reasons of symmetry.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&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;\alpha_0&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_1&amp;lt;/math&amp;gt; || align=right | 1.0  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha_2&amp;lt;/math&amp;gt; || align=right | 1.2  ||&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.1 || &lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_2&amp;lt;/math&amp;gt; || align=right | 0.4 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 20 || Horizon of the control problem&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\varepsilon_\mathrm{reg}&amp;lt;/math&amp;gt; || align=right | 0.1 || Regularization of Fisher matrix&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of control function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mathcal{W}&amp;lt;/math&amp;gt; || align=right | [0,1] || Bounds of measurement function&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;M_1, M_2, M_3&amp;lt;/math&amp;gt; || align=right | 4 || Maximum measurement time&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;180px&amp;quot; heights=&amp;quot;140px&amp;quot; perrow=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
 Image:vplotkaUStates.png| States and fishing control.&lt;br /&gt;
 Image:vplotkaUSensitivities.png| Sensitivities G().&lt;br /&gt;
 Image:vplotkaUMeas1.png| Sampling function for first state.&lt;br /&gt;
 Image:vplotkaUMeas2.png| Sampling function for second state.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:AMPL | AMPL]] at [[Lotka Experimental Design (AMPL)]]&lt;br /&gt;
* [[:Category: VPLAN | VPLAN code]] at [[Lotka Experimental Design (VPLAN)]]&lt;br /&gt;
&lt;br /&gt;
== Variants ==&lt;br /&gt;
&lt;br /&gt;
There are several alternative formulations and variants of the above problem, in particular&lt;br /&gt;
&lt;br /&gt;
* a prescribed time grid for the control function &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt;, see also [[Lotka Experimental Design (AMPL)]],&lt;br /&gt;
* no fishing, i.e., &amp;lt;math&amp;gt;u \equiv 0&amp;lt;/math&amp;gt;,&lt;br /&gt;
* different fishing control functions for the two species,&lt;br /&gt;
* different parameters and start values.&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2881</id>
		<title>Lotka Shared OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Lotka_Shared_OED&amp;diff=2881"/>
		<updated>2026-03-26T08:39:54Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: Created page with &amp;quot;{{Dimensions |nd        = 1 |nx        = 11 |nw        = 2 |nc        = 4 |nre       = 11 }}  The &amp;#039;&amp;#039;&amp;#039;Lotka Shared Experimental Design problem&amp;#039;&amp;#039;&amp;#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in :LV Shared Resource. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 11&lt;br /&gt;
|nw        = 2&lt;br /&gt;
|nc        = 4&lt;br /&gt;
|nre       = 11&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Lotka Shared Experimental Design problem&#039;&#039;&#039; looks for an optimal strategy to be performed on a fixed time horizon to control the biomasses multiple species as described in [[:LV Shared Resource]]. The goal here, however, is to minimize the uncertainty of a follow-up parameter estimation problem. When measurements of the three state variables are performed becomes a degree of freedom.&lt;br /&gt;
&lt;br /&gt;
The mathematical equations form a small-scale [[:Category:ODE model|ODE model]]. The ODE from [[LV Shared Resource]] is extended such that it also includes state sensitivities, the Fisher information matrix entries and integrated sampling states.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
We are interested in estimating the parameters &amp;lt;math&amp;gt;p_2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_4&amp;lt;/math&amp;gt; of the Lotka-Volterra type predator-prey fish initial value problem&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
\dot{x}_0(t) &amp;amp; = &amp;amp;  x_0(t) - x_0(t) x_1(t) - x_0(t) x_2(t), \\&lt;br /&gt;
\dot{x}_1(t) &amp;amp; = &amp;amp; - x_1(t) + x_0(t) x_1(t) - c_1 x_1(t) u(t),  \\&lt;br /&gt;
\dot{x}_2(t) &amp;amp; = &amp;amp; -x_2(t) + \alpha x_0(t) x_2(t) - c_2 x_2(t) u(t),&lt;br /&gt;
\end{array} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u(\cdot)&amp;lt;/math&amp;gt; is a control that may or may not be fixed. The other parameters, the initial values and &amp;lt;math&amp;gt;t_f = 12&amp;lt;/math&amp;gt; are fixed. We are interested in how to fish and when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the states directly, &amp;lt;math&amp;gt;h^1(x(t)) = x_1(t)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h^2(x(t)) = x_2(t)&amp;lt;/math&amp;gt;. We use two different sampling functions, &amp;lt;math&amp;gt;w^1(\cdot)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;w^2(\cdot)&amp;lt;/math&amp;gt; in the same experimental setting. This can be seen either as a two-dimensional measurement function &amp;lt;math&amp;gt;h(x(t))&amp;lt;/math&amp;gt;, or as a special case of a multiple experiment, in which &amp;lt;math&amp;gt;u(\cdot), x(\cdot)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;G(\cdot)&amp;lt;/math&amp;gt; are identical. The experimental design problem then reads&lt;br /&gt;
&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_{x,G,F,z^1,z^2,u,w^1,w^2} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x_1}(t) &amp;amp; = &amp;amp;  p_1 \; x_1(t) - p_2 x_1(t) x_2(t) - p_5 u(t) x_1(t),\\&lt;br /&gt;
\quad \dot{x_2}(t) &amp;amp; = &amp;amp;  - p_3 \; x_2(t) + p_4 x_1(t) x_2(t) - p_6 u(t) x_2(t),\\&lt;br /&gt;
\quad \dot{G_{11}}(t) &amp;amp; = &amp;amp; f_{x11}(\cdot) \; G_{11}(t) + f_{x12}(\cdot) \; G_{21}(t) + f_{p12}(\cdot), \\&lt;br /&gt;
\quad \dot{G_{12}}(t) &amp;amp; = &amp;amp; f_{x11}(\cdot) \; G_{12}(t) + f_{x12}(\cdot) \; G_{22}(t), \\&lt;br /&gt;
\quad \dot{G_{21}}(t) &amp;amp; = &amp;amp; f_{x21}(\cdot) \; G_{11}(t) + f_{x22}(\cdot) \; G_{21}(t), \\&lt;br /&gt;
\quad \dot{G_{22}}(t) &amp;amp; = &amp;amp; f_{x21}(\cdot) \; G_{12}(t) + f_{x22}(\cdot) \; G_{22}(t) + f_{p24}(\cdot), \\&lt;br /&gt;
\quad \dot{F_{11}}(t) &amp;amp; = &amp;amp; w^1(t) G_{11}(t)^2 + w^2(t) G_{21}(t)^2, \\&lt;br /&gt;
\quad \dot{F_{12}}(t) &amp;amp; = &amp;amp; w^1(t) G_{11}(t) G_{12}(t) + w^2(t) G_{21}(t) G_{22}(t), \\&lt;br /&gt;
\quad \dot{F_{22}}(t) &amp;amp; = &amp;amp; w^1(t) G_{12}(t)^2 + w^2(t) G_{22}(t)^2, \\&lt;br /&gt;
\quad \dot{z^1}(t) &amp;amp; = &amp;amp; w^1(t), \\&lt;br /&gt;
\quad \dot{z^2}(t) &amp;amp; = &amp;amp; w^2(t), \\[1.5ex]&lt;br /&gt;
\quad x(0) &amp;amp;=&amp;amp; (0.5, 0.7), \\&lt;br /&gt;
\quad G(0) &amp;amp;=&amp;amp; F(0) = 0, \\&lt;br /&gt;
\quad z^1(0) &amp;amp;=&amp;amp; z^2(0) = 0, \\[1.5ex]&lt;br /&gt;
\quad u(t) &amp;amp; \in &amp;amp; \mathcal{U}, \; w^1(t) \in \mathcal{W}, \; w^2(t) \in \mathcal{W}, \\&lt;br /&gt;
\quad 0    &amp;amp; \le &amp;amp; M - z(t_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;
with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
f_{x11}(\cdot) &amp;amp;= \partial f_1(\cdot) / \partial x_1 = p_1 - p_2 x_2(t) - p_5 u(t), \\&lt;br /&gt;
f_{x12}(\cdot) &amp;amp;= - p_2 x_1(t), \\&lt;br /&gt;
f_{x21}(\cdot) &amp;amp;= p_4 x_2(t), \\&lt;br /&gt;
f_{x22}(\cdot) &amp;amp;= -p_3 + p_4 x_1(t) - p_6 u(t), \\ &lt;br /&gt;
f_{p12}(\cdot) &amp;amp;= \partial f_1(\cdot) / \partial p_2 = -x_1(t) x_2(t), \text{ and}\\&lt;br /&gt;
f_{p24}(\cdot) &amp;amp;= \partial f_2(\cdot) / \partial p_4 = x_1(t) x_2(t)&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Note that the state &amp;lt;math&amp;gt;F_{21}(\cdot) = F_{12}(\cdot)&amp;lt;/math&amp;gt; has been left out for reasons of symmetry.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
We use &amp;lt;math&amp;gt;t_f=12&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;p_1 = p_2 = p_3 = p_4 = 1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;p_5 = 0.4&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;p_6 = 0.2&amp;lt;/math&amp;gt;. The upper bound on the measurement time intervals is chosen as &amp;lt;math&amp;gt;M=4&amp;lt;/math&amp;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;180px&amp;quot; heights=&amp;quot;140px&amp;quot; perrow=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
 Image:vplotkaUStates.png| States and fishing control.&lt;br /&gt;
 Image:vplotkaUSensitivities.png| Sensitivities G().&lt;br /&gt;
 Image:vplotkaUMeas1.png| Sampling function for first state.&lt;br /&gt;
 Image:vplotkaUMeas2.png| Sampling function for second state.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:AMPL | AMPL]] at [[Lotka Experimental Design (AMPL)]]&lt;br /&gt;
* [[:Category: VPLAN | VPLAN code]] at [[Lotka Experimental Design (VPLAN)]]&lt;br /&gt;
&lt;br /&gt;
== Variants ==&lt;br /&gt;
&lt;br /&gt;
There are several alternative formulations and variants of the above problem, in particular&lt;br /&gt;
&lt;br /&gt;
* a prescribed time grid for the control function &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt;, see also [[Lotka Experimental Design (AMPL)]],&lt;br /&gt;
* no fishing, i.e., &amp;lt;math&amp;gt;u \equiv 0&amp;lt;/math&amp;gt;,&lt;br /&gt;
* different fishing control functions for the two species,&lt;br /&gt;
* different parameters and start values.&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Lotka Volterra fishing problem was introduced by Sebastian Sager in a proceedings paper &amp;lt;bib id=&amp;quot;Sager2006&amp;quot; /&amp;gt; and revisited in his PhD thesis &amp;lt;bib id=&amp;quot;Sager2005&amp;quot; /&amp;gt;. These are also the references to look for more details. The experimental design problem has been described in the habilitation thesis of Sager, &amp;lt;bib id=&amp;quot;Sager2011d&amp;quot; /&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;biblist /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:Population dynamics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=User:RobertLampel&amp;diff=2880</id>
		<title>User:RobertLampel</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=User:RobertLampel&amp;diff=2880"/>
		<updated>2026-03-26T08:35:20Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Working on &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/DOW_Experimental_Design &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Urethane &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Toy_OED &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Rao_Mease &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Bryson_Denham &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Tubular_Reactor &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Mountain_Car &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Denbigh_Reaction &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Linear_Quadratic_Regulator &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Ocean &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Fermenter &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Van_der_Pol_OED &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Exponential_OED &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/LV_Shared_Resource &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/LV_Competitive &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Oscillating_OED &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Compartmental_OED &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Dielectrophoretic_Particle&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Double_Oscillator&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Ducted_Fan&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Jackson&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Robbins&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Hang_Glider&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Dielectrophoretic_Particle_OED&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Jackson_OED&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Moon_Landing&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Cart_Pendulum&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Lotka_Shared_OED&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Moon_Landing&amp;diff=2879</id>
		<title>Moon Landing</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Moon_Landing&amp;diff=2879"/>
		<updated>2026-02-22T17:25:50Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 3&lt;br /&gt;
|nw        = 2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Moon Landing problem&#039;&#039;&#039; is a simplification of a spacecraft trying to land on the moon&#039;s surface. Its objective is to minimize the fuel consumption during the landing maneuver while landing savely on the ground with zero vertical velocity.&lt;br /&gt;
&lt;br /&gt;
The implementation here is taken from [[#openmdao | [1]]].&lt;br /&gt;
Its dynamics are given by a two-dimensional [[:Category:ODE model|ODE model]].&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_{T, t_\mathrm{f}} &amp;amp;&amp;amp; -m(t_\mathrm{f}) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{h}(t) &amp;amp; = &amp;amp; v(t),\\&lt;br /&gt;
\quad \dot{v}(t) &amp;amp; = &amp;amp; -1 + \frac{T(t)}{m(t)}, \\&lt;br /&gt;
\quad \dot{m}(t) &amp;amp; = &amp;amp; -\frac{T(t)}{2.349}, \\&lt;br /&gt;
\quad h(0) &amp;amp;=&amp;amp; 1, \\&lt;br /&gt;
\quad v(0) &amp;amp;=&amp;amp; -0.783, \\&lt;br /&gt;
\quad m(0) &amp;amp;=&amp;amp; 1, \\&lt;br /&gt;
\quad t_\mathrm{f} &amp;amp;\geq&amp;amp; 0, \\&lt;br /&gt;
\quad h(t_\mathrm{f}) &amp;amp;=&amp;amp; 0, \\&lt;br /&gt;
\quad v(t_\mathrm{f}) &amp;amp;=&amp;amp; 0, \\&lt;br /&gt;
\quad T(t) &amp;amp; \in &amp;amp; [0, 1.227] \ \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;
== 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:Moon_Landing.png| States and discretized control for a local optimum. The free end time &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; was modeled using the additional control &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
This formulation and a detailed description can be found in [[#openmdao|[1]]].&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;openmdao&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Multidisciplinary Optimal Control Library: https://openmdao.org/dymos/docs/latest/examples/moon_landing/moon_landing.html&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Moon_Landing&amp;diff=2878</id>
		<title>Moon Landing</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Moon_Landing&amp;diff=2878"/>
		<updated>2026-02-22T17:24:17Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 3&lt;br /&gt;
|nw        = 2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Moon Landing problem&#039;&#039;&#039; is a simplification of a spacecraft trying to land on the moon&#039;s surface. Its objective is to minimize the fuel consumption during the landing maneuver while landing savely on the ground with zero vertical velocity.&lt;br /&gt;
&lt;br /&gt;
The implementation here is taken from [[#openmdao | [1]]].&lt;br /&gt;
Its dynamics are given by a two-dimensional [[:Category:ODE model|ODE model]].&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_{T, t_\mathrm{f}} &amp;amp;&amp;amp; -m(t_\mathrm{f}) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{h}(t) &amp;amp; = &amp;amp; v(t),\\&lt;br /&gt;
\quad \dot{v}(t) &amp;amp; = &amp;amp; -1 + \frac{T(t)}{m}, \\&lt;br /&gt;
\quad \dot{m}(t) &amp;amp; = &amp;amp; -\frac{T(t)}{2.349}, \\&lt;br /&gt;
\quad h(0) &amp;amp;=&amp;amp; 1, \\&lt;br /&gt;
\quad v(0) &amp;amp;=&amp;amp; -0.783, \\&lt;br /&gt;
\quad m(0) &amp;amp;=&amp;amp; 1, \\&lt;br /&gt;
\quad t_\mathrm{f} &amp;amp;\geq&amp;amp; 0, \\&lt;br /&gt;
\quad h(t_\mathrm{f}) &amp;amp;=&amp;amp; 0, \\&lt;br /&gt;
\quad v(t_\mathrm{f}) &amp;amp;=&amp;amp; 0, \\&lt;br /&gt;
\quad T(t) &amp;amp; \in &amp;amp; [0, 1.227] \ \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;
== 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:Moon_Landing.png| States and discretized control for a local optimum. The free end time &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; was modeled using the additional control &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
This formulation and a detailed description can be found in [[#openmdao|[1]]].&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;openmdao&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Multidisciplinary Optimal Control Library: https://openmdao.org/dymos/docs/latest/examples/moon_landing/moon_landing.html&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Hanging_chain_problem&amp;diff=2877</id>
		<title>Hanging chain problem</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Hanging_chain_problem&amp;diff=2877"/>
		<updated>2026-02-22T16:04:24Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 3&lt;br /&gt;
|nu        = 1&lt;br /&gt;
|nc        = 4&lt;br /&gt;
|nre       = 5&lt;br /&gt;
}}&amp;lt;!-- Do not insert line break here or Dimensions Box moves up in the layout...&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;The Hanging chain problem is concerned with finding a chain (of uniform density) of length &amp;lt;math&amp;gt; L &amp;lt;/math&amp;gt; suspendend between two points &amp;lt;math&amp;gt; a, b &amp;lt;/math&amp;gt; with minimal potential energy. (Problem taken from the [http://www.mcs.anl.gov/~more/cops/ COPS library])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&lt;br /&gt;
The problem is given by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{llcl}&lt;br /&gt;
 \displaystyle \min_{x, u} &amp;amp; x_2(t_f)   \\[1.5ex]&lt;br /&gt;
 \mbox{s.t.} &amp;amp; \dot{x}_1 &amp;amp; = &amp;amp;  u, \\&lt;br /&gt;
 &amp;amp; \dot{x}_2 &amp;amp; = &amp;amp; x_1 (1+u^2)^{1/2},  \\&lt;br /&gt;
 &amp;amp; \dot{x}_3 &amp;amp; = &amp;amp; (1+u^2)^{1/2}, \\&lt;br /&gt;
 &amp;amp; x(t_0) &amp;amp;=&amp;amp; (a,0,0)^T, \\&lt;br /&gt;
 &amp;amp; x_1(t_f) &amp;amp;=&amp;amp; b, \\&lt;br /&gt;
 &amp;amp; x_3(t_f) &amp;amp;=&amp;amp; Lp, \\&lt;br /&gt;
 &amp;amp; x_i(t) &amp;amp;\in&amp;amp; [0,10], \quad i=1,2,3, \\&lt;br /&gt;
 &amp;amp; u(t) &amp;amp;\in&amp;amp;  [-10,20].&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;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
In this model the parameters used are&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
[t_0, t_f] &amp;amp;=&amp;amp; [0, 1],\\&lt;br /&gt;
(a,b) &amp;amp;=&amp;amp; (1,3),\\&lt;br /&gt;
Lp &amp;amp;=&amp;amp; 4.&lt;br /&gt;
\end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
Model descriptions are available in&lt;br /&gt;
&lt;br /&gt;
* [[:Category:AMPL/TACO | AMPL/TACO code]] at [[Hanging chain problem (TACO)]]&lt;br /&gt;
* [[:Category:Gekko | GEKKO Python code]] at [[Hanging chain problem (GEKKO)]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Minimum energy]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Cushioned_Oscillation&amp;diff=2876</id>
		<title>Cushioned Oscillation</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Cushioned_Oscillation&amp;diff=2876"/>
		<updated>2026-02-19T13:26:49Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Model formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 2&lt;br /&gt;
|nu        = 1&lt;br /&gt;
|nc        = 2&lt;br /&gt;
|nre       = 4&lt;br /&gt;
}}The Cushioned Oscillation is a simplified model of time optimal &amp;quot;stopping&amp;quot; of an oscillating object attached to a spring by applying a control and moving it back into the relaxed position and zero velocity.&lt;br /&gt;
&lt;br /&gt;
== Model formulation == &lt;br /&gt;
&lt;br /&gt;
An object with mass &amp;lt;math&amp;gt; m &amp;lt;/math&amp;gt; is attached to a spring with stiffness constant &amp;lt;math&amp;gt; c &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the resetting spring force is proportional to the deviation &amp;lt;math&amp;gt;x=x(t)&amp;lt;/math&amp;gt;, an oscillation, induced by an external force &amp;lt;math&amp;gt;u(t)&amp;lt;/math&amp;gt;, satisfies:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;               m\dot v (t) + cx(t) = u(t)&amp;lt;/math&amp;gt;   (which is equivalent to &amp;lt;math&amp;gt;\dot v (t) = \frac{1}{m}(u(t) - cx(t))&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x(t)&amp;lt;/math&amp;gt; denotes the deviation to the relaxed position and &amp;lt;math&amp;gt; v(t)=\dot x (t) &amp;lt;/math&amp;gt; the velocity of the oscillating object.&lt;br /&gt;
&lt;br /&gt;
Through external force, the object has been put into an initial state :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(x(0),v(0)) = (x_0,v_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The goal is to reset position and velocity of the object as fast as possible, meaning:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(x(t\mathrm{f}),v(t_\mathrm{f})) = (0,0)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
with the objective function:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\min\limits_{t_\mathrm{f}} t_\mathrm{f}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Optimal Control Problem Formulation ==&lt;br /&gt;
&lt;br /&gt;
The above results in the following OCP &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; 	\begin{array}{llll}&lt;br /&gt;
&lt;br /&gt;
\min\limits_{x,v,u,t_\mathrm{f}}  &amp;amp; t_\mathrm{f} &amp;amp; &amp;amp; \\ &lt;br /&gt;
&lt;br /&gt;
s.t. &amp;amp; 	 \dot x &amp;amp; =  v,\\&lt;br /&gt;
&lt;br /&gt;
&amp;amp; \dot v &amp;amp; =   \frac{1}{m}(u - c \cdot x),\\&lt;br /&gt;
\\&lt;br /&gt;
&amp;amp; x(0) &amp;amp; =  x_0,\\&lt;br /&gt;
&amp;amp; v(0) &amp;amp; =  v_0,\\&lt;br /&gt;
&amp;amp; x(t_\mathrm{f}) &amp;amp; =  0,\\&lt;br /&gt;
&amp;amp; v(t_\mathrm{f}) &amp;amp; =  0,\\&lt;br /&gt;
&amp;amp; |u| &amp;amp; \le  u_\mathrm{mm}.\\&lt;br /&gt;
					 	&lt;br /&gt;
 		\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters and Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
The following parameters were used, to create the reference solution below, with an almost optimal final time &amp;lt;math&amp;gt; t_\mathrm{f} = 8.98 s&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; m=5, &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; c=10, &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; x_0=2, &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; v_0=5, &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; u_\mathrm{mm}=5.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;Reference solution plots&amp;quot; widths=&amp;quot;180px&amp;quot; heights=&amp;quot;140px&amp;quot; perrow=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
 Image:Ref_sol_plot_cushioned_oscillation_m5.png| States and Controls&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The OCP was solved within MATLAB R2015b, using the TOMLAB Optimization Package. PROPT reformulates such problems with the direct collocation approach (n=80 collocation points) and automatically finds a suiting solver included in the TOMLAB Optimization Package (in this case, SNOPT was used).&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
* A MATLAB script using [[:Category:TomDyn/PROPT | PROPT]] can be found in: [[Cushioned Oscillation (PROPT)]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
[[Category:MIOCP]] &lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category: Minimum time]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Cushioned_Oscillation&amp;diff=2875</id>
		<title>Cushioned Oscillation</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Cushioned_Oscillation&amp;diff=2875"/>
		<updated>2026-02-19T13:26:03Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Parameters and Reference Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 2&lt;br /&gt;
|nu        = 1&lt;br /&gt;
|nc        = 2&lt;br /&gt;
|nre       = 4&lt;br /&gt;
}}The Cushioned Oscillation is a simplified model of time optimal &amp;quot;stopping&amp;quot; of an oscillating object attached to a spring by applying a control and moving it back into the relaxed position and zero velocity.&lt;br /&gt;
&lt;br /&gt;
== Model formulation == &lt;br /&gt;
&lt;br /&gt;
An object with mass &amp;lt;math&amp;gt; m &amp;lt;/math&amp;gt; is attached to a spring with stiffness constant &amp;lt;math&amp;gt; c &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the resetting spring force is proportional to the deviation &amp;lt;math&amp;gt;x=x(t)&amp;lt;/math&amp;gt;, an oscillation, induced by an external force &amp;lt;math&amp;gt;u(t)&amp;lt;/math&amp;gt;, satisfies:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;               m\dot v (t) + cx(t) = u(t)&amp;lt;/math&amp;gt;   (which is equivalent to &amp;lt;math&amp;gt;\dot v (t) = \frac{1}{m}(u(t) - cx(t))&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x(t)&amp;lt;/math&amp;gt; denotes the deviation to the relaxed position and &amp;lt;math&amp;gt; v(t)=\dot x (t) &amp;lt;/math&amp;gt; the velocity of the oscillating object.&lt;br /&gt;
&lt;br /&gt;
Through external force, the object has been put into an initial state :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(x(0),v(0)) = (x_0,v_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The goal is to reset position and velocity of the object as fast as possible, meaning:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(x(t_f),v(t_f)) = (0,0)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
with the objective function:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\min\limits_{t_f} t_f&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Optimal Control Problem Formulation ==&lt;br /&gt;
&lt;br /&gt;
The above results in the following OCP &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; 	\begin{array}{llll}&lt;br /&gt;
&lt;br /&gt;
\min\limits_{x,v,u,t_\mathrm{f}}  &amp;amp; t_\mathrm{f} &amp;amp; &amp;amp; \\ &lt;br /&gt;
&lt;br /&gt;
s.t. &amp;amp; 	 \dot x &amp;amp; =  v,\\&lt;br /&gt;
&lt;br /&gt;
&amp;amp; \dot v &amp;amp; =   \frac{1}{m}(u - c \cdot x),\\&lt;br /&gt;
\\&lt;br /&gt;
&amp;amp; x(0) &amp;amp; =  x_0,\\&lt;br /&gt;
&amp;amp; v(0) &amp;amp; =  v_0,\\&lt;br /&gt;
&amp;amp; x(t_\mathrm{f}) &amp;amp; =  0,\\&lt;br /&gt;
&amp;amp; v(t_\mathrm{f}) &amp;amp; =  0,\\&lt;br /&gt;
&amp;amp; |u| &amp;amp; \le  u_\mathrm{mm}.\\&lt;br /&gt;
					 	&lt;br /&gt;
 		\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters and Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
The following parameters were used, to create the reference solution below, with an almost optimal final time &amp;lt;math&amp;gt; t_\mathrm{f} = 8.98 s&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; m=5, &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; c=10, &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; x_0=2, &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; v_0=5, &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; u_\mathrm{mm}=5.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;Reference solution plots&amp;quot; widths=&amp;quot;180px&amp;quot; heights=&amp;quot;140px&amp;quot; perrow=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
 Image:Ref_sol_plot_cushioned_oscillation_m5.png| States and Controls&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The OCP was solved within MATLAB R2015b, using the TOMLAB Optimization Package. PROPT reformulates such problems with the direct collocation approach (n=80 collocation points) and automatically finds a suiting solver included in the TOMLAB Optimization Package (in this case, SNOPT was used).&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
* A MATLAB script using [[:Category:TomDyn/PROPT | PROPT]] can be found in: [[Cushioned Oscillation (PROPT)]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
[[Category:MIOCP]] &lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category: Minimum time]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Cushioned_Oscillation&amp;diff=2874</id>
		<title>Cushioned Oscillation</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Cushioned_Oscillation&amp;diff=2874"/>
		<updated>2026-02-19T13:25:43Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Optimal Control Problem Formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 2&lt;br /&gt;
|nu        = 1&lt;br /&gt;
|nc        = 2&lt;br /&gt;
|nre       = 4&lt;br /&gt;
}}The Cushioned Oscillation is a simplified model of time optimal &amp;quot;stopping&amp;quot; of an oscillating object attached to a spring by applying a control and moving it back into the relaxed position and zero velocity.&lt;br /&gt;
&lt;br /&gt;
== Model formulation == &lt;br /&gt;
&lt;br /&gt;
An object with mass &amp;lt;math&amp;gt; m &amp;lt;/math&amp;gt; is attached to a spring with stiffness constant &amp;lt;math&amp;gt; c &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the resetting spring force is proportional to the deviation &amp;lt;math&amp;gt;x=x(t)&amp;lt;/math&amp;gt;, an oscillation, induced by an external force &amp;lt;math&amp;gt;u(t)&amp;lt;/math&amp;gt;, satisfies:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;               m\dot v (t) + cx(t) = u(t)&amp;lt;/math&amp;gt;   (which is equivalent to &amp;lt;math&amp;gt;\dot v (t) = \frac{1}{m}(u(t) - cx(t))&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x(t)&amp;lt;/math&amp;gt; denotes the deviation to the relaxed position and &amp;lt;math&amp;gt; v(t)=\dot x (t) &amp;lt;/math&amp;gt; the velocity of the oscillating object.&lt;br /&gt;
&lt;br /&gt;
Through external force, the object has been put into an initial state :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(x(0),v(0)) = (x_0,v_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The goal is to reset position and velocity of the object as fast as possible, meaning:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(x(t_f),v(t_f)) = (0,0)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
with the objective function:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\min\limits_{t_f} t_f&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Optimal Control Problem Formulation ==&lt;br /&gt;
&lt;br /&gt;
The above results in the following OCP &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; 	\begin{array}{llll}&lt;br /&gt;
&lt;br /&gt;
\min\limits_{x,v,u,t_\mathrm{f}}  &amp;amp; t_\mathrm{f} &amp;amp; &amp;amp; \\ &lt;br /&gt;
&lt;br /&gt;
s.t. &amp;amp; 	 \dot x &amp;amp; =  v,\\&lt;br /&gt;
&lt;br /&gt;
&amp;amp; \dot v &amp;amp; =   \frac{1}{m}(u - c \cdot x),\\&lt;br /&gt;
\\&lt;br /&gt;
&amp;amp; x(0) &amp;amp; =  x_0,\\&lt;br /&gt;
&amp;amp; v(0) &amp;amp; =  v_0,\\&lt;br /&gt;
&amp;amp; x(t_\mathrm{f}) &amp;amp; =  0,\\&lt;br /&gt;
&amp;amp; v(t_\mathrm{f}) &amp;amp; =  0,\\&lt;br /&gt;
&amp;amp; |u| &amp;amp; \le  u_\mathrm{mm}.\\&lt;br /&gt;
					 	&lt;br /&gt;
 		\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters and Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
The following parameters were used, to create the reference solution below, with an almost optimal final time &amp;lt;math&amp;gt; t_f = 8.98 s&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; m=5, &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; c=10, &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; x_0=2, &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; v_0=5, &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; u_{mm}=5.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reference Solution ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;Reference solution plots&amp;quot; widths=&amp;quot;180px&amp;quot; heights=&amp;quot;140px&amp;quot; perrow=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
 Image:Ref_sol_plot_cushioned_oscillation_m5.png| States and Controls&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The OCP was solved within MATLAB R2015b, using the TOMLAB Optimization Package. PROPT reformulates such problems with the direct collocation approach (n=80 collocation points) and automatically finds a suiting solver included in the TOMLAB Optimization Package (in this case, SNOPT was used).&lt;br /&gt;
&lt;br /&gt;
== Source Code ==&lt;br /&gt;
&lt;br /&gt;
* A MATLAB script using [[:Category:TomDyn/PROPT | PROPT]] can be found in: [[Cushioned Oscillation (PROPT)]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
[[Category:MIOCP]] &lt;br /&gt;
[[Category:Bang bang]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category: Minimum time]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Hang_Glider&amp;diff=2873</id>
		<title>Hang Glider</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Hang_Glider&amp;diff=2873"/>
		<updated>2026-02-18T12:23:33Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 4&lt;br /&gt;
|nw        = 2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Hang Glider problem&#039;&#039;&#039; is a classical benchmark in optimal control. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
It consists of steering a hang glider from an initial horizontal position and altitude to a target altitude while maximising the horizontal distance travelled.&lt;br /&gt;
The glider dynamics incorporate lift, drag, gravity, and the effect of a thermal updraft.&lt;br /&gt;
The control variable is the lift coefficient &amp;lt;math&amp;gt;c_L&amp;lt;/math&amp;gt;, which modulates the aerodynamic lift and influences the trajectory through the thermal region.&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; -x(t_f) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; v_x(t),\\&lt;br /&gt;
\quad \dot{y}(t) &amp;amp; = &amp;amp; v_y(t), \\&lt;br /&gt;
\quad \dot{v}_x(t) &amp;amp; = &amp;amp; - \frac{L(t) \cdot w(t) + D(t) \cdot v_x(t)}{mv(t)}, \\&lt;br /&gt;
\quad \dot{v}_y(t) &amp;amp; = &amp;amp; \frac{L(t) \cdot v_x(t) - D(t) \cdot w}{mv(t)} - g, \\&lt;br /&gt;
\quad x(t) &amp;amp; \geq &amp;amp; 0 \ \quad &amp;amp; \forall t \in [0, t_f], \\&lt;br /&gt;
\quad v_x(t) &amp;amp; \geq &amp;amp; 0 \ \quad &amp;amp; \forall t \in [0, t_f], \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (x_0, y_0, v_{x,0}, v_{y,0})^T, \\&lt;br /&gt;
\quad y(t_f) &amp;amp; = &amp;amp; y_f \\&lt;br /&gt;
\quad v_x(t_f) &amp;amp; = &amp;amp; v_{x,f} \\&lt;br /&gt;
\quad v_y(t_f) &amp;amp; = &amp;amp; v_{y,f} \\&lt;br /&gt;
\quad c_L(t) &amp;amp; \in &amp;amp; [0., 1.4] \ \quad &amp;amp; \forall t \in [0, t_f], \\&lt;br /&gt;
\quad t_f &amp;amp; \geq &amp;amp; 0&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;
with the auxiliary equations:&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
r(t) &amp;amp;= \left( \frac{x(t)}{r_c} - 2.5 \right)^2, \\&lt;br /&gt;
U_\text{updraft}(x(t)) &amp;amp;= u_c\, (1 - r(t)) \cdot \exp\left(-r(t)\right), \\&lt;br /&gt;
w(t) &amp;amp;= v_y(t) - U_\text{updraft}(x(t)), \\&lt;br /&gt;
v(t) &amp;amp;= \sqrt{v_x(t)^2 + w(t)^2},  \\&lt;br /&gt;
D(t) &amp;amp;= \frac{1}{2} \rho S (c_0 + c_1 c_L(t)^2) \cdot v(t)^2, \\&lt;br /&gt;
L(t) &amp;amp;= \frac{1}{2} \rho S c_L(t) v(t)^2.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&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;x_0&amp;lt;/math&amp;gt; || align=right | 0  || Initial horizontal position&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;y_0&amp;lt;/math&amp;gt; || align=right | 1000 || Initial altitude&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;y_f&amp;lt;/math&amp;gt; || align=right | 900  || Final altitude&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;v_{x,0}&amp;lt;/math&amp;gt; || align=right | 13.23 || Initial horizontal velocity&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;v_{x,f}&amp;lt;/math&amp;gt; || align=right | 13.23 || Final horizontal velocity&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;v_{y,0}&amp;lt;/math&amp;gt; || align=right | -1.288 || Initial vertical velocity&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;v_{y,f}&amp;lt;/math&amp;gt; || align=right | -1.288 || Final vertical velocity&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;u_c&amp;lt;/math&amp;gt; || align=right | 2.5 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;r_c&amp;lt;/math&amp;gt; || align=right | 100 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_0&amp;lt;/math&amp;gt; || align=right | 0.034 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.069662 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; || align=right | 14 || Wing area&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; || align=right | 1.13 || Air density&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; || align=right | 100 || Mass of the glider&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; || align=right | 9.81 || Gravitational constant&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:Hang_Glider.png| States and discretized control for a local optimum. The initial guess for &amp;lt;math&amp;gt;t_f&amp;lt;/math&amp;gt; was chosen as 100.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
This formulation and a detailed description can be found in [[#OCPjl|[1]]].&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&#039;s in Julia. https://github.com/control-toolbox/OptimalControlProblems.jl/blob/main/ext/Descriptions/glider.md&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:ODE model]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Hang_Glider&amp;diff=2872</id>
		<title>Hang Glider</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Hang_Glider&amp;diff=2872"/>
		<updated>2026-02-18T12:19:55Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Mathematical formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 4&lt;br /&gt;
|nw        = 2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Hang Glider problem&#039;&#039;&#039; is a classical benchmark in optimal control. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
It consists of steering a hang glider from an initial horizontal position and altitude to a target altitude while maximising the horizontal distance travelled.&lt;br /&gt;
The glider dynamics incorporate lift, drag, gravity, and the effect of a thermal updraft.&lt;br /&gt;
The control variable is the lift coefficient &amp;lt;math&amp;gt;c_L&amp;lt;/math&amp;gt;, which modulates the aerodynamic lift and influences the trajectory through the thermal region.&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; -x(t_f) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp; v_x(t),\\&lt;br /&gt;
\quad \dot{y}(t) &amp;amp; = &amp;amp; v_y(t), \\&lt;br /&gt;
\quad \dot{v}_x(t) &amp;amp; = &amp;amp; - \frac{L(t) \cdot w(t) + D(t) \cdot v_x(t)}{mv(t)}, \\&lt;br /&gt;
\quad \dot{v}_y(t) &amp;amp; = &amp;amp; \frac{L(t) \cdot v_x(t) - D(t) \cdot w}{mv(t)} - g, \\&lt;br /&gt;
\quad x(t) &amp;amp; \geq &amp;amp; 0 \ \quad &amp;amp; \forall t \in [0, T], \\&lt;br /&gt;
\quad v_x(t) &amp;amp; \geq &amp;amp; 0 \ \quad &amp;amp; \forall t \in [0, T], \\&lt;br /&gt;
\quad x(0) &amp;amp; = &amp;amp; (x_0, y_0, v_{x,0}, v_{y,0})^T, \\&lt;br /&gt;
\quad y(t_f) &amp;amp; = &amp;amp; y_f \\&lt;br /&gt;
\quad v_x(t_f) &amp;amp; = &amp;amp; v_{x,f} \\&lt;br /&gt;
\quad v_y(t_f) &amp;amp; = &amp;amp; v_{y,f} \\&lt;br /&gt;
\quad c_L(t) &amp;amp; \in &amp;amp; [0., 1.4] \ \quad &amp;amp; \forall t \in [0, T], \\&lt;br /&gt;
\quad t_f &amp;amp; \geq &amp;amp; 0&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;
with the auxiliary equations:&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
r(t) &amp;amp;= \left( \frac{x(t)}{r_c} - 2.5 \right)^2, \\&lt;br /&gt;
U_\text{updraft}(x(t)) &amp;amp;= u_c\, (1 - r(t)) \cdot \exp\left(-r(t)\right), \\&lt;br /&gt;
w(t) &amp;amp;= v_y(t) - U_\text{updraft}(x(t)), \\&lt;br /&gt;
v(t) &amp;amp;= \sqrt{v_x(t)^2 + w(t)^2},  \\&lt;br /&gt;
D(t) &amp;amp;= \frac{1}{2} \rho S (c_0 + c_1 c_L(t)^2) \cdot v(t)^2, \\&lt;br /&gt;
L(t) &amp;amp;= \frac{1}{2} \rho S c_L(t) v(t)^2.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&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;x_0&amp;lt;/math&amp;gt; || align=right | 0  || Initial horizontal position&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;y_0&amp;lt;/math&amp;gt; || align=right | 1000 || Initial altitude&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;y_f&amp;lt;/math&amp;gt; || align=right | 900  || Final altitude&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;v_{x,0}&amp;lt;/math&amp;gt; || align=right | 13.23 || Initial horizontal velocity&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;v_{x,f}&amp;lt;/math&amp;gt; || align=right | 13.23 || Final horizontal velocity&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;v_{y,0}&amp;lt;/math&amp;gt; || align=right | -1.288 || Initial vertical velocity&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;v_{y,f}&amp;lt;/math&amp;gt; || align=right | -1.288 || Final vertical velocity&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;u_c&amp;lt;/math&amp;gt; || align=right | 2.5 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;r_c&amp;lt;/math&amp;gt; || align=right | 100 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_0&amp;lt;/math&amp;gt; || align=right | 0.034 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;c_1&amp;lt;/math&amp;gt; || align=right | 0.069662 || &lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; || align=right | 14 || Wing area&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; || align=right | 1.13 || Air density&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; || align=right | 100 || Mass of the glider&lt;br /&gt;
|- &lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; || align=right | 9.81 || Gravitational constant&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:Hang_Glider.png| States and discretized control for a local optimum. The initial guess for &amp;lt;math&amp;gt;t_f&amp;lt;/math&amp;gt; was chosen as 100.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
This formulation and a detailed description can be found in [[#OCPjl|[1]]].&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&#039;s in Julia. https://github.com/control-toolbox/OptimalControlProblems.jl/blob/main/ext/Descriptions/glider.md&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:ODE model]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Compartmental_OED&amp;diff=2871</id>
		<title>Compartmental OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Compartmental_OED&amp;diff=2871"/>
		<updated>2026-02-13T13:41:26Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 12&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Compartmental OED problem&#039;&#039;&#039; looks for an optimal measurement strategy to determine three parameters in a one-dimensional [[:Category:ODE model|ODE model]], where we can directly measure the single state. The following description is taken from [[#compartmental| [1]]].&lt;br /&gt;
&lt;br /&gt;
Here we consider the open one-compartment model with first-order absorption input fitted by Button (unpublished Ph.D. thesis, Texas A&amp;amp;M University, 1979) to the results of an experiment in which six horses each received 15 mg/kg of theophylline as aminophylline by intragastric administration.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
For the three-dimensional parameter &amp;lt;math&amp;gt;p = (\theta_1, \theta_2, \theta_3)&amp;lt;/math&amp;gt; the original initial value problem is given by&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  \dot{y}(t) =: f(t, p) = \theta_3 \cdot (-\theta_1 \cdot \exp(-\theta_1 \cdot t) + \theta_2 \cdot \exp(-\theta_2 \cdot t)), \quad y(0) = 0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We assume both &amp;lt;math&amp;gt;x_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;t_f&amp;lt;/math&amp;gt; to be fixed and are only interested in when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the state directly, i.e. &amp;lt;math&amp;gt;h(x(t)) = x(t)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem:&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_{y,G,F,z,w} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{y}(t) &amp;amp; = &amp;amp; f(t, p) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_p(y(t),p) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; w(t)(h_y(y(t))G(t))^T(h_y(y(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad y(0) &amp;amp; = &amp;amp; y_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; 0, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z(t_f) &amp;amp; \leq &amp;amp; M&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;
== Parameters ==&lt;br /&gt;
These fixed values are used within the model:&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;lt;math&amp;gt;&lt;br /&gt;
  y_0 = 0; \quad t_f = 40; \quad \mathcal{W} = [0,1]; \quad M = 5; \quad p = (0.05884,4.298,21.80)&lt;br /&gt;
 &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;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:Compartmental OED.png| Sensitivities and measurement control for &amp;lt;math&amp;gt;\theta=(0.05884, 4.298, 21.80)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;compartmental&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Optimum Experimental Designs for Properties of a Compartmental Model, A. Atkinson, K. Chaloner, A. Herzberg, J. Juritz, https://www.jstor.org/stable/pdf/2532547.pdf&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Compartmental_OED&amp;diff=2870</id>
		<title>Compartmental OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Compartmental_OED&amp;diff=2870"/>
		<updated>2026-02-13T13:41:14Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 12&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Compartmental OED problem&#039;&#039;&#039; looks for an optimal measurement strategy to determine a three parameters in a one-dimensional [[:Category:ODE model|ODE model]], where we can directly measure the single state. The following description is taken from [[#compartmental| [1]]].&lt;br /&gt;
&lt;br /&gt;
Here we consider the open one-compartment model with first-order absorption input fitted by Button (unpublished Ph.D. thesis, Texas A&amp;amp;M University, 1979) to the results of an experiment in which six horses each received 15 mg/kg of theophylline as aminophylline by intragastric administration.&lt;br /&gt;
&lt;br /&gt;
The optimal integer control functions shows [[:Category:Chattering|bang bang]] behavior.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
For the three-dimensional parameter &amp;lt;math&amp;gt;p = (\theta_1, \theta_2, \theta_3)&amp;lt;/math&amp;gt; the original initial value problem is given by&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
  \dot{y}(t) =: f(t, p) = \theta_3 \cdot (-\theta_1 \cdot \exp(-\theta_1 \cdot t) + \theta_2 \cdot \exp(-\theta_2 \cdot t)), \quad y(0) = 0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We assume both &amp;lt;math&amp;gt;x_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;t_f&amp;lt;/math&amp;gt; to be fixed and are only interested in when to measure, with an upper bound &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on the measuring time. We can measure the state directly, i.e. &amp;lt;math&amp;gt;h(x(t)) = x(t)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now we formulate the OED problem:&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_{y,G,F,z,w} &amp;amp;&amp;amp; \text{trace} \; \left( F^{-1}(t_f) \right) \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{y}(t) &amp;amp; = &amp;amp; f(t, p) \\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; f_p(y(t),p) \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; w(t)(h_y(y(t))G(t))^T(h_y(y(t))G(t)) \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad y(0) &amp;amp; = &amp;amp; y_0 \\&lt;br /&gt;
\quad G(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad F(0) &amp;amp; = &amp;amp; 0, \\ &lt;br /&gt;
\quad z(0) &amp;amp; = &amp;amp; 0 \\&lt;br /&gt;
\quad w(t) &amp;amp; \in &amp;amp; \mathcal{W} \\&lt;br /&gt;
\quad z(t_f) &amp;amp; \leq &amp;amp; M&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;
== Parameters ==&lt;br /&gt;
These fixed values are used within the model:&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;lt;math&amp;gt;&lt;br /&gt;
  y_0 = 0; \quad t_f = 40; \quad \mathcal{W} = [0,1]; \quad M = 5; \quad p = (0.05884,4.298,21.80)&lt;br /&gt;
 &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;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:Compartmental OED.png| Sensitivities and measurement control for &amp;lt;math&amp;gt;\theta=(0.05884, 4.298, 21.80)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;compartmental&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Optimum Experimental Designs for Properties of a Compartmental Model, A. Atkinson, K. Chaloner, A. Herzberg, J. Juritz, https://www.jstor.org/stable/pdf/2532547.pdf&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --&amp;gt;&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:Optimum Experimental Design]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Bang bang]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
</feed>