Dijkstra's Algorithm for Optimizing Humanitarian Aid Distribution Routes to Flood Victims in Cerme District, Gresik

Authors

  • Datia Putri Nabila Br Tarigan UPN Veteran Jawa Timur
  • Desi Tristianti UPN "Veteran" Jawa Timur
  • Erika Fatimatul Hidayanti UPN "Veteran" Jawa Timur
  • Dwi Arman Prasetya UPN "Veteran" Jawa Timur
  • Tresna Maulana Fahrudin Okayama University

DOI:

https://doi.org/10.33005/jasid.v2i01.32

Keywords:

djikstra's algorithm, shortest route, flood, gresik

Abstract

This study presents the development and analysis of a system designed to optimize the distribution routes of social aid during flood emergencies in the Cerme District, Gresik Regency. The primary objective is to ensure that logistical operations, particularly the delivery of aid to affected villages, are carried out in the most efficient and timely manner. To achieve this, Dijkstra’s Algorithm is employed due to its well-established reliability in computing the shortest path between nodes in a weighted graph. The graph used in this research is constructed based on real-world spatial data, with each node representing a village and the edges representing actual road distances obtained from mapping services. The system is implemented using an Object-Oriented Programming (OOP) paradigm in Python, which ensures modularity and scalability of the codebase. For graph modeling and shortest path computation, the NetworkX library is utilized, while the graphical user interface (GUI) is built using Tkinter to provide an interactive and user-friendly experience. The application enables users to select starting and destination points from dropdown menus, compute the shortest route dynamically, and visualize it on an interactive graph complete with route details and distances. Experimental trials were conducted by simulating various flood scenarios, and the results demonstrated that the system successfully identified optimal aid routes with minimized travel distances. These outcomes confirm the practicality and effectiveness of the proposed method. Moreover, the ability to update the graph dynamically allows the system to adapt to changes in road accessibility due to flooding. This makes the tool highly applicable in real-world disaster response scenarios. In conclusion, the developed application offers a valuable solution for both local government agencies and humanitarian volunteers, helping to improve coordination, reduce delivery time, and ensure that aid reaches flood-affected communities as efficiently as possible.

References

A. Fauzia, D. A. Pawestri, U. Wahrudin, S. Rahmawati, S. Himayah, and Nandi, “Analisis Penentuan Lokasi Evakuasi Bencana Banjir dengan Sistem Informasi Geografis dan Metode Simple Additive Wighting (Studi Kasus: Kecamatan Cileungsi),” Jurnal Pendidikan Geografi Undiksha, vol. 9, no. 2, 2021.

Badan Nasional Penanggulangan Bencana, Geoportal Data Bencana Indonesia. [Online]. Available: https://gis.bnpb.go.id/. Accessed on: May 31, 2023.

M. C. Bunaen, H. Pratiwi, and Y. F. Riti, “Penerapan Algoritma Dijkstra untuk Menentukan Rute Terpendek dari Pusat Kota Surabaya Ke Tempat Bersejarah,” Jurnal Teknologi dan Sistem Informasi Bisnis, vol. 4, no. 1, 2022.

E. Kusuma, Jefri, and H. Agung, “Aplikasi Perhitungan dan Visualisasi Jarak Terpendek Berdasarkan Data Coordinate dengan Algoritma Dijkstra dalam Kasus Pengantaran Barang Di Kawasan Jabodetabek,” Jurnal SISFOKOM, vol. 8, no. 1, 2019. [5] K. D. Wijaya, Penentuan Alternatif Rute Evakuasi Banjir Kecamatan Cerme Kabupaten Gresik, Thesis, Institut Teknologi Sepuluh Nopember, Surabaya, 2016.

E. Ismantohadi and Iryanto, “Penerapan Algoritma Dijkstra untuk Penentuan Jalur Terbaik Evakuasi Tsunami – Studi Kasus: Kelurahan Sanur Bali,” Jurnal Teknologi Terapan, vol. 4, no. 2, 2018.

GeeksforGeeks, Graph Data Structure and Algorithms. [Online]. Available: https://www.geeksforgeeks.org/graph-data-structure-and-algorithms/. Accessed on: May 22, 2023.

W. Bismi, W. Gata, A. Anton, and T. Asra, “Penerapan Algoritma Hybrid Dalam Menentukan Rute Terpendek Antara Cabang Kampus,” Jurnal Sistem Komputer, vol. 13, no. 1, 2020.

Efanntyo and A. R. Mitra, “Perancangan Aplikasi Sistem Pengenalan Wajah dengan Metode Convolutional Neural Network (CNN) untuk Pencatatan Kehadiran Karyawan,” Jurnal Instrumentasi dan Teknologi Informatika (JITI), vol. 3, no. 1, 2021.

M. Romzi and B. Kurniawan, “Pembelajaran Pemrograman Python dengan Pendekatan Logika Algoritma,” Jurnal Teknik Informatika Mahakarya (JTIM), vol. 3, no. 2, 2020.

R. M. R. Clinton and R. Sengkey, “Purwarupa Sistem Daftar Pelanggaran Lalulintas Berbasis Mini-Komputer Raspberry Pi,” Jurnal Teknik Elektro dan Komputer, vol. 8, no. 3, 2019.

B. Folaimam, Rosihan, and A. Mubarak, “Implementasi Algoritma Dijkstra untuk Penentuan Jalur Terpendek pada Aplikasi Evakuasi Bencana untuk Penyandang Disabilitas,” Jurnal Informatika dan Komputer (JIKO), vol. 2, no. 2, 2018.

Downloads

Published

2026-04-30

How to Cite

Datia Putri Nabila Br Tarigan, Desi Tristianti, Erika Fatimatul Hidayanti, Dwi Arman Prasetya, & Tresna Maulana Fahrudin. (2026). Dijkstra’s Algorithm for Optimizing Humanitarian Aid Distribution Routes to Flood Victims in Cerme District, Gresik. Jurnal Aplikasi Sains Data, 2(01), 96–103. https://doi.org/10.33005/jasid.v2i01.32