Polygon: Jurnal Ilmu Komputer dan Ilmu Pengetahuan Alam
Vol. 4 No. 3 (2026): Mei : Polygon : Jurnal Ilmu Komputer dan Ilmu Pengetahuan Alam

Penerapan Algoritma Dijkstra dalam Optimasi Rute Terpendek dari Stasiun Kereta Api Medan ke Universitas Negeri Medan

Nazwa Salsyabilla Ramadhani (Unknown)
Juliana Gloria Br. Sipayung (Unknown)
Maria Winarni Br Silitonga (Unknown)
Mika Monika Fransiska Simanullang (Unknown)



Article Info

Publish Date
29 May 2026

Abstract

The increasing complexity of urban transportation systems demands intelligent and measurable navigation methods. Medan City, the capital of North Sumatra Province, has a dense road network with multiple route options that often confuse road users. Dijkstra's Algorithm, developed by Edsger Wybe Dijkstra in 1959, is a greedy-based computational approach proven effective for solving the shortest path problem on non-negative weighted graphs. This study applies Dijkstra's Algorithm to determine the shortest route from Medan Railway Station to Universitas Negeri Medan (UNIMED). The road network was modeled as an undirected weighted graph with 15 nodes and 16 edges, where edge weights represent actual road distances measured via Google Maps. The graph has a density of 0.152, confirming its sparse graph characteristic. Three alternative routes were identified and analyzed. The algorithm was implemented in Python 3 using the heapq module as a priority queue. Results show that the optimal route is A → B → C → E → F → M → N → O via Jl. M.T. Haryono, Jl. Aipda KS Tubun, Jl. Madong Lubis, and Jl. Prof. H.M. Yamin, with a total distance of 6.64 km. This achieves 99.1% accuracy compared to Google Maps, with a deviation of only 0.06 km. The optimal route is 6.25% more efficient than Alternative Route 1 (7.30 km) and 11.9% more efficient than Alternative Route 2 (7.54 km). The algorithm executes in under 1 millisecond with time complexity O((V+E) log V). These findings confirm Dijkstra's Algorithm as highly effective for medium-scale urban road network optimization.

Copyrights © 2026






Journal Info

Abbrev

Polygon

Publisher

Subject

Computer Science & IT

Description

Jurnal ini adalah jurnal Ilmu Komputer dan Ilmu Pengetahuan Alam yang bersifat peer-review dan terbuka. Bidang kajian dalam jurnal ini termasuk sub rumpun Ilmu Komputer, dan Ilmu Pengertahuan ...