Stochastic tumor-immune interaction model with external treatments and time delays: An optimal control problem

: Herein, we discuss an optimal control problem (OC-P) of a stochastic delay di ff erential model to describe the dynamics of tumor-immune interactions under stochastic white noises and exter-nal treatments. The required criteria for the existence of an ergodic stationary distribution and possible extinction of tumors are obtained through Lyapunov functional theory. A stochastic optimality system is developed to reduce tumor cells using some control variables. The study found that combining white noises and time delays greatly a ff ected the dynamics of the tumor-immune interaction model. Based on numerical results, it can be shown which variables are optimal for controlling tumor growth and which controls are e ff ective for reducing tumor growth. With some conditions, white noise reduces tumor cell growth in the optimality problem. Some numerical simulations are conducted to validate the main results.


Introduction
Cancer is one of the most dangerous diseases in the world, and it affects both developing and developed nations.According to the World Health Organization, cancer is a prominent contributor to global mortality, with approximately 10 million deaths recorded in the year 2020 [1].Through a multi-step or multifaceted process, cancer arises when normal cells turn into cancerous cells.It usually progresses from a pre-cancerous lesion to a fully cancerous cell.In this multistep mechanism, various genetic and molecular changes accumulate over time, ultimately leading to cancer.These transformations are the consequence of the interaction among a person's genetic circumstances and three classifications of external forces, such as physical, chemical and biological carcinogens [2].An early diagnosis of can-cer increases the likelihood of a favorable response to effective treatment, leading to a higher survival rate, reduced morbidity, and a more cost-effective treatment option.One of the most important and challenging questions is to understand cancer biology and how to treat it effectively.Therefore, many researchers have put time and efforts in creating and improving an efficient medication.Additionally, identifying the methods to support the patient improve their natural immunity that implement them to fight against tumor cells.
Sophisticated mathematical models are necessary to accurately depict the intricate interplay between tumor cells and the immune system.Different mathematical models have been investigated and analyzed to recognize tumor-immune dynamics [3][4][5][6][7][8][9][10][11][12][13].In [14], Kirschner and Panetta introduces the tumor-immune interaction model of three types of cell populations in vitro.The interaction between effector cells and tumor cells was mathematically modeled by Kuznetsov et al. [15] in one of the earliest proposals of such a model.An optimal control problem (OC-P) is typically formulated as a mathematical optimization problem, in which the objective is to find the control trajectory that minimizes or maximizes the cost function while satisfying any constraints on the state variables or control inputs of the system [16,17].According to Rihan et al. [18] a study was carried out using an OC-P model for a delay differential model to examine tumor-immune interactions under immuno-chemotherapy.
In actuality, deterministic models are not adequate to describe the dynamic process of the proliferation of cancer cells.Research has been conducted in this instance to amplify the deterministic models to stochastic counterpart [19][20][21][22][23][24].Tumor-immune interactions are extremely complex, so it makes sense to include noise on the tumor-immune system in order to take into account a variety of relevant phenomena.An example of this may be variations in the intensity of neoantigens that stimulate the immune response, or changes in the expression of molecules that activate T cells; see [22,23,25].As a result of the significant uncertainty inherent in the treatment process, authors in [26][27][28] modified the deterministic model to incorporate stochastic factors, such as variations in cellular reproduction and death rates, changes in the immune system's ability to fight tumor cells, and fluctuations in chemotherapy efficacy.In addition, the tumor-immune interaction model illustrates a delay between an immune response and a subsequent response by cancer cells [29].A delay may affect the stability of the system, resulting in instability or bifurcation.In order to formulate effective therapies, it is crucial to understand how time-delays play a role in tumor-interaction models [29].
Up to the best of authors' knowledge, few studies have been conducted so far in tumor-immune interactions with stochastic noises and time delays involving immunological boosts and chemotherapeutic treatment therapies.There is very little research relating stochastic models to interacting cells in cancer dynamics [30,31].Drawing motivation from the aforementioned research studies, this paper attempts to investigate the impact of two time-delays and stochastic white noises on both the dynamics and optimal control performance of a model representing the interaction between tumors and the immune system.We provide a stochastic optimal control problem to reduce tumor growth and reduce the load tumors and increase the size of effector cells.
This paper is structured as follows: Section 2 introduces a stochastic tumor-immune model with external treatments and time delay.Section 3 discusse the time-delayed stochastic model's global positive solution.The stationary distribution and extinction of tumor cells are discussed in Section 4. Section 5 examines the OC-P governed by the stochastic model using the stochastic maximal criterion.Section 6 presents numerical simulations incorporating various stochastic perturbations in order to validate the theoretical findings.Our conclusion is presented in Section 7.

