ANALYSIS OF THE DEFERRED SOLUTIONS METHOD FOR FINDING OF HAMILTONIAN CYCLE ON A GRAPH
DOI:
https://doi.org/10.20998/2413-3000.2023.7.8Keywords:
graph, Hamiltonian cycle, complexity, NP-completeness, enumeration space, enumeration algorithm, enumeration reduction, deferred solutions method, partial solution, estimate of a partial solutionAbstract
The subject of research is the solving of the problem of finding a Hamiltonian cycle on a graph, which belongs to the NP complexity class. The purpose of the work is to develop an effective polynomial algorithm for its optimal solving. This work is a continuation of the author's previous work, where the method of deferred solutions is proposed, which uses a iterating over acceptable solutions scheme, which is explaining by the inability to formulate conditions for directly finding the optimal solution. For a graph of n vertices, the size of the iteration space is (n-1)!. For large values n, the time costs are unacceptably large and their reduction is required. During the operation of the deferred solutions method, until the generated solution of the problem becomes a Hamiltonian cycle, it has name – a partial solution. The scheme underlying the deferred solutions method provides: the rejection of the complete construction of all solutions, the simultaneous formation of a set of partial solutions, the discarding of unpromising solutions, the possibility of returning to deferred partial solutions if necessary, the exclusion of the loss of the optimal solution when discarding partial solutions. However, as shown, only when choosing the correct estimate of partial solutions. At first, the real length of the partial solution path was using as an estimate. For an incomplete graph of 20 vertices, the optimal solution found in 0.005 minutes, but on a complete graph of 20 vertices, the search time was commensurate with the search of all possible solutions to the problem. The article analyzes and shows that the real length of the path as an estimate is logically justified and guarantees finding the optimal solution. However, does not always guarantee the minimum time spent searching for it, since when searching through the space of acceptable solutions, a search in width scheme worked out, which entails the construction of almost all acceptable solutions. This explains the different time spent on finding the optimal solution for tests incomplete and complete graphs – the sets of acceptable solutions differ significantly. In this work, as an alternative, another estimate is proposing – the path length of the partial solution, measured in the arcs of the graph. As shown that the use of this estimate leads to a search of solutions in depth. This estimate reduces the time to find a solution, but does not guarantee an optimal result. For the successful application of the method, it is necessary to develop a new estimate of partial solutions that would combine the qualities of the estimates considered.
References
Акимов О. Е. Дискретная математика. Логика, группы, графы, фракталы. М., 2005. 656 с.
Емеличев В. А., Ковалев М. М., Кравцов М. К. Многогранники, графы, оптимизация. М. 1981. 341 с.
Гери М., Джонсон Д. Вычислительные машины и труднорешаемые задачи. М., 1982. 416 с.
Little J. D. C. An Algorithm for the Traveling Salesman Problem. Operations Research. 1963. Vol.11. №6. p. 972–989. doi.org/10.1287/opre.11.6.972
Дойбер В.А., Косточка А. В., Закс Х. Более короткое доказательство теоремы Дирака о числе ребер в хроматически критических графах. Дискретный анализ и исследование операций. Новосибирский гос.ун-т, 1996. с. 28–34.
Оре О. Теория графов. М., 1980. 336 с.
Гамильтонов граф: сайт. – URL : https://ru.wikipedia.org/wiki/Гамильтонов_граф. (дата обращения : 4.10.2019).
Павленко В. Б. Теоретические аспекты построения гамильтонова цикла. Теорія оптимальних рішень. 2011, №10. с. 150–155. сайт . URL : http://dspace.nbuv.gov.ua/bitstream/handle/123456789/46787/22-Pavlenko.pdf?sequence=1 (дата обращения : 4.10.2019).
Прокопенков В. Ф., Кожин Ю. Н., Малых О. Н. Определение оптимального кольцевого маршрута, проходящего через заданное множество пунктов на карте. Innovative technologies and scientific solutions for industries. 2019. No.1 № 7. C. 102–112. doi.org/10.30837/2522-9818.2019.7.102
Харари Ф. Теория графов. М., 1973. 300 с.
Стивенс Р. Алгоритмы. Теория и практическое применение. М., 2016. 544 с.
Муравьиный алгоритм : сайт. URL : https://ru.wikipedia.org/wiki/Муравьиный_алгоритм. (дата обращения : 4.10.2019).
Pol R., Langdon W. B., McPhee N. F. A Field Guide to Genetic Programming. Genetic Programming and Evolvable Machines. 2009. Vol. 10 №2. p. 229 – 230. doi.org/10.1007/s10710-008-9073-y.
Прокопенков В. Ф. Модификация генетического алгоритма поиска гамильтонова цикла на графе. Международная научная конференция MicroCAD 2016 : Секция №1 : Информационные и управляющие системы. 2016. С. 32.
Прокопенков В. Ф. О возможности нахождения оптимального решения генетическим алгоритмом. Международная научная конференция MicroCAD 2017 : Секция №1 : Информационные и управляющие системы. 2017. С. 37.
Мартынов А. В., Курейчик В. М. Гибридный алгоритм решения задачи коммивояжера. Известия ЮФУ. Технические науки. – 2015. С.36–44.
Eppstein D. The travelling salesman problem for cubic graphs. Lecture Notes in Computer Science. 2003. P.307–318. doi.org/10.1007/978-3-540-45078-8_27
Iwama K., Nakashima T. An Improved exact algorithm for cubic graph TSP. Lecture Notes in Computer Science, 2007. p. 108 – 117. doi.org/10.1007/978-3-540-73545-8_13.
Bellman R. Dynamic Programming Treatment of the Travelling Salesman Problem. Journal of the ACM. 1962. Vol.9 № 1, p. 61–63. doi.org/10.1145/321105.321111
Held M. The travelling-salesman problem an minimum spanning trees. Operations Research. 1970. Vol. 18 № 6, p. 1138–1162. doi.org/10.1287/opre.18.6.1138
Roberts S. M., Flores B. An engineering approach to the travelling salesman problem. Management Science. 1967. Vol. 13 № 3, p. 269–288. doi.org/10.1287/mnsc.13.3.269
Прокопенков В. Ф. Новый метод поиска гамильтонова цикла на графе. Вісник Національного технічного університету «ХПІ». Серія: Стратегічне управління, управління портфелями, програмами та проектами. 2020. № 2, С.43-49. doi.org/10.20998/2413-3000.2020.2.6
Прокопенков В. Ф. Полиномиальный алгоритм поиска гамильтонова цикла на графе. Вісник Національного технічного університету «ХПІ». Серія: Стратегічне управління, управління портфелями, програмами та проектами. 2021. № 1(3), С.55-65. doi.org/10.20998/2413-3000.2021.3.8
Prokopenkov V.P. Kozhyn Y.N. Deferred solutions scheme for the problem of finding a Hamiltonian cycle solving. Международная научная конференция MicroCAD 2021 : Секция №1 : Информационные и управляющие системы. 2021. С. 16.
Прокопенков В. Ф. Параллельный алгоритм поиска гамильтонова цикла на графе. Международная научная конференция MicroCAD 2015 : Секция №1 : Информационные и управляющие системы. 2015. С. 25.
Downloads
Published
Issue
Section
License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Our journal abides by the Creative Commons copyright rights and permissions for open access journals.
Authors who publish with this journal agree to the following terms:
Authors hold the copyright without restrictions and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
Authors are able to enter into separate, additional contractual arrangements for the non-commercial and non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
Authors are permitted and encouraged to post their published work online (e.g., in institutional repositories or on their website) as it can lead to productive exchanges, as well as earlier and greater citation of published work.