<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>British Journal of Radiology 94 1122 (2021) 20200842.
doi:10.1259/bjr.20200842.
[15] H. Kim</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.1259/bjr.20200842</article-id>
      <title-group>
        <article-title>Intelligent System Based on Mathematical Programming for Automated Capsule Placement in Brachytherapy⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Georgiy Yaskov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrii Chuhai</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yelyzaveta Yaskova</string-name>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrii Zhuravka</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Anatolii Pidhorniy Institute of Power Machines and Systems</institution>
          ,
          <addr-line>vul. Komunalnykiv, 2/10, Kharkiv, 61046</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Kharkiv National University of Radio Electronics</institution>
          ,
          <addr-line>Nauky Ave. 14, Kharkiv, 61166</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Lviv Polytechnic National University</institution>
          ,
          <addr-line>Stepana Bandery St, 12, L'viv, Ukraine, 79000</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Simon Kuznets Kharkiv National University of Economics</institution>
          ,
          <addr-line>Nauky Ave. 9A, Kharkiv, 61166</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff4">
          <label>4</label>
          <institution>V. N. Karazin Kharkiv National University</institution>
          ,
          <addr-line>Svobody Sq. 4, Kharkiv, 61022</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2025</year>
      </pub-date>
      <volume>1072</volume>
      <fpage>24</fpage>
      <lpage>26</lpage>
      <abstract>
        <p>This paper presents a novel intelligent system for optimizing brachytherapy treatment planning using advanced mathematical modeling. The system is designed to automate the placement of cylindrical radioactive capsules within irregular tumor regions, represented as polyhedra. Capsules are approximated by polyhedral shapes and can freely rotate, allowing for precise control of their orientation and spatial configuration. Distances between capsules and between capsules and the tumor boundary are incorporated into the model as geometric constraints. The placement problem is formulated as a mathematical programming model and solved using specialized packing algorithms. Results from numerical experiments demonstra</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;brachytherapy</kwd>
        <kwd>mathematical programming</kwd>
        <kwd>parallelepiped</kwd>
        <kwd>cylinder</kwd>
        <kwd>polyhedron 1</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Intelligent systems and mathematical modeling are increasingly integrated into modern healthcare
technologies, enabling more precise, data-driven, and patient-specific approaches to diagnosis and
treatment. These systems combine computational methods, control theory, and artificial intelligence
to support clinical decision-making and automate complex medical procedures. One of the key areas
of application is treatment planning, where intelligent algorithms analyze medical imaging data,
simulate therapeutic outcomes, and optimize the configuration of medical interventions. Recent
studies underscore the transformative potential of AI in healthcare [1-4].</p>
      <p>Mathematical modeling in medicine is used for both diagnosis and treatment optimization [5,6].
Differential-equation-based models simulate physiological systems like the cardiovascular system or
tumor growth, offering insights into disease progression and guiding treatment strategies. Statistical
models evaluate patient outcomes through survival analysis and risk assessment, helping predict
disease progression and identify effective treatments based on patient data. Machine learning models
improve diagnostic accuracy and treatment planning by analyzing large datasets, particularly in
medical imaging and pathology. They are also used to anticipate how patients might respond to
specific therapies, supporting the development of personalized treatment plans [7].</p>
      <p>An example of the application of information technologies is the planning of retinal laser
coagulation. Laser coagulation is used to treat various retinal diseases, such as diabetic retinopathy,
central retinal vein occlusion, and retinal detachment. Intelligent systems help physicians accurately
identify optimal coagulation sites [8,9], which enhances the procedure's effectiveness and reduces
the risk of complications.</p>
      <p>Another example is the radiosurgical treatment of tumors with gamma rays, known as Gamma
Knife surgery [10,11]. This technology uses computer planning to accurately direct gamma rays at
the tumor, minimizing the impact on healthy tissues. Gamma Knife is used to treat various brain
tumors and other conditions, such as arteriovenous malformations and trigeminal neuralgia. Study
[12] introduces advanced mathematical techniques based on a packing problem, which can be applied
to optimize the spatial arrangement of treatment targets, helping ensure effective radiation delivery.</p>
      <p>An alternative effective method for treating tumors is brachytherapy, which involves placing