Preliminaries:
Here, we provide some preliminaries for the discussion that follows.
Assume that Ω, M, {M} t≥0 , P is a complete probability space with a filtration {M t } t≥0 that meets the usual criteria.It is continuous with the right-hand side and M 0 contains all P-null sets.
Assume Z(t) is a regular time-homogeneous Markov process in C([−τ, 0]; R m + ) and satisfies the following stochastic delay differential equation: with the initial value . W(t) stands for the m-dimensional standard Brownian motion defined on the complete probability space Ω, M, {M} t≥0 , P .Diffusion matrix Z(t) is then defined as follows: In order to have a nonnegative Lyapunov function V(Z t , t), it must be continuously twice differentiable in ) and once differentiable in t.Reference [21] defines the differentiable operator L of (1.1).

Stochastic model for tumor-immune interactions with external treatments
Stochastic perturbations can influence the activation of immune cells, and it can affect the immune system's ability to detect and eliminate tumor cells.In addition, environmental fluctuations can impact the response to anti-cancer treatments, including immunotherapies.These perturbations can affect treatment efficacy, resistance development and long-term outcomes.First, we modify Kirschner and Panetta's model [14] which describes the dynamics of the activated effector cells E(t), tumor cells T (t) and Interleukin-2 (IL-2) cells I(t), with time delays τ 1 and τ 2 .IL-2 plays a crucial role in regulating immune responses and promoting T cell proliferation and survival, it is also essential for generating effector and memory T cells.We consider the following assumptions: (i) The Lotka-Volterra form represents cell interaction.(ii) The cancer cells are eradicated by the effector cells, while the IL-2 level increases as competition between tumor cells and effector cells increases.(iii) Two distinct time-delays are incorporated, τ 1 and τ 2 .The modified model takes the form with the initial conditions the rate of loss of IL-2 cells.0.055 [20] Most biological phenomena are characterized by random fluctuations, particularly variations in the intensity of neoantigens that trigger immune responses or the expression of molecules that activate T cells.Due to the complexity of the interaction between tumor cells and immune effectors, noise related to the tumor-immune system is justified.Since tumor-immune cells may have small populations, the impact of random fluctuations is significant.To investigate the impact of stochastic fluctuations within a deterministic model, there are primarily two methodologies [32][33][34][35].One or more relevant parameters can be substituted with their stochastic counterparts in a deterministic model.In this process, white or colored noises are introduced to the deterministic parameters to introduce stochastic perturbations.Alternatively, it is possible to introduce a stochastic driving force directly into the deterministic model instead of modifying specific parameters.In the current study, we adopt the second alternative approach, wherein we assume the occurrence of stochastic perturbations in the variables, throughout the boundary and the interior equilibrium point.The perturbations are assumed to follow a white noise distribution, whose magnitude is proportional to the distances between equilibrium values E(t), T (t), and I(t).The model structure is as follows: with initial conditions (2.3) ) stand for the independent Brownian motions that are stated on a complete probability space Ω, M, {M} t≥0 , P with a filtration {M t } t≥0 satisfying the usual conditions and M 0 contains all P-null sets.Let R + = (0, +∞), R m + = (y 1 , y 2 , . . ., y m ) ∈ R m |y p > 0, p = 1, 2, . . ., m , H i = H i (E, I, T ), (i = 1, 2, 3) are locally Lipschitz-continuous functions, such that H i has the following forms: • In the first form R 1 : H 1 = E, H 2 = T , and H 3 = I, i.e., the environmental impact on the cell described by stochastic perturbation [36].• In the second form R 2 : H 1 = E − E 0 , H 2 = T − T 0 , and H 3 = I − I 0 , where S = (E 0 , T 0 , I 0 ) is the equilibrium point of (2.1), which investigates the behavior of stochastic perturbations around the equilibrium point [37].
When examining the dynamics of the proposed system, the positivity of the solution is of primary importance.The following section provides a detailed analysis of the solution's positivity.

