<?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-10-23T21:37:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://mintoc.de/index.php?title=Exponential_OED&amp;diff=2950</id>
		<title>Exponential OED</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Exponential_OED&amp;diff=2950"/>
		<updated>2026-09-07T10:44:01Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* Miscellaneous and Further Reading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 2&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Exponential OED problem&#039;&#039;&#039; was formulated as minimal design problem that to highlight one important difference between single and multiple shooting. We are interested in finding an optimal experimental design to determine the parameter in a one-dimensional [[:Category:ODE model|ODE model]], where can directly measure the single state.&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 a single parameter &amp;lt;math&amp;gt;p&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{x}(t) = x(t) \cdot (x(t) + p), \quad t \in [0, t_f], \quad x(0) = x_0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We furthermore restrict the state to be in the interval &amp;lt;math&amp;gt;[0, 200]&amp;lt;/math&amp;gt;. We assume that we have one measurement at the end time point &amp;lt;math&amp;gt;t_f&amp;lt;/math&amp;gt;. This allows to eliminate sampling function directly from the control problem and to use&lt;br /&gt;
the objective function&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \text{trace} \  C(t_f) = \frac{1}{D(t_f)} = \frac{1}{H(0) + G(t_f)^2 \cdot w_1} = \frac{1}{G(t_f)^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Applying our transformation, we obtain the following experimental design control&lt;br /&gt;
problem:&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_{q} &amp;amp;&amp;amp; 1 / G(t_f)^2 \\&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp; = &amp;amp;  x(t) \cdot (x(t) + p),\\&lt;br /&gt;
\quad \dot{G}(t) &amp;amp; = &amp;amp; (p + 2\cdot x(t)) \cdot G(t) + x(t), \\&lt;br /&gt;
\quad \dot{F}(t) &amp;amp; = &amp;amp; w(t) \cdot G(t)^2, \\&lt;br /&gt;
\quad \dot{z}(t) &amp;amp; = &amp;amp; w(t), \\&lt;br /&gt;
\quad x(0) &amp;amp;=&amp;amp; q, \\&lt;br /&gt;
\quad G(0) &amp;amp;=&amp;amp; \varepsilon, \\&lt;br /&gt;
\quad x(t) &amp;amp;\leq&amp;amp; 200, \\&lt;br /&gt;
\quad q &amp;amp;\in&amp;amp; \mathcal{D}&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;
  p = 1; \quad t_f = 0.6; \quad \varepsilon = 10^{-3}.&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;
As can be seen, the optimal solution will maximize the value of &amp;lt;math&amp;gt;G(t_f)&amp;lt;/math&amp;gt; and hence also of &amp;lt;math&amp;gt;x(t_f)&amp;lt;/math&amp;gt;.&lt;br /&gt;
For &amp;lt;math&amp;gt;t_f = 0.6&amp;lt;/math&amp;gt; the optimal initial value is given by &amp;lt;math&amp;gt;q^* = 1.203&amp;lt;/math&amp;gt; leading to state&lt;br /&gt;
values of &amp;lt;math&amp;gt;x(t_f) = 200&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G(t_f) = 6088&amp;lt;/math&amp;gt; and an objective value of &amp;lt;math&amp;gt;\varphi^* = 2.7 \cdot 10^{-8}&amp;lt;/math&amp;gt;.&lt;br /&gt;
The main problem with direct single shooting is that a large part of the feasible&lt;br /&gt;
domain &amp;lt;math&amp;gt;\mathcal{D}&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; will cause the integrator to run into a singularity before &amp;lt;math&amp;gt;t_f&amp;lt;/math&amp;gt;. Hence only initial guesses for the optimization variable &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; that are below a critical value&lt;br /&gt;
of &amp;lt;math&amp;gt;\approx 1.23&amp;lt;/math&amp;gt; will give rise to a successful optimization. For multiple shooting the&lt;br /&gt;
situation is different, due to the decoupling of the integration&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:Exponential_OED.png| Left: State variable x(·). Right: Sensitivity G(·). Top row shows initialization of multiple shooting variables at constant values &amp;lt;math&amp;gt;x(t_i) = 2, \ G(t_i) = 10^{-3}&amp;lt;/math&amp;gt;. Note that the solution to the initial value problem on &amp;lt;math&amp;gt;[0, 0.6]&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;x(t_0) = q = 2&amp;lt;/math&amp;gt; does not exist, hence the single shooting approach will fail. The bottom row shows the converged solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The Exponential OED problem was introduced by Körkel et al. in [[#Koerkel | [1]]], which contains further details.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;Koerkel2000&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; &amp;quot;A Multiple Shooting Formulation for Optimum Experimental Design&amp;quot; by S. Körkel, A. Potschka, H.G. Bock, and Sebastian Sager &amp;lt;br&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=Tumor_Anti_Angiogenesis&amp;diff=2949</id>
		<title>Tumor Anti Angiogenesis</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Tumor_Anti_Angiogenesis&amp;diff=2949"/>
		<updated>2026-09-04T11:30:42Z</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        = 3&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;tumor anti-angiogenesis problem&#039;&#039;&#039; is a classical benchmark in biomedical optimal control.&lt;br /&gt;
&lt;br /&gt;
It is based on the mathematical model of Hahnfeldt et al. [[#Hahnfeldt|[1]]] for tumor growth under angiogenic signalling, as studied from an optimal control perspective by Ledzewicz and Schättler [[#Ledzewicz|[2]]].&lt;br /&gt;
Angiogenesis is the process by which tumors recruit a network of blood vessels to sustain their growth; anti-angiogenic therapy targets this process by administering inhibitor agents.&lt;br /&gt;
The two biological states are the tumor volume and the carrying capacity of the vascular endothelium (which sets the maximum supportable tumor size).&lt;br /&gt;
A third state tracks the cumulative inhibitor dose, enforcing a total-dose constraint.&lt;br /&gt;
The control is the instantaneous inhibitor dose rate.&lt;br /&gt;
The final time is free and is itself an optimization variable, bounded within a physiologically reasonable range.&lt;br /&gt;
The objective is to minimise the tumor volume at the final time.&lt;br /&gt;
The problem is known to exhibit a rich optimal control structure, including bang–bang arcs, singular arcs, and boundary arcs corresponding to the dose constraint.&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,\, t_\mathrm{f}} &amp;amp;&amp;amp; p(t_\mathrm{f}) \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{p}(t) &amp;amp;=&amp;amp; -\xi\, p(t)\,\ln\!\left(\dfrac{p(t)}{q(t)}\right), \\[6pt]&lt;br /&gt;
\quad \dot{q}(t) &amp;amp;=&amp;amp; \bigl(b - \mu - d\, p(t)^{2/3} - G\, u(t)\bigr)\, q(t), \\[6pt]&lt;br /&gt;
\quad \dot{y}(t) &amp;amp;=&amp;amp; u(t), \\&lt;br /&gt;
\quad (p(0),\, q(0),\, y(0)) &amp;amp;=&amp;amp; (p_0,\, q_0,\, 0), \\&lt;br /&gt;
\quad y(t_\mathrm{f}) &amp;amp;\leq&amp;amp; A, \\&lt;br /&gt;
\quad u(t) &amp;amp;\in&amp;amp; [0,\, u_{\max}] \quad \forall\, t \in [0, t_\mathrm{f}], \\&lt;br /&gt;
\quad t_\mathrm{f} &amp;amp;\in&amp;amp; [0.5,\, 2.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;
where &amp;lt;math&amp;gt;p(t)&amp;lt;/math&amp;gt; is the tumor volume (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;), &amp;lt;math&amp;gt;q(t)&amp;lt;/math&amp;gt; is the endothelial carrying capacity (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;), and &amp;lt;math&amp;gt;y(t)&amp;lt;/math&amp;gt; is the cumulative inhibitor dose (mg/kg) administered up to time &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;.&lt;br /&gt;
The tumor dynamics follow the Gompertz law &amp;lt;math&amp;gt;\dot{p} = -\xi\,p\ln(p/q)&amp;lt;/math&amp;gt;, which models logistic-like growth bounded by the carrying capacity &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;.&lt;br /&gt;
The carrying capacity evolves through a balance of self-stimulation (&amp;lt;math&amp;gt;b\,q&amp;lt;/math&amp;gt;), natural endothelial cell loss (&amp;lt;math&amp;gt;\mu\,q&amp;lt;/math&amp;gt;), inhibition proportional to tumor surface area (&amp;lt;math&amp;gt;d\,p^{2/3}\,q&amp;lt;/math&amp;gt;), and drug-induced endothelial loss (&amp;lt;math&amp;gt;G\,u\,q&amp;lt;/math&amp;gt;).&lt;br /&gt;
The state &amp;lt;math&amp;gt;y(t)&amp;lt;/math&amp;gt; enforces the total-dose constraint &amp;lt;math&amp;gt;y(t_\mathrm{f}) \leq A&amp;lt;/math&amp;gt; as an isoperimetric inequality.&lt;br /&gt;
The terminal time &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; is a free optimization variable.&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;\xi&amp;lt;/math&amp;gt;          || align=right | 0.084  || Tumor growth rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;            || align=right | 5.85   || Endothelial self-stimulation rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt;          || align=right | 0      || Natural endothelial cell loss rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;            || align=right | 0.00873 || Angiogenic inhibition coefficient (mm&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt; day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;            || align=right | 0.15   || Drug efficacy on endothelium (kg mg&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;u_{\max}&amp;lt;/math&amp;gt;     || align=right | 75     || Maximum inhibitor dose rate (mg kg&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;            || align=right | 75     || Maximum cumulative inhibitor dose (mg kg&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;p_0&amp;lt;/math&amp;gt;          || align=right | 12000  || Initial tumor volume (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;q_0&amp;lt;/math&amp;gt;          || align=right | 15000  || Initial endothelial carrying capacity (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | free   || Terminal time, optimized in [0.5, 2.0] (days)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Reference Solutions ==&lt;br /&gt;
&lt;br /&gt;
Here is one local solution to the above control problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;Reference solution plots&amp;quot; widths=&amp;quot;500px&amp;quot; heights=&amp;quot;300px&amp;quot; perrow=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
 Image:Tumor_Anti_Angiogenesis.png| Tumor volume, carrying capacity, cumulative dose, and optimal inhibitor schedule for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The equilibrium &amp;lt;math&amp;gt;p^* = q^*&amp;lt;/math&amp;gt; corresponds to a tumor at maximum sustainable size.&lt;br /&gt;
Without treatment, &amp;lt;math&amp;gt;p(t)&amp;lt;/math&amp;gt; converges to this steady state.&lt;br /&gt;
Ledzewicz and Schättler [[#Ledzewicz|[2]]] characterise the optimal control using Pontryagin&#039;s minimum principle and show that the optimal policy consists of a sequence of full-dose (&amp;lt;math&amp;gt;u = u_{\max}&amp;lt;/math&amp;gt;), no-dose (&amp;lt;math&amp;gt;u = 0&amp;lt;/math&amp;gt;), and singular arcs, depending on the initial conditions and remaining dose budget.&lt;br /&gt;
The problem is included in the GPOPS-II benchmark suite [[#Patterson|[3]]].&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;Hahnfeldt&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Hahnfeldt, P., Panigrahy, D., Folkman, J., &amp;amp; Hlatky, L. (1999). Tumor development under angiogenic signaling: A dynamical theory of tumor growth, treatment response, and postvascular dormancy. &amp;lt;i&amp;gt;Cancer Research&amp;lt;/i&amp;gt;, 59(19), 4770–4775.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ledzewicz&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Ledzewicz, U., &amp;amp; Schättler, H. (2007). Antiangiogenic therapy in cancer treatment as an optimal control problem. &amp;lt;i&amp;gt;SIAM Journal on Control and Optimization&amp;lt;/i&amp;gt;, 46(3), 1052–1079.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Patterson&amp;quot;&amp;gt;[3]&amp;lt;/span&amp;gt; Patterson, M. A., &amp;amp; Rao, A. V. (2014). GPOPS-II: A MATLAB software for solving multiple-phase optimal control problems using hp-adaptive Gaussian quadrature collocation methods and sparse nonlinear programming. &amp;lt;i&amp;gt;ACM Transactions on Mathematical Software&amp;lt;/i&amp;gt;, 41(1), 1.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Singular arc]]&lt;br /&gt;
[[Category:Free terminal time]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Ramsey_Growth&amp;diff=2948</id>
		<title>Ramsey Growth</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Ramsey_Growth&amp;diff=2948"/>
		<updated>2026-09-04T11:29:39Z</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        = 1&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Ramsey growth problem&#039;&#039;&#039; is a foundational benchmark in optimal control and macroeconomic theory.&lt;br /&gt;
&lt;br /&gt;
First formulated by Frank Ramsey in 1928 [[#Ramsey|[1]]] and later extended by Cass [[#Cass|[2]]] and Koopmans [[#Koopmans|[3]]], the Ramsey–Cass–Koopmans model determines the socially optimal path of capital accumulation and consumption for a representative household economy.&lt;br /&gt;
The single state is the capital stock per effective worker, and the single control is consumption per effective worker.&lt;br /&gt;
Capital accumulates through Cobb–Douglas production, net of depreciation, population growth, technological progress, and consumption.&lt;br /&gt;
The objective is to maximise the present value of a stream of discounted CRRA utility over a finite horizon, plus a bequest value at the terminal time, which is equivalent to minimising its negative.&lt;br /&gt;
The resulting optimal trajectories converge towards a steady-state balanced growth path.&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_{c} &amp;amp;&amp;amp; -\int_0^{T} e^{-(\rho - n)\, t}\, \frac{c(t)^{1-\sigma}}{1 - \sigma}\, \mathrm{d}t \;-\; V(k(T)) \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{k}(t) &amp;amp;=&amp;amp; k(t)^\alpha - c(t) - (n + g + \delta)\, k(t), \\&lt;br /&gt;
\quad k(0) &amp;amp;=&amp;amp; k_0, \\&lt;br /&gt;
\quad k(t) &amp;amp;&amp;gt;&amp;amp; 0 \quad \forall\, t \in [0, T], \\&lt;br /&gt;
\quad c(t) &amp;amp;&amp;gt;&amp;amp; 0 \quad \forall\, t \in [0, 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;
&lt;br /&gt;
where &amp;lt;math&amp;gt;k(t)&amp;lt;/math&amp;gt; is capital per effective worker, &amp;lt;math&amp;gt;c(t)&amp;lt;/math&amp;gt; is consumption per effective worker,&lt;br /&gt;
&amp;lt;math&amp;gt;k^\alpha&amp;lt;/math&amp;gt; is the Cobb–Douglas production function (with total factor productivity normalised to one),&lt;br /&gt;
and &amp;lt;math&amp;gt;c^{1-\sigma}/(1-\sigma)&amp;lt;/math&amp;gt; is the constant-relative-risk-aversion (CRRA) utility function.&lt;br /&gt;
The effective discount rate in the objective is &amp;lt;math&amp;gt;\rho - n&amp;lt;/math&amp;gt;, reflecting that utility is evaluated per capita while the economy grows at population rate &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
As &amp;lt;math&amp;gt;\sigma \to 1&amp;lt;/math&amp;gt;, the CRRA utility converges to &amp;lt;math&amp;gt;\ln c&amp;lt;/math&amp;gt; (logarithmic utility).&lt;br /&gt;
&lt;br /&gt;
The terminal bequest value &amp;lt;math&amp;gt;V(k(T))&amp;lt;/math&amp;gt; approximates the discounted steady-state continuation:&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
V(k(T)) = e^{-(\rho-n)\,T}\,\frac{u(c^*_{\mathrm{ss}})}{\rho - n}\,\min\!\left(\frac{k(T)}{k^*_{\mathrm{ss}}},\, 1\right),&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;k^*_{\mathrm{ss}}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c^*_{\mathrm{ss}}&amp;lt;/math&amp;gt; are the steady-state capital and consumption (see below).&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;\alpha&amp;lt;/math&amp;gt; || align=right | 0.33 || Capital share in production (Cobb–Douglas exponent)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\delta&amp;lt;/math&amp;gt; || align=right | 0.05 || Capital depreciation rate (year&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;      || align=right | 0.01 || Population (labour) growth rate (year&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt;      || align=right | 0.02 || Technological progress rate (year&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;   || align=right | 0.04 || Pure rate of time preference (year&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt; || align=right | 1.5  || Inverse of the intertemporal elasticity of substitution&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;    || align=right | 3.0  || Initial capital per effective worker&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt;      || align=right | 100  || Planning horizon (years)&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:Ramsey_Growth.png| Optimal capital and consumption paths for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The steady-state capital stock satisfies the modified golden rule&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha\,(k^*_{\mathrm{ss}})^{\alpha-1} = \rho + \delta + n + g&amp;lt;/math&amp;gt;,&lt;br /&gt;
giving &amp;lt;math&amp;gt;k^*_{\mathrm{ss}} = \bigl(\alpha/(\rho+\delta+n+g)\bigr)^{1/(1-\alpha)}&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;c^*_{\mathrm{ss}} = (k^*_{\mathrm{ss}})^\alpha - (n+g+\delta)\,k^*_{\mathrm{ss}}&amp;lt;/math&amp;gt;.&lt;br /&gt;
The optimal consumption path satisfies the Keynes–Ramsey rule&lt;br /&gt;
&amp;lt;math&amp;gt;\dot{c}/c = \bigl(\alpha\,k^{\alpha-1} - \delta - \rho - g\bigr)/\sigma&amp;lt;/math&amp;gt;.&lt;br /&gt;
The problem is solved analytically in the infinite-horizon limit and numerically for finite horizons using shooting or direct methods; the finite-horizon version with a bequest value is a standard test for indirect shooting and continuation techniques.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ramsey&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Ramsey, F. P. (1928). A mathematical theory of saving. &amp;lt;i&amp;gt;The Economic Journal&amp;lt;/i&amp;gt;, 38(152), 543–559.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Cass&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Cass, D. (1965). Optimum growth in an aggregative model of capital accumulation. &amp;lt;i&amp;gt;The Review of Economic Studies&amp;lt;/i&amp;gt;, 32(3), 233–240.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Koopmans&amp;quot;&amp;gt;[3]&amp;lt;/span&amp;gt; Koopmans, T. C. (1965). On the concept of optimal economic growth. &amp;lt;i&amp;gt;The Econometric Approach to Development Planning&amp;lt;/i&amp;gt;. North-Holland.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Economic model]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=SEIR_Epidemic&amp;diff=2947</id>
		<title>SEIR Epidemic</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=SEIR_Epidemic&amp;diff=2947"/>
		<updated>2026-09-04T11:28:46Z</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        = 4&lt;br /&gt;
|nw        = 2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;SEIR epidemic optimal control problem&#039;&#039;&#039; models the spread of an infectious disease through a homogeneous population divided into four compartments: susceptible (&amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;), exposed (&amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;), infectious (&amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;), and recovered (&amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt;).&lt;br /&gt;
Two controls are applied simultaneously: a vaccination rate that removes susceptible individuals from the transmission chain, and a social-distancing intensity that reduces the effective contact rate.&lt;br /&gt;
The objective is to minimise a weighted combination of the cumulative infectious burden and the quadratic costs of both interventions over a finite horizon, yielding a trade-off between disease suppression and resource expenditure.&lt;br /&gt;
The problem is nonlinear and non-convex and is calibrated to a COVID-19-like baseline scenario.&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_1,\,u_2} &amp;amp;&amp;amp; \displaystyle\int_0^{T} \Bigl[ A\, I(t) + B\, u_1(t)^2 + C\, u_2(t)^2 \Bigr]\, \mathrm{d}t \\[8pt]&lt;br /&gt;
 \text{subject to} \\[4pt]&lt;br /&gt;
 \quad \dot{S}(t) &amp;amp;=&amp;amp; -\beta\,(1 - u_2(t))\,S(t)\,I(t) - u_1(t)\,S(t), \\[4pt]&lt;br /&gt;
 \quad \dot{E}(t) &amp;amp;=&amp;amp; \beta\,(1 - u_2(t))\,S(t)\,I(t) - \sigma\,E(t), \\[4pt]&lt;br /&gt;
 \quad \dot{I}(t) &amp;amp;=&amp;amp; \sigma\,E(t) - \gamma\,I(t), \\[4pt]&lt;br /&gt;
 \quad \dot{R}(t) &amp;amp;=&amp;amp; \gamma\,I(t) + u_1(t)\,S(t), \\[4pt]&lt;br /&gt;
 \quad x(0) &amp;amp;=&amp;amp; (S_0,\; E_0,\; I_0,\; R_0)^T, \\&lt;br /&gt;
 \quad u_1(t) &amp;amp;\in&amp;amp; [0,\, u_{1,\max}] \quad \forall\, t \in [0, T], \\&lt;br /&gt;
 \quad u_2(t) &amp;amp;\in&amp;amp; [0,\, u_{2,\max}] \quad \forall\, t \in [0, 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;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x = (S, E, I, R)^T&amp;lt;/math&amp;gt;.&lt;br /&gt;
All compartments are fractions of the total population, so &amp;lt;math&amp;gt;S(t) + E(t) + I(t) + R(t) = 1&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The first control &amp;lt;math&amp;gt;u_1(t) \in [0, u_{1,\max}]&amp;lt;/math&amp;gt; is the vaccination rate: the term &amp;lt;math&amp;gt;-u_1(t)\,S(t)&amp;lt;/math&amp;gt; removes susceptible individuals through vaccination, moving them directly to the recovered compartment at rate &amp;lt;math&amp;gt;u_1(t)\,S(t)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The second control &amp;lt;math&amp;gt;u_2(t) \in [0, 1]&amp;lt;/math&amp;gt; is the social-distancing intensity: &amp;lt;math&amp;gt;u_2 = 0&amp;lt;/math&amp;gt; corresponds to no intervention and &amp;lt;math&amp;gt;u_2 = 1&amp;lt;/math&amp;gt; to full isolation.&lt;br /&gt;
It enters multiplicatively as &amp;lt;math&amp;gt;(1 - u_2(t))&amp;lt;/math&amp;gt; in the force of infection &amp;lt;math&amp;gt;\beta\,(1-u_2)\,S\,I&amp;lt;/math&amp;gt;, reducing effective contacts without directly removing individuals from any compartment.&lt;br /&gt;
&lt;br /&gt;
The quadratic penalties &amp;lt;math&amp;gt;B\,u_1^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,u_2^2&amp;lt;/math&amp;gt; model the increasing marginal cost of each intervention.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
These fixed values are used within the model:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- bgcolor=#c7c7c7&lt;br /&gt;
! Symbol !! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;         || align=right | 0.5      || Contact (transmission) rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;        || align=right | 0.2      || Progression rate from exposed to infectious (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;        || align=right | 0.1      || Recovery rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;             || align=right | 1        || Weight on infectious burden&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt;             || align=right | 1        || Quadratic cost weight on vaccination&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt;             || align=right | 1        || Quadratic cost weight on social distancing&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;u_{1,\max}&amp;lt;/math&amp;gt;    || align=right | 0.10     || Maximum vaccination rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;u_{2,\max}&amp;lt;/math&amp;gt;    || align=right | 1.00     || Maximum social-distancing intensity&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;S_0&amp;lt;/math&amp;gt;           || align=right | 0.990    || Initial susceptible fraction&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt;           || align=right | 0.005    || Initial exposed fraction&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;           || align=right | 0.005    || Initial infectious fraction&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;R_0&amp;lt;/math&amp;gt;           || align=right | 0        || Initial recovered fraction&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt;             || align=right | 100      || Planning horizon (days)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Reference Solutions ==&lt;br /&gt;
&lt;br /&gt;
Here is one local solution to the above control problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;Reference solution plots&amp;quot; widths=&amp;quot;500px&amp;quot; heights=&amp;quot;300px&amp;quot; perrow=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
 Image:SEIR_Epidemic.png| Compartment trajectories and optimal vaccination and social-distancing schedules for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The basic reproduction number for the uncontrolled SEIR model is &amp;lt;math&amp;gt;\mathcal{R}_0 = \beta/\gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
With the parameters above, &amp;lt;math&amp;gt;\mathcal{R}_0 = 5&amp;lt;/math&amp;gt;, corresponding to a highly transmissible pathogen.&lt;br /&gt;
The two-control formulation combines pharmaceutical intervention (vaccination) with non-pharmaceutical intervention (social distancing), reflecting the dual-measure response used during the COVID-19 pandemic.&lt;br /&gt;
Necessary optimality conditions via Pontryagin&#039;s minimum principle lead to a coupled system of state and adjoint ODEs; the optimal control typically exhibits a bang–singular–bang structure for the vaccination arc and a smooth interior arc for social distancing.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;Behncke2000&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Behncke, H. (2000). Optimal control of deterministic epidemics. Optimal Control Applications and Methods, 21(6), 269–285.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Perkins2020&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Perkins, T. A., &amp;amp; España, G. (2020). Optimal control of the COVID-19 pandemic with non-pharmaceutical interventions. Bulletin of Mathematical Biology, 82, 118.&amp;lt;br&amp;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=Brachistochrone&amp;diff=2946</id>
		<title>Brachistochrone</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Brachistochrone&amp;diff=2946"/>
		<updated>2026-09-04T11:27:52Z</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        = 3&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;brachistochrone problem&#039;&#039;&#039; (from Greek &#039;&#039;brachístos chrónos&#039;&#039;, &amp;quot;shortest time&amp;quot;) is one of the founding problems of the calculus of variations, and serves as a classical benchmark in optimal control.&lt;br /&gt;
&lt;br /&gt;
First posed by Johann Bernoulli in 1696 as a public challenge, the problem asks for the shape of a frictionless curve connecting two fixed points in a vertical plane such that a particle released from rest at the upper point reaches the lower point in minimum time under gravity.&lt;br /&gt;
As an optimal control problem, the system state consists of the horizontal position, the downward vertical position, and the speed of the particle, while the control is the instantaneous angle of the velocity vector measured below the horizontal.&lt;br /&gt;
The terminal time is free and is the quantity to be minimised; it is handled by augmenting it as a global time-scaling variable and optimising over a normalised unit horizon.&lt;br /&gt;
The analytical solution is a cycloid, obtainable through Pontryagin&#039;s minimum principle or the classical Euler–Lagrange equations.&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_{\theta,\, t_\mathrm{f}} &amp;amp;&amp;amp; t_\mathrm{f} \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp;=&amp;amp; v(t)\,\cos(\theta(t)), \\&lt;br /&gt;
\quad \dot{y}(t) &amp;amp;=&amp;amp; v(t)\,\sin(\theta(t)), \\&lt;br /&gt;
\quad \dot{v}(t) &amp;amp;=&amp;amp; g\,\sin(\theta(t)), \\&lt;br /&gt;
\quad (x(0),\, y(0),\, v(0)) &amp;amp;=&amp;amp; (0,\; 0,\; 0), \\&lt;br /&gt;
\quad x(t_\mathrm{f}) &amp;amp;=&amp;amp; x_\mathrm{f}, \\&lt;br /&gt;
\quad y(t_\mathrm{f}) &amp;amp;=&amp;amp; y_\mathrm{f}, \\&lt;br /&gt;
\quad \theta(t) &amp;amp;\in&amp;amp; [0,\, \pi] \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x(t)&amp;lt;/math&amp;gt; is the horizontal position (m), &amp;lt;math&amp;gt;y(t)&amp;lt;/math&amp;gt; is the downward vertical position (m, positive downward), and &amp;lt;math&amp;gt;v(t)&amp;lt;/math&amp;gt; is the speed of the particle (m/s).&lt;br /&gt;
The control &amp;lt;math&amp;gt;\theta(t) \in [0, \pi]&amp;lt;/math&amp;gt; is the angle of the velocity vector below the horizontal: &amp;lt;math&amp;gt;\theta = 0&amp;lt;/math&amp;gt; corresponds to purely horizontal motion and &amp;lt;math&amp;gt;\theta = \pi/2&amp;lt;/math&amp;gt; to straight downward motion.&lt;br /&gt;
The speed dynamics &amp;lt;math&amp;gt;\dot{v} = g\sin\theta&amp;lt;/math&amp;gt; follow from the component of gravitational acceleration along the direction of motion.&lt;br /&gt;
Since &amp;lt;math&amp;gt;v(0) = 0&amp;lt;/math&amp;gt;, the particle starts from rest.&lt;br /&gt;
The constraint &amp;lt;math&amp;gt;\theta \in [0, \pi]&amp;lt;/math&amp;gt; restricts the particle to descent arcs (no upward motion).&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;g&amp;lt;/math&amp;gt;            || align=right | 9.81 || Gravitational acceleration (m s&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 1.0  || Target horizontal position (m)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;y_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 0.5  || Target downward vertical position (m)&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:Brachistochrone.png| Optimal trajectory and control for the brachistochrone problem (cycloid solution).&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The analytical solution is a cycloid: the locus traced by a point on the rim of a circle rolling along a flat surface.&lt;br /&gt;
It can be parametrised as&lt;br /&gt;
&amp;lt;math&amp;gt;x(\phi) = r(\phi - \sin\phi)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;y(\phi) = r(1 - \cos\phi)&amp;lt;/math&amp;gt;,&lt;br /&gt;
where the radius &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is determined by the boundary conditions.&lt;br /&gt;
The brachistochrone problem is a standard example in textbooks on optimal control and the calculus of variations, and is used as a test case for direct transcription methods due to its free terminal time and the mild singularity at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt; where the speed vanishes.&lt;br /&gt;
A detailed formulation and further discussion can be found in [[#Bryson|[1]]].&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;Bryson&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Bryson, A. E., &amp;amp; Ho, Y.-C. (1975). &amp;lt;i&amp;gt;Applied Optimal Control: Optimization, Estimation, and Control&amp;lt;/i&amp;gt;. Taylor &amp;amp; Francis.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Free terminal time]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Battery_Storage&amp;diff=2945</id>
		<title>Battery Storage</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Battery_Storage&amp;diff=2945"/>
		<updated>2026-09-04T11:26:53Z</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        = 1&lt;br /&gt;
|nw        = 2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;battery storage problem&#039;&#039;&#039; models the optimal operation of a grid-scale battery energy storage system (BESS) over a 24-hour scheduling horizon.&lt;br /&gt;
The operator minimises total electricity cost given a fixed, time-varying demand profile and a time-of-use electricity price signal.&lt;br /&gt;
Both signals are piecewise-constant, stepping every four hours through six daily blocks.&lt;br /&gt;
The two non-negative controls represent charging power and discharging power separately, which avoids the need for integer variables while keeping the physics transparent.&lt;br /&gt;
The optimal strategy is to charge during cheap night-time periods and discharge during expensive morning and evening peak periods, yielding an energy-arbitrage policy.&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_{P_c,\,P_d} &amp;amp;&amp;amp; \displaystyle\int_0^{T} p(t)\,\bigl(P_{\mathrm{load}}(t) - P_d(t) + P_c(t)\bigr)\,\mathrm{d}t \\[8pt]&lt;br /&gt;
 \text{subject to} \\[4pt]&lt;br /&gt;
 \quad \dot{x}(t) &amp;amp;=&amp;amp; \dfrac{\eta_c\,P_c(t) - P_d(t)/\eta_d}{E_{\mathrm{cap}}}, \\[8pt]&lt;br /&gt;
 \quad x(0) &amp;amp;=&amp;amp; x_0, \\&lt;br /&gt;
 \quad x(T) &amp;amp;=&amp;amp; x_0, \\&lt;br /&gt;
 \quad x(t) &amp;amp;\in&amp;amp; [x_{\min},\, x_{\max}] \quad \forall\, t \in [0, T], \\&lt;br /&gt;
 \quad P_c(t) &amp;amp;\in&amp;amp; [0,\, P_{\max}] \quad \forall\, t \in [0, T], \\&lt;br /&gt;
 \quad P_d(t) &amp;amp;\in&amp;amp; [0,\, P_{\max}] \quad \forall\, t \in [0, 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;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x(t)&amp;lt;/math&amp;gt; is the state of charge (SoC, dimensionless fraction of &amp;lt;math&amp;gt;E_{\mathrm{cap}}&amp;lt;/math&amp;gt;), &amp;lt;math&amp;gt;P_c(t) \geq 0&amp;lt;/math&amp;gt; is the charging power (kW), &amp;lt;math&amp;gt;P_d(t) \geq 0&amp;lt;/math&amp;gt; is the discharging power (kW), and &amp;lt;math&amp;gt;P_{\mathrm{grid}}(t) = P_{\mathrm{load}}(t) - P_d(t) + P_c(t)&amp;lt;/math&amp;gt; is the net power drawn from the grid.&lt;br /&gt;
The cyclic boundary condition &amp;lt;math&amp;gt;x(T) = x_0&amp;lt;/math&amp;gt; enforces a daily cycling constraint so the battery ends each day at the same charge level it started.&lt;br /&gt;
&lt;br /&gt;
=== Price and demand profiles ===&lt;br /&gt;
&lt;br /&gt;
Both &amp;lt;math&amp;gt;p(t)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;P_{\mathrm{load}}(t)&amp;lt;/math&amp;gt; are piecewise-constant step functions defined on six consecutive 4-hour blocks:&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;
! Block !! Time interval (h) !! &amp;lt;math&amp;gt;p(t)&amp;lt;/math&amp;gt; (€/kWh) !! &amp;lt;math&amp;gt;P_{\mathrm{load}}(t)&amp;lt;/math&amp;gt; (kW)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | 1 || align=center | [0, 4)  || align=right | 0.08 || align=right | 30&lt;br /&gt;
|-&lt;br /&gt;
| align=center | 2 || align=center | [4, 8)  || align=right | 0.20 || align=right | 60&lt;br /&gt;
|-&lt;br /&gt;
| align=center | 3 || align=center | [8, 12) || align=right | 0.30 || align=right | 80&lt;br /&gt;
|-&lt;br /&gt;
| align=center | 4 || align=center | [12, 16)|| align=right | 0.15 || align=right | 50&lt;br /&gt;
|-&lt;br /&gt;
| align=center | 5 || align=center | [16, 20)|| align=right | 0.28 || align=right | 70&lt;br /&gt;
|-&lt;br /&gt;
| align=center | 6 || align=center | [20, 24]|| align=right | 0.10 || align=right | 35&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The price pattern is cheap at night (blocks 1 and 6), expensive at the morning peak (block 3), and moderately expensive at the evening peak (block 5).&lt;br /&gt;
The demand profile follows a corresponding load curve with low overnight consumption and a mid-morning peak.&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;E_{\mathrm{cap}}&amp;lt;/math&amp;gt; || align=right | 200 kWh || Battery energy capacity&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;P_{\max}&amp;lt;/math&amp;gt;          || align=right | 50 kW   || Maximum charge / discharge power&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\eta_c&amp;lt;/math&amp;gt;             || align=right | 0.95    || Charging efficiency&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\eta_d&amp;lt;/math&amp;gt;             || align=right | 0.95    || Discharging efficiency&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_{\min}&amp;lt;/math&amp;gt;           || align=right | 0.10    || Minimum state of charge&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_{\max}&amp;lt;/math&amp;gt;           || align=right | 0.90    || Maximum state of charge&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_0&amp;lt;/math&amp;gt;                || align=right | 0.50    || Initial (and final) state of charge&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt;                  || align=right | 24 h    || Scheduling horizon&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:Battery_Storage.png| State of charge and optimal power schedule for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The battery storage optimal control problem arises in the operation of grid-scale energy storage, demand-response programs, and behind-the-meter storage systems.&lt;br /&gt;
Formulating charging and discharging as two separate non-negative controls avoids the need for complementarity constraints or integer variables; the NLP relaxation is typically tight for cost profiles of this type because the optimizer has no incentive to charge and discharge simultaneously when round-trip efficiency is less than one.&lt;br /&gt;
Numerical solutions generally exhibit a bang–bang structure in each control: the battery charges at full power during the cheapest blocks and discharges at full power during the most expensive blocks, with smooth transitions determined by the SoC bounds.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;Rahbar2015&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Rahbar, N., Chai, C. C., &amp;amp; Zhang, R. (2015). Energy cooperation optimization in microgrids with renewable energy integration. IEEE Trans. Smart Grid, 6(3), 1482–1493.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Nottrott2013&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Nottrott, A., Kleissl, J., &amp;amp; Washom, B. (2013). Energy dispatch schedule optimization and cost benefit analysis for grid-connected, photovoltaic-battery storage systems. Renewable Energy, 55, 230–240.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:MIOCP]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Battery_Storage&amp;diff=2944</id>
		<title>Battery Storage</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Battery_Storage&amp;diff=2944"/>
		<updated>2026-09-04T11:26:32Z</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        = 1&lt;br /&gt;
|nw        = 2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;battery storage problem&#039;&#039;&#039; models the optimal operation of a grid-scale battery energy storage system (BESS) over a 24-hour scheduling horizon.&lt;br /&gt;
The operator minimises total electricity cost given a fixed, time-varying demand profile and a time-of-use electricity price signal.&lt;br /&gt;
Both signals are piecewise-constant, stepping every four hours through six daily blocks.&lt;br /&gt;
The two non-negative controls represent charging power and discharging power separately, which avoids the need for integer variables while keeping the physics transparent.&lt;br /&gt;
The optimal strategy is to charge during cheap night-time periods and discharge during expensive morning and evening peak periods, yielding an energy-arbitrage policy.&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_{P_c,\,P_d} &amp;amp;&amp;amp; \displaystyle\int_0^{T} p(t)\,\bigl(P_{\mathrm{load}}(t) - P_d(t) + P_c(t)\bigr)\,\mathrm{d}t \\[8pt]&lt;br /&gt;
 \text{subject to} \\[4pt]&lt;br /&gt;
 \quad \dot{x}(t) &amp;amp;=&amp;amp; \dfrac{\eta_c\,P_c(t) - P_d(t)/\eta_d}{E_{\mathrm{cap}}}, \\[8pt]&lt;br /&gt;
 \quad x(0) &amp;amp;=&amp;amp; x_0, \\&lt;br /&gt;
 \quad x(T) &amp;amp;=&amp;amp; x_0, \\&lt;br /&gt;
 \quad x(t) &amp;amp;\in&amp;amp; [x_{\min},\, x_{\max}] \quad \forall\, t \in [0, T], \\&lt;br /&gt;
 \quad P_c(t) &amp;amp;\in&amp;amp; [0,\, P_{\max}] \quad \forall\, t \in [0, T], \\&lt;br /&gt;
 \quad P_d(t) &amp;amp;\in&amp;amp; [0,\, P_{\max}] \quad \forall\, t \in [0, 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;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x(t)&amp;lt;/math&amp;gt; is the state of charge (SoC, dimensionless fraction of &amp;lt;math&amp;gt;E_{\mathrm{cap}}&amp;lt;/math&amp;gt;), &amp;lt;math&amp;gt;P_c(t) \geq 0&amp;lt;/math&amp;gt; is the charging power (kW), &amp;lt;math&amp;gt;P_d(t) \geq 0&amp;lt;/math&amp;gt; is the discharging power (kW), and &amp;lt;math&amp;gt;P_{\mathrm{grid}}(t) = P_{\mathrm{load}}(t) - P_d(t) + P_c(t)&amp;lt;/math&amp;gt; is the net power drawn from the grid.&lt;br /&gt;
The cyclic boundary condition &amp;lt;math&amp;gt;x(T) = x_0&amp;lt;/math&amp;gt; enforces a daily cycling constraint so the battery ends each day at the same charge level it started.&lt;br /&gt;
&lt;br /&gt;
=== Price and demand profiles ===&lt;br /&gt;
&lt;br /&gt;
Both &amp;lt;math&amp;gt;p(t)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;P_{\mathrm{load}}(t)&amp;lt;/math&amp;gt; are piecewise-constant step functions defined on six consecutive 4-hour blocks:&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;
! Block !! Time interval (h) !! &amp;lt;math&amp;gt;p(t)&amp;lt;/math&amp;gt; (€/kWh) !! &amp;lt;math&amp;gt;P_{\mathrm{load}}(t)&amp;lt;/math&amp;gt; (kW)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | 1 || align=center | [0, 4)  || align=right | 0.08 || align=right | 30&lt;br /&gt;
|-&lt;br /&gt;
| align=center | 2 || align=center | [4, 8)  || align=right | 0.20 || align=right | 60&lt;br /&gt;
|-&lt;br /&gt;
| align=center | 3 || align=center | [8, 12) || align=right | 0.30 || align=right | 80&lt;br /&gt;
|-&lt;br /&gt;
| align=center | 4 || align=center | [12, 16)|| align=right | 0.15 || align=right | 50&lt;br /&gt;
|-&lt;br /&gt;
| align=center | 5 || align=center | [16, 20)|| align=right | 0.28 || align=right | 70&lt;br /&gt;
|-&lt;br /&gt;
| align=center | 6 || align=center | [20, 24]|| align=right | 0.10 || align=right | 35&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The price pattern is cheap at night (blocks 1 and 6), expensive at the morning peak (block 3), and moderately expensive at the evening peak (block 5).&lt;br /&gt;
The demand profile follows a corresponding load curve with low overnight consumption and a mid-morning peak.&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;E_{\mathrm{cap}}&amp;lt;/math&amp;gt; || align=right | 200 kWh || Battery energy capacity&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;P_{\max}&amp;lt;/math&amp;gt;          || align=right | 50 kW   || Maximum charge / discharge power&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\eta_c&amp;lt;/math&amp;gt;             || align=right | 0.95    || Charging efficiency&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\eta_d&amp;lt;/math&amp;gt;             || align=right | 0.95    || Discharging efficiency&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_{\min}&amp;lt;/math&amp;gt;           || align=right | 0.10    || Minimum state of charge&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_{\max}&amp;lt;/math&amp;gt;           || align=right | 0.90    || Maximum state of charge&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_0&amp;lt;/math&amp;gt;                || align=right | 0.50    || Initial (and final) state of charge&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt;                  || align=right | 24 h    || Scheduling horizon&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:BatteryStorage.png| State of charge and optimal power schedule for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The battery storage optimal control problem arises in the operation of grid-scale energy storage, demand-response programs, and behind-the-meter storage systems.&lt;br /&gt;
Formulating charging and discharging as two separate non-negative controls avoids the need for complementarity constraints or integer variables; the NLP relaxation is typically tight for cost profiles of this type because the optimizer has no incentive to charge and discharge simultaneously when round-trip efficiency is less than one.&lt;br /&gt;
Numerical solutions generally exhibit a bang–bang structure in each control: the battery charges at full power during the cheapest blocks and discharges at full power during the most expensive blocks, with smooth transitions determined by the SoC bounds.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;Rahbar2015&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Rahbar, N., Chai, C. C., &amp;amp; Zhang, R. (2015). Energy cooperation optimization in microgrids with renewable energy integration. IEEE Trans. Smart Grid, 6(3), 1482–1493.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Nottrott2013&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Nottrott, A., Kleissl, J., &amp;amp; Washom, B. (2013). Energy dispatch schedule optimization and cost benefit analysis for grid-connected, photovoltaic-battery storage systems. Renewable Energy, 55, 230–240.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:MIOCP]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=User:RobertLampel&amp;diff=2943</id>
		<title>User:RobertLampel</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=User:RobertLampel&amp;diff=2943"/>
		<updated>2026-09-03T13:50:04Z</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;li&amp;gt; https://mintoc.de/index.php/Battery_Storage&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Brachistochrone&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/SEIR_Epidemic&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Ramsey_Growth&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Tumor_Anti_Angiogenesis&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Community]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Tumor_Anti_Angiogenesis&amp;diff=2942</id>
		<title>Tumor Anti Angiogenesis</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Tumor_Anti_Angiogenesis&amp;diff=2942"/>
		<updated>2026-09-03T11:50:00Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 3&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;tumor anti-angiogenesis problem&#039;&#039;&#039; is a classical benchmark in biomedical optimal control. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
It is based on the mathematical model of Hahnfeldt et al. [[#Hahnfeldt|[2]]] for tumor growth under angiogenic signalling, as studied from an optimal control perspective by Ledzewicz and Schättler [[#Ledzewicz|[3]]].&lt;br /&gt;
Angiogenesis is the process by which tumors recruit a network of blood vessels to sustain their growth; anti-angiogenic therapy targets this process by administering inhibitor agents.&lt;br /&gt;
The two biological states are the tumor volume and the carrying capacity of the vascular endothelium (which sets the maximum supportable tumor size).&lt;br /&gt;
A third state tracks the cumulative inhibitor dose, enforcing a total-dose constraint.&lt;br /&gt;
The control is the instantaneous inhibitor dose rate.&lt;br /&gt;
The objective is to minimise the tumor volume at the final time.&lt;br /&gt;
The problem is known to exhibit a rich optimal control structure, including bang–bang arcs, singular arcs, and boundary arcs corresponding to the dose constraint.&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; p(t_\mathrm{f}) \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{p}(t) &amp;amp;=&amp;amp; -\xi\, p(t)\,\ln\!\left(\dfrac{p(t)}{q(t)}\right), \\[6pt]&lt;br /&gt;
\quad \dot{q}(t) &amp;amp;=&amp;amp; b\, p(t) - \mu\, q(t) - \left(d\, p(t)^{2/3} + e\, u(t)\right) q(t), \\[6pt]&lt;br /&gt;
\quad \dot{y}(t) &amp;amp;=&amp;amp; u(t), \\&lt;br /&gt;
\quad (p(0),\, q(0),\, y(0)) &amp;amp;=&amp;amp; (p_0,\, q_0,\, 0), \\&lt;br /&gt;
\quad y(t_\mathrm{f}) &amp;amp;\leq&amp;amp; A, \\&lt;br /&gt;
\quad u(t) &amp;amp;\in&amp;amp; [0,\, a] \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;p(t)&amp;lt;/math&amp;gt; is the tumor volume (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;), &amp;lt;math&amp;gt;q(t)&amp;lt;/math&amp;gt; is the endothelial carrying capacity (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;), and &amp;lt;math&amp;gt;y(t)&amp;lt;/math&amp;gt; is the cumulative inhibitor dose (mg/kg) administered up to time &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;.&lt;br /&gt;
The tumor dynamics follow the Gompertz law &amp;lt;math&amp;gt;\dot{p} = -\xi\,p\ln(p/q)&amp;lt;/math&amp;gt;, which models logistic-like growth bounded by the carrying capacity &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;.&lt;br /&gt;
The carrying capacity decreases due to natural endothelial cell loss (&amp;lt;math&amp;gt;\mu\,q&amp;lt;/math&amp;gt;), inhibitor-induced endothelial cell loss (&amp;lt;math&amp;gt;e\,u\,q&amp;lt;/math&amp;gt;), and stimulated shedding proportional to tumor surface area (&amp;lt;math&amp;gt;d\,p^{2/3}\,q&amp;lt;/math&amp;gt;), while increasing due to endothelial recruitment by the tumor (&amp;lt;math&amp;gt;b\,p&amp;lt;/math&amp;gt;).&lt;br /&gt;
The state &amp;lt;math&amp;gt;y(t)&amp;lt;/math&amp;gt; enforces the total-dose constraint &amp;lt;math&amp;gt;y(t_\mathrm{f}) \leq A&amp;lt;/math&amp;gt; as an isoperimetric inequality.&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;\xi&amp;lt;/math&amp;gt; || align=right | 0.084 || Tumor growth rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; || align=right | 5.85 || Endothelial birth rate coefficient (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; || align=right | 0.02 || Endothelial natural loss rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; || align=right | 0.00873 || Inhibition coefficient for endothelial shedding (mm&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt; day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; || align=right | 0.66 || Inhibitor effectiveness on endothelium (kg mg&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; || align=right | 75 || Maximum inhibitor dose rate (mg kg&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; || align=right | 15 || Maximum cumulative inhibitor dose (mg kg&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;p_0&amp;lt;/math&amp;gt; || align=right | 12000 || Initial tumor volume (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;q_0&amp;lt;/math&amp;gt; || align=right | 15000 || Initial endothelial carrying capacity (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 1.2 || Horizon of the control problem (days)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Reference Solutions ==&lt;br /&gt;
&lt;br /&gt;
Here is one local solution to the above control problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;Reference solution plots&amp;quot; widths=&amp;quot;500px&amp;quot; heights=&amp;quot;300px&amp;quot; perrow=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
 Image: Tumor_Anti_Angiogenesis.png | Tumor volume, carrying capacity, cumulative dose, and optimal inhibitor schedule for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The equilibrium &amp;lt;math&amp;gt;p^* = q^*&amp;lt;/math&amp;gt; corresponds to a tumor at maximum sustainable size.&lt;br /&gt;
Without treatment, &amp;lt;math&amp;gt;p(t)&amp;lt;/math&amp;gt; converges to this steady state.&lt;br /&gt;
Ledzewicz and Schättler [[#Ledzewicz|[3]]] characterise the optimal control using Pontryagin&#039;s minimum principle and show that the optimal policy consists of a sequence of full-dose (&amp;lt;math&amp;gt;u = a&amp;lt;/math&amp;gt;), no-dose (&amp;lt;math&amp;gt;u = 0&amp;lt;/math&amp;gt;), and singular arcs, depending on the initial conditions and remaining dose budget.&lt;br /&gt;
This formulation and detailed analysis can be found in [[#OCPjl|[1]]], [[#Hahnfeldt|[2]]], and [[#Ledzewicz|[3]]].&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&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Hahnfeldt&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Hahnfeldt, P., Panigrahy, D., Folkman, J., &amp;amp; Hlatky, L. (1999). Tumor development under angiogenic signaling: A dynamical theory of tumor growth, treatment response, and postvascular dormancy. &amp;lt;i&amp;gt;Cancer Research&amp;lt;/i&amp;gt;, 59(19), 4770–4775.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ledzewicz&amp;quot;&amp;gt;[3]&amp;lt;/span&amp;gt; Ledzewicz, U., &amp;amp; Schättler, H. (2007). Antiangiogenic therapy in cancer treatment as an optimal control problem. &amp;lt;i&amp;gt;SIAM Journal on Control and Optimization&amp;lt;/i&amp;gt;, 46(3), 1052–1079.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Biomedical model]]&lt;br /&gt;
[[Category:Singular arc]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Ramsey_Growth&amp;diff=2941</id>
		<title>Ramsey Growth</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Ramsey_Growth&amp;diff=2941"/>
		<updated>2026-09-03T11:49:47Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 1&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Ramsey growth problem&#039;&#039;&#039; is a foundational benchmark in optimal control and macroeconomic theory. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
First formulated by Frank Ramsey in 1928 [[#Ramsey|[2]]] and later extended by Cass [[#Cass|[3]]] and Koopmans [[#Koopmans|[4]]], the problem determines the socially optimal path of capital accumulation and consumption for a representative household economy.&lt;br /&gt;
The single state is the capital stock per worker, and the single control is consumption per worker.&lt;br /&gt;
Capital accumulates through production (described by a Cobb–Douglas function), net of depreciation and consumption.&lt;br /&gt;
The objective is to maximise the present value of a stream of discounted utility of consumption over a finite horizon, which is equivalent to minimising its negative.&lt;br /&gt;
The resulting optimal trajectories converge towards a steady-state balanced growth path, and the problem serves as a standard test for indirect shooting methods and continuation techniques in optimal control.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \begin{array}{lll}&lt;br /&gt;
 \displaystyle \min_{c} &amp;amp;&amp;amp; -\int_0^{t_\mathrm{f}} e^{-\rho\, t}\, \frac{c(t)^{1-\sigma} - 1}{1 - \sigma}\, \mathrm{d}t \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{k}(t) &amp;amp;=&amp;amp; A\, k(t)^\alpha - (\delta + n)\, k(t) - c(t), \\&lt;br /&gt;
\quad k(0) &amp;amp;=&amp;amp; k_0, \\&lt;br /&gt;
\quad k(t) &amp;amp;\geq&amp;amp; 0 \quad \forall\, t \in [0, t_\mathrm{f}], \\&lt;br /&gt;
\quad c(t) &amp;amp;&amp;gt;&amp;amp; 0 \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;k(t)&amp;lt;/math&amp;gt; is capital per worker, &amp;lt;math&amp;gt;c(t)&amp;lt;/math&amp;gt; is consumption per worker,&lt;br /&gt;
&amp;lt;math&amp;gt;A\,k^\alpha&amp;lt;/math&amp;gt; is the Cobb–Douglas production function, and&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{c^{1-\sigma}-1}{1-\sigma}&amp;lt;/math&amp;gt; is the constant-relative-risk-aversion (CRRA) utility function.&lt;br /&gt;
As &amp;lt;math&amp;gt;\sigma \to 1&amp;lt;/math&amp;gt;, the CRRA utility converges to &amp;lt;math&amp;gt;\ln c&amp;lt;/math&amp;gt; (logarithmic utility).&lt;br /&gt;
The transversality condition at the terminal time is &amp;lt;math&amp;gt;e^{-\rho\,t_\mathrm{f}}\,k(t_\mathrm{f}) \geq 0&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;
{| 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;\rho&amp;lt;/math&amp;gt; || align=right | 0.05 || Pure rate of time preference (discount rate)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt; || align=right | 1.5 || Inverse of the intertemporal elasticity of substitution&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; || align=right | 0.33 || Capital share in production (Cobb–Douglas exponent)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\delta&amp;lt;/math&amp;gt; || align=right | 0.05 || Capital depreciation rate&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || align=right | 0.01 || Population (labour) growth rate&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; || align=right | 1 || Total factor productivity&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; || align=right | 0.5 || Initial capital per worker&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 100 || Horizon of the control problem&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: Ramsey_Growth.png | Optimal capital and consumption paths for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The steady-state capital stock &amp;lt;math&amp;gt;k^*&amp;lt;/math&amp;gt; satisfies &amp;lt;math&amp;gt;A\,\alpha\,(k^*)^{\alpha-1} = \rho + \sigma\,n + \delta&amp;lt;/math&amp;gt; (the modified golden rule).&lt;br /&gt;
The optimal consumption path satisfies the Euler equation&lt;br /&gt;
&amp;lt;math&amp;gt;\dot{c}/c = (\alpha A k^{\alpha-1} - \delta - \rho - \sigma n)/\sigma&amp;lt;/math&amp;gt;,&lt;br /&gt;
known as the Keynes–Ramsey rule.&lt;br /&gt;
The problem is solved analytically in the infinite-horizon limit and numerically for finite horizons using shooting or direct methods.&lt;br /&gt;
This formulation and further discussion can be found in [[#OCPjl|[1]]] and [[#Ramsey|[2]]].&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;OCPjl&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Caillau, J.-B., Cots, O., Gergaud, J., &amp;amp; Martinon, P. OptimalControlProblems.jl: a collection of optimal control problems with ODE&#039;s in Julia. https://github.com/control-toolbox/OptimalControlProblems.jl&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ramsey&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Ramsey, F. P. (1928). A mathematical theory of saving. &amp;lt;i&amp;gt;The Economic Journal&amp;lt;/i&amp;gt;, 38(152), 543–559.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Cass&amp;quot;&amp;gt;[3]&amp;lt;/span&amp;gt; Cass, D. (1965). Optimum growth in an aggregative model of capital accumulation. &amp;lt;i&amp;gt;The Review of Economic Studies&amp;lt;/i&amp;gt;, 32(3), 233–240.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Koopmans&amp;quot;&amp;gt;[4]&amp;lt;/span&amp;gt; Koopmans, T. C. (1965). On the concept of optimal economic growth. &amp;lt;i&amp;gt;The Econometric Approach to Development Planning&amp;lt;/i&amp;gt;. North-Holland.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Economic model]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=SEIR_Epidemic&amp;diff=2940</id>
		<title>SEIR Epidemic</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=SEIR_Epidemic&amp;diff=2940"/>
		<updated>2026-09-03T11:49:35Z</updated>

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

		<summary type="html">&lt;p&gt;RobertLampel: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 3&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;brachistochrone problem&#039;&#039;&#039; (from Greek &#039;&#039;brachístos chrónos&#039;&#039;, &amp;quot;shortest time&amp;quot;) is one of the founding problems of the calculus of variations, and serves as a classical benchmark in optimal control. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
First posed by Johann Bernoulli in 1696 as a public challenge, the problem asks for the shape of a frictionless curve connecting two fixed points in a vertical plane such that a particle released from rest at the upper point reaches the lower point in minimum time under gravity.&lt;br /&gt;
As an optimal control problem, the system state consists of the horizontal position, vertical position, and speed of the particle, while the control is the instantaneous angle of the velocity vector with respect to the vertical.&lt;br /&gt;
The terminal time is free and is the quantity to be minimised.&lt;br /&gt;
The analytical solution is a cycloid, obtainable through Pontryagin&#039;s minimum principle or the classical Euler–Lagrange equations.&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,\, t_\mathrm{f}} &amp;amp;&amp;amp; t_\mathrm{f} \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}_1(t) &amp;amp;=&amp;amp; x_3(t)\,\sin(u(t)), \\&lt;br /&gt;
\quad \dot{x}_2(t) &amp;amp;=&amp;amp; x_3(t)\,\cos(u(t)), \\&lt;br /&gt;
\quad \dot{x}_3(t) &amp;amp;=&amp;amp; g\,\cos(u(t)), \\&lt;br /&gt;
\quad x(0) &amp;amp;=&amp;amp; (0,\; 0,\; 0)^T, \\&lt;br /&gt;
\quad x_1(t_\mathrm{f}) &amp;amp;=&amp;amp; x_{1,\mathrm{f}}, \\&lt;br /&gt;
\quad x_2(t_\mathrm{f}) &amp;amp;=&amp;amp; x_{2,\mathrm{f}}, \\&lt;br /&gt;
\quad u(t) &amp;amp;\in&amp;amp; \left[-\tfrac{\pi}{2},\, \tfrac{\pi}{2}\right] \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x_1(t)&amp;lt;/math&amp;gt; is the horizontal position, &amp;lt;math&amp;gt;x_2(t)&amp;lt;/math&amp;gt; is the downward vertical position, &amp;lt;math&amp;gt;x_3(t)&amp;lt;/math&amp;gt; is the speed of the particle, and &amp;lt;math&amp;gt;u(t)&amp;lt;/math&amp;gt; is the angle of the velocity vector measured from the downward vertical.&lt;br /&gt;
The speed dynamics follow from conservation of energy under gravity: &amp;lt;math&amp;gt;\dot{x}_3 = g\cos(u)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Note that &amp;lt;math&amp;gt;x_3(0) = 0&amp;lt;/math&amp;gt;, so the particle starts from rest.&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;g&amp;lt;/math&amp;gt; || align=right | 9.81 || Gravitational acceleration (m s&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_{1,\mathrm{f}}&amp;lt;/math&amp;gt; || align=right | 1 || Target horizontal position (m)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_{2,\mathrm{f}}&amp;lt;/math&amp;gt; || align=right | 1 || Target downward vertical position (m)&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: Brachistochrone.png | Optimal trajectory and control for the brachistochrone problem (cycloid solution).&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The analytical solution is a cycloid: the locus traced by a point on the rim of a circle rolling along a flat surface.&lt;br /&gt;
It can be parametrised as&lt;br /&gt;
&amp;lt;math&amp;gt;x_1(\theta) = r(\theta - \sin\theta)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_2(\theta) = r(1 - \cos\theta)&amp;lt;/math&amp;gt;,&lt;br /&gt;
where the radius &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is determined by the boundary conditions.&lt;br /&gt;
The brachistochrone problem is a standard example in textbooks on optimal control and the calculus of variations, and is used as a test case for direct transcription methods due to its free terminal time and the mild singularity at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt; where the speed vanishes.&lt;br /&gt;
This formulation and further discussion can be found in [[#OCPjl|[1]]] and [[#Bryson|[2]]].&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;OCPjl&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Caillau, J.-B., Cots, O., Gergaud, J., &amp;amp; Martinon, P. OptimalControlProblems.jl: a collection of optimal control problems with ODE&#039;s in Julia. https://github.com/control-toolbox/OptimalControlProblems.jl&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Bryson&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Bryson, A. E., &amp;amp; Ho, Y.-C. (1975). &amp;lt;i&amp;gt;Applied Optimal Control: Optimization, Estimation, and Control&amp;lt;/i&amp;gt;. Taylor &amp;amp; Francis.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Free terminal time]]&lt;br /&gt;
[[Category:Classical mechanics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Battery_Storage&amp;diff=2938</id>
		<title>Battery Storage</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Battery_Storage&amp;diff=2938"/>
		<updated>2026-09-03T11:48:57Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 1&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;battery storage problem&#039;&#039;&#039; is a classical benchmark in optimal control for energy systems. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
It models the optimal operation of a grid-connected battery over a finite time horizon.&lt;br /&gt;
The single state is the energy stored in the battery (state of charge), and the single control is the net power flow.&lt;br /&gt;
Positive control corresponds to charging (energy flows into the battery from the grid), while negative control corresponds to discharging (energy flows from the battery to the grid).&lt;br /&gt;
The objective is to minimise the total electricity cost, given by the integral of the product of a time-varying price signal and the net power drawn from the grid, subject to capacity constraints on the stored energy and power limits on the control.&lt;br /&gt;
The optimal strategy is to charge when prices are low and discharge when prices are high, yielding an energy-arbitrage policy that exhibits bang–bang structure when there is no regularisation term.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \begin{array}{lll}&lt;br /&gt;
 \displaystyle \min_{u} &amp;amp;&amp;amp; \int_0^{t_\mathrm{f}} p(t)\, u(t)\, \mathrm{d}t \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp;=&amp;amp; u(t), \\&lt;br /&gt;
\quad x(0) &amp;amp;=&amp;amp; x_0, \\&lt;br /&gt;
\quad x(t_\mathrm{f}) &amp;amp;=&amp;amp; x_0, \\&lt;br /&gt;
\quad x(t) &amp;amp;\in&amp;amp; [0,\, E_{\max}] \quad \forall\, t \in [0, t_\mathrm{f}], \\&lt;br /&gt;
\quad u(t) &amp;amp;\in&amp;amp; [-P_{\max},\, P_{\max}] \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;p(t) = p_0 + \Delta p\,\sin\!\bigl(2\pi t / t_\mathrm{f}\bigr)&amp;lt;/math&amp;gt; is the electricity price at time &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;.&lt;br /&gt;
The cyclic boundary condition &amp;lt;math&amp;gt;x(t_\mathrm{f}) = x_0&amp;lt;/math&amp;gt; ensures that the battery returns to its initial state of charge at the end of the horizon.&lt;br /&gt;
Charging (&amp;lt;math&amp;gt;u &amp;gt; 0&amp;lt;/math&amp;gt;) incurs a positive cost &amp;lt;math&amp;gt;p(t)\,u(t) &amp;gt; 0&amp;lt;/math&amp;gt;, while discharging (&amp;lt;math&amp;gt;u &amp;lt; 0&amp;lt;/math&amp;gt;) generates revenue.&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;E_{\max}&amp;lt;/math&amp;gt; || align=right | 1 || Battery capacity (normalised)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;P_{\max}&amp;lt;/math&amp;gt; || align=right | 1 || Maximum charge/discharge power&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;p_0&amp;lt;/math&amp;gt; || align=right | 1 || Mean electricity price&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\Delta p&amp;lt;/math&amp;gt; || align=right | 0.5 || Price amplitude&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_0&amp;lt;/math&amp;gt; || align=right | 0.5 || Initial (and final) state of charge&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 1 || Length of the scheduling horizon&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:Battery_Storage.png | State of charge and optimal power schedule for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The battery storage optimal control problem arises in the operation of grid-scale energy storage, demand-response programs, and behind-the-meter storage systems.&lt;br /&gt;
When efficiency losses are incorporated (separate charging efficiency &amp;lt;math&amp;gt;\eta_c \in (0,1]&amp;lt;/math&amp;gt; and discharging efficiency &amp;lt;math&amp;gt;\eta_d \in (0,1]&amp;lt;/math&amp;gt;), the state equation becomes&lt;br /&gt;
&amp;lt;math&amp;gt;\dot{x} = \eta_c\,u^+ - u^-/\eta_d&amp;lt;/math&amp;gt;,&lt;br /&gt;
where &amp;lt;math&amp;gt;u^+ = \max(u,0)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u^- = \max(-u,0)&amp;lt;/math&amp;gt;, and the problem acquires a mixed-integer character that can be handled by complementarity constraints.&lt;br /&gt;
A detailed formulation and further discussion 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&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:MIOCP]]&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Energy systems]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=User:RobertLampel&amp;diff=2937</id>
		<title>User:RobertLampel</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=User:RobertLampel&amp;diff=2937"/>
		<updated>2026-09-03T11:48:11Z</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;li&amp;gt; https://mintoc.de/index.php/Battery_Storage&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Brachistochrone&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/SEIR_Epidemic&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Ramsey_Growth&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Tumor_Anti_Angiogenesis&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=Tumor_Anti_Anginogenesis&amp;diff=2936</id>
		<title>Tumor Anti Anginogenesis</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Tumor_Anti_Anginogenesis&amp;diff=2936"/>
		<updated>2026-09-03T11:47:54Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: RobertLampel moved page Tumor Anti Anginogenesis to Tumor Anti Angiogenesis: Misspelled title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Tumor Anti Angiogenesis]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Tumor_Anti_Angiogenesis&amp;diff=2935</id>
		<title>Tumor Anti Angiogenesis</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Tumor_Anti_Angiogenesis&amp;diff=2935"/>
		<updated>2026-09-03T11:47:54Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: RobertLampel moved page Tumor Anti Anginogenesis to Tumor Anti Angiogenesis: Misspelled title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 3&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;tumor anti-angiogenesis problem&#039;&#039;&#039; is a classical benchmark in biomedical optimal control. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
It is based on the mathematical model of Hahnfeldt et al. [[#Hahnfeldt|[2]]] for tumor growth under angiogenic signalling, as studied from an optimal control perspective by Ledzewicz and Schättler [[#Ledzewicz|[3]]].&lt;br /&gt;
Angiogenesis is the process by which tumors recruit a network of blood vessels to sustain their growth; anti-angiogenic therapy targets this process by administering inhibitor agents.&lt;br /&gt;
The two biological states are the tumor volume and the carrying capacity of the vascular endothelium (which sets the maximum supportable tumor size).&lt;br /&gt;
A third state tracks the cumulative inhibitor dose, enforcing a total-dose constraint.&lt;br /&gt;
The control is the instantaneous inhibitor dose rate.&lt;br /&gt;
The objective is to minimise the tumor volume at the final time.&lt;br /&gt;
The problem is known to exhibit a rich optimal control structure, including bang–bang arcs, singular arcs, and boundary arcs corresponding to the dose constraint.&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; p(t_\mathrm{f}) \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{p}(t) &amp;amp;=&amp;amp; -\xi\, p(t)\,\ln\!\left(\dfrac{p(t)}{q(t)}\right), \\[6pt]&lt;br /&gt;
\quad \dot{q}(t) &amp;amp;=&amp;amp; b\, p(t) - \mu\, q(t) - \left(d\, p(t)^{2/3} + e\, u(t)\right) q(t), \\[6pt]&lt;br /&gt;
\quad \dot{y}(t) &amp;amp;=&amp;amp; u(t), \\&lt;br /&gt;
\quad (p(0),\, q(0),\, y(0)) &amp;amp;=&amp;amp; (p_0,\, q_0,\, 0), \\&lt;br /&gt;
\quad y(t_\mathrm{f}) &amp;amp;\leq&amp;amp; A, \\&lt;br /&gt;
\quad u(t) &amp;amp;\in&amp;amp; [0,\, a] \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;p(t)&amp;lt;/math&amp;gt; is the tumor volume (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;), &amp;lt;math&amp;gt;q(t)&amp;lt;/math&amp;gt; is the endothelial carrying capacity (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;), and &amp;lt;math&amp;gt;y(t)&amp;lt;/math&amp;gt; is the cumulative inhibitor dose (mg/kg) administered up to time &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;.&lt;br /&gt;
The tumor dynamics follow the Gompertz law &amp;lt;math&amp;gt;\dot{p} = -\xi\,p\ln(p/q)&amp;lt;/math&amp;gt;, which models logistic-like growth bounded by the carrying capacity &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;.&lt;br /&gt;
The carrying capacity decreases due to natural endothelial cell loss (&amp;lt;math&amp;gt;\mu\,q&amp;lt;/math&amp;gt;), inhibitor-induced endothelial cell loss (&amp;lt;math&amp;gt;e\,u\,q&amp;lt;/math&amp;gt;), and stimulated shedding proportional to tumor surface area (&amp;lt;math&amp;gt;d\,p^{2/3}\,q&amp;lt;/math&amp;gt;), while increasing due to endothelial recruitment by the tumor (&amp;lt;math&amp;gt;b\,p&amp;lt;/math&amp;gt;).&lt;br /&gt;
The state &amp;lt;math&amp;gt;y(t)&amp;lt;/math&amp;gt; enforces the total-dose constraint &amp;lt;math&amp;gt;y(t_\mathrm{f}) \leq A&amp;lt;/math&amp;gt; as an isoperimetric inequality.&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;\xi&amp;lt;/math&amp;gt; || align=right | 0.084 || Tumor growth rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; || align=right | 5.85 || Endothelial birth rate coefficient (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; || align=right | 0.02 || Endothelial natural loss rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; || align=right | 0.00873 || Inhibition coefficient for endothelial shedding (mm&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt; day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; || align=right | 0.66 || Inhibitor effectiveness on endothelium (kg mg&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; || align=right | 75 || Maximum inhibitor dose rate (mg kg&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; || align=right | 15 || Maximum cumulative inhibitor dose (mg kg&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;p_0&amp;lt;/math&amp;gt; || align=right | 12000 || Initial tumor volume (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;q_0&amp;lt;/math&amp;gt; || align=right | 15000 || Initial endothelial carrying capacity (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 1.2 || Horizon of the control problem (days)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Reference Solutions ==&lt;br /&gt;
&lt;br /&gt;
Here is one local solution to the above control problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;Reference solution plots&amp;quot; widths=&amp;quot;500px&amp;quot; heights=&amp;quot;300px&amp;quot; perrow=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
 Image: Tumor_Anti_Angiogenesis.png | Tumor volume, carrying capacity, cumulative dose, and optimal inhibitor schedule for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The equilibrium &amp;lt;math&amp;gt;p^* = q^*&amp;lt;/math&amp;gt; corresponds to a tumor at maximum sustainable size.&lt;br /&gt;
Without treatment, &amp;lt;math&amp;gt;p(t)&amp;lt;/math&amp;gt; converges to this steady state.&lt;br /&gt;
Ledzewicz and Schättler [[#Ledzewicz|[3]]] characterise the optimal control using Pontryagin&#039;s minimum principle and show that the optimal policy consists of a sequence of full-dose (&amp;lt;math&amp;gt;u = a&amp;lt;/math&amp;gt;), no-dose (&amp;lt;math&amp;gt;u = 0&amp;lt;/math&amp;gt;), and singular arcs, depending on the initial conditions and remaining dose budget.&lt;br /&gt;
This formulation and detailed analysis can be found in [[#OCPjl|[1]]], [[#Hahnfeldt|[2]]], and [[#Ledzewicz|[3]]].&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&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Hahnfeldt&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Hahnfeldt, P., Panigrahy, D., Folkman, J., &amp;amp; Hlatky, L. (1999). Tumor development under angiogenic signaling: A dynamical theory of tumor growth, treatment response, and postvascular dormancy. &amp;lt;i&amp;gt;Cancer Research&amp;lt;/i&amp;gt;, 59(19), 4770–4775.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ledzewicz&amp;quot;&amp;gt;[3]&amp;lt;/span&amp;gt; Ledzewicz, U., &amp;amp; Schättler, H. (2007). Antiangiogenic therapy in cancer treatment as an optimal control problem. &amp;lt;i&amp;gt;SIAM Journal on Control and Optimization&amp;lt;/i&amp;gt;, 46(3), 1052–1079.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Biomedical model]]&lt;br /&gt;
[[Category:Singular arc]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=File:Tumor_Anti_Angiogenesis.png&amp;diff=2934</id>
		<title>File:Tumor Anti Angiogenesis.png</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=File:Tumor_Anti_Angiogenesis.png&amp;diff=2934"/>
		<updated>2026-09-03T11:45:34Z</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=Tumor_Anti_Angiogenesis&amp;diff=2933</id>
		<title>Tumor Anti Angiogenesis</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Tumor_Anti_Angiogenesis&amp;diff=2933"/>
		<updated>2026-09-03T11:45:23Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: Created page with &amp;quot;{{Dimensions |nd        = 1 |nx        = 3 |nw        = 1 }}  The &amp;#039;&amp;#039;&amp;#039;tumor anti-angiogenesis problem&amp;#039;&amp;#039;&amp;#039; is a classical benchmark in biomedical optimal control. This description is taken from  [1].  It is based on the mathematical model of Hahnfeldt et al. [2] for tumor growth under angiogenic signalling, as studied from an optimal control perspective by Ledzewicz and Schättler [3]. Angiogenesis is the process by which tumors rec...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 3&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;tumor anti-angiogenesis problem&#039;&#039;&#039; is a classical benchmark in biomedical optimal control. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
It is based on the mathematical model of Hahnfeldt et al. [[#Hahnfeldt|[2]]] for tumor growth under angiogenic signalling, as studied from an optimal control perspective by Ledzewicz and Schättler [[#Ledzewicz|[3]]].&lt;br /&gt;
Angiogenesis is the process by which tumors recruit a network of blood vessels to sustain their growth; anti-angiogenic therapy targets this process by administering inhibitor agents.&lt;br /&gt;
The two biological states are the tumor volume and the carrying capacity of the vascular endothelium (which sets the maximum supportable tumor size).&lt;br /&gt;
A third state tracks the cumulative inhibitor dose, enforcing a total-dose constraint.&lt;br /&gt;
The control is the instantaneous inhibitor dose rate.&lt;br /&gt;
The objective is to minimise the tumor volume at the final time.&lt;br /&gt;
The problem is known to exhibit a rich optimal control structure, including bang–bang arcs, singular arcs, and boundary arcs corresponding to the dose constraint.&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; p(t_\mathrm{f}) \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{p}(t) &amp;amp;=&amp;amp; -\xi\, p(t)\,\ln\!\left(\dfrac{p(t)}{q(t)}\right), \\[6pt]&lt;br /&gt;
\quad \dot{q}(t) &amp;amp;=&amp;amp; b\, p(t) - \mu\, q(t) - \left(d\, p(t)^{2/3} + e\, u(t)\right) q(t), \\[6pt]&lt;br /&gt;
\quad \dot{y}(t) &amp;amp;=&amp;amp; u(t), \\&lt;br /&gt;
\quad (p(0),\, q(0),\, y(0)) &amp;amp;=&amp;amp; (p_0,\, q_0,\, 0), \\&lt;br /&gt;
\quad y(t_\mathrm{f}) &amp;amp;\leq&amp;amp; A, \\&lt;br /&gt;
\quad u(t) &amp;amp;\in&amp;amp; [0,\, a] \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;p(t)&amp;lt;/math&amp;gt; is the tumor volume (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;), &amp;lt;math&amp;gt;q(t)&amp;lt;/math&amp;gt; is the endothelial carrying capacity (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;), and &amp;lt;math&amp;gt;y(t)&amp;lt;/math&amp;gt; is the cumulative inhibitor dose (mg/kg) administered up to time &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;.&lt;br /&gt;
The tumor dynamics follow the Gompertz law &amp;lt;math&amp;gt;\dot{p} = -\xi\,p\ln(p/q)&amp;lt;/math&amp;gt;, which models logistic-like growth bounded by the carrying capacity &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;.&lt;br /&gt;
The carrying capacity decreases due to natural endothelial cell loss (&amp;lt;math&amp;gt;\mu\,q&amp;lt;/math&amp;gt;), inhibitor-induced endothelial cell loss (&amp;lt;math&amp;gt;e\,u\,q&amp;lt;/math&amp;gt;), and stimulated shedding proportional to tumor surface area (&amp;lt;math&amp;gt;d\,p^{2/3}\,q&amp;lt;/math&amp;gt;), while increasing due to endothelial recruitment by the tumor (&amp;lt;math&amp;gt;b\,p&amp;lt;/math&amp;gt;).&lt;br /&gt;
The state &amp;lt;math&amp;gt;y(t)&amp;lt;/math&amp;gt; enforces the total-dose constraint &amp;lt;math&amp;gt;y(t_\mathrm{f}) \leq A&amp;lt;/math&amp;gt; as an isoperimetric inequality.&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;\xi&amp;lt;/math&amp;gt; || align=right | 0.084 || Tumor growth rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; || align=right | 5.85 || Endothelial birth rate coefficient (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; || align=right | 0.02 || Endothelial natural loss rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; || align=right | 0.00873 || Inhibition coefficient for endothelial shedding (mm&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt; day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; || align=right | 0.66 || Inhibitor effectiveness on endothelium (kg mg&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; || align=right | 75 || Maximum inhibitor dose rate (mg kg&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; || align=right | 15 || Maximum cumulative inhibitor dose (mg kg&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;p_0&amp;lt;/math&amp;gt; || align=right | 12000 || Initial tumor volume (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;q_0&amp;lt;/math&amp;gt; || align=right | 15000 || Initial endothelial carrying capacity (mm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 1.2 || Horizon of the control problem (days)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Reference Solutions ==&lt;br /&gt;
&lt;br /&gt;
Here is one local solution to the above control problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;Reference solution plots&amp;quot; widths=&amp;quot;500px&amp;quot; heights=&amp;quot;300px&amp;quot; perrow=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
 Image: Tumor_Anti_Angiogenesis.png | Tumor volume, carrying capacity, cumulative dose, and optimal inhibitor schedule for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The equilibrium &amp;lt;math&amp;gt;p^* = q^*&amp;lt;/math&amp;gt; corresponds to a tumor at maximum sustainable size.&lt;br /&gt;
Without treatment, &amp;lt;math&amp;gt;p(t)&amp;lt;/math&amp;gt; converges to this steady state.&lt;br /&gt;
Ledzewicz and Schättler [[#Ledzewicz|[3]]] characterise the optimal control using Pontryagin&#039;s minimum principle and show that the optimal policy consists of a sequence of full-dose (&amp;lt;math&amp;gt;u = a&amp;lt;/math&amp;gt;), no-dose (&amp;lt;math&amp;gt;u = 0&amp;lt;/math&amp;gt;), and singular arcs, depending on the initial conditions and remaining dose budget.&lt;br /&gt;
This formulation and detailed analysis can be found in [[#OCPjl|[1]]], [[#Hahnfeldt|[2]]], and [[#Ledzewicz|[3]]].&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&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Hahnfeldt&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Hahnfeldt, P., Panigrahy, D., Folkman, J., &amp;amp; Hlatky, L. (1999). Tumor development under angiogenic signaling: A dynamical theory of tumor growth, treatment response, and postvascular dormancy. &amp;lt;i&amp;gt;Cancer Research&amp;lt;/i&amp;gt;, 59(19), 4770–4775.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ledzewicz&amp;quot;&amp;gt;[3]&amp;lt;/span&amp;gt; Ledzewicz, U., &amp;amp; Schättler, H. (2007). Antiangiogenic therapy in cancer treatment as an optimal control problem. &amp;lt;i&amp;gt;SIAM Journal on Control and Optimization&amp;lt;/i&amp;gt;, 46(3), 1052–1079.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Biomedical model]]&lt;br /&gt;
[[Category:Singular arc]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=File:Ramsey_Growth.png&amp;diff=2932</id>
		<title>File:Ramsey Growth.png</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=File:Ramsey_Growth.png&amp;diff=2932"/>
		<updated>2026-09-03T11:44:20Z</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=Ramsey_Growth&amp;diff=2931</id>
		<title>Ramsey Growth</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Ramsey_Growth&amp;diff=2931"/>
		<updated>2026-09-03T11:44:06Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: Created page with &amp;quot;{{Dimensions |nd        = 1 |nx        = 1 |nw        = 1 }}  The &amp;#039;&amp;#039;&amp;#039;Ramsey growth problem&amp;#039;&amp;#039;&amp;#039; is a foundational benchmark in optimal control and macroeconomic theory. This description is taken from  [1].  First formulated by Frank Ramsey in 1928 [2] and later extended by Cass [3] and Koopmans [4], the problem determines the socially optimal path of capital accumulation and consumption for a representative household economy....&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 1&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Ramsey growth problem&#039;&#039;&#039; is a foundational benchmark in optimal control and macroeconomic theory. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
First formulated by Frank Ramsey in 1928 [[#Ramsey|[2]]] and later extended by Cass [[#Cass|[3]]] and Koopmans [[#Koopmans|[4]]], the problem determines the socially optimal path of capital accumulation and consumption for a representative household economy.&lt;br /&gt;
The single state is the capital stock per worker, and the single control is consumption per worker.&lt;br /&gt;
Capital accumulates through production (described by a Cobb–Douglas function), net of depreciation and consumption.&lt;br /&gt;
The objective is to maximise the present value of a stream of discounted utility of consumption over a finite horizon, which is equivalent to minimising its negative.&lt;br /&gt;
The resulting optimal trajectories converge towards a steady-state balanced growth path, and the problem serves as a standard test for indirect shooting methods and continuation techniques in optimal control.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \begin{array}{lll}&lt;br /&gt;
 \displaystyle \min_{c} &amp;amp;&amp;amp; -\int_0^{t_\mathrm{f}} e^{-\rho\, t}\, \frac{c(t)^{1-\sigma} - 1}{1 - \sigma}\, \mathrm{d}t \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{k}(t) &amp;amp;=&amp;amp; A\, k(t)^\alpha - (\delta + n)\, k(t) - c(t), \\&lt;br /&gt;
\quad k(0) &amp;amp;=&amp;amp; k_0, \\&lt;br /&gt;
\quad k(t) &amp;amp;\geq&amp;amp; 0 \quad \forall\, t \in [0, t_\mathrm{f}], \\&lt;br /&gt;
\quad c(t) &amp;amp;&amp;gt;&amp;amp; 0 \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;k(t)&amp;lt;/math&amp;gt; is capital per worker, &amp;lt;math&amp;gt;c(t)&amp;lt;/math&amp;gt; is consumption per worker,&lt;br /&gt;
&amp;lt;math&amp;gt;A\,k^\alpha&amp;lt;/math&amp;gt; is the Cobb–Douglas production function, and&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{c^{1-\sigma}-1}{1-\sigma}&amp;lt;/math&amp;gt; is the constant-relative-risk-aversion (CRRA) utility function.&lt;br /&gt;
As &amp;lt;math&amp;gt;\sigma \to 1&amp;lt;/math&amp;gt;, the CRRA utility converges to &amp;lt;math&amp;gt;\ln c&amp;lt;/math&amp;gt; (logarithmic utility).&lt;br /&gt;
The transversality condition at the terminal time is &amp;lt;math&amp;gt;e^{-\rho\,t_\mathrm{f}}\,k(t_\mathrm{f}) \geq 0&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;
{| 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;\rho&amp;lt;/math&amp;gt; || align=right | 0.05 || Pure rate of time preference (discount rate)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt; || align=right | 1.5 || Inverse of the intertemporal elasticity of substitution&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; || align=right | 0.33 || Capital share in production (Cobb–Douglas exponent)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\delta&amp;lt;/math&amp;gt; || align=right | 0.05 || Capital depreciation rate&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || align=right | 0.01 || Population (labour) growth rate&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; || align=right | 1 || Total factor productivity&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; || align=right | 0.5 || Initial capital per worker&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 100 || Horizon of the control problem&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: Ramsey_Growth.png | Optimal capital and consumption paths for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The steady-state capital stock &amp;lt;math&amp;gt;k^*&amp;lt;/math&amp;gt; satisfies &amp;lt;math&amp;gt;A\,\alpha\,(k^*)^{\alpha-1} = \rho + \sigma\,n + \delta&amp;lt;/math&amp;gt; (the modified golden rule).&lt;br /&gt;
The optimal consumption path satisfies the Euler equation&lt;br /&gt;
&amp;lt;math&amp;gt;\dot{c}/c = (\alpha A k^{\alpha-1} - \delta - \rho - \sigma n)/\sigma&amp;lt;/math&amp;gt;,&lt;br /&gt;
known as the Keynes–Ramsey rule.&lt;br /&gt;
The problem is solved analytically in the infinite-horizon limit and numerically for finite horizons using shooting or direct methods.&lt;br /&gt;
This formulation and further discussion can be found in [[#OCPjl|[1]]] and [[#Ramsey|[2]]].&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;OCPjl&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Caillau, J.-B., Cots, O., Gergaud, J., &amp;amp; Martinon, P. OptimalControlProblems.jl: a collection of optimal control problems with ODE&#039;s in Julia. https://github.com/control-toolbox/OptimalControlProblems.jl&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Ramsey&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Ramsey, F. P. (1928). A mathematical theory of saving. &amp;lt;i&amp;gt;The Economic Journal&amp;lt;/i&amp;gt;, 38(152), 543–559.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Cass&amp;quot;&amp;gt;[3]&amp;lt;/span&amp;gt; Cass, D. (1965). Optimum growth in an aggregative model of capital accumulation. &amp;lt;i&amp;gt;The Review of Economic Studies&amp;lt;/i&amp;gt;, 32(3), 233–240.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Koopmans&amp;quot;&amp;gt;[4]&amp;lt;/span&amp;gt; Koopmans, T. C. (1965). On the concept of optimal economic growth. &amp;lt;i&amp;gt;The Econometric Approach to Development Planning&amp;lt;/i&amp;gt;. North-Holland.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Economic model]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=File:SEIR_Epidemic.png&amp;diff=2930</id>
		<title>File:SEIR Epidemic.png</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=File:SEIR_Epidemic.png&amp;diff=2930"/>
		<updated>2026-09-03T11:43:20Z</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=SEIR_Epidemic&amp;diff=2929</id>
		<title>SEIR Epidemic</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=SEIR_Epidemic&amp;diff=2929"/>
		<updated>2026-09-03T11:43:09Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: Created page with &amp;quot;{{Dimensions |nd        = 1 |nx        = 4 |nw        = 1 }}  The &amp;#039;&amp;#039;&amp;#039;SEIR epidemic optimal control problem&amp;#039;&amp;#039;&amp;#039; is a classical benchmark in mathematical epidemiology and optimal control of biological systems. This description is taken from  [1].  It models the spread of an infectious disease through a homogeneous population divided into four compartments: susceptible (&amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;), exposed (&amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;), infectious (&amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;), and recovered (&amp;lt;math&amp;gt;R...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 4&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;SEIR epidemic optimal control problem&#039;&#039;&#039; is a classical benchmark in mathematical epidemiology and optimal control of biological systems. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
It models the spread of an infectious disease through a homogeneous population divided into four compartments: susceptible (&amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt;), exposed (&amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;), infectious (&amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;), and recovered (&amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt;).&lt;br /&gt;
The control represents a time-varying vaccination (or isolation) rate applied to the susceptible compartment.&lt;br /&gt;
The objective is to minimise a weighted combination of the cumulative infectious burden and the cost of the intervention over a finite horizon, yielding a trade-off between disease suppression and resource expenditure.&lt;br /&gt;
The problem is nonlinear and non-convex, and typically admits a singular arc structure in the optimal control.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \begin{array}{lll}&lt;br /&gt;
 \displaystyle \min_{u} &amp;amp;&amp;amp; \int_0^{t_\mathrm{f}} \Bigl[ A\, I(t) + \tfrac{1-A}{2}\, u(t)^2 \Bigr]\, \mathrm{d}t \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{S}(t) &amp;amp;=&amp;amp; -\beta\, S(t)\, I(t) - u(t)\, S(t), \\&lt;br /&gt;
\quad \dot{E}(t) &amp;amp;=&amp;amp; \beta\, S(t)\, I(t) - \sigma\, E(t), \\&lt;br /&gt;
\quad \dot{I}(t) &amp;amp;=&amp;amp; \sigma\, E(t) - \gamma\, I(t), \\&lt;br /&gt;
\quad \dot{R}(t) &amp;amp;=&amp;amp; \gamma\, I(t) + u(t)\, S(t), \\&lt;br /&gt;
\quad x(0) &amp;amp;=&amp;amp; (S_0,\; E_0,\; I_0,\; R_0)^T, \\&lt;br /&gt;
\quad u(t) &amp;amp;\in&amp;amp; [0,\, u_{\max}] \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x = (S, E, I, R)^T&amp;lt;/math&amp;gt;.&lt;br /&gt;
All compartments are fractions of the total population, so &amp;lt;math&amp;gt;S(t) + E(t) + I(t) + R(t) = 1&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;.&lt;br /&gt;
The term &amp;lt;math&amp;gt;-u(t)\,S(t)&amp;lt;/math&amp;gt; removes susceptible individuals through vaccination (or effective isolation), moving them directly to the recovered compartment at rate &amp;lt;math&amp;gt;u(t)\,S(t)&amp;lt;/math&amp;gt;.&lt;br /&gt;
The quadratic penalty &amp;lt;math&amp;gt;\tfrac{1-A}{2}\,u^2&amp;lt;/math&amp;gt; models the increasing marginal cost of intervention.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
These fixed values are used within the model:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- bgcolor=#c7c7c7&lt;br /&gt;
! Symbol !! Value !! Description&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; || align=right | 0.5 || Transmission rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt; || align=right | 0.2 || Progression rate from exposed to infectious (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; || align=right | 0.1 || Recovery rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; || align=right | 0.5 || Weight on infection burden vs. control cost&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;u_{\max}&amp;lt;/math&amp;gt; || align=right | 0.5 || Maximum vaccination/isolation rate (day&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;S_0&amp;lt;/math&amp;gt; || align=right | 0.99 || Initial susceptible fraction&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;E_0&amp;lt;/math&amp;gt; || align=right | 0.01 || Initial exposed fraction&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt; || align=right | 0 || Initial infectious fraction&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;R_0&amp;lt;/math&amp;gt; || align=right | 0 || Initial recovered fraction&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 100 || Horizon of the control problem (days)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Reference Solutions ==&lt;br /&gt;
&lt;br /&gt;
Here is one local solution to the above control problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;Reference solution plots&amp;quot; widths=&amp;quot;500px&amp;quot; heights=&amp;quot;300px&amp;quot; perrow=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
 Image: SEIR_Epidemic.png | Compartment trajectories and optimal vaccination rate for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The basic reproduction number for the uncontrolled SEIR model is &amp;lt;math&amp;gt;\mathcal{R}_0 = \beta/\gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
With the parameters above, &amp;lt;math&amp;gt;\mathcal{R}_0 = 5&amp;lt;/math&amp;gt;, corresponding to a highly transmissible pathogen.&lt;br /&gt;
The optimal control problem was studied in detail by Lenhart and Workman [[#Lenhart|[2]]], where necessary conditions via Pontryagin&#039;s minimum principle are derived and adjoint equations are solved numerically.&lt;br /&gt;
This formulation and further discussion can be found in [[#OCPjl|[1]]] and [[#Lenhart|[2]]].&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;OCPjl&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Caillau, J.-B., Cots, O., Gergaud, J., &amp;amp; Martinon, P. OptimalControlProblems.jl: a collection of optimal control problems with ODE&#039;s in Julia. https://github.com/control-toolbox/OptimalControlProblems.jl&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Lenhart&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Lenhart, S., &amp;amp; Workman, J. T. (2007). &amp;lt;i&amp;gt;Optimal Control Applied to Biological Models&amp;lt;/i&amp;gt;. CRC Press.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Epidemiological model]]&lt;br /&gt;
[[Category:Biological systems]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Brachistochrone&amp;diff=2928</id>
		<title>Brachistochrone</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Brachistochrone&amp;diff=2928"/>
		<updated>2026-09-03T11:42:35Z</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        = 3&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;brachistochrone problem&#039;&#039;&#039; (from Greek &#039;&#039;brachístos chrónos&#039;&#039;, &amp;quot;shortest time&amp;quot;) is one of the founding problems of the calculus of variations, and serves as a classical benchmark in optimal control. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
First posed by Johann Bernoulli in 1696 as a public challenge, the problem asks for the shape of a frictionless curve connecting two fixed points in a vertical plane such that a particle released from rest at the upper point reaches the lower point in minimum time under gravity.&lt;br /&gt;
As an optimal control problem, the system state consists of the horizontal position, vertical position, and speed of the particle, while the control is the instantaneous angle of the velocity vector with respect to the vertical.&lt;br /&gt;
The terminal time is free and is the quantity to be minimised.&lt;br /&gt;
The analytical solution is a cycloid, obtainable through Pontryagin&#039;s minimum principle or the classical Euler–Lagrange equations.&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,\, t_\mathrm{f}} &amp;amp;&amp;amp; t_\mathrm{f} \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}_1(t) &amp;amp;=&amp;amp; x_3(t)\,\sin(u(t)), \\&lt;br /&gt;
\quad \dot{x}_2(t) &amp;amp;=&amp;amp; x_3(t)\,\cos(u(t)), \\&lt;br /&gt;
\quad \dot{x}_3(t) &amp;amp;=&amp;amp; g\,\cos(u(t)), \\&lt;br /&gt;
\quad x(0) &amp;amp;=&amp;amp; (0,\; 0,\; 0)^T, \\&lt;br /&gt;
\quad x_1(t_\mathrm{f}) &amp;amp;=&amp;amp; x_{1,\mathrm{f}}, \\&lt;br /&gt;
\quad x_2(t_\mathrm{f}) &amp;amp;=&amp;amp; x_{2,\mathrm{f}}, \\&lt;br /&gt;
\quad u(t) &amp;amp;\in&amp;amp; \left[-\tfrac{\pi}{2},\, \tfrac{\pi}{2}\right] \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x_1(t)&amp;lt;/math&amp;gt; is the horizontal position, &amp;lt;math&amp;gt;x_2(t)&amp;lt;/math&amp;gt; is the downward vertical position, &amp;lt;math&amp;gt;x_3(t)&amp;lt;/math&amp;gt; is the speed of the particle, and &amp;lt;math&amp;gt;u(t)&amp;lt;/math&amp;gt; is the angle of the velocity vector measured from the downward vertical.&lt;br /&gt;
The speed dynamics follow from conservation of energy under gravity: &amp;lt;math&amp;gt;\dot{x}_3 = g\cos(u)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Note that &amp;lt;math&amp;gt;x_3(0) = 0&amp;lt;/math&amp;gt;, so the particle starts from rest.&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;g&amp;lt;/math&amp;gt; || align=right | 9.81 || Gravitational acceleration (m s&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_{1,\mathrm{f}}&amp;lt;/math&amp;gt; || align=right | 1 || Target horizontal position (m)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_{2,\mathrm{f}}&amp;lt;/math&amp;gt; || align=right | 1 || Target downward vertical position (m)&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: Brachistochrone.png | Optimal trajectory and control for the brachistochrone problem (cycloid solution).&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The analytical solution is a cycloid: the locus traced by a point on the rim of a circle rolling along a flat surface.&lt;br /&gt;
It can be parametrised as&lt;br /&gt;
&amp;lt;math&amp;gt;x_1(\theta) = r(\theta - \sin\theta)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_2(\theta) = r(1 - \cos\theta)&amp;lt;/math&amp;gt;,&lt;br /&gt;
where the radius &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is determined by the boundary conditions.&lt;br /&gt;
The brachistochrone problem is a standard example in textbooks on optimal control and the calculus of variations, and is used as a test case for direct transcription methods due to its free terminal time and the mild singularity at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt; where the speed vanishes.&lt;br /&gt;
This formulation and further discussion can be found in [[#OCPjl|[1]]] and [[#Bryson|[2]]].&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;OCPjl&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Caillau, J.-B., Cots, O., Gergaud, J., &amp;amp; Martinon, P. OptimalControlProblems.jl: a collection of optimal control problems with ODE&#039;s in Julia. https://github.com/control-toolbox/OptimalControlProblems.jl&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Bryson&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Bryson, A. E., &amp;amp; Ho, Y.-C. (1975). &amp;lt;i&amp;gt;Applied Optimal Control: Optimization, Estimation, and Control&amp;lt;/i&amp;gt;. Taylor &amp;amp; Francis.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Free terminal time]]&lt;br /&gt;
[[Category:Classical mechanics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=File:Brachistochrone.png&amp;diff=2927</id>
		<title>File:Brachistochrone.png</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=File:Brachistochrone.png&amp;diff=2927"/>
		<updated>2026-09-03T11:42:06Z</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=Brachistochrone&amp;diff=2926</id>
		<title>Brachistochrone</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Brachistochrone&amp;diff=2926"/>
		<updated>2026-09-03T11:41:56Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: Created page with &amp;quot;{{Dimensions |nd        = 1 |nx        = 3 |nw        = 1 }}  The &amp;#039;&amp;#039;&amp;#039;brachistochrone problem&amp;#039;&amp;#039;&amp;#039; (from Greek &amp;#039;&amp;#039;brachístos chrónos&amp;#039;&amp;#039;, &amp;quot;shortest time&amp;quot;) is one of the founding problems of the calculus of variations, and serves as a classical benchmark in optimal control. This description is taken from  [1].  First posed by Johann Bernoulli in 1696 as a public challenge, the problem asks for the shape of a frictionless curve connecting two fixed points in a vert...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 3&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;brachistochrone problem&#039;&#039;&#039; (from Greek &#039;&#039;brachístos chrónos&#039;&#039;, &amp;quot;shortest time&amp;quot;) is one of the founding problems of the calculus of variations, and serves as a classical benchmark in optimal control. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
First posed by Johann Bernoulli in 1696 as a public challenge, the problem asks for the shape of a frictionless curve connecting two fixed points in a vertical plane such that a particle released from rest at the upper point reaches the lower point in minimum time under gravity.&lt;br /&gt;
As an optimal control problem, the system state consists of the horizontal position, vertical position, and speed of the particle, while the control is the instantaneous angle of the velocity vector with respect to the vertical.&lt;br /&gt;
The terminal time is free and is the quantity to be minimised.&lt;br /&gt;
The analytical solution is a cycloid, obtainable through Pontryagin&#039;s minimum principle or the classical Euler–Lagrange equations.&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,\, t_\mathrm{f}} &amp;amp;&amp;amp; t_\mathrm{f} \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}_1(t) &amp;amp;=&amp;amp; x_3(t)\,\sin(u(t)), \\&lt;br /&gt;
\quad \dot{x}_2(t) &amp;amp;=&amp;amp; x_3(t)\,\cos(u(t)), \\&lt;br /&gt;
\quad \dot{x}_3(t) &amp;amp;=&amp;amp; g\,\cos(u(t)), \\&lt;br /&gt;
\quad x(0) &amp;amp;=&amp;amp; (0,\; 0,\; 0)^T, \\&lt;br /&gt;
\quad x_1(t_\mathrm{f}) &amp;amp;=&amp;amp; x_{1,\mathrm{f}}, \\&lt;br /&gt;
\quad x_2(t_\mathrm{f}) &amp;amp;=&amp;amp; x_{2,\mathrm{f}}, \\&lt;br /&gt;
\quad u(t) &amp;amp;\in&amp;amp; \left[-\tfrac{\pi}{2},\, \tfrac{\pi}{2}\right] \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x_1(t)&amp;lt;/math&amp;gt; is the horizontal position, &amp;lt;math&amp;gt;x_2(t)&amp;lt;/math&amp;gt; is the downward vertical position, &amp;lt;math&amp;gt;x_3(t)&amp;lt;/math&amp;gt; is the speed of the particle, and &amp;lt;math&amp;gt;u(t)&amp;lt;/math&amp;gt; is the angle of the velocity vector measured from the downward vertical.&lt;br /&gt;
The speed dynamics follow from conservation of energy under gravity: &amp;lt;math&amp;gt;\dot{x}_3 = g\cos(u)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Note that &amp;lt;math&amp;gt;x_3(0) = 0&amp;lt;/math&amp;gt;, so the particle starts from rest.&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;g&amp;lt;/math&amp;gt; || align=right | 9.81 || Gravitational acceleration (m s&amp;lt;sup&amp;gt;−2&amp;lt;/sup&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_{1,\mathrm{f}}&amp;lt;/math&amp;gt; || align=right | 1 || Target horizontal position (m)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_{2,\mathrm{f}}&amp;lt;/math&amp;gt; || align=right | 1 || Target downward vertical position (m)&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:Brachistochrone.png | Optimal trajectory and control for the brachistochrone problem (cycloid solution).&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The analytical solution is a cycloid: the locus traced by a point on the rim of a circle rolling along a flat surface.&lt;br /&gt;
It can be parametrised as&lt;br /&gt;
&amp;lt;math&amp;gt;x_1(\theta) = r(\theta - \sin\theta)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_2(\theta) = r(1 - \cos\theta)&amp;lt;/math&amp;gt;,&lt;br /&gt;
where the radius &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is determined by the boundary conditions.&lt;br /&gt;
The brachistochrone problem is a standard example in textbooks on optimal control and the calculus of variations, and is used as a test case for direct transcription methods due to its free terminal time and the mild singularity at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt; where the speed vanishes.&lt;br /&gt;
This formulation and further discussion can be found in [[#OCPjl|[1]]] and [[#Bryson|[2]]].&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;span id=&amp;quot;OCPjl&amp;quot;&amp;gt;[1]&amp;lt;/span&amp;gt; Caillau, J.-B., Cots, O., Gergaud, J., &amp;amp; Martinon, P. OptimalControlProblems.jl: a collection of optimal control problems with ODE&#039;s in Julia. https://github.com/control-toolbox/OptimalControlProblems.jl&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;span id=&amp;quot;Bryson&amp;quot;&amp;gt;[2]&amp;lt;/span&amp;gt; Bryson, A. E., &amp;amp; Ho, Y.-C. (1975). &amp;lt;i&amp;gt;Applied Optimal Control: Optimization, Estimation, and Control&amp;lt;/i&amp;gt;. Taylor &amp;amp; Francis.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Free terminal time]]&lt;br /&gt;
[[Category:Classical mechanics]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Battery_Storage&amp;diff=2925</id>
		<title>Battery Storage</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Battery_Storage&amp;diff=2925"/>
		<updated>2026-09-03T11:41:13Z</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        = 1&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;battery storage problem&#039;&#039;&#039; is a classical benchmark in optimal control for energy systems. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
It models the optimal operation of a grid-connected battery over a finite time horizon.&lt;br /&gt;
The single state is the energy stored in the battery (state of charge), and the single control is the net power flow.&lt;br /&gt;
Positive control corresponds to charging (energy flows into the battery from the grid), while negative control corresponds to discharging (energy flows from the battery to the grid).&lt;br /&gt;
The objective is to minimise the total electricity cost, given by the integral of the product of a time-varying price signal and the net power drawn from the grid, subject to capacity constraints on the stored energy and power limits on the control.&lt;br /&gt;
The optimal strategy is to charge when prices are low and discharge when prices are high, yielding an energy-arbitrage policy that exhibits bang–bang structure when there is no regularisation term.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \begin{array}{lll}&lt;br /&gt;
 \displaystyle \min_{u} &amp;amp;&amp;amp; \int_0^{t_\mathrm{f}} p(t)\, u(t)\, \mathrm{d}t \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp;=&amp;amp; u(t), \\&lt;br /&gt;
\quad x(0) &amp;amp;=&amp;amp; x_0, \\&lt;br /&gt;
\quad x(t_\mathrm{f}) &amp;amp;=&amp;amp; x_0, \\&lt;br /&gt;
\quad x(t) &amp;amp;\in&amp;amp; [0,\, E_{\max}] \quad \forall\, t \in [0, t_\mathrm{f}], \\&lt;br /&gt;
\quad u(t) &amp;amp;\in&amp;amp; [-P_{\max},\, P_{\max}] \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;p(t) = p_0 + \Delta p\,\sin\!\bigl(2\pi t / t_\mathrm{f}\bigr)&amp;lt;/math&amp;gt; is the electricity price at time &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;.&lt;br /&gt;
The cyclic boundary condition &amp;lt;math&amp;gt;x(t_\mathrm{f}) = x_0&amp;lt;/math&amp;gt; ensures that the battery returns to its initial state of charge at the end of the horizon.&lt;br /&gt;
Charging (&amp;lt;math&amp;gt;u &amp;gt; 0&amp;lt;/math&amp;gt;) incurs a positive cost &amp;lt;math&amp;gt;p(t)\,u(t) &amp;gt; 0&amp;lt;/math&amp;gt;, while discharging (&amp;lt;math&amp;gt;u &amp;lt; 0&amp;lt;/math&amp;gt;) generates revenue.&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;E_{\max}&amp;lt;/math&amp;gt; || align=right | 1 || Battery capacity (normalised)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;P_{\max}&amp;lt;/math&amp;gt; || align=right | 1 || Maximum charge/discharge power&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;p_0&amp;lt;/math&amp;gt; || align=right | 1 || Mean electricity price&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\Delta p&amp;lt;/math&amp;gt; || align=right | 0.5 || Price amplitude&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_0&amp;lt;/math&amp;gt; || align=right | 0.5 || Initial (and final) state of charge&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 1 || Length of the scheduling horizon&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:Battery_Storage.png | State of charge and optimal power schedule for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The battery storage optimal control problem arises in the operation of grid-scale energy storage, demand-response programs, and behind-the-meter storage systems.&lt;br /&gt;
When efficiency losses are incorporated (separate charging efficiency &amp;lt;math&amp;gt;\eta_c \in (0,1]&amp;lt;/math&amp;gt; and discharging efficiency &amp;lt;math&amp;gt;\eta_d \in (0,1]&amp;lt;/math&amp;gt;), the state equation becomes&lt;br /&gt;
&amp;lt;math&amp;gt;\dot{x} = \eta_c\,u^+ - u^-/\eta_d&amp;lt;/math&amp;gt;,&lt;br /&gt;
where &amp;lt;math&amp;gt;u^+ = \max(u,0)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u^- = \max(-u,0)&amp;lt;/math&amp;gt;, and the problem acquires a mixed-integer character that can be handled by complementarity constraints.&lt;br /&gt;
A detailed formulation and further discussion 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&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Energy systems]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=File:Battery_Storage.png&amp;diff=2924</id>
		<title>File:Battery Storage.png</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=File:Battery_Storage.png&amp;diff=2924"/>
		<updated>2026-09-03T11:40:38Z</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=Battery_Storage&amp;diff=2923</id>
		<title>Battery Storage</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Battery_Storage&amp;diff=2923"/>
		<updated>2026-09-03T11:40:17Z</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        = 1&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;battery storage problem&#039;&#039;&#039; is a classical benchmark in optimal control for energy systems. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
It models the optimal operation of a grid-connected battery over a finite time horizon.&lt;br /&gt;
The single state is the energy stored in the battery (state of charge), and the single control is the net power flow.&lt;br /&gt;
Positive control corresponds to charging (energy flows into the battery from the grid), while negative control corresponds to discharging (energy flows from the battery to the grid).&lt;br /&gt;
The objective is to minimise the total electricity cost, given by the integral of the product of a time-varying price signal and the net power drawn from the grid, subject to capacity constraints on the stored energy and power limits on the control.&lt;br /&gt;
The optimal strategy is to charge when prices are low and discharge when prices are high, yielding an energy-arbitrage policy that exhibits bang–bang structure when there is no regularisation term.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \begin{array}{lll}&lt;br /&gt;
 \displaystyle \min_{u} &amp;amp;&amp;amp; \int_0^{t_\mathrm{f}} p(t)\, u(t)\, \mathrm{d}t \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp;=&amp;amp; u(t), \\&lt;br /&gt;
\quad x(0) &amp;amp;=&amp;amp; x_0, \\&lt;br /&gt;
\quad x(t_\mathrm{f}) &amp;amp;=&amp;amp; x_0, \\&lt;br /&gt;
\quad x(t) &amp;amp;\in&amp;amp; [0,\, E_{\max}] \quad \forall\, t \in [0, t_\mathrm{f}], \\&lt;br /&gt;
\quad u(t) &amp;amp;\in&amp;amp; [-P_{\max},\, P_{\max}] \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;p(t) = p_0 + \Delta p\,\sin\!\bigl(2\pi t / t_\mathrm{f}\bigr)&amp;lt;/math&amp;gt; is the electricity price at time &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;.&lt;br /&gt;
The cyclic boundary condition &amp;lt;math&amp;gt;x(t_\mathrm{f}) = x_0&amp;lt;/math&amp;gt; ensures that the battery returns to its initial state of charge at the end of the horizon.&lt;br /&gt;
Charging (&amp;lt;math&amp;gt;u &amp;gt; 0&amp;lt;/math&amp;gt;) incurs a positive cost &amp;lt;math&amp;gt;p(t)\,u(t) &amp;gt; 0&amp;lt;/math&amp;gt;, while discharging (&amp;lt;math&amp;gt;u &amp;lt; 0&amp;lt;/math&amp;gt;) generates revenue.&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;E_{\max}&amp;lt;/math&amp;gt; || align=right | 1 || Battery capacity (normalised)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;P_{\max}&amp;lt;/math&amp;gt; || align=right | 1 || Maximum charge/discharge power&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;p_0&amp;lt;/math&amp;gt; || align=right | 1 || Mean electricity price&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\Delta p&amp;lt;/math&amp;gt; || align=right | 0.5 || Price amplitude&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_0&amp;lt;/math&amp;gt; || align=right | 0.5 || Initial (and final) state of charge&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 1 || Length of the scheduling horizon&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:Battery_Storage.png| State of charge and optimal power schedule for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The battery storage optimal control problem arises in the operation of grid-scale energy storage, demand-response programs, and behind-the-meter storage systems.&lt;br /&gt;
When efficiency losses are incorporated (separate charging efficiency &amp;lt;math&amp;gt;\eta_c \in (0,1]&amp;lt;/math&amp;gt; and discharging efficiency &amp;lt;math&amp;gt;\eta_d \in (0,1]&amp;lt;/math&amp;gt;), the state equation becomes&lt;br /&gt;
&amp;lt;math&amp;gt;\dot{x} = \eta_c\,u^+ - u^-/\eta_d&amp;lt;/math&amp;gt;,&lt;br /&gt;
where &amp;lt;math&amp;gt;u^+ = \max(u,0)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u^- = \max(-u,0)&amp;lt;/math&amp;gt;, and the problem acquires a mixed-integer character that can be handled by complementarity constraints.&lt;br /&gt;
A detailed formulation and further discussion 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&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Energy systems]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=Battery_Storage&amp;diff=2922</id>
		<title>Battery Storage</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=Battery_Storage&amp;diff=2922"/>
		<updated>2026-09-03T11:40:02Z</updated>

		<summary type="html">&lt;p&gt;RobertLampel: Created page with &amp;quot;{{Dimensions |nd        = 1 |nx        = 1 |nw        = 1 }}  The &amp;#039;&amp;#039;&amp;#039;battery storage problem&amp;#039;&amp;#039;&amp;#039; is a classical benchmark in optimal control for energy systems. This description is taken from  [1].  It models the optimal operation of a grid-connected battery over a finite time horizon. The single state is the energy stored in the battery (state of charge), and the single control is the net power flow. Positive control corresponds to charging (energy flows into...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Dimensions&lt;br /&gt;
|nd        = 1&lt;br /&gt;
|nx        = 1&lt;br /&gt;
|nw        = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;battery storage problem&#039;&#039;&#039; is a classical benchmark in optimal control for energy systems. This description is taken from [[#OCPjl | [1]]].&lt;br /&gt;
&lt;br /&gt;
It models the optimal operation of a grid-connected battery over a finite time horizon.&lt;br /&gt;
The single state is the energy stored in the battery (state of charge), and the single control is the net power flow.&lt;br /&gt;
Positive control corresponds to charging (energy flows into the battery from the grid), while negative control corresponds to discharging (energy flows from the battery to the grid).&lt;br /&gt;
The objective is to minimise the total electricity cost, given by the integral of the product of a time-varying price signal and the net power drawn from the grid, subject to capacity constraints on the stored energy and power limits on the control.&lt;br /&gt;
The optimal strategy is to charge when prices are low and discharge when prices are high, yielding an energy-arbitrage policy that exhibits bang–bang structure when there is no regularisation term.&lt;br /&gt;
&lt;br /&gt;
== Mathematical formulation ==&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \begin{array}{lll}&lt;br /&gt;
 \displaystyle \min_{u} &amp;amp;&amp;amp; \int_0^{t_\mathrm{f}} p(t)\, u(t)\, \mathrm{d}t \\[6pt]&lt;br /&gt;
 \text{subject to} \\&lt;br /&gt;
\quad \dot{x}(t) &amp;amp;=&amp;amp; u(t), \\&lt;br /&gt;
\quad x(0) &amp;amp;=&amp;amp; x_0, \\&lt;br /&gt;
\quad x(t_\mathrm{f}) &amp;amp;=&amp;amp; x_0, \\&lt;br /&gt;
\quad x(t) &amp;amp;\in&amp;amp; [0,\, E_{\max}] \quad \forall\, t \in [0, t_\mathrm{f}], \\&lt;br /&gt;
\quad u(t) &amp;amp;\in&amp;amp; [-P_{\max},\, P_{\max}] \quad \forall\, t \in [0, t_\mathrm{f}],&lt;br /&gt;
 \end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;p(t) = p_0 + \Delta p\,\sin\!\bigl(2\pi t / t_\mathrm{f}\bigr)&amp;lt;/math&amp;gt; is the electricity price at time &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;.&lt;br /&gt;
The cyclic boundary condition &amp;lt;math&amp;gt;x(t_\mathrm{f}) = x_0&amp;lt;/math&amp;gt; ensures that the battery returns to its initial state of charge at the end of the horizon.&lt;br /&gt;
Charging (&amp;lt;math&amp;gt;u &amp;gt; 0&amp;lt;/math&amp;gt;) incurs a positive cost &amp;lt;math&amp;gt;p(t)\,u(t) &amp;gt; 0&amp;lt;/math&amp;gt;, while discharging (&amp;lt;math&amp;gt;u &amp;lt; 0&amp;lt;/math&amp;gt;) generates revenue.&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;E_{\max}&amp;lt;/math&amp;gt; || align=right | 1 || Battery capacity (normalised)&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;P_{\max}&amp;lt;/math&amp;gt; || align=right | 1 || Maximum charge/discharge power&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;p_0&amp;lt;/math&amp;gt; || align=right | 1 || Mean electricity price&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;\Delta p&amp;lt;/math&amp;gt; || align=right | 0.5 || Price amplitude&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;x_0&amp;lt;/math&amp;gt; || align=right | 0.5 || Initial (and final) state of charge&lt;br /&gt;
|-&lt;br /&gt;
| align=center | &amp;lt;math&amp;gt;t_\mathrm{f}&amp;lt;/math&amp;gt; || align=right | 1 || Length of the scheduling horizon&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:BatteryStorage.png| State of charge and optimal power schedule for a reference solution.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous and Further Reading ==&lt;br /&gt;
The battery storage optimal control problem arises in the operation of grid-scale energy storage, demand-response programs, and behind-the-meter storage systems.&lt;br /&gt;
When efficiency losses are incorporated (separate charging efficiency &amp;lt;math&amp;gt;\eta_c \in (0,1]&amp;lt;/math&amp;gt; and discharging efficiency &amp;lt;math&amp;gt;\eta_d \in (0,1]&amp;lt;/math&amp;gt;), the state equation becomes&lt;br /&gt;
&amp;lt;math&amp;gt;\dot{x} = \eta_c\,u^+ - u^-/\eta_d&amp;lt;/math&amp;gt;,&lt;br /&gt;
where &amp;lt;math&amp;gt;u^+ = \max(u,0)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u^- = \max(-u,0)&amp;lt;/math&amp;gt;, and the problem acquires a mixed-integer character that can be handled by complementarity constraints.&lt;br /&gt;
A detailed formulation and further discussion 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&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ODE model]]&lt;br /&gt;
[[Category:Energy systems]]&lt;/div&gt;</summary>
		<author><name>RobertLampel</name></author>
	</entry>
	<entry>
		<id>https://mintoc.de/index.php?title=User:RobertLampel&amp;diff=2921</id>
		<title>User:RobertLampel</title>
		<link rel="alternate" type="text/html" href="https://mintoc.de/index.php?title=User:RobertLampel&amp;diff=2921"/>
		<updated>2026-09-03T11:39:50Z</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;li&amp;gt; https://mintoc.de/index.php/Battery_Storage&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Brachistochrone&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/SEIR_Epidemic&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Ramsey_Growth&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; https://mintoc.de/index.php/Tumor_Anti_Anginogenesis&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=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>
</feed>