radioactive material directly inside or near the tumor [13]. The treatment process begins with
detailed imaging studies to determine the exact size, shape, and location of the tumor. Based on the
treatment plan, radioactive implants (such as seeds, pellets, or cylinders) are placed inside or near
the tumor. These implants can be temporary or permanent, depending on the type of cancer and the
treatment protocol. They emit radiation over a defined period, targeting tumor cells while limiting
exposure to surrounding tissues.</p>
      <p>To achieve precise placement of cylindrical radioactive capsules during brachytherapy, it is
necessary to evaluate both their orientation and the distance to the target tissue [14,15]. These
parameters directly affect the accuracy of radiation dose delivery to the tumor and help reduce
exposure to surrounding healthy tissues. The orientation of the capsule determines the direction in
which radiation is emitted. Proper alignment ensures that radiation is focused on the tumor, avoiding
unnecessary exposure of healthy tissues and improving treatment effectiveness. The distance
between the capsule and the tumor influences how the radiation dose is distributed A shorter
distance allows more radiation to reach the tumor, making it critical to measure this parameter with
precision to achieve the desired therapeutic effect while protecting nearby healthy structures.</p>
      <p>Tasks involving the packing of three-dimensional objects have a wide range of practical
applications [9,12]. They are used in various fields such as manufacturing, logistics, transportation,
and scientific research, including medicine. Known methods for modeling the interactions of
geometric objects, such as phi-functions [16], allow for the formalization of the distance between
capsules while accounting for their orientation.</p>
      <p>The inherent complexity of brachytherapy treatment planning, arising from the need to precisely
control capsule orientation, distance, and the dose summation effects of multiple implants,
necessitates the development of advanced planning systems [17]. Packing algorithms, which have
demonstrated success in optimizing spatial arrangements in various fields [18], offer a novel
approach. These methods can be adapted to collectively arrange capsules, simultaneously managing
both their placement and orientation. The approach is part of an intelligent system being developed
to enhance the precision and efficiency of brachytherapy treatment planning.</p>
      <p>The foundation of such a system is the problem of packing identical cylinders (or spheroids)
within a region of irregular geometric shape, represented as a polyhedron. Given that effective
methods have been developed for solving the problem of packing polyhedra with arbitrary
orientation in arbitrary regions, it is reasonable to approximate the capsules with polyhedra to a
specified level of accuracy. The algorithm dynamically determines the number of capsules required
based on the size and shape of the tumor. The system employs advanced mathematical programming
techniques to solve the placement problem. Automating the placement process significantly reduces
planning time.</p>
      <p>While the current study focuses on an idealized geometric model that considers only spatial
constraints, including free orientation of cylindrical capsules, this abstraction is already
computationally complex and forms a necessary foundation for further development. In
collaboration with clinical brachytherapy specialists, the model can be extended to incorporate
additional constraints such as directional radiation emission (e.g., when the source is placed at one
base of the cylinder), dose control, and other treatment-specific parameters.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related works</title>
      <p>Key mathematical models and algorithms in radiation therapy involve several approaches designed
to refine treatment planning [13]. Linear penalty models employ linear functions to reduce
deviations from desired dose distributions, offering computational efficiency that is advantageous
for real-time applications. Dose-volume models prioritize achieving specific dose-volume
constraints, balancing tumor control with the preservation of healthy tissues. Mean-tail dose models
are used to minimize the mean dose to the tail of the dose distribution, lowering the risk of
complications from high-dose areas. Quadratic penalty models utilize quadratic functions to create
a smoother optimization landscape, which contributes to generating more stable solutions.
Radiobiological models integrate biological effects of radiation, such as cell survival probabilities,
and are essential for tailoring treatments to individual patients. Multiobjective models consider
various goals simultaneously (such as enhancing tumor control while limiting side effects), often
relying on Pareto optimization techniques to identify balanced solutions.</p>
      <p>3D packing problems, such as bin packing, knapsack, and strip-packing, are indeed NP-hard