Global positive solution
Here, we examine the global positivity criteria pertaining to the model (2.2) of the interaction between tumor and immune cells.In order to determine the positivity of the solutions of model (2.2), it is necessary to consider the Banach space C = C [−τ, 0] , R 3  + , which has continuous functions that map the interval [−τ, 0] into R 3 + with topological uniform convergence, where, The following two theorems demonstrate that the stochastic model can have a positive global solution (2.2) with forms R 1 and R 2 .
Proof.For any initial condition (E 0 , T 0 , I 0 ) ∈ R 3 + , as the coefficients of system (2.2) satisfy the local Lipschitz condition, so system (2.2) has a unique local solution (E(t), T (t), I(t))ont ∈ [−τ, τ e ) almost surely, where τ e stands for the explosion time.The target is to show that this solution is global i.e. τ e = ∞ with probability one.Assume c 0 ≥ 1 to be sufficiently large such that One needs to show that τ ∞ = ∞ with probability one, then τ e = ∞ a.s. and (E(t), T (t), I(t)) ∈ R 3 + for all t ≥ −τ.When it is incorrect, there is a pair ι ∈ (0, 1) and T > 0 such that P{τ ∞ ≤ T } > ι.Hence, there is an integer By employing the Lyapunov functional methodology, it can be observed that the system represented by Eq (2. 2) exhibits the presence of a positive solution that is global in nature.Thus, we define a Applying It ô's formula to G(E, T, I), we get where and N > 0 is a constant which is independent of E(t), T (t), I(t).Thus, Integrating (3.4) from 0 to τ c ∧ T = min{τ c , T } and then taking the expectation E on both sides, we get Let Ω c = {τ c ≤ T }, for c ≥ c 1 and in view of (3.1), we obtain P(Ω c ) ≥ ι such that, for every ω ∈ Ω c , there is at least one of E(τ c , ω), T (τ c , ω) , or I(τ c , ω) equaling either c or 1 c , and then one obtains In view of (3.5), we have where 1 Ω c stands for the indicator function of Ω c .As c → ∞, we have ∞ > EG(E(0), T (0), I(0))+N T = ∞, which leads to a contradiction.Thus, it can be concluded that τ ∞ = ∞ with probability one, which proves the theorem.□ Theorem 3.2.There exists a unique solution (E(t), T (t), I(t)) of tumor-immune model (2.2) with form R 2 , for all t ≥ −τ, where τ = max{τ 1 , τ 2 }, and any initial condition Proof.Herein, we establish a C 2 -function U(E, T, I) : R 3 + → R + as follows: Applying It ô's formula to U(E, T, I), one obtains Therefore, LU(E, T, I) : R 3 + → R + is as follows: The remainder of the proof closely resembles the proof of Theorem 3.1.□

