News of the Kabardino-Balkarian Scientific Center of the Russian Academy of Sciences
RUS  ENG    JOURNALS   PEOPLE   ORGANISATIONS   CONFERENCES   SEMINARS   VIDEO LIBRARY   PACKAGE AMSBIB  
General information
Latest issue
Archive
Guidelines for authors

Search papers
Search references

RSS
Latest issue
Current issues
Archive issues
What is RSS



News of the Kabardino-Balkarian Scientific Center of the Russian Academy of Sciences:
Year:
Volume:
Issue:
Page:
Find






Personal entry:
Login:
Password:
Save password
Enter
Forgotten password?
Register


News of the Kabardino-Balkarian Scientific Center of the Russian Academy of Sciences, 2024, Volume 26, Issue 5, Pages 73–83
DOI: https://doi.org/10.35330/1991-6639-2024-26-5-73-83
(Mi izkab901)
 

Computer science and information processes

Parallelizing the ant colony algorithm for solving the knapsack problem as an example using Python

M. R. Vagizov, S. P. Khabarov

St. Petersburg State Forestry Engineering University named after S.M. Kirov, 194021, Russia, St. Petersburg, 5 Institutsky lane
References:
Abstract: The paper considers the ant colony algorithm and describes the process of its parallelization using Python and multiprocessing module. Using the example of the knapsack problem, it is shown that distributing tasks among a number of processes allows to improve the performance of the algorithm while maintaining its efficiency. Compared to exact methods, like dynamic programming, the use of the ant colony algorithm showed a significant reduction in execution time with an acceptable level of deviation from the optimal solution. The advantage of parallelization algorithms is the efficient utilization of the computing system, where all available processor cores are used, resulting in faster execution of more iterations in the same time. The results obtained confirm the potential of AСO for solving complex problems with limited computation time.
Keywords: ant colony algorithm, forest resource optimization, knapsack problem, heuristic algorithms
Received: 25.09.2024
Revised: 02.10.2024
Accepted: 09.10.2024
Bibliographic databases:
Document Type: Article
UDC: 004.89:528.8
MSC: 94-08
Language: Russian
Citation: M. R. Vagizov, S. P. Khabarov, “Parallelizing the ant colony algorithm for solving the knapsack problem as an example using Python”, News of the Kabardino-Balkarian Scientific Center of the Russian Academy of Sciences, 26:5 (2024), 73–83
Citation in format AMSBIB
\Bibitem{VagKha24}
\by M.~R.~Vagizov, S.~P.~Khabarov
\paper Parallelizing the ant colony algorithm
for solving the knapsack problem as an example using Python
\jour News of the Kabardino-Balkarian Scientific Center of the Russian Academy of Sciences
\yr 2024
\vol 26
\issue 5
\pages 73--83
\mathnet{http://mi.mathnet.ru/izkab901}
\crossref{https://doi.org/10.35330/1991-6639-2024-26-5-73-83}
\elib{https://elibrary.ru/item.asp?id=https://www.elibrary.ru/item.asp?id=74529252}
\edn{https://elibrary.ru/IBXKOR}
Linking options:
  • https://www.mathnet.ru/eng/izkab901
  • https://www.mathnet.ru/eng/izkab/v26/i5/p73
  • Citing articles in Google Scholar: Russian citations, English citations
    Related articles in Google Scholar: Russian articles, English articles
    News of the Kabardino-Balkarian Scientific Center of the Russian Academy of Sciences News of the Kabardino-Balkarian Scientific Center of the Russian Academy of Sciences
    Statistics & downloads:
    Abstract page:77
    Full-text PDF :31
    References:28
     
      Contact us:
     Terms of Use  Registration to the website  Logotypes © Steklov Mathematical Institute RAS, 2026