optimization challenges with no known polynomial-time exact solutions. This inherent complexity
necessitates the development of heuristic and approximation algorithms that balance solution quality
with computational efficiency.</p>
      <p>Modern methods for solving 3D packing problems include hodograph-based nonlinear
programming, which optimizes dense placements using hodograph vector functions like the
phifunction technique [16,19] and involves solving systems of nonconvex constraints to avoid overlaps.
Heuristic strategies, such as genetic algorithms, simulated annealing, and tree-search methods, are
commonly applied to multi-dimensional knapsack problems. Additionally, voxelization discretizes
complex shapes into voxels, which are 3D pixels composed of rectangles or parallelepipeds.</p>
      <p>Various optimization algorithms are employed to find the best packing configurations for
polyhedral objects [20]. These algorithms iteratively adjust the positions and orientations of the
polyhedra to maximize packing density and minimize void spaces. Paper [21] proposes a heuristic
algorithm based on the principle of minimum total potential energy for solving 3D irregular packing
problems. This algorithm is designed to pack a set of irregularly shaped polyhedrons into a
boxshaped container with fixed width and length but unconstrained height. Lamas Fernández [22]
explored irregular 3D packing using metaheuristics and geometric strategies, introducing the no-fit
voxel a 3D extension of the no-fit polygon to handle irregular shapes and optimize free-rotation
constraints. Such approaches are particularly relevant in fields like aerospace and archaeology,
where non-uniform items are frequently encountered.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Mathematical formulation</title>
      <p>The intelligent system proposed in this study is fundamentally represented as a mathematical model.
Specifically, the tumor is modeled as a convex polyhedron, and the capsules are presented as
cylinders with defined spatial coordinates and orientation angles. The placement constraints are
expressed using normalized phi-functions, which quantify distances between capsules and between
capsules and the tumor boundary. The objective function seeks to maximize the number of capsules
placed within the tumor while satisfying all geometric constraints. This results in a mathematical
programming problem that is solved using specialized algorithms.</p>
      <p>Let Сi be cylinders (capsules) with radius r and height 2h , i  I N = {1, 2,..., N} , where N is a
sufficiently large number. The location of each cylinder Ci in the Euclidean space R3 is defined as
ui = (vi , i ), where vi = (xi , yi , zi )
u = (u1, u2 ,..., un ) where
ui = (vi , i ), vi = (xi , yi , zi ) are
coordinates of the pole a point on the cylinder axis equidistant from its top and bottom bases and
i = (i ,i ) are the orientation angles. The cylinder Ci with placement parameters ui is denoted
as Ci (ui ) , i  I N .</p>
      <p>The placement region T (tumor) is specified as a convex polyhedron defined as the intersection
of half-spaces H j , which are determined by planes T j given by the normal equations
Aj x + Bj y + C j z + Dj = 0 , j  Jm = {1, 2,..., m} , where m is the number of half-spaces:
T =
m</p>
      <p>H j , H j = {(x, y, z)  R3 : Aj x + Bj y + C j z + Dj  0}.</p>
      <p>j=1</p>
      <p>The objective is to maximize the number of cylindrical capsules n  N that can be placed within
the region T without mutual overlap, maintaining a minimum distance d1 between the cylinders
and to the tumor boundaries d2 . This formulation ensures a high packing density, providing optimal
tumor coverage, while the imposed distance constraints help prevent overdose and reduce the impact
on surrounding healthy tissues.</p>
      <p>
        The mathematical model of the problem is as follows:
where
In (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ),
n* = max  i (ui ) s.t. u  G
      </p>
      <p>iIN
 1 if i (ui ) − d2  0,
i (ui ) = </p>
      <p> 0 otherwise,
G = u  R5n : i (ui )  0,ij (ui ,u j ) − d1  0, i  j  IN  .</p>
      <p>
        i (ui ) = min ipj (ui )