Stationary distribution and extinction
The objective of this section is to establish adequate criteria for the presence of a unique ergodic stationary distribution.
For each t ≥ 0, and probability measure µ on (C([−τ, 0]; In order to analyze the existence of the stationary distribution of the SDDE system (2.2), it is enough to take m = 3.For the stochastic model (2.2), the threshold parameter is defined as follows: ) Theorem 4.1.The tumor-immune model (2.2) admits a stationary distribution π(.) if T0 > 1 for any initial conditions (2.3).
Proof.According to Theorem 3.1, it has been established that there is a unique solution (E(t), T (t), I(t)) ∈ R 3 + on t ≥ −τ for (2.2) for any given initial values (2.3).Thus, Step 1 : The diffusion matrix of stochastic delayed tumour immune model (2.2) is Let X be any bounded domain in R 3 + , then there exists a positive constant + .This implies that the smallest eigenvalue of the diffusion matrix Π(E, T, I) is bounded away from zero.
Select a constant Q > 0 large enough such that where Ω = (r By the application of It ô's formula to F 1 , the resulting expression is obtained as: In the same manner, we can get From Eqs (4.6) and (4.7), one gets Let us define a bounded closed set for any value of ϵ > 0 To enhance intuitiveness, we divide R 3 + \ Z = ∪ 6 i=1 Z i , into the following six regions: To prove L F ≤ −1 for any (E, T, I) ∈ R 3 + \ Z = ∪ 6 i=1 Z i , we consider six cases as follows: C.I: For any (E, T, I) from Eq (4.4) and choosing ϵ ≤ 1 Qrβ .
C.VI.For any (E, T, I) This implies that if the solution Z(t) = (E(t), T (t), I(t)) ∈ R 3 + /Z of the stochastic system (2.2), the mean times τ 1 &τ 2 at which the path issuing from Z(t) reaches the set Z is finite for every compact subset X ⊂ R ) < 0, a.s.(4.17) In other terms, T (t) approaches zero exponentially almost surely, such that the tumor will be completely eradicated from the community with unit probability.
Proof.In order to prove the theorem, we will utilize the method of direct integration on the stochastic tumor-immune model system (2.2).Firstly, we will utilize It ô's formula to derive the second equation of model (2.2).This yields the following result: On the integration of relation (4.18) over the interval 0 to t and subsequent division by t, the resulting expression is obtained as follows: ln We can conclude that based on the strong law of large numbers of Brownian motion [21], By computing the limit superior of each side of the equation and since r < It means that whenever T (t) goes to zero exponentially with probability one, then lim t→∞ T (t) = 0 a.s.
The proof is completed here.□

Formulation of treatment as an optimal control-problem
In this section, we explore the dynamics outlined in Eq (2.2) in the context of two distinct agents: an immune boost agent labeled ϑ 1 and a chemotherapeutic agent labeled ϑ 2 .Like Paclitaxel, the first agent is commonly regarded as cytotoxic or apoptotic.In contrast, the second agent is viewed as a form of rudimentary immunotherapy, which involves the application of an interleukin-derived drug to stimulate the immune system.We aim to gain a deeper understanding of how different agents can be used to control and manage tumor growth within the immune system, to identify the most effective combination therapy strategies, and to gain insights into the efficacy of biotherapy and immune boosts.The tumor-immune model (2.2) can be described as follows: (5.1) We assume that the initial conditions for system (5.1)satisfy (5.2) To facilitate clarity in our explanation, we shall establish a vector with the initial conditions where, f (•, •, •) and g(•, •, •) are two vectors, each of which has components such that and Our goal is to minimize the number of tumor cells.As a result, the quadratic cost function is proposed and defined as follows: where K i , S i and b i , for i = 1, 2, 3 are positive constants.The aim of this section is to find an optimal control ϑ * (t) = [ϑ * 1 (t), ϑ *

(t)]
′ that possesses the following property: where, the control set is denoted by the set U and is defined as follows: where, ϑ max i ∈ R + are constants.Before applying the stochastic maximal criterion, it is necessary to determine the Hamiltonian H m (p, q, ϑ, x) such that H m (p, q, ϑ, x) = ⟨g(x), q⟩ − l(x, ϑ) + ⟨ f (x, ϑ), p⟩, ( where ⟨., .⟩represents the inner product in the Euclidean space; the vector fields ⟨ f (x, ϑ), p⟩, ⟨g(x), q⟩ and l(x, ϑ) are continuous functions on the inner product and continuously differentiable with repect to the state variable and the time variable; p = [p 1 , p 2 , p 3 ] ′ and q = [q 1 , q 2 , q 3 ] ′ refers to the two different sets of adjoint variables that are independent of one another.By employing a similar maximum criterion approach, we find: where, the state x * (t) denotes the optimal trajectory followed by x(t).The initial condition at time t = 0 for the state variables and the final condition (t = t f ) for the adjoint variables p(t) of Eqs (5.10) and (5.11) are as follows: respectively.The optimal value of the control variable ϑ * can be expressed as a function of the adjoint variables p, q, and state x * , as demonstrated by Eq (5.12): ϑ * (t) = ϕ(x * , q, p), (5.13)where the value of ϕ is determined by Eq (5.12).Thus, the Hamiltonian is represented by: (5.14) Thus, we have where The Pontryagin maximum principle yields the adjoint system: where, In addition to the condition of p i (t f ) = 0 at the final time t f , it holds true for values of i = 1, 2, 3. Similarly, the supplementary initial and final conditions are: (5.18) Thus, the Hamiltonian function calculates the partial derivatives of ϑ 1 and ϑ 2 , respectively; we get the following characterization of the OC ϑ * 2 = max min 1, (5.20) Remark 5.1.In ODEs/DDEs, time is continuous and the control inputs are typically continuous functions of time.The presence of randomness in stochastic differential equations (SDEs) makes optimal control more challenging, as the control input is required to account for the inherent uncertainty.In SDEs, optimal control policies may be stochastic, i.e., probability distributions over control inputs, rather than deterministic functions of time.
The following section pertains to the numerical simulation of outcomes derived from a stochastic optimal control problem.

Numerical simulations
In this section, numerical simulations are conducted to validate the main results derived previously.The results are validated through numerical simulations utilizing Milstein's higher order method [39], which exhibits a strong order of convergence one.This method is employed to numerically solve the stochastic model (2.2).Subsequently, the discretization system that corresponds to the aforementioned method is obtained.
where the mutually independent N(0, 1) random variables are denoted by χ 1,n , χ 2,n and χ 3,n , the integers m 1 and m 2 make the time-delays τ 1 and τ 2 to be represented with the step size h, with τ 1 = m 1 h and τ 2 = m 2 h, respectively.

E(t) T(t) I(t)
Figure 3.The model (2.2)'s numerical simulations demonstrate that the system exhibits a distinct ergodic stationary distribution in cases where the tumor is persistent and T0 exceeds 1, with ν i values of 0.001 for i=1, 2 and 3.
Consider the initial conditions of the system (2.2) as E(0) = 3.8, T (0) = 1.0,I(0) = 0.5, and the parameters are presented in Table 1.For the following numerical results, the time unit is days.
Based on the parameter values taken from Table 1, Figure 1 displays the phase and time figures of the system (2.1).Theorem 7.1 states that system (2.1) has a unique equilibrium point that is locally asymptotically stable.Figure 1(a) illustrates that all trajectories converge towards the equilibrium point S * = (E * , T * , I * ). Figure 1(b) illustrates that the sizes of three distinct cell types remain constant following a period of fluctuation.
Figure 2 shows the simulations results of (E(t), T (t), I(t)) for stochastic model (2.2) with its corresponding deterministic model (2.1).According to Theorem 4.1 and Figure 3, the tumor size T (t) in the system (2.2) is persistent.It demonstrates that the model has a unique stationary distribution and that the disease is chronic, resulting in relatively low white noise intensities where T0 > 1, where the white noise disturbance level of system states is ν i = 0.001, i = 1, 2, 3.The solution of system (2.2) approaches equilibrium S * and is stochastic asymptotically stable, as can be seen in Figure 3.
The efficacy of cancer treatments may vary from patient to patient or even within a single patient over time.When this variability is taken into account, white noise can be introduced into the model.A stochastic model refers to white noise as random fluctuations or variability.Different factors can cause it, and increasing the white noise levels can have interesting effects on the system's dynamics, such as accelerating tumor cell death.Increasing white noise in a model can be caused by external factors that introduce randomness or fluctuations into the environment.
Tumor growth can be influenced by fluctuations in nutrient availability, temperature, or oxygen levels, for example in Figure 4, we simulate the stochastic model (2.2) with different white noise levels.The results in Theorem 4.2 are validated when the white noise level is increased (see Figure 4(b)).As shown in Figure 4(a), the effector cells increase with the level of white noise.As shown in Figure 5(a), the histogram represents the population of tumor cells under the influence of white noise disturbance intensities ν 2 = 0.02.On the other hand, Figures 5(b),(c) illustrate that tumor cell population decreases as noise disturbance intensities increase, as ν 2 = 0.1 and ν 3 = 0.15, respectively.
The graphical findings in Figure 6 demonstrate the biological importance of delay parameters.It is possible to compare tumor immune interactions with different delays based on these results.There is a significant correlation between delays and stochastic tumor immune system as shown in Figure 6.Compared to the model with time delay τ 1 = 0.4, τ = 0.38 with a small value of delay (τ 1 = 0.05,    τ 2 = 0.1), the plot of model (2.2) with small value of delay (τ 1 = 0.05, τ 2 = 0.1) displays a significant deviation.Thus, delays significantly impact the analysis of stochastic tumor immune interactions' dynamic characteristics.
OC is an essential mechanism in mathematical modeling that targets to figure out the best appropriate control procedure for a given system, based on particular constraints.Therefore, OC can be used to outline medication protocols that minimize the growth of tumors and maximize the stimulating of the immune system, while considering the random fluctuations that arise in biological processes.To numerically solve the stochastic OC-P: • Discretize the stochastic model with time-delays using a numerical scheme such as Milstein's higher order method.• Carry out the forward simulations which includes the discretized stochastic model, with a particular set of control variables.• Include computing the objective function at every step of the forward approximation.
• Execute the backward approximation by including the adjoint system in order to find the gradient of the objective function with regard to the input variables.• Applying an optimization method, such as the stochastic approximation scheme, to minimize the objective function based on the system solutions and control constraints, and then modify the control inputs accordingly.
The numerical simulations of the optimal control problem (5.1), along with the adjoint equation (5.17) and the characterization of the optimal control (5.19), (5.20), are presented graphically.According to Table 1, the graphic outcomes of an optimal control problem were obtained by comparing them with the results of a scenario without a control system.Figure 7 shows that the controls employed are highly effective in eliminating the disease.Figure 7(a)-(f) illustrate the time evolution of effector, tumor, and IL-2 cells without and with controls ϑ 1 and ϑ 2 .Figure 7(a)-(f) demonstrate the efficacy of the implemented controls in reducing the number of tumor cells and maximizing the number of effector cells.In the absence of chemotherapy and an immune boost, the tumor cell population exhibits an increasing trend over time, whereas the presence of treatment helps the immune system's ability to regulate the proliferation of tumor cells.Evidently, as the immune boost and chemotherapeutic agent are enhanced, there is a corresponding rise in effector cells.In contrast, tumor cells lead to their decline and eventual extinction.Meanwhile, IL-2 cells tend to return to baseline levels.

Concluding remarks
Tumor modeling requires understanding the effects of environmental changes such as changes in nutrient availability, temperature, and oxygen levels on tumor-immune interactions.By incorporating discrete time-delay parameters and multiplicative white noise terms, the current work investigates the dynamical behavior of tumor-immune interactions with external treatments.The influence of environmental noises on the persistence and possible extinction of tumor cells has been studied under circumstances where the intensity of randomly varying driving forces is extremely diverse.A combination of white noises and time delays greatly affected the dynamics of the tumor-immune interaction model.It has been seen that, the presence of stochastic perturbations with a relatively small scale of white noise, tumor cells oscillate within a wide range of values, whereas large noises can lead to the eradication of the tumor cells.
To minimize tumor cells and maximize effector cells and IL-2 concentration, control variables are included in the stochastic model.An optimal control problem has been investigated to manage tumor growth and identify the most effective combination therapy strategies, and gain insights into the efficacy of biotherapy and immune boosts.Numerical results demonstrate optimality in the control variables and the effectiveness of introducing additional controls to reduce the growth of tumor cells.As a result of the presence of white noise in the optimality problem, tumor growth can be reduced.
A color-coded noise, such as telegraph noise, can be described as a random switch between two or more regimes of environmental influence on tumor immune response [40].Future studies will examine how regime switching affects tumor cells, effector cells, and IL-2 cells.A sensitivity analysis can also be used to analyze tumor-free steady-state stability under small parameter variations.

Use of AI tools declaration
The authors declare they have not used Artificial Intelligence (AI) tools in the creation of this article.

Appendix: Equilibrium states and dynamics of deterministic model (2.1)
The equilibrium states of the system (2.1) are: (a) The tumor-free steady state S * * , refers to a condition in which the population of tumor cells is absent, while the normal cells stay healthy: (b) The tumor-infection steady state S * : where the T * represents the positive solutions of the below equation: In order to analyze the stability of the equilibrium states, it is common practice to linearize the system around the equilibrium states and determine the Jacobian matrices.Currently, our focus is only on examining the stability of the equilibrium point in the presence of a tumor.The Jacobian matrix ∆ S * (E * , T * , I * ) is obtained in order to determine the eigenvalues of the system (2.1).Following some calculations, the characteristic equation of (7.1) is obtained: where, Based on the Routh-Hurwitz criterion, all the eigenvalues of the characteristic equation Det(∆ S * ) = 0 have negative real parts if the following conditions hold: Therefore, it can be concluded that the asymptotic stability of the system (2.1) is achieved in the equilibrium state S * , when Assume that the pure imaginary root λ = iθ, θ > 0. Then applying the λ = iθ into (7.5) and separating its real and imaginary parts, we have  If the condition (C 3 )r 5 < 0 is satisfied, given that dF (ω) dω > 0 ∀ω > 0, it can be concluded that Eq (7.20) possesses at least one positive real root.Therefore, Eq (7.17) has at least one pair of purely imaginary roots.According to the findings of Sun et al. [42], the subsequent outcome is as follows: Lemma 7.2.The following holds true for (7.17): (a) If condition (7.4) is satisfied and the values of r i > 0, i = 1, 2, 3, 4, 5, then Eq (7.17) does not have any roots with zero real parts for values of τ 1 ≥ 0. (b) If r 5 < 0 and r i > 0, i = 1, 2, 3, 4 holds, then (7.17) has a pair of purely imaginary roots ±iω 0 when τ 1 = τ 1 j and for any ω 0 (unique positive zero of the function F (ω)) The proof of Lemma 7.2 has resemblance to the proof of Lemma 3.1 as presented in the work of Li et al. [43].Here, it is left out.(C 4 ) Â1 Â2 + B1 B2 > 0 where, Â1 = − 3ω 2 0 + (w 2 + w 5 ), Â2 = ω 0 sin ω 0 τ 0 w 7 , B1 =2ω 0 (w 1 + w 4 ), B2 = ω 0 cos ω 0 τ 0 w 7 .

Figure 4 .
Figure 4. Shows the effects of different white noise disturbance levels on the stochastic model (2.2).

Figure 6 .
Figure 6.Displays the effects of different values of time delays on the stochastic model (2.2).

Figure 7 .
Figure 7. Numerical simulations of the OC-P for ODE and SDE (2.1), (2.2), before and after OC which reduces the growth of the tumor cells.

Table 1 .
Effector cells are activated by IL-2 by stimulating their proliferation and differentiation, with rate µ 1 E(t)I(t).Effector cells are also stimulated by tumor cells, denoted by αE(t − τ 1 )T (t − τ 1 ), where α represents the antigenicity rate of the tumor and τ 1 is the duration over which IL-2 is induced in effector cells.η 1 E(t) represents the natural degradation of effector cells, while e 1 represents the exogenous supply of effector cells.Proliferation and death of tumor cells are represented by the parameter r. β represents the biological environment's maximum carrying capacity for tumor cells T (t).η 2 E(t − τ 2 )T (t − τ 2 ) represents the effector cells as the source of IL-2, which is induced by their interaction with tumor cells.Effectors and cancer cells compete at η 2 .The time delay between stimulating effector cells and tumor cells is represented by τ 2 .The parameter µ 2 represents the degradation of IL-2 inherent to the system, whereas the variable e 2 represents an exogenous IL-2 inflow.The parameters in model (2.1) are summarized in Table1.See the Appendix, for the analysis of the deterministic model (2.1).Parameter definitions and values of model (2.1) ( the unit is day −1 ).
2, 3.Tumor cell populations are reduced as a result of their interactions with effector cells E(t), which occur at distinct rates represented by −ξE(t)T (t).By interacting with tumor effector cells −ξE(t)T (t), immune effector cells E(t) reduce the population of tumor cells T (t) at a rate denoted by ξ.
= 0 a.s, the tumor T (t) is said to extinct with probability one.Theorem 4.2.Suppose that (E(t), T (t), I(t)) is the solution set of the tumor-immune interaction model system (2.2) along with the initial condition (E 0 , T 0 t→∞ T (t) .1) Remark 7.1.The stability analysis of the equilibrium states is examined by the eigenvalues of ∆ S * .If the real parts of all the eigenvalues of the matrix ∆ S * are negative, then the equilibrium state S * exhibits local asymptotic stability.Conversely, if at least one of the eigenvalues exhibit a positive real part, the equilibrium state is considered to be unstable.