Original optimal method to solve the all-pairs shortest path problem: Dhouib-matrix-ALL-SPP

被引:1
|
作者
Dhouib S. [1 ]
机构
[1] Department of Industrial Management, Higher Institute of Industrial Management of Sfax, The University of Sfax
来源
Data Science and Management | 2024年 / 7卷 / 03期
关键词
All-pairs shortest paths problem; Artificial intelligence; Combinatorial optimization; Dhouib-matrix; Graph theory; Intelligent networks; Network model; Operations research;
D O I
10.1016/j.dsm.2024.01.005
中图分类号
学科分类号
摘要
The All-pairs shortest path problem (ALL-SPP) aims to find the shortest path joining all the vertices in a given graph. This study proposed a new optimal method, Dhouib-matrix-ALL-SPP (DM-ALL-SPP) to solve the ALL-SPP based on column-row navigation through the adjacency matrix. DM-ALL-SPP is designed to generate in a single execution the shortest path with details among all-pairs of vertices for a graph with positive and negative weighted edges. Even for graphs with a negative cycle, DM-ALL-SPP reported a negative cycle. In addition, DM-ALL-SPP continues to work for directed, undirected and mixed graphs. Furthermore, it is characterized by two phases: the first phase consists of adding by column repeated (n) iterations (where n is the number of vertices), and the second phase resides in adding by row executed in the worst case (n∗log(n)) iterations. The first phase, focused on improving the elements of each column by adding their values to each row and modifying them with the smallest value. The second phase is emphasized by rows only for the elements modified in the first phase. Different instances from the literature were used to test the performance of the proposed DM-ALL-SPP method, which was developed using the Python programming language and the results were compared to those obtained by the Floyd-Warshall algorithm. © 2024 Xi'an Jiaotong University
引用
收藏
页码:206 / 217
页数:11
相关论文
共 50 条
  • [31] A Solution of the All-Pairs Shortest Paths Problem on the Cell Broadband Engine Processor
    Matsumoto, Kazuya
    Sedukhin, Stanislav G.
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2009, E92D (06): : 1225 - 1231
  • [32] MEAN-TIME COMPARISON OF ALGORITHMS FOR ALL-PAIRS SHORTEST-PATH PROBLEM WITH ARBITRARY ARC LENGTHS
    KELTON, WD
    LAW, AM
    NETWORKS, 1978, 8 (02) : 97 - 106
  • [33] Subcubic Cost Algorithms for the All Pairs Shortest Path Problem
    T. Takaoka
    Algorithmica, 1998, 20 : 309 - 318
  • [34] Accelerating all-pairs shortest path algorithms for bipartite graphs on graphics processing units
    Hanif, Muhammad Kashif
    Zimmermann, Karl-Heinz
    Anees, Asad
    MULTIMEDIA TOOLS AND APPLICATIONS, 2022, 81 (07) : 9549 - 9566
  • [35] Solving all-pairs shortest path by single-source computations: Theory and practice
    Brodnik, Andrej
    Grgurovic, Marko
    DISCRETE APPLIED MATHEMATICS, 2017, 231 : 119 - 130
  • [36] Subcubic cost algorithms for the all pairs shortest path problem
    Takaoka, T
    ALGORITHMICA, 1998, 20 (03) : 309 - 318
  • [37] A faster all-pairs shortest path algorithm for real-weighted sparse graphs
    Pettie, S
    AUTOMATA, LANGUAGES AND PROGRAMMING, 2002, 2380 : 85 - 97
  • [38] A PRIORITY QUEUE FOR THE ALL PAIRS SHORTEST-PATH PROBLEM
    MOFFAT, A
    TAKAOKA, T
    INFORMATION PROCESSING LETTERS, 1984, 18 (04) : 189 - 193
  • [39] Differentially Private All-Pairs Shortest Path Distances: Improved Algorithms and Lower Bounds
    Chen, Justin Y.
    Ghazi, Badih
    Kumar, Ravi
    Manurangsi, Pasin
    Narayanan, Shyam
    Nelson, Jelani
    Xu, Yinzhan
    PROCEEDINGS OF THE 2023 ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2023, : 5040 - 5067
  • [40] A scalable parallelization of all-pairs shortest path algorithm for a high performance cluster environment
    Srinivasan, T.
    Balakrishnan, R.
    Gangadharan, S. A.
    Hayawardh, V
    2007 INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS, VOLS 1 AND 2, 2007, : 403 - 410