jJm
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
is a normalized phi-function for Ci and T * where T * = R3 \ int T , i  I N [16,19], with the
inequality i (ui )  d2 ensuring placement of Ci within T , not close d2 to the frontier of T . Here,
ipj (ui ) is a normalized phi-function for Ci and T j , j  Jm . Meanwhile, the inequality
ij (ui , u j )  d1 establishes that the distance between Ci and C j , i  j  I N is not less than d1 .
      </p>
      <p>The exact number of capsules that can be placed within under the given T the given minimum
allowed distances d1 and d2 is initially unknown. However, an upper estimate can be made by
analyzing the ratio of the volumes of the cylinders to the volume of T .</p>
      <p>According to the typology of Cutting and Packing Problems [23] the problem relates to
Identical Item Packing Problem. Therefore, to obtain a solution to the problem, a sequential addition
scheme [24] is typically used, also known as block optimization [25].</p>
      <p>The key point is constructing normalized phi-functions i (ui ) and ij (ui , u j ) , whose values give
the distance between the cylinders and from the cylinders to the boundary of T . An additional layer
of complexity arises from the presence of orientation angles, which specify the orientation of the
cylinders.</p>
      <p>In this study, cylinders are the discretized using convex polyhedra which allows for more
straightforward mathematical modeling of the problem constraints.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Polyhedral packing problem</title>
      <sec id="sec-4-1">
        <title>4.1. Polyhedral approximation for cylinder</title>
        <p>First of all we define the coordinates of vertices of the polyhedron Pi (ui ) corresponding to the
cylinder Ci (ui ) . Let na be a number of planes (polygons) discretizing the lateral surface of Ci (ui ) .
Then coordinates of vertices can be calculated as
xij = xcj cosi − ycj sini sini + zcj cosi sini ,
yij = ycj cosi + zcj sini ,
 zij = −xcj sini − ycj sini cosi + zcj cosi cosi
where xcj = xi + r cos j , ycj = xi − r sin j , zcj = zi  h , j = 1, 2,..., na .</p>
        <sec id="sec-4-1-1">
          <title>Values xcj , y cj and z cj</title>
          <p>are specified in the eigen cylindrical coordinate system where
 j = 2( j −1) / na , j = 1, 2,..., na . In this way, the lateral surface of each cylinder is discretized using
na quadrilaterals with pairwise adjacent edges and two polygons with na vertices each are used to
discretize the top and bottom bases of the cylinder (Figure 1).</p>
          <p>The discretization of cylinders by polyhedra requires formulating the problem of packing convex
polyhedra within a given region. To transition from cylinders to polyhedra, phi-functions are
necessary for handling interactions between two convex polyhedra [20].</p>
          <p>
            To solve problem (
            <xref ref-type="bibr" rid="ref1">1</xref>
            ) (
            <xref ref-type="bibr" rid="ref3">3</xref>
            ) we introduce a vector g = (g1, g2 ,..., gN ) of homothety coefficients for
the polyhedra Pi (ui ), i  I N as described in [26]. In what follows, Pi (ui ) with the homothety
coefficient gi is denoted as Pi (ui , gi ) , i  I N . Then, the expression (
            <xref ref-type="bibr" rid="ref3">3</xref>
            ) is written in the form
          </p>
          <p>G = u  R10N : i (ui , gi )  0, ij (ui ,u j , gi , g j )  d1, i  j  I N 
where the inequality ij (ui ,u j , gi , g j ) − d1  0 ensures that Pi (ui , gi ) and Pj (u j , g j ) placed at the
distance d1 while the inequality i (ui , gi )  0 guarantees containment of Pi (ui , gi ) within T ,
maintaining the minimum allowed distance d2 from the boundary.</p>
          <p>To solve the problem of packing convex polyhedra, one can use the strategy proposed in [27].</p>
          <p>
            The accuracy of cylinder discretization into polyhedra leads to polyhedra with many faces,
significantly increasing the dimensionality of problem (
            <xref ref-type="bibr" rid="ref1">1</xref>
            ) (
            <xref ref-type="bibr" rid="ref3">3</xref>
            ). Therefore, it is necessary to balance
