<!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>CEUR
Workshop Proceedings</journal-title>
      </journal-title-group>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.26906/SUNZ.2024.2.099</article-id>
      <title-group>
        <article-title>Statistical Characteristics of the Reference Route Improvement Procedure Using a Stack of Iterative</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>2 Institute of Software Systems of the National Academy of Sciences of Ukraine, 40 Academician Glushkova Avenue, Building</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>5</institution>
          ,
          <addr-line>Kyiv, Ukraine, 03187</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2024</year>
      </pub-date>
      <volume>3</volume>
      <issue>1</issue>
      <fpage>0000</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>The paper studies the statistical characteristics of methods for constructing a suboptimal flight route for an unmanned aerial vehicle (UAV) that performs the task of eliminating the consequences of an emergency. The task can be classified as a traveling salesman problem (TSP). The paper explores the features of the procedure for finding and refining a reference route. For the effective use of limited computing resources in field conditions, preference is given to quickly obtaining a suboptimal solution. For this, at the first stage, a reference solution is obtained using the greedy nearest neighbor algorithm, which is then improved using a stack of iterative methods. The order of methods in the stack (moving one point, exchanging two points, and eliminating intersections of route sections) may vary depending on the conditions of the problem statement and the features of the location of route points. The route quality criterion is the route length. The method allows using other indicators as a quality criterion. During numerical simulation, it was determined that the dependence of the route length on the number of iterations can be approximated by a decreasing exponent. The indicator of the gain of the route length on the iteration number at which it was achieved was determined to be more informative. This dependence can be approximated by an increasing exponent in the saturation zone (approach to the asymptote). During numerical experiments, from 30 to 3000 tests were performed, which showed that the random values of the gain and the iteration number at which it was achieved obey the normal distribution law. The gain value lies in the range from 0 to 41%, the mathematical expectation of the gain is 16%, and the standard deviation is 8%. The number of iterations required to obtain the best solution ranges from 1 to 25, the mathematical expectation is 9.7, the standard deviation is 4. The Pearson correlation coefficient of the specified random variables is Cor = 0.5009, which indicates their moderate relationship. The modeling was performed in the algorithmic language MatLab.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;emergency situation</kwd>
        <kwd>drone</kwd>
        <kwd>flight route</kwd>
        <kwd>route points</kwd>
        <kwd>optimization</kwd>
        <kwd>reference solution</kwd>
        <kwd>model</kwd>
        <kwd>computational methods</kwd>
        <kwd>statistical characteristics 1</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>2,†
, and Viktor</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>The traveling salesman problem (TSP) requires visiting each location exactly once and returning to
the point of origin. The route must be built in such a way as to minimize its cost. The cost of the
route depends on its length, duration in time, the cost spent on overcoming it, etc. Today, the scope
of the traveling salesman problem is expanding and the relevance of the problem is increasing. In
this study, the traveling salesman problem is solved for the route of an unmanned aerial vehicle
(UAV), which is used to eliminate the consequences of emergency situations.</p>
    </sec>
    <sec id="sec-3">
      <title>2. Analysis of existing research</title>
      <p>This study considered the following methods for solving the traveling salesman problem.</p>
      <p>Brute Force method [1, 2, 3, 4]. Ordered search method based on the discrete dynamic
programming method (Held-Karp algorithm). The disadvantage of the methods is the high
requirements for computational resources, which limits the maximum number of route points to
25.</p>
      <p>In applied problems with real objects, the solution must be obtained, first of all, in time.
Therefore, preference should be given to fast methods, even if they are somewhat inferior in
accuracy. At the first stage, we find a reference solution using fast but inaccurate greedy
algorithms [5, 6]. Then we refine the reference solution using other methods. A promising
direction for improving reference solutions is the use of neural networks, [6, 7, 8, 9, 10]. The
prospects of such an approach are promising. The disadvantage is the lack of visibility of the
intermediate results of the reference solution improvement procedure. This effectively eliminates
the possibility of the operator interfering in the optimization process for atypical sets of route
points. Another promising direction is the use of quantum computing [11, 12, 13]. Unfortunately,
the corresponding technical means are still capable of providing a solution to the traveling
salesman problem for the same number of points as the direct search methods.</p>
      <p>More effective in our practical problems are genetic algorithms [6, 14] and local optimization
methods such as 2-opt, 3-opt (permutation of segments). Unfortunately, existing approaches to the
use of local optimization methods do not pay enough attention to their combination [15]. This is
where the potential for rapid improvement of the reference solution lies.</p>
      <p>In addition, the combination of methods (stack of methods) forms computational processes, the
