Abstract
Arteriovenous malformation (AVM) of the brain is a congenital vascular abnormality, in which the arterial and venous blood pools are intertwined and directly connected. This dangerous disease causes a high risk of intracranial hemorrhage and disrupts brain functioning. The preferred method of AVM treating is embolization, which is the endovascular filling of abnormal AVM vessels with a special embolic agent. Despite the fact that this method is widely used in neurosurgery, in some cases its use is accompanied by perioperative AVM vessels rupture. In this regard, the aim of this work is to study the optimal scenarios for multi-stage AVM embolization from the effectiveness and safety of the procedure point of view. Mathematically, the joint movement of blood and embolic agent in the AVM body is described on the basis of a one-dimensional two-phase filtration model, which takes into account the redistribution of blood to surrounding healthy vessels. For the numerical solution of the resulting integro-differential system of equations, a monotonic modification of the CABARET scheme is used. To find optimal embolization scenarios, the optimal control problem with phase constraints arising from medicine is formulated. A modified particle swarm optimization method is used to solve this problem numerically. This technique is used to obtain optimal embolization scenarios on the basis of real patients clinical data collected during neurosurgical operations.
Similar content being viewed by others
Introduction
Arteriovenous malformation (AVM) of the brain is a congenital vascular abnormality, in which the arterial and venous blood pools are intertwined and directly connected, bypassing the capillary vessel network. By type of pathological blood vessels, connecting the arterial and venous pools, AVMs can be divided into racemic pathology (consisting of large number of small diameter vessels, which are chaotically intertwining and intersecting with each other) and fistula one (consisting of large vessels). The resistance of the corresponding part of circulatory system is reduced due to the capillary network absence. This causes changes in both the hemodynamic parameters (flow rate and pressure) and the strength properties of the blood vessels1,2,3,4.
Currently, the most common methods of AVM treatment are microsurgical, endovascular and radiosurgical5. AVMs have a complex effect on intracranial hemodynamics, which varies with changes in morphology and angioarchitecture, especially with different treatment methods. Endovascular embolization is the filling of abnormal blood vessels with a special embolic agent in order to shut them off from the bloodstream. Due to the minimal invasiveness and the possibility of operating in deep, functionally significant brain areas, embolization is one of the most effective methods at the current level of medical development6. Despite the fact that this method is widely used, the risk of perioperative vascular rupture is still a serious danger7. Therefore, the study of optimal scenarios for multi-stage AVM embolization from the effectiveness and safety of neurosurgical surgery point of view remains an urgent task.
For the mathematical description of blood flow, a one-dimensional approximation of the Navier–Stokes equations is widely used, obtained by averaging these equations over blood vessel cross-section8. There are works in which the equations describing flows in pipes with rigid and elastic boundaries are analytically investigated8,9,10. Viscous fluid flow in a network of soft tubes is also modeled on the basis of a one-dimensional approximation of mass and momentum conservation laws11,12,13. Numerical simulation of hemodynamics for large blood vessels based on 3D–1D coupled flow is also considered14,15,16.
The interaction of AVM and blood flow in the surrounding vessels is often studied in analogy with electric and hydraulic networks17,18,19. Such models allow us to assess the impact of various embolization scenarios on blood flow redistribution and are consistent with the general medical view on pathology hemodynamics. Various approaches are used to describe the joint flow of blood and embolic agent, for example, a two-phase flow model was used to simulate a viscous fluid drop movement of embolic agent through a bifurcation point or multifurcation point based on dimensionless Navier–Stokes equations for incompressible liquids20. A model of AVM embolization was proposed based on the concept of two-fluid modeling and scalar transport, where embolic agent and blood interaction along with its hardening is simulated by viscosity increase21. Another approach to the description of the embolization process is based on the two-phase filtration model in the authors’ work22. The present paper is a extension of this work. In comparison to the present work in22 blood flow into the adjacent healthy vessels was not considered, the cross-section area and porosity were assumed to be constant, and embolization was modeled without taking into account embolic agent solidification between the stages of surgery (simplified one-stage case). The optimal control problem22 differs in form from the one described below, but is essentially the same, namely, it requires performing the operation in the most efficient way in compliance with safety constraints. The formulation of the optimal control problem in present paper is obtained from the control problem22 by interchanging the constraint and the objective functional, which is typical of extremum search problems with constraints. In the work22, the search for an extremum of the functional was based on the calculation of its value on the grid in the three-dimensional control parameter space with subsequent interpolation. While present work uses the global optimization method - the particle swarm method, which significantly accelerates calculations, increases their accuracy and allows us to explore the control parameter space of a larger dimension. Despite the large number of publications dedicated to the AVM hemodynamics, research expansion in this direction is a great scientific interest.
In this paper, mathematical modeling of AVM embolization is carried out as follows: the flow of blood and embolic agent through the AVM body is considered as filtration flow based on Darcy’s law, taking into account the redistribution of blood to healthy vessels. This approach is justified for small-vascular racemic AVM compartments embolization description. It is assumed that both liquids are Newtonian with constant viscosity, incompressible and immiscible, while ignoring the interfacial capillary forces, the effect of embolic agent adsorption, as well as the deformation and permeability of the vessel walls.
As a result, the mathematical description of the joint movement of blood and embolic agent in the AVM body is based on a one-dimensional two-phase filtration model that takes into account the redistribution of blood to surrounding healthy vessels. For the numerical solution of the resulting system of integro-differential equations, a monotonic modification of the CABARET scheme is used, which localizes with high accuracy the strong and weak discontinuities that occur when solving this problem23,24. For numerical calculations real blood and embolic agent (ONYX18) viscosities were used. To find optimal embolization scenarios, the optimal control problem of multi-stage embolization with phase constraints arising from medicine is formulated. To solve this problem numerically a particle swarm optimization method is used25,26, which is specially modified in order to adapt it to the problem under consideration. The proposed technique is used to obtain optimal embolization scenarios on the basis of real patients clinical data collected during neurosurgical operations22,27.
In the next section, a mathematical formulation of the one-stage embolization problem is given, leading to an initial-boundary value problem for a system of integro-differential equations, including a hyperbolic partial differential equation, which is a quasilinear scalar conservation law with a nonconvex flux. Then the optimal control problem of one-stage AVM embolization is formulated, where the control is a time function setting the boundary condition of the problem and is included in the coefficients of the equation. The objective functional is the integral of the initial-boundary value problem solution at terminal time. The phase constraints on the control function represent additional integral and algebraic relations. The objective functional and constraints are selected according to medical indications. We introduce a class of piecewise linear continuous and discontinuous functions used as controls for the AVM embolization process. Further, the optimal control problem of multi-stage AVM embolization is formulated, which leads to a chain of integro-differential initial-boundary value problems, in which each subsequent problem uses the results of solving the previous problem as parameters of a new system of equations.
Next, we present a monotonic modification of the CABARET scheme, which localizes with high accuracy the strong and weak discontinuities that arise when solving the initial-boundary value problem under consideration. The modification of the particle swarm optimization method is proposed that is specially adapted to the considering problem in order to more fully investigate the admissible parameters area and accelerate the progress of the particle swarm to the absolute minimum. Numerical verification of the optimal control problem of multi-stage embolization using real patients clinical data was performed, on the basis of which AVM embolization optimal scenarios were obtained. Also we discusses the limitations of the proposed method, as well as the possibilities for its further development.
One-stage embolization problem formulation
In this paper, blood and embolic agent movement through small-vascular racemic AVM is modeled (Fig. 1) as a two-phase filtration process of immiscible incompressible liquids, where the displaced phase is blood, and the displacing phase is embolic agent. We also take into account the redistribution of blood to surrounding healthy vessels. We will consider a one-dimensional case, which mathematical description is based on Darcy’s law and the mass conservation laws for each phase. In the one-stage embolization case, an initial-boundary value problem is obtained for a system of integro-differential equations, in which the hyperbolic partial differential equation is a quasi-linear scalar conservation law with a nonconvex flux function. This conservation law is similar to the one widely used to describe the multiphase filtration process28,29.
Based on this initial-boundary value problem, it is set the task of finding the optimal regime of one-stage AVM embolization from the effectiveness and safety of neurosurgical surgery point of view. The objective functional and constraints that arise in the optimal control problem are selected according to medical indications. The control is a time function that determines the embolic agent injection at the AVM input. The embolization effectiveness is determined by the degree of blood displacement from the AVM by the embolic agent at the operation end. One of the possible risks of the operation complications is the embolic agent entering in the vein, as a which result the AVM or vein vessels rupture may occur. Also, during the operation, vascular network has an additional stress, since when the embolic agent is injected, the pressure in the arterial vessels increases. Excessive pressure build-up is dangerous. Both of these factors increase the brain hemorrhage risk30 and will be further used in the optimal embolization control problem.
Derivation of the conservation law simulating the process of one-stage embolization
Consider the one-dimensional joined filtration flow of blood and embolic agent through the AVM body. Denote by A the AVM cross-section area available for the phase flows, by m the AVM body porosity, by Q the volume flow rate of two-phase mixture. These values can vary both in space and in time. Let \(S(t,x)\in [0,1]\) be the local saturation (blood concentration) of the porous medium by the displaced phase (i.e. the fraction of the pore volume occupied by blood). Taking this into account, the concentration of the displacing phase is \(1-S(t, x)\). We introduce the Buckley–Leverett saturation function f(S)29, which sets the distribution of the phases volume flow inside a porous medium and is equal to the flow fraction of displaced phase in the total two phases flow.
We derive the differential form of the integral conservation law of blood volume, assuming that the AVM walls are impermeable and the phases are incompressible fluids. The change in blood volume \(\Delta V_1\) on the segment \(\Delta x=x_2-x_1\) during the time \(\Delta t=t_2-t_1\) is
This change is due to the blood flow through the cross-sections at points \(x=x_1\) and \(x=x_2\):
Equating the values (1) and (2), we obtain the integral conservation law of blood volume
where m(x) and A(x) are given piecewise continuous functions of the spatial coordinate x. The differential form of the conservation law (3) has the form
Since the Eq. (4) is hyperbolic, its solution S(t, x) is considered in the class of piecewise continuous functions. We will assume that the Buckley–Leverett function \(f(S)\in C^2[0,1]\) satisfies the following conditions
where \(\xi\) is the inflection point. Since the AVM side surface is impermeable and the liquids are incompressible, the total volume flow rate of the two phases Q(t) does not depend on the spatial coordinate x and is determined by the relation
where \(Q_b=Q\,f(S)\) is the volume blood flow and \(Q_e=Q\,(1-f(S))\) is the volume flow rate of an embolic agent inside AVM. With this assumptions, the Eq. (4) can be written in the following equivalent non-divergent form
which is more convenient for performing numerical calculations.
Initial and boundary conditions
The differential equation (5) is solved in the domain
where L and T are some positive numbers. Since at the initial time \(t=0\) there is only blood inside the AVM, then the initial value of its concentration is given by the following formulas
Blood flow changes during the cardiac cycle is not taken into account due to the duration of the embolization process is significantly longer than the cardiac cycle duration, and the blood flow rate \(q_b(t)=Q_b(t,0)\) at the AVM input is determined by the formula
in which \({\bar{q}}_b({\bar{S}})\) is a given function that determines the redistribution of blood between AVM and surrounding healthy vessels, where
is the average blood concentration in the AVM. At the AVM input (\(x=0\)) the embolic agent flow \(q_e(t)=Q_e(t,0)\) determines the embolization process and is a control function. Then the flow rate Q(t) of two-phase mixture inside the AVM, included in (5), is determined by the formula
Assuming that the blood and embolic agent flows satisfy the inequalities
we obtain that the flow of two-phase mixture
in consequence, the characteristics of the differential equation (5) propagate with velocities \(Q(t)f'(S)/\left( m(x)\,A(x) \right) >0\). This means that for the correct formulation of the initial-boundary value problem for the Eq. (5) one boundary condition must be set on the left boundary of the segment [0, L] and there is no need to set boundary conditions on the right boundary of this segment. It follows from formula \(f(S(t,x))=Q_b(t,x)/Q(t)\) and relation (8) that the boundary value S(t, 0) is expressed in terms of boundary phase flows and is defined as follows
where the function \({\bar{S}}(t)\) is given by the integral formula (7). As a result, we obtain the integro-differential problem (5), (6), (8), (9) in which the integral relation (9) plays the role of a non-standard boundary condition for the function S(t, x). It is important to emphasize that the control function \(q_e(t)\) is included both in the coefficients of the Eq. (5) and in the boundary condition (9).
Optimal control problem in the case of one-stage embolization
To formulate the embolization optimal control problem, it is necessary to determine objective functional and constraints arising from medical indications, which establish the effectiveness criteria and safety conditions of the operation. The embolization effectiveness will be determined by how completely the embolic agent fills the AVM at the operation end. Mathematically, this condition lead to minimizing the objective functional
where \(S_{q_e}(t,x)\) is the solution of the initial-boundary value problem (5), (6), (8), (9) with control function \(q_e(t)\), which sets the embolic agent flow at the AVM input.
The safety embolization conditions can be chosen in the form of the following restrictions
where \(p_{1}\) is the pressure at the AVM input, and \(p_{*}\) is the specified critical pressure. Fulfillment the condition (11) avoids the penetration of the embolic agent into the venous bed, and fulfillment the inequality (12) avoids an excessive increase in blood pressure in the AVM. Violation of the conditions (11) and (12) increases the cerebral hemorrhage risk30.
Taking into account the fact that \(Q_b=Q\,f(S)\), the pressure function is determined from Darcy’s law for AVM29
where \(p_2({\bar{S}})\) is a given function of the blood pressure at the AVM output. The local resistance to blood flow inside the AVM is given by the ratio
where \(\eta _b\) is the blood viscosity, K is the absolute permeability of the AVM and \(k_b(S)\) is the blood relative phase permeability; the values of \(\eta _b\), K and \(k_b(S)\) are assumed to be known. For the given functions f(S), \(r_b(S)\), \({\bar{q}}_b({\bar{S}})\) and \(p_2({\bar{S}})\), Eqs. (5), (8) and (13) form a closed system of integro-differential equations for determining the blood concentration S(t, x) inside the AVM, the mixture flow rate Q(t) and the pressure \(p_1(t)\) at the AVM input. The pressure \(p_1(t)\) is used to verify the considered optimal AVM embolization model by comparing with the pressure obtained during intraoperative monitoring.
Thus, in the optimal control problem, it is necessary to find a function \(q_e(t)\) that minimizes the objective functional (10), which is determined on the basis of the problem (5), (6), (8), (9) solution. Besides, it must be done the restrictions (11), (12) on the blood concentration S and the pressure \(p_1(t)\) determined by the formula (13).
Control functions class
We consider a numerical solution of the problem (5), (8), (13) with initial (6) and boundary (9) conditions that satisfies the constraints (11) and (12). The choice of the control class is determined by one of the methods of embolization in real surgical practice: at the initial time interval, there is increase in the embolic agent supply; at the next time interval, a constant value of this flow is maintained; and at the last short time interval, there is a decrease in the embolic agent supply to the AVM input. We use linear interpolation of this embolization method. As a result, we consider the following continuous functions as a control function class
where \(\gamma >0\) is a dimensionless parameter, \(Q(0)=q_b(0)\) is the blood flow through the AVM before surgery,
is a dimensionless function in which the parameter \(\theta\) satisfies the condition \(0<\theta \le T-\varepsilon\), and \(\varepsilon \in (0,T)\) is a small constant. Admissible control class is expanded to include the function that is discontinuous at the initial moment of time
obtained from the function (15) when \(\theta \rightarrow 0\).
For the control class (14) and (15), time interval \([0,\theta ]\) corresponds to an increase in the supply of embolic agent to the value \(\gamma \, Q(0)\); time interval \([\theta ,T-\varepsilon ]\) corresponds to maintaining a constant value of this flow; time interval \([T-\varepsilon ,T]\) corresponds to a decrease in the embolic agent supply to the AVM input. The control class (14) and (16) corresponds to the case when there is a discontinuous increase in the embolic agent supply.
As a result, the optimal embolization problem is led to finding the control parameters
that determine embolic agent supply (14). The corresponding solution of the initial-boundary value problem (5), (6), (8), (9), (13) gives an absolute minimum to the functional (10), which corresponds to minimizing the average blood concentration in the AVM at the operation end. The solutions to the optimal control problem must satisfy the constraints (11) and (12), where (11) prohibits the embolic agent from entering the vein, and (12) restricts the blood pressure at the entrance to the AVM during embolization. Next, instead of the parameters (17), we will use the following control parameters
where the parameter \(\theta _1\) corresponds to the time of increasing the embolic agent supply to the AVM input, \(\theta _2\) corresponds to the time of maintaining the achieved flow of embolic agent, \(\gamma\) is the intensity of the embolic agent supply.
Multi-stage embolization
Multi-stage embolization problem formulation
A real neurosurgical operation for AVM embolization usually proceeds in several stages, the number of which is denoted by N. Mathematical modeling of multi-stage embolization is a generalization of the one-stage embolization described in the previous section. Between the stages there are time breaks, during which the embolic agent remains fixes inside the AVM and does not change its location in the following stages of embolization. For the mathematical modeling, we assume that the duration of these time breaks is zero. Taking this into account, embolization at each i-th stage occurs on the time interval \([T_{i-1},T_i]\), where \(T_0=0\). The cross-section area available for the flow of phases at the i-th stage is denoted by \(A_i(x)\), so \(A_1=A\) is the original cross-section area. The fraction of cross-section \(A_i\) occupied by blood is denoted by \(S_i(t,x)\), and the fraction of the original cross-section \(A_1\) occupied by blood is denoted by \(\Psi _i=S_iA_i/A_1\). Between the stages there is a change in the fraction of the AVM cross section available for the flow of phases
which establishes a connection between the successive embolization stages. We will assume that in the AVM part available for the phases flow it is not change from stage to stage the filtration characteristics: porosity m, absolute permeability K, relative phase permeability \(k_b\) and Buckley–Leverett function f. In the multi-stage case, the embolization process at each i-th stage is modeled similarly to the one-stage embolization case, which was described above. Thus, the initial-boundary value problem simulating the i-th embolization stage on the time interval \([T_{i-1},T_i]\), is similar to (5), (6), (8), (9), (13), is given by equations
with the following initial and boundary conditions
Optimal control problem in the case of multi-stage embolization
For the optimal control problem of multi-stage embolization, we will use the average blood concentration in the AVM at the end of the N-th stage as the objective functional
where \(S_N\) is the solution of problem (18)–(23) at the N-th embolization stage, and control function \(q_e(t)\) is given on the interval \(t\in [0,T_N]\). In this case, constraints similar to (11), (12) have the form
For multi-stage embolization, we consider a control that at each stage similar to the control for one-stage embolization (14)–(16). Such control can be considered as a linear approximation of the clinical process of multi-stage embolization and written as follows
where the parameters \(\theta _i\), \(T_i\) and \(\varepsilon\) satisfy the conditions
Admissible control class is expanded to include discontinuous functions at \(t=T_{i-1}\)
obtained from functions (28) when \(\theta _i\rightarrow 0\).
As a result, the optimal embolization problem is reduced to finding the control parameters
that determine the embolic agent supply (27), and the corresponding solution of the initial-boundary value problem of multi-stage embolization (18)-(23) gives an absolute minimum to the functional (24), which corresponds to minimizing the average blood concentration in the AVM at the multi-stage operation end. The solutions to the multi-stage optimal control problem must satisfy the constraints (25) and (26), where (25) prohibits the embolic agent from entering the vein, and (26) restricts the blood pressure at the entrance to the AVM at i-th embolization stage. Next, instead of the parameters (30) we will use the following control parameters
where the parameter \(\theta _{1i}\) corresponds to the time of increasing the embolic agent supply to the AVM input, \(\theta _{2i}\) corresponds to the time of maintaining the achieved flow of embolic agent, \(\gamma _i\) is the intensity of the embolic agent supply at the i-th embolization stage.
Methods
Finite difference scheme
For the numerical solution of the initial boundary value problem (22), (23) for the system of integro-differential equations (18)–(21), we will use a monotone modification of the explicit two-layer time the CABARET scheme31, which has a second-order approximation on smooth solutions. This modification of the CABARET scheme was proposed in paper23 and is used to model the problems of hemodynamics22,32. The main advantages of this scheme are due to the fact that it is given on a compact spatial stencil and, when approximating linear equations, is time-reversible and accurate with two different Courant numbers \(r=0.5, 1\), which gives it unique dissipative and dispersive properties33.
Numerical simulation is carried out one after another at all stages of embolization, and the same difference scheme is applied at each stages. We present the algorithm of CABARET scheme for the i-th stage. Let us divide the segment [0, L] on which the considered problem is solved into J equal parts of length \(h=L/J\) and define a rectangular uniform difference grid
where h is a constant spatial step, and \(\tau ^n_i\) is the time step at the n-th time layer, determined from the CFL-stability condition at the i-th embolization stage. Let us denote by \(S_i^c\) the approximate numerical value of the blood concentration \(S_i\) at the i-th stage. The CABARET scheme uses the flux \((u_i)_j^n=S_i^c(t_i^n,x_j)\) and conservative \((U_i)_{j+1/2}^n=S_i^c(t_i^n,x_{j+1/2})\) variables set respectively in the integer \(x_j\) and half-integer \(x_{j+1/2}=x_j+h/2\) spatial nodes of the difference grid (32).
Let \((u_i)_j^n\) and \((U_i)_{j+1/2}^n\) be the known numerical solution of the problem (18)–(23) at the time layer \(t_i^n\); for \(n=0\) the exact grid approximation of the initial condition (22):
The numerical solution \((u_i)_j^{n+1}\), \((U_i)_{j+1/2}^{n+1}\) at the time layer \(t_i^{n+1}\) is obtained by CABARET scheme in several stages. At the first stage, according to the formula
where \(r\in (0,1)\) is the CFL number, the time step of the scheme at the n-th time layer is calculated. At the second stage, by approximating the Eqs. (19)–(21) with the second order, we find at the n-th time layer the numerical values of the mixture flow
and the blood pressure at the AVM input
where
At the third stage for \(j=\overline{0,J-1}\) using the difference equations
where \((f_i)_j^n=f\left( (u_i)_j^n\right)\), the values of the conservative variables
at the half-integer time layer \(t_i^{n+1/2}=t_i^n+\tau _i^n/2\) are calculated. At the fourth stage, the values of numerical flows
at the half-integer time layer \(t_i^{n+1/2}\) are found.
At the fifth stage, using formula (34), in which the index n is replaced by the index \(n+1/2\), the numerical value of the mixture flow \(Q_i^{n+1/2}\) at the half-integer time layer is determined, after which, at the sixth stage for \(j=\overline{0,J-1}\) from the difference equations
we calculated the values of the conservative variables \((U_i)_{j+1/2}^{n+1}\) at the \((n+1)\)-th time layer. At the seventh stage, we find the values of the flux variables \((u_i)_j^{n+1}\) at the \((n+1)\)-th time layer. A detailed description of the numerical algorithm at the fourth and seventh stages is given below.
The numerical fluxes calculations
At the beginning of the fourth stage, as a result of the second-order approximation of the integral boundary condition (23) on the left boundary of the half-integer time layer, the value of the numerical flow is calculated
where
Further in the formulas of this section, the index i, which specifies the number of the embolization stage, is omitted for brevity.
The numerical fluxes \(f_j^{n+1/2}\) for \(j=\overline{1,J}\) are defined as follows. First, their preliminary values are calculated by the formulas
and corrected as follows
where \(m_j^n= \min \left( f_{j-1/2}^n,f_j^n\right)\), \(M_j^n=\max \left( f_{j-1/2}^n,f_j^n\right)\) and
is a conventional two-sided limiter.
It is shown34 that the correction of fluxes (37) is not sufficient to preserve the local monotonicity of the difference solution at the \((n+1)\)- th time layer, which is necessary for the absence of non-physical oscillations on the shocks. Therefore, if at the n-th time layer in the vicinity of the grid node \(x_{k+1/2}\) the difference solution is locally monotone, an additional correction of the numerical fluxes is performed
where
If neither of the two conditions (38) or (39) is fulfilled, the flux correction \({\widetilde{f}}_k^{n+1/2}\) is not carried out, i.e. \(f_k^{n+1/2}={\widetilde{f}}_k^{n+1/2}\).
At the beginning of the seventh stage, the flux variable value is found on the left boundary of the computational domain
where \(f^{-1}\) is the inverse function of f, and \(f_0^{n+1}\) is the numerical flux given by the formulas (35) and (36), in which the index \(n+1/2\) is replaced by \(n+1\). The flux variables \(u_j^{n+1}\), where \(j=\overline{1, J}\) are defined as follows: their second preliminary values are calculated by the formulas
which are corrected as follows
where \(m_j^{n+1}=\min \left( U_{j-1/2}^{n+1},U_{j+1/2}^{n+1}\right)\) and \(M_j^{n+1}=\max \left( U_{j-1/2}^{n+1},U_{j+1/2}^{n+1}\right)\).
The multi-stage embolization optimal regime: modified particle swarm optimization method
To solve the problem of optimal multi-stage embolization, we use a numerical algorithm based on the particle swarm method25. To apply this method, the optimal control problem (24)–(26) is rewritten as a functional
with penalty functionals \(I_1\) and \(I_2\), where \(I_1[S_i]=0\) when the constraint (25) is met and \(I_1[S_i]=1\) when the constraint is violated; similarly, \(I_2[S_i]=0\) when constraint (26) is met and \(I_2[S_i]=1\) when this constraint is violated; here the solutions \(S_i\) depends on the control function \(q_e(t)\). In the following calculations, in formula (40) we assume \(R=1000\). In the future, the objective functional modification (40) makes it possible to significantly simplify the application of the particle swarm method near a priori unknown part of the boundary domain of control parameters set by the constraints (25) and (26).
The required parameters \(\theta _{1i}\), \(\theta _{2i}\) and \(\gamma _i\), where \(i\in \overline{1,N}\), included in the functional (40), are represented as the coordinates of the abstract particle \({\mathbf{x}} \in {\mathbb {R}}^{3N}\), which set \({\mathfrak {M}}=\left\{ {\mathbf{x}}_1,\ldots ,{\mathbf{x}}_M\right\}\) is called as the particles swarm25,26. The particle swarm method for minimizing the functional consists in setting the initial position of each particle and organizing the iterative process of moving these particles so that after a given finite number of iterations I all the particles end up in a small neighborhood of some point \({\mathbf{x}}_*\) that is the global minimum to the functional (40). At each iteration it is determined the displacement velocity \({{\mathbf{v}}}_j\) and the best position \({\mathbf{p}}_j\) of each particle \({\mathbf{x}}_j\), and also the global best position \({\mathbf{p}}_g\) of all the particles for all the previous iterations. At the end of the iterative process, point \({\mathbf{x}}_*={\mathbf{p}}_g\) is the solution of the minimization problem.
The search for the vector \({\mathbf{x}}_*\) is as follows. First, in the domain of control parameters (31) we allocate M bounded disjoint subdomains \(\Delta _j\); for each \(\Delta _j\) the initial position of single particle is set according to the formula \({\mathbf{x}}^0_j=\Theta [\Delta _j]\), where \(\Theta [\Delta _j]\) is a functional that randomly selects the point in the domain \(\Delta _j\). The initial velocity of each particle is \({\mathbf{v}}^0_j=0\) and its initial best position is \({\mathbf{p}}^0_j={\mathbf{x}}^0_j\). For all particles \({\mathbf{x}}^0_j\) the value of the functional \({{{\hat{J}}}}_N({\mathbf{x}}^0_j)\) is calculated, after which the formula
is used to find the initial global best position for all particles.
Let the values \({\mathbf{x}}^k_j\), \({\mathbf{v}}^k_j\), \({\mathbf{p}}^k_j\), \(j=\overline{1,M}\), and \({\mathbf{p}}_g^k\) be known at the k-th step of the iteration. The values at the \((k+1)\)-th step of the iteration are determined in several stages.
-
The formulas
$$\begin{aligned} \bar{\mathbf{v}}^{k+1}_j=w^k{\mathbf{v}}^{k}_j+c_1\, r_1^k ({\mathbf{p}}^k_j-{\mathbf{x}}^k_j)+c_2\, r_2^k ({\mathbf{p}}_g-{\mathbf{x}}^k_j),\quad \bar{{\mathbf{x}}}^{k+1}_j={\mathbf{x}}^{k}_j+ \bar{\mathbf{v}}^{k+1}_j \end{aligned}$$are used to calculate the preliminary values \(\bar{\mathbf{v}}^{k+1}_j\) and \(\bar{{\mathbf{x}}}^{k+1}_j\), where \(w^k=w_1-w_2k/I\) is the inertia weight25,26; \(r_1^k\) and \(r_2^k\) are the values of random variables uniformly distributed over the interval [0, 1]; \(c_1\), \(c_2\), \(w_1\) and \(w_2\) are given positive constants such that \(w_2<w_1<1\).
-
The coordinates of the particle \({{\tilde{{\mathbf{x}}}}}^{k+1}_j=\left( ({\tilde{x}}_1)^{k+1}_j,\ldots ,({\tilde{x}}_{3N})^{k+1}_j \right)\) are calculated using their preliminary values \(\bar{{\mathbf{x}}}^{k+1}_j= \left( ({\bar{x}}_1)^{k+1}_j,\ldots ,({\bar{x}}_{3N})^{k+1}_j \right)\) according to the formula
$$\begin{aligned} ({\tilde{x}}_l)^{k+1}_j=\left\{ \begin{array}{ll} ({\bar{x}}_l)^{k+1}_j, &{}\quad ({\bar{x}}_l)^{k+1}_j\ge 0, \\ 0, &{}\quad ({\bar{x}}_l)^{k+1}_j<0, \end{array} \right. \quad l=\overline{1,3N}. \end{aligned}$$The particle velocities \({{\tilde{\mathbf{v}}}}^{k+1}_j\) are calculated as follows \({\tilde{\mathbf{v}}}^{k+1}_j={{\tilde{{\mathbf{x}}}}}^{k+1}_j-{\mathbf{x}}^k_j\).
-
The formulas
$$\begin{aligned} {\mathbf{p}}^{k+1}_j= & {} \left\{ \begin{array}{ll} {\mathbf{p}}^k_j, &{}\quad {{{\hat{J}}}}_N({\mathbf{p}}^k_j)\le {{{\hat{J}}}}_N({{\tilde{{\mathbf{x}}}}}^{k+1}_j), \\ {{\tilde{{\mathbf{x}}}}}^{k+1}_j, &{}\quad {{{\hat{J}}}}_N({\mathbf{p}}^k_j)>{{{\hat{J}}}}_N({{\tilde{{\mathbf{x}}}}}^{k+1}_j) \end{array} \right. \quad j=\overline{1,M}, \\ {\mathbf{p}}_g^{k+1}= & {}\ \underset{j=\overline{1,M}}{\mathrm{argmin}}\,{{{\hat{J}}}}_N({\mathbf{p}}_j^{k+1}) \end{aligned}$$are used to calculate the new best personal and global particles positions.
-
The set of all particles \({\mathfrak {M}}\) is randomly divided into two disjoint subsets \({\mathfrak {M}}_1\) and \({\mathfrak {M}}_2\): in the set \({\mathfrak {M}}_1\) the particles are included with a given probability P, and in the set \({\mathfrak {M}}_2\) with a probability \(1-P\), where P is the given number.
-
For all \(j=\overline{1,M}\), the final positions and velocities of the particles at the \((k+1)\)-th iteration are determined by the formulas
$$\begin{aligned} {\mathbf{x}}^{k+1}_j=\left\{ \begin{array}{ll} \Theta [\Delta _j], &{}\quad {{\tilde{{\mathbf{x}}}}}^{k+1}_j\in {\mathfrak {M}}_1, \\ {{\tilde{{\mathbf{x}}}}}^{k+1}_j, &{}\quad {{\tilde{{\mathbf{x}}}}}^{k+1}_j\in {\mathfrak {M}}_2, \\ \end{array} \right. \quad {\mathbf{v}}^{k+1}_j=\left\{ \begin{array}{ll} 0, &{}\quad {{\tilde{{\mathbf{x}}}}}^{k+1}_j\in {\mathfrak {M}}_1, \\ {{\tilde{\mathbf{v}}}}^{k+1}_j, &{}\quad {{\tilde{{\mathbf{x}}}}}^{k+1}_j\in {\mathfrak {M}}_2, \\ \end{array} \right. \end{aligned}$$
When \(k+1=I\) the iterative process is ended.
The proposed algorithm differs from the classical particle swarm optimization method25 in that a special initial particle distribution is selected and that at each algorithm iteration the positions of all particles are reinitialized with a certain probability P. This modification was required for a more complete examination of the admissible parameter domain and to accelerate the progress of the swarm to an absolute minimum.
Using clinical data of real patients
To verify the optimal control embolization problem, we use clinical data obtained during monitoring of hemodynamic parameters in process of neurosurgical operations. In these operations, total embolization of the AVM was achieved, that is, the AVM available volume at the operation end was completely filled with the embolic agent. The monitoring was carried out at the National Medical Research Center named after academic Meshalkin27 using a Philips ComboMap system and the Philips ComboWire sensor (sensor diameter is 0.36 mm and its length is 1.85 m), which measures blood velocity and pressure inside the cerebral vessels near the pathology. This way the pressure and velocity at the AVM input were obtained before, during and after the embolization, as well as at the AVM output before and after the operation. To obtain the geometrical AVM parameters: the length L, the cross-section area A as well as input artery cross-section area, data from angiographic studies (perioperative X-ray tomography) were used (Table 1). In numerical calculations, the blood viscosity is \(\eta _b=4\, cP\), and the embolic agent viscosity is \(\eta _e=18\, cP\), which corresponds to the viscosity of the common embolic agent ONYX186, where cP is viscosity unit centipoise.
Using the method proposed in the previous papers22, the functions \(k_b(S)\), \(p_2({\bar{S}})\), \({\bar{q}}_b({\bar{S}})\), f(S) and \(r_b(S)\) are constructed for each patient on the basis of clinical data. These functions are included in the initial-boundary value problem for a system of integro-differential equations (18)–(23). In the numerical solution of the optimal control problem (24)–(26), the value \(p_*\) is chosen as the maximum pressure at the AVM input during the operation. In calculations without loss of generality, it is assumed that \(m=1\), since other constant values of m can be reduced to this case by scaling the time variable t. The initial cross-section area A is assumed to be constant and equal to the average cross-section of the AVM before embolization. It should be noted that the developed method can be used to numerically solve the problem of multi-stage embolization with variable values m(x) and A(x). To verify the proposed model, we consider the multi-stage embolization problems for patients K, S and P. The geometrical and filtration characteristics of the pathologies of these patients used for calculations are shown in Table 1 and Fig. 2.
The investigation was conducted in accordance with the Helsinki Declaration and approved by the Inspection Commission of the Meshalkin Clinic (Session No. 549). All included patients gave their informed consent.
Results
Numerical calculations were performed for patients K, S and P based on the clinical data given above. For the calculations, a space-uniform difference grid was used (32), where \(J=100\), with a time step given by the formula (33), in which CFL number \(r=0.5\). The small parameter included in the control (28), (29) is \(\varepsilon =0.1\) s, which corresponds to the medical practice of quickly stopping the embolic agent supply at the end of each embolization stage. According to the papers25,26, the parameters of the particle swarm algorithm were chosen as follows: \(P=0.15,\ w_1=0.9,\ w_2=0.5,\ c_1=c_2=1.49\). At each stage, the number of iterations of the particle swarm method is \(I=300\).
In order to be consistent with the clinical data, numerical calculations were performed in such a way that the objective functional value was \({{{\hat{J}}}}_N(T_N)\le 0.05\). It was shown that such a functional value for patients K, S is achieved in two embolization stages, and for patient P in three stages. A further increase in the number of embolization stages leads to smaller values of the objective functional. It should be noted that in a real neurosurgical operation, the number of stages can be more than three. To solve the optimal control problem of two-stage embolization by the particle swarm optimization method, the number of particles is chosen to be \(M=16\), and for the problem of three-stage embolization, the number of particles is increased to \(M=32\). For the optimal regimes obtained as a result of the numerical solution of the multi-stage embolization problem, Table 2 shows the values of the objective functional \({{{\hat{J}}}}_N\) and the corresponding values of the parameters \({\mathbf{p}}_g\) for three patients K, S and P.
Figure 3 shows a comparison of the clinical and calculated pressures at the AVM input for the optimal regimes. This figure shows a good correlation between the calculated and clinical pressures for patients K and S. At the same time, for the patient P, the behavior of the clinical and calculated pressures differs to a greater extent. This probably due to the fact that this patient has a difficult clinical case, as indicated by the rupture of AVM vessels after surgery. Thus, it can be assumed that the process of clinical embolization was not carried out in an optimal way for patient P. Figure 4 shows the distributions of blood concentration \(S_1(t,x)\) and \(S_2(t,x)\) along the AVM for the found two-stage optimal embolization regime for patient K. For patients S and P, such distributions have a similar behavior.
Discussion
Despite the well-developed technique of embolization operations, the risk of perioperative vascular rupture is still a serious danger. In this regard, the development of new methods of mathematical modeling of the AVM embolization process remains an urgent task. For modeling, it is desirable to have detailed information about the AVM geometrical structure, which would allow you to define the functions A(x) and m(x). However, modern medical examination methods of reconstructing the AVM geometry, such as computed tomography, magnetic resonance imaging and cerebral angiography, allow us to determine in vivo vessels with an average diameter of at least 0.5 mm. This not enough to determine the detailed geometric structure of the AVM, which often consisting of a large number of conjoined intertwined thin vessels, the diameter of which can reach 0.1 mm. In addition, important information is provided by intraoperative intravascular measurements of hemodynamic parameters near the pathology. Such measurements are possible only in sufficiently large vessels adjacent to the AVM, and measurements directly inside the AVM are seriously difficult and often impossible. Due to the above limitations, the proposed mathematical model is simplified, but despite this, it demonstrates a good agreement between the behavior of the calculated pressure and the clinical one. It should be noted that the question of the theoretical justification of the existence and uniqueness of the optimal control problem solution under consideration requires additional study and can be the subject of another mathematical investigation. Since this theoretical study is not the subject of interest of our applied work, we obtain optimal control using numerical modeling.
On the basis of the mathematical model, it was possible to obtain a good correlation of the calculated and clinical pressure at the AVM input for patients K and S. Among the considered patients, patient P stands out, for which three-stage embolization was required to achieve the functional value \({{{\hat{J}}}}_N < 0.05\), in contrast to patients K and S, for which such functional values were achieved in two stages. It should be noted that the patient P had a hemorrhage immediately after the neurosurgical operation, while the other patients did not have perioperative complications. This suggests that the properties of AVM and its surrounding vessels for patient P are significantly different from those of the other two patients. This is also evidenced by a significant difference in the behavior of the clinical and calculated pressure for this patient. It can be hypothesized that the need for a large number of embolization stages indicates a high probability of perioperative complications, and in this case, it is especially useful to find the optimal embolization regime. The appearance of optimal discontinuous controls (“bang-bang” control type) at the last stage for patients S and P is also interesting.
In the considered model, the influence of surrounding healthy vessels on blood flow through the AVM is taken into account by setting the \(q_b\) and \(p_2\) functions based on intraoperative measurements near the pathology. Further development of the proposed AVM embolization model may be associated with a more detailed description of the interaction of a healthy vascular network and AVM. This, in particular, will allow us to study the changes in intracerebral blood flow during embolization away from the pathology. It is also important to study the AVM, which consists of several compartments with different properties. To do this, it is necessary to improve the proposed model of optimal AVM embolization in order to take into account more physiological features of the circulatory system. Another important aspect in improving the model may be taking into account the increase in the embolic agent viscosity when it interacts with the blood.
Conclusion
In this paper it is formulated and investigated the optimal control problem of multi-stage embolization, which arises in the simulation of neurosurgery on pathological blood vessels of the brain. This simulation is performed by describing the joint filtration flow of two phases: blood and embolic agent that thromboses the pathology, as well as taking into account the redistribution of blood into healthy vessels. As a result, an initial-boundary value problem arises for a system of integro-differential equations that includes a hyperbolic divergent partial differential equation with a nonconvex flow function. The numerical solution of this problem, obtained using a monotone modification of the CABARET scheme, is used to solve the optimal control problem of multi-stage embolization by a modified particle swarm method.
In the numerical solution of the considered problem, the parameters and functions included in the system of integro-differential equations and the phase constraints of the optimal control problem are determined on the basis of data obtained for real patients during neurosurgical embolization operations. For the obtained solutions to the optimal control problem of multi-stage embolization, a good agreement between the calculated and clinical pressures is observed. The proposed mathematical model and numerical algorithm will be used to improve the methodology and the safety of neurosurgical operations.
References
Ondra, S. L., Troupp, H., George, E. D. & Schwab, K. The natural history of symptomatic arteriovenous malformations of the brain: A 24-year follow-up assessment. J. Neurosurg. 73(3), 387–391 (1990).
Brown, R. D. et al. The natural history of unruptured intracranial arteriovenous malformations. J. Neurosurg. 68(3), 352–357 (1988).
Wilkins, R. H. Natural history of intracranial vascular malformations: A review. Neurosurgery 16(3), 421–430 (1985).
Graf, C. J., Perret, G. E. & Torner, J. C. Bleeding from cerebral arteriovenous malformations as part of their natural history. J. Neurosurg. 58(3), 331–337 (1983).
Fennell, V. S. et al. Hemodynamics associated with intracerebral arteriovenous malformations: The effects of treatment modalities. Neurosurgery 83(4), 611–621 (2018).
Maimon, S., Strauss, I., Frolov, V., Margalit, N. & Ram, Z. Brain arteriovenous malformation treatment using a combination of Onyx and a new detachable tip microcatheter, SONIC: Short-term results. AJNR Am. J. Neuroradiol. 31(5), 947–954 (2010).
Baharvahdat, H. et al. Hemorrhagic complications after endovascular treatment of cerebral arteriovenous malformations. AJNR Am. J. Neuroradiol. 35(5), 978–983 (2014).
Caro, C. G., Pedley, T. J., Schroter, R. C. & Seed, W. A. The Mechanics of the Circulation (Oxford University Press, 1978).
Gromeka, I. S. On the propagation speed of fluid wave motion in elastic tubes (1883). Collected Works, 172–183 (1952).
Womersley, J. R. Method for the calculation of velocity, rate of flow and viscous drag in arteries when the pressure gradient is known. J. Physiol. 127(3), 553–563 (1955).
Sherwin, S. J., Formaggia, L., Peiro, J. & Franke, V. Computational modelling of 1D blood flow with variable mechanical properties and its application to the simulation of wave propagation in the human arterial system. Int. J. Numer. Methods Fluids. 43(6–7), 673–700 (2003).
Sherwin, S. J., Franke, V., Peiró, J. & Parker, K. One-dimensional modelling of a vascular network in space-time variables. J. Eng. Math. 47(3/4), 217–250 (2003).
Muller, L. O. & Toro, E. F. A global multiscale mathematical model for the human circulation with emphasis on the venous system. Int. J. Numer. Method Biomed. Eng. 30(7), 681–725 (2014).
Dobroserdova, T. K. & Olshanskii, M. A. A finite element solver and energy stable coupling for 3D and 1D fluid models. Comput. Methods Appl. Mech. Eng. 259, 166–176 (2013).
Blanco, P. J., Feijóo, R. A. & Urquiza, S. A. A unified variational approach for coupling 3D–1D models and its blood flow applications. Comput. Methods Appl. Mech. Eng. 196(41–44), 4391–4410 (2007).
Formaggia, L., Gerbeau, J. F., Nobile, F. & Quarteroni, A. On the coupling of 3D and 1D Navier–Stokes equations for flow problems in compliant vessels. Comput. Methods Appl. Mech. Eng. 191(6–7), 561–582 (2001).
Guglielmi, G. Analysis of the hemodynamic characteristics of brain arteriovenous malformations using electrical models: Baseline settings, surgical extirpation, endovascular embolization, and surgical bypass. Neurosurgery 63(1), 1–11 (2008).
Litao, M. L. S., Pilar-Arceo, C. P. & Legaspi, G. D. AVM compartments: do they modulate trasnidal pressures? An electrical network analysis. Asian J. Neurosurg. 7(4), 174 (2012).
Telegina, M. N., Chupakhin, M. A. & Cherevko, M. A. Local model of arteriovenous malformation of the human brain. J. Phys. Conf. Ser. 410, 012001 (2013).
White, A. H. & Smith, F. T. Computational modelling of the embolization process for the treatment of arteriovenous malformations (AVMs). Math. Comput. Model. 57(5–6), 1312–1324 (2013).
Orlowski, P., Summers, P., Noble, J. A., Byrne, J. & Ventikos, Y. Computational modelling for the embolization of brain arteriovenous malformations. Med. Eng. Phys. 34(7), 873–881 (2012).
Cherevko, A. A., Gologush, T. S., Petrenko, I. A., Ostapenko, V. V. & Panarin, V. A. Modelling of the arteriovenous malformation embolization optimal scenario. R. Soc. Open Sci. 7(7), 191992 (2020).
Ostapenko, V. V. & Cherevko, A. A. Application of the CABARET scheme for calculation of discontinuous solutions of the scalar conservation law with nonconvex flux. Dokl. Phys. 62(10), 470–474 (2017).
Gologush, T. S., Cherevko, A. A. & Ostapenko, V. V. Comparison of the WENO and CABARET schemes at calculation of the scalar conservation law with a nonconvex flux. AIP Conf. Proc. 2293, 370006 (2020).
Poli, R., Kennedy, J. & Blackwell, T. Particle swarm optimization. Swarm Intell. 1(1), 33–57 (2007).
Omranpour, H., Ebadzadeh, M., Shiry, S. & Barzegar, S. Dynamic particle swarm optimization for multimodal function. IAES Int. J. Artif. Intell. (IJ-AI) 1(1), 1 (2012).
Khe, A. K. et al. Monitoring of hemodynamics of brain vessels. J. Appl. Mech. Tech. Phys. 58(5), 763–770 (2017).
Buckley, S. E. & Leverett, M. Mechanism of fluid displacement in sands. Trans. AIME 146(01), 107–116 (1942).
Nigmatulin, R. I. & Friedly, J. C. Dynamics of Multiphase Media Vol. 2 (CRC Press, 1990).
Kader, A. et al. The influence of hemodynamic and anatomic factors on hemorrhage from cerebral arteriovenous malformations. Neurosurgery 34(5), 801–808 (1994).
Karabasov, S. A. & Goloviznin, V. M. Compact accurately boundary-adjusting high-resolution technique for fluid dynamics. J. Comput. Phys. 228(19), 7426–7451 (2009).
Cherevko, A. A., Gologush, T. S., Petrenko, I. A. & Ostapenko, V. V. Numerical modeling process of embolization arteriovenous malformation. AIP Conf. Proc. 1893, 030123 (2017).
Samarskii, A. A. & Goloviznin, V. M. Some properties of CABARET difference schemes. Mat. Model. 10(1), 101–116 (1998) (in Russian)
Zyuzina, N. A. & Ostapenko, V. V. On the monotonicity of the CABARET scheme approximating a scalar conservation law with a convex flux. Dokl. Math. 93(1), 69–73 (2016).
Acknowledgements
The authors is grateful to Vyacheslav A. Panarin for the help in obtained clinical data. The reported study was partially funded by RFBR (grant number 20-31-90096) and by RFBR and NSFC (grant number 21-51-53012).
Author information
Authors and Affiliations
Contributions
A.C. developed the concept of the work, participate in obtaining clinical data, built a mathematical model, wrote program code, and interpreted numerical results. T.S. participated in the construction of a mathematical model, in writing program code, obtained numerical results and interpreted numerical results. V.O. carried out the development of a numerical scheme and interpretation of numerical results. All authors reviewed the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Sharifullina, T., Cherevko, A. & Ostapenko, V. Optimal control problem arising in mathematical modeling of cerebral vascular pathology embolization. Sci Rep 12, 1302 (2022). https://doi.org/10.1038/s41598-022-05231-w
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-022-05231-w
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.