the required accuracy of the solution with its computational complexity.
          </p>
        </sec>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Solution strategy</title>
        <p>To reduce time and computational costs, the solution to the polyhedron placement problem can
be divided into several stages.</p>
        <p>Strategy for solving the problem.</p>
        <p>Step 1. Assess the quantity n , which guarantees that Pi (ui ), i  In can be placed in T .
Step 2. Set n := n + 1.</p>
        <p>Step 3. Set g := (0.01, 0.01,..., 0.01) .</p>
        <sec id="sec-4-2-1">
          <title>Step 4. Randomly generate a vector v , ensuring vi T .</title>
          <p>Step 5. Randomly generate vectors i = (i ,i ) , i  In , 0  i  2 , 0  i  2 .
Step 6. Fix the values of the vectors i = (i ,i ) , setting them as constants.
Step 7. Form the auxiliary problem
 * = max  gi s.t.  = (v, g) W</p>
          <p> iIn
where</p>
          <p>W =   R4n : i (vi , gi )  0, i  In , ij (vi , v j , gi , g j ) − d1  0, g  1, i  j  In .
Step 8. If  * = n , then return to Step 2.</p>
          <p>Step 9. Treat the vector values i = (i ,i ) , i  In , as variables and solve the problem
 * = max  gi s.t.  = (u, g)  Q ,</p>
          <p> iIn</p>
          <p>Q =   R6n : i (ui , gi )  0, i  In , ij (ui ,u j , gi , g j ) − d1  0, g  1, i  j  In .
Step 10. If  * = n , then return to Step 2.</p>
          <p>
            Step 11. An approximate solution to problem (
            <xref ref-type="bibr" rid="ref1">1</xref>
            ) is taken to be n* := n − 1.
(
            <xref ref-type="bibr" rid="ref4">4</xref>
            )
(
            <xref ref-type="bibr" rid="ref5">5</xref>
            )
(
            <xref ref-type="bibr" rid="ref6">6</xref>
            )
(
            <xref ref-type="bibr" rid="ref7">7</xref>
            )
          </p>
        </sec>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Special decomposition</title>
        <p>
          To find local extrema of the nonlinear programming problems (
          <xref ref-type="bibr" rid="ref4">4</xref>
          ), (
          <xref ref-type="bibr" rid="ref5">5</xref>
          ) and (
          <xref ref-type="bibr" rid="ref6">6</xref>
          ), (
          <xref ref-type="bibr" rid="ref7">7</xref>
          ), a dedicated
decomposition has been developed. This method significantly reduces computational costs by
decreasing the number of nonlinear constraints involved in the optimization process.
        </p>
        <p>The core idea is to solve the original problem as a sequence of subproblems, each defined over a
restricted subset of the feasible region. At each iteration, the movement of each capsule is constrained
by introducing additional constraints that confine it to an individual rectangular container, a
subregion of the overall placement area. These containers are dynamically adjusted based on the
current solution.</p>
        <p>This restriction serves two main purposes. Firstly, it reduces the dimensionality of the feasible
region, making the subproblem easier to solve. Secondly, it allows us to omit certain non-overlapping
constraints between capsule pairs whose containers do not intersect. Since these capsules are
guaranteed not to overlap within their respective containers, the corresponding nonlinear
inequalities can be safely excluded from the subproblem.</p>
        <p>After solving a subproblem, the algorithm checks whether any of the containers begin to intersect.
If so, the previously excluded constraints between the corresponding capsule pairs are reintroduced
in the next subproblem. This dynamic constraint management ensures that only relevant constraints
are considered at each step, significantly improving computational efficiency.</p>
        <p>The local extremum found in each subproblem is used as the starting point for the next iteration.
This iterative refinement continues until convergence is achieved.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Computational experiments</title>
      <p>In this section, we present the computational experiments conducted to evaluate the performance of
the developed intelligent system. To assess its effectiveness, several test cases were generated based
on real brachytherapy treatment data. For solving nonlinear programming problems, the free solver
IPOPT [28], which is based on the interior point method, was used. All experiments were performed
on a personal computer with the following configuration: Intel Core i5-5300U CPU (2 cores, 2.30
GHz); 8 GB RAM; Windows 10 Pro 64-bit operating system.</p>
      <p>Brachytherapy capsules are known to vary in size depending on the radioisotope and application