numerical and qualitative characteristics of which may differ significantly from the characteristics
of the individual methods included in the stack of methods. An open question remains the
statistical characteristics of the methods, which could help predict the effectiveness of the methods
and contribute to the improvement of their characteristics.</p>
      <p>The aim of the article is to determine the statistical characteristics of the stack of iterative
methods used to improve the reference route. Determining the statistical characteristics is
necessary to predict the effectiveness of the methods in terms of the magnitude of the
improvement of the reference solution and the number of iterations required for such
improvement.</p>
    </sec>
    <sec id="sec-4">
      <title>3. General characteristics of methods for creating and improving the reference trajectory</title>
      <p>The criterion for route optimization is finding the route with the minimum cost. In our case, cost is
the length of the route, which is equal to the sum of the distances between all pairs of points on a
particular route.</p>
      <p>=</p>
      <p>! ,  − 1 .
!(,  − 1) =
!"#$%&amp;%$,!!!,!</p>
      <p>
        !
! − !!! ! + ! − !"!! ,
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
where ,  − 1 - numbers of the current and previous route points; ,  - coordinates of points in
abscissa and ordinate. Unfortunately, the iterative procedures used in the study cannot guarantee
finding a global optimum. Most likely, some approximation to a global or local optimum will be
found. The sequential use of different iterative methods to improve the initial reference solution
allows you to leave the zones of local optima and bypass ravine sections.
      </p>
      <p>The iterative methods used in this study to obtain and improve the reference route will be
denoted as follows:</p>
      <p>NPM - Nearest Point Method allows you to quickly obtain a reference route.
1PM - 1-Point Moving Method improves the reference route by moving individual points.
2PE - 2-Point Exchange Method improves the reference route by exchanging the places of two
route points.</p>
      <p>DC - Delete Crossing Method improves the reference route by recognizing and eliminating
crossings of individual route sections.</p>
      <p>If the cycle of methods for improving the optimal route is repeated R times, then the possible
scenarios for obtaining and improving the reference route can be presented as follows.
 + (2 + 1 + ) ∗ .
 + ( + 2 + 1) ∗ .
 + (1 +  + 2) ∗ .
 + (2 +  + 1) ∗ .
 + (1 + 2 + ) ∗ .</p>
      <p>+ ( + 1 + 2) ∗ .</p>
      <p>
        The most promising scenario for improving the reference solution is scenario (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ). Its logic is
that first the fastest and most extensive mixing of points in pairs occurs (2PE). Then a more
delicate movement of individual points (1PM). At the end, only the intersections of segments are
eliminated, if any remain (DC). This scenario was used in the study.
      </p>
      <p>
        If certain features of the set of route points are identified, other scenarios may be recognized as
more effective. For example, if the reference trajectory has many intersections of segments, then
scenarios (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) and (8) may be recognized as appropriate, since they immediately eliminate obvious
problem areas with intersections.
      </p>
      <p>The use of each of the methods changes the topological characteristics of the route. The
identification of such characteristics may be the basis for choosing a particular method of
improving the reference route.</p>
    </sec>
    <sec id="sec-5">
      <title>4. Study of the patterns of practical use of methods for creating and improving the reference trajectory</title>
      <p>Consider the results of searching for the optimal route for 50 intermediate route points. The results
obtained at different iterations at the level of individual methods are presented in Figure 1-3. The
reference route, which was found at the beginning of the simulation using the nearest neighbor
method, is colored blue. The route, which is improved at the current iteration, is colored red. The
starting and ending points of the route coincide (the UAV base) and are marked with two red
concentric circles. The last section of the route (return to the base) is represented by a dashed line.</p>
      <p>Each of the iterative methods was used until the improvement of the result (reduction of the
route length) stopped. Then the cycle of methods was repeated. The general iterative procedure
was stopped if no improvement of the result was obtained during the cycle. The dependence of the
route cost on the iteration number at the method level has a character that can be approximated by
a decreasing exponent (Figure 5).</p>
      <p>
        The route costs that were provided at different iterations are denoted by !, where i –
iteration number, or using an index corresponding to a specific method
( !", !!", !!", !")
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
(
        <xref ref-type="bibr" rid="ref5">5</xref>
        )
(6)
(7)
(8)
      </p>
      <p>The corresponding protocol for obtaining and improving the reference route is presented in</p>
      <p>To assess the effectiveness of the iterative procedure, the dependence of the gain obtained at
