Jump to content

LV Competitive: Difference between revisions

From mintOC
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Dimensions
{{Dimensions
|nd        = 1
|nd        = 1
|nx        = 3
|nx        = 2
|nw        = 1
|nw        = 1
}}
}}


This '''Lotka Volterra problem with explicit inclusion of a shared resource''' is a variant of the [[:Lotka Volterra fishing problem]]. Its dynamics are given via a three-dimensional [[:Category:ODE model|ODE model]].  
This '''Competitive Lotka Volterra problem''' is a variant of the [[:Lotka Volterra fishing problem]]. Its dynamics are given via a two-dimensional [[:Category:ODE model|ODE model]].  


== Mathematical formulation ==
== Mathematical formulation ==
Line 14: Line 14:
<math>
<math>
\begin{array}{llclr}
\begin{array}{llclr}
  \displaystyle \min_{u} & \int_0^{t_f} && (x_0(t) - 1)^2 + (x_1(t) - 1)^2 + (x_2(t) - 1)^2 \ dt \\[1.5ex]
  \displaystyle \min_{u} & \int_0^{t_f} && (x_0(t) - 1)^2 + (x_1(t) - 1)^2 \ dt \\[1.5ex]
  \mbox{s.t.}  
  \mbox{s.t.}  
  & \dot{x}_0(t) & = &  x_0(t) \left(1 - \frac{x_0(t) + \alpha x_1(t)}{K} \right) - c_1 x_0(t) u(t), \\
  & \dot{x}_0(t) & = &  x_0(t) \left(1 - \frac{x_0(t) + \alpha x_1(t)}{K} \right) - c_1 x_0(t) u(t), \\
  & \dot{x}_1(t) & = &  x_1(t) + \left(1 - \frac{x_0(t) + x_1(t)}{K} \right) - c_2 x_1(t) u(t),  \\[1.5ex]
  & \dot{x}_1(t) & = &  x_1(t) \left(1 - \frac{x_0(t) + x_1(t)}{K} \right) - c_2 x_1(t) u(t),  \\[1.5ex]
  & x(0) &=& x_0, \\
  & x(0) &=& x_0, \\
  & u(t) &\in& [0,1], \\
  & u(t) &\in& [0,1], \\
Line 31: Line 31:
<math>
<math>
\begin{array}{rcl}
\begin{array}{rcl}
[t_0, t_f] &=& [0, 20],\\
[t_0, t_f] &=& [0, 40],\\
(c_{1}, c_{2}) &=& (0.1, 0.4),\\
(c_{1}, c_{2}) &=& (0.1, 0.4),\\
x_0 &=& (0.5, 1.5) \text{ or } (1.5, 0.5),\\
x_0 &=& (0.5, 1.5) \text{ or } (1.5, 0.5),\\
Line 41: Line 41:
== Reference Solutions ==
== Reference Solutions ==


<gallery caption="Reference solution plots" widths="180px" heights="140px" perrow="2">
<gallery caption="Reference solution plots" widths="400px" heights="240px" perrow="2">
  Image:LV_Shared_init_1.png| Local optimum a direct approach for start values <math>x_0 = (1.5, 0.5, 1)</math>.
  Image:LV_Comp_init_1.png| Local optimum for a direct approach and start values <math>x_0 = (0.5, 1.5)</math>.
  Image:LV_Shared_init_2.png| Local optimum a direct approach for start values <math>x_0 = (1.5, 1, 0.5)</math>.
  Image:LV_Comp_init_2.png| Local optimum for a direct approach and start values <math>x_0 = (1.5, 0.5)</math>.
</gallery>
</gallery>



Latest revision as of 10:05, 29 January 2026

LV Competitive
State dimension: 1
Differential states: 2
Discrete control functions: 1


This Competitive Lotka Volterra problem is a variant of the Lotka Volterra fishing problem. Its dynamics are given via a two-dimensional ODE model.

Mathematical formulation

The optimal control problem is given by

minu0tf(x0(t)1)2+(x1(t)1)2 dts.t.x˙0(t)=x0(t)(1x0(t)+αx1(t)K)c1x0(t)u(t),x˙1(t)=x1(t)(1x0(t)+x1(t)K)c2x1(t)u(t),x(0)=x0,u(t)[0,1],α>1.

Parameters

These fixed values are used within the model.

[t0,tf]=[0,40],(c1,c2)=(0.1,0.4),x0=(0.5,1.5) or (1.5,0.5),α=1.2K=1.8.

Reference Solutions