[14,15,29]. Cylindrical capsules are typically 0.5 mm to 1 mm in diameter and 3 mm to 5 mm in
length. The number of capsules needed depends on the size and location of the tumor. For instance,
prostate cancer treatment may involve placing between 40 and 100 capsules. Tumor sizes treated
with brachytherapy vary: prostate tumors range from 2 cm to 5 cm, gynecological tumors from 1 cm
to 4 cm, and breast tumors from 1 cm to 5 cm.</p>
      <p>The minimum allowable distance between brachytherapy capsules is typically 3 mm, while the
distance from the capsules to the tumor boundary is generally 1.5mm. This spacing helps ensure
uniform radiation dose distribution and avoids overlapping radiation zones, which contributes to
effective tumor treatment [30].</p>
      <p>The sizes of the placement area were also chosen based on existing treatment practices. Distances
were varied in the range from 0 to 3 mm different clinical
cases. A rectangular parallelepiped was chosen as the placement area; however, the system is
compatible with any convex polyhedron and can be extended to support non-convex geometries as
well.</p>
      <p>Example 1. The metric characteristics of the cylindrical capsules are radius r = 0.5 and half-height
h = 1.5 . The placement area is the rectangular parallelepiped with width w = 20.0014 , length
l = 15.505 , and height h = 18.0477 . The minimum allowable distance between capsules is d1 = 3
while one from capsules to the tumor boundary is d2 = 1.5 . A total of 40 capsules were placed. The
computation time was about 5 minutes. An illustration of the placement is shown in Figure 2.</p>
      <p>Example 2. The metric characteristics of the cylindrical capsules are: r = 0.5 , h = 1.5 . The
placement area is a rectangular parallelepiped with w = 12.254 , l = 14.2557 , h = 12.2075 . The
minimum allowable distance between capsules is d1 = 1 , and the minimum distance from capsules to
the tumor boundary is d2 = 0.5 . A total of n* = 100 capsules were placed. The computation time
was about 65 minutes. An illustration of the placement is shown in Figure 3.</p>
      <p>Example 4. The capsule and placement area parameters are: r = 0.5 , h = 1.5 , w = 23.0538 ,
l = 29.3647 , h = 22.5989 , d1 = 3 , d2 = 1.5 . A total of n* = 100 capsules were placed. The
computation time was about 73 minutes. An illustration of the placement is shown in Figure 5.</p>
      <p>The number of capsules has a significant impact on both the computation time and the complexity
of the placement process. While the system efficiently handles varying quantities, larger numbers of
capsules naturally require greater computational resources. Additionally, the inter-capsule distance
directly influences how many capsules can be accommodated within a given tumor volume. Smaller
distances enable denser packing, which may enhance radiation dose distribution and overall
treatment effectiveness. The -capsule
distances ranging from 0 to 3 mm, demonstrating its flexibility in meeting diverse clinical
requirements.</p>
      <p>The system dynamically adjusts the number and spatial arrangement of capsules based on the
specific characteristics of each tumor, making it applicable to a wide range of cancer types. By
employing packing algorithms, it ensures uniform radiation dose distribution while avoiding
overlapping radiation zones. This spatial optimization contributes to effective tumor treatment.
and without spacing constraints, confirming its robustness and adaptability.</p>
      <p>Although a rectangular parallelepiped was used as the placement area in the experiments, the