each iteration step was used (Figure 6).</p>
      <p>= 100% !" − ! / !".</p>
      <p>This dependence can be approximated by an exponential that grows and enters the saturation
zone. The blue triangle and the red circle mark the beginning and end of the section where the
improvement of the iteration results stops.
(9)</p>
      <p>For other sets of waypoints, the numerical results were different, but had similar qualitative
characteristics. For example, consider the procedure for improving the reference route for the set of
waypoints presented in Figure 7-8.</p>
      <p>The route cost and the gain in terms of route cost depending on the iteration number at the
method level also retain an exponential character (Figure 9, 10). The gain in this case exceeded 30%,
unlike the previous case (less than 7%).</p>
      <p>The location of the route points in the model was chosen randomly using the built-in MatLab
rand() function, which produces random numbers according to a uniform distribution law. The
results of 30 tests are presented in Figure 11.</p>
      <p>As we can see, the largest number of win values lies in the range of 10-20%. The maximum win
value is slightly more than 34%. The density pattern of the graphs leads to the idea of the
possibility of a normal distribution of the results of modeling the win value for uniformly
distributed random sets of route points. For high-quality planning of experiments in the future and
more accurate prediction of the results of searching for the best routes, it would be advisable to
determine the statistical characteristics of the values that characterize the results of modeling and
searching for optimal routes.</p>
    </sec>
    <sec id="sec-6">
      <title>5. Study of statistical characteristics of optimal route search results</title>
      <p>For 30 trials, we will plot the distribution of points of the results of the search for optimal solutions
in the coordinates of the gain value (ordinate) depending on the iteration number (abscissa) at
which this gain was achieved (Figure 12). The search results for each trial are marked with a point.
The red segments show the values of the standard deviations for both coordinates. The intersection
of the segments corresponds to the mathematical expectations. The blue line is the diagonal of the
rectangle, which indicates the area covered by the two standard deviations for both coordinates.
 =
!!!!(! − )(! − )
,</p>
      <p>The Pearson correlation coefficient (Cor = 0.5879) indicates a noticeable, rather strong
relationship between the gain value  and the number of iterations , which were needed to obtain
such a win.</p>
      <p>! !</p>
      <p>Where  – sample number,  – number of elements in the sample, !, ! - value of quantities ,
 for a specific sample element, ,  - mathematical expectations, !, ! - standard deviations of
values , .</p>
      <p>The corresponding distribution laws of random variables F(x) and the dependence of their
probability densities f(x) are presented in Figure 13. With such a small sample, the distribution law
of the random variable does not seem to be clearly understandable. The sample must be increased.
(10)</p>
      <p>The magnitudes of the gain in terms of the route cost depending on the iteration number for
3000 trials are presented in Figure 14. The corresponding distribution laws of random variables F(x)
and the dependences of their probability densities f(x) are presented in Figure 15. The dependences
visually correspond to the normal distribution law of random variables.</p>
      <p>The Pearson correlation coefficient (Cor = 0.5009) in contrast to the smaller sample size is closer
to moderate. We cannot increase the quality of the solution by increasing the number of iterations
because the number of iterations is not a controlling factor. The number of iterations depends on
the features of the location of the route points on the terrain and, accordingly, on the features of
the reference trajectory. The iterative procedure is stopped after the quality of the result has
stopped improving, and not on the desire of the researcher. Therefore, this value of the Pearson
correlation coefficient can be interpreted as follows: if the features of the reference trajectory allow
you to get a better quality of the result (a shorter route length), then with a certain probability this
will require a larger number of iterations. The size of the gain is in the range from 0 to 41%, the
mathematical expectation of the gain is 16%, the standard deviation is 8%. The number of iterations
required to obtain the best solution ranges from 1 to 25, the mathematical expectation is 9.7, and
the standard deviation is 4. The found indicators allow predicting the results of constructing and
improving the UAV reference route for the selected quality criterion.</p>
      <p>In this study, the route length was chosen as the route quality criterion. In other problem
statements, time, cost, danger, etc. can be chosen as the quality criterion. Also, combinations of the
above and other indicators can be chosen as criteria, for example, in the form of a scalar
convolution [16, 17].</p>
    </sec>
    <sec id="sec-7">
      <title>6. Conclusions</title>
      <p>The paper investigates the features of the procedure for finding and refining the reference route in
the traveling salesman problem for a UAV involved in the elimination of the consequences of an
emergency.</p>
      <p>For the effective use of limited computing resources in field conditions, preference is given to
