Secondary data was collected from the Colombo Municipal Council website (https://www.colombo.mc.gov.lk/garbage-collection.php ) for District 3 Kuppiyawatte - East, providing detailed information on road paths. Distances between selected roads were measured using these road paths, which were considered as nodes for the analysis. For reference, Node 1 is designated as the starting point, and Node 22 represents the landfill location. Google Maps was also used to verify and supplement distance data.
Dijkstra’s Algorithm is a well-established computational technique used to determine the shortest path between nodes in a weighted graph. Originally developed by Edsger W. Dijkstra in 1956, this algorithm has found extensive applications in route optimization due to its efficiency and adaptability. In graph-based systems, nodes represent specific locations, and edges represent the connections between them, weighted by parameters such as distance, time, or cost (Dijkstra, 1959). In this study, the algorithm is applied to optimize waste collection routes by determining the most efficient paths from waste generation points to landfill sites.
Python was utilized to implement Dijkstra’s Algorithm for optimizing waste transportation routes due to its efficient computational capabilities and extensive library support. The implementation involved constructing a graph representation of collection points and road distances using the NetworkX library. The algorithm was executed using a priority queue (heap), ensuring that the shortest path was computed efficiently while dynamically updating distances. Additionally, Matplotlib was used to visualize the graph at each iteration, allowing for a step-by-step analysis of the path optimization process. This approach enabled the identification of an optimal route that minimizes travel distance while covering all required collection points, demonstrating Python’s effectiveness in solving complex route optimization problems in waste management logistics