system is designed to operate with any convex polyhedron and can be extended to non-convex
geometries. This geometric flexibility enhances its applicability across various anatomical structures
and clinical scenarios.
potential, clinical implementation requires careful validation and calibration of model parameters.
The current approach is based on idealized geometric assumptions. In real-world clinical settings,
factors such as tissue heterogeneity, anatomical variability, and patient-specific constraints must be
taken into account to ensure safe and effective treatment planning.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>The intelligent system for planning brachytherapy treatment demonstrates significant potential in
enhancing the precision and efficiency of treatment. It ensures optimal placement of radioactive
capsules, achieving the required radiation dose in the tumor while minimizing the impact on healthy
tissues. Advanced mathematical programming and automation enhance both the precision and
efficiency of the treatment process, while also reducing planning time, which is critical for patient
care. icularly the use of normalized phi-functions and
polyhedral approximations, allows it to adapt to complex geometric constraints and optimize capsule
arrangements effectively. This formalization not only improves computational efficiency but also
ensures reproducibility and scalability. Future research should focus on developing more efficient
methods for constructing phi-functions. These functions are crucial for accurately modelling the
interactions between capsules and ensuring optimal placement within the tumour. Improved
phifunctions can enhance the precision of the placement algorithm, leading to better treatment
outcomes. Incorporating advanced optimization techniques, such as machine learning and artificial
intelligence, can further improve the efficiency and accuracy of the packing algorithm. These
techniques can help in dynamically adjusting the placement parameters based on real-time data,
ensuring optimal dose distribution. Although the current model is based on idealized geometric
assumptions, it provides a robust foundation for future clinical integration. In real-world
applications, factors such as tissue heterogeneity, anatomical variability, and patient movement can
significantly affect treatment accuracy. Future work will focus on incorporating these complexities
by introducing additional constraints and parameters into the optimization model. For example,
directional radiation emission can be modeled by constraining capsule orientation, and dose control
can be integrated through radiobiological modeling. These enhancements can be developed in
collaboration with clinical experts to ensure practical relevance and safety.</p>
    </sec>
    <sec id="sec-7">
      <title>Declaration on Generative AI</title>
      <p>During the preparation of this work, the authors used Grammar and spelling checks.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>I.</given-names>
            <surname>Bazarbekov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Razaque</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ipalakova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Yoo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Assipova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Almisreb</surname>
          </string-name>
          ,
          <article-title>A review of artificial intelligence methods for Alzheimer's disease diagnosis: Insights from neuroimaging to sensor data analysis</article-title>
          <source>Biomedical Signal Processing and Control</source>
          <volume>92</volume>
          (
          <year>2024</year>
          )
          <article-title>106023</article-title>
          . doi:
          <volume>10</volume>
          .1016/j.bspc.
          <year>2024</year>
          .
          <volume>106023</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>C.</given-names>
            <surname>Parkinson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Matthams</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Foley</surname>
          </string-name>
          , E. Spezi,
          <article-title>Artificial intelligence in radiation oncology: A review of its current status and potential application for the radiotherapy workforce</article-title>
          ,
          <source>Radiography</source>
          <volume>27</volume>
          (
          <issue>Suppl 1</issue>
          ) (
          <year>2021</year>
          )
          <article-title>S63 S68</article-title>
          . doi:
          <volume>10</volume>
          .1016/j.radi.
          <year>2021</year>
          .
          <volume>07</volume>
          .012.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S. S.</given-names>
            <surname>Bhuyan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Sateesh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Mukul</surname>
          </string-name>
          , et al,
          <article-title>Generative Artificial Intelligence Use in Healthcare: Opportunities for Clinical Excellence</article-title>
          and
          <string-name>
            <given-names>Administrative</given-names>
            <surname>Efficiency</surname>
          </string-name>
          ,
          <source>J Med Syst 49</source>
          <volume>10</volume>
          (
          <year>2025</year>
          ).
          <source>doi:10.1007/s10916-024-02136-1.</source>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Sharma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Savage</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Nair</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Larsson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Svedberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. M.</given-names>
            <surname>Nygren</surname>
          </string-name>
          ,
          <source>Artificial Intelligence Applications in Health Care Practice: Scoping Review, J Med Internet Res 24</source>
          <volume>10</volume>
          (
          <year>2022</year>
          )
          <article-title>e40238</article-title>
          . doi:
          <volume>10</volume>
          .2196/40238.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Yang,
          <source>Research on Medical Problems Based on Mathematical Models, Mathematics 11</source>
          <volume>13</volume>
          (
          <year>2023</year>
          )
          <article-title>2842</article-title>
          . doi:
          <volume>10</volume>
          .3390/math11132842.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <article-title>[6] dels for Optimal DecisionMaking in Health Care, Computational</article-title>
          and Mathematical Methods in Medicine (
          <year>2019</year>
          )
          <volume>2945021</volume>
          , 4 p. doi:
          <volume>10</volume>
          .1155/
          <year>2019</year>
          /2945021.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Á.</given-names>
            <surname>Iglesias-Puzas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Boixeda</surname>
          </string-name>
          ,
          <source>Deep Learning and Mathematical Models in Dermatology, Actas Dermo-Sifiliográficas 111 3</source>
          (
          <year>2020</year>
          )
          <fpage>192</fpage>
          195. doi:
          <volume>10</volume>
          .1016/j.adengl.
          <year>2020</year>
          .
          <volume>03</volume>
          .005.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>L. A.</given-names>
            <surname>Everett</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y. M.</given-names>
            <surname>Paulus</surname>
          </string-name>
          ,
          <article-title>Laser Therapy in the Treatment of Diabetic Retinopathy and Diabetic Macular Edema</article-title>
          ,
          <source>Current Diabetes Reports 21</source>
          <volume>35</volume>
          (
          <year>2021</year>
          ) doi:10.1007/s11892-021-01403-6.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>G.</given-names>
            <surname>Yaskov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Chuhai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Yaskova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Zhuravka</surname>
          </string-name>
          ,
          <article-title>Intelligent System for Planning Treatment of Retinopathy with Laser Technology</article-title>
          ,
          <source>in: COLINS-2024</source>
          (
          <year>2024</year>
          ) 59
          <fpage>69</fpage>
          . Available at https://ceurws.org/Vol-
          <volume>3664</volume>
          /paper6.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>S.</given-names>
            <surname>Kedia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Santhoor</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Singh</surname>
          </string-name>
          ,
          <string-name>
            <surname>Adverse Radiation Effects Following Gamma Knife Radiosurgery</surname>
          </string-name>
          ,
          <source>Neurology India</source>
          <volume>71</volume>
          (
          <year>2023</year>
          )
          <article-title>S59 S67</article-title>
          . doi:
          <volume>10</volume>
          .4103/
          <fpage>0028</fpage>
          -
          <lpage>3886</lpage>
          .
          <fpage>373645</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>H. R.</given-names>
            <surname>Park</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. S.</given-names>
            <surname>Jeong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. H.</given-names>
            <surname>Kim</surname>
          </string-name>
          , et al.,
          <article-title>Long-Term Outcome of Unilateral Acoustic Neuromas With or Without Hearing Loss: Over 10 Years and Beyond After Gamma Knife Radiosurgery</article-title>
          ,
          <source>J Korean Med Sci. 38</source>
          <volume>40</volume>
          (
          <year>2023</year>
          )
          <article-title>e332</article-title>
          . doi:
          <volume>10</volume>
          .3346/jkms.
          <year>2023</year>
          .
          <volume>38</volume>
          .
          <year>e332</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Stoyan</surname>
          </string-name>
          , G. Yaskov,
          <article-title>Optimized packing unequal spheres into a multiconnected domain: mixedinteger non-linear programming approach</article-title>
          ,
          <source>International Journal of Computer Mathematics: Computer Systems Theory 6 1</source>
          (
          <issue>2021</issue>
          )
          <fpage>94</fpage>
          111. doi:
          <volume>10</volume>
          .1080/23799927.
          <year>2020</year>
          .
          <volume>1861105</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>B.</given-names>
            <surname>Morén</surname>
          </string-name>
          , T. Larsson, Å. Carlsson Tedgren,
          <article-title>Optimization in treatment planning of high doserate brachytherapy Review and analysis of mathematical models</article-title>
          ,
          <source>Medical Physics</source>
          <volume>48</volume>
          (
          <year>2021</year>
          )
          <year>2057</year>
          2082. doi:
          <volume>10</volume>
          .1002/mp.14762.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>