quickly obtaining a suboptimal solution using a greedy algorithm, which is then improved using a
stack of iterative methods.</p>
      <p>The order of the methods in the stack (moving one point, exchanging two points, and deleting
intersections of route sections) can change depending on the conditions of the problem formulation
and the features of the location of the route points.</p>
      <p>The route quality criterion is the route length. The method allows using other indicators as a
quality criterion.</p>
      <p>During numerical modeling, it was determined that the dependence of the route length on the
number of iterations can be approximated by a decreasing exponent.</p>
      <p>The indicator of the gain of the route length from the iteration number at which it was achieved
was determined to be more informative. This dependence can be approximated by an increasing
exponent in the saturation zone (approaching the asymptote).</p>
      <p>During numerical experiments, from 30 to 3000 trials were performed, which showed that the
random variables of the win and the iteration number at which it was achieved obey the normal
distribution law.</p>
      <p>The win value lies in the range from 0 to 41%, the mathematical expectation of the win is 16%,
the standard deviation is 8%.</p>
      <p>The number of iterations required to obtain the best solution lies in the range from 1 to 25, the
mathematical expectation is 9.7, the standard deviation is 4.</p>
      <p>The Pearson correlation coefficient of the specified random variables is Cor = 0.5009, which
indicates their moderate relationship.</p>
    </sec>
    <sec id="sec-8">
      <title>Declaration on Generative AI</title>
      <p>The author(s) have not employed any Generative AI tools.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Dika</given-names>
            <surname>Setyo</surname>
          </string-name>
          <string-name>
            <surname>Nugroho</surname>
          </string-name>
          , Ahmad Ilham,
          <article-title>Brute force algorithm application for solving traveling salesman problem (tsp) in semarang city tourist destinations, Jurnal Komputer dan Teknologi Informasi</article-title>
          . Vol.
          <volume>1</volume>
          , No. 2,
          <string-name>
            <surname>Bulan</surname>
          </string-name>
          (
          <year>2023</year>
          )
          <fpage>79</fpage>
          -
          <lpage>86</lpage>
          . E-ISSN:
          <fpage>2986</fpage>
          -
          <lpage>7592</lpage>
          , doi: 10.26714/jkti.v3i1.13957. https://jurnal.unimus.ac.id/index.php/JKTI/article/view/16196/pdf.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Gohil</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Tayal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Sahu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            ,
            <surname>Sawalpurkar</surname>
          </string-name>
          ,
          <source>Travelling Salesman Problem: Parallel Implementations &amp; Analysis</source>
          , arXiv e-prints, Art. no.
          <source>arXiv:2205.14352</source>
          (
          <year>2022</year>
          ). doi:
          <volume>10</volume>
          .48550/arXiv.2205.14352. https://arxiv.org/abs/2205.14352.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Condro</given-names>
            <surname>Wibawa</surname>
          </string-name>
          ,
          <article-title>Optimalisasi Rute Wisata di Yogyakarta Menggunakan Metode Travelling Salesman Person dan Algoritma Brute Force, JTS</article-title>
          , vol.
          <volume>1</volume>
          , no.
          <issue>3</issue>
          (
          <year>2022</year>
          )
          <fpage>59</fpage>
          -
          <lpage>65</lpage>
          . DOI:
          <volume>10</volume>
          .56127/jts.v1i3.512 https://journal.admi.or.id/index.php/JTS/article/view/512.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Heping</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <article-title>The 1-1 algorithm for Travelling Salesman Problem, CoRR, v</article-title>
          .
          <source>abs/2104</source>
          .13197 (
          <year>2021</year>
          ) https://doi.org/10.48550/arXiv.2104.13197, https://arxiv.org/abs/2104.13197, https://dblp.org/rec/journals/corr/abs-2104-13197.bib.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>O.</given-names>
            ,
            <surname>Skakalina</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Kapiton</surname>
          </string-name>
          ,
          <article-title>Comparative Analysis of Heuristic Algorithms for Solving the TSP, Control, navigation and communication systems</article-title>
          . (
          <year>2024</year>
          ). doi:
          <volume>10</volume>
          .26906/SUNZ.
          <year>2024</year>
          .
          <volume>2</volume>
          .144, https://www.researchgate.net/publication/380870329_COMPARATIVE_
          <article-title>ANALYSIS_OF_THE_ APPLICATION_OF_HEURISTIC_ALGORITHMS_FOR_SOLVING_THE_TSP_PROBLEM.</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>