全部 标题 作者
关键词 摘要

OALib Journal期刊
ISSN: 2333-9721
费用:99美元

查看量下载量

相关文章

更多...

An Elementary Approach to the Vehicle Routing Problem via Python and Google API

DOI: 10.4236/ajor.2024.146009, PP. 169-190

Keywords: Vehicle Routing Problem (VRP), Google Maps Distance Matrix API, Python, Pulp, Mixed Integer Linear Programming, Transportation, Optimisation Problem, Time Window, Mathematical Modelling

Full-Text   Cite this paper   Add to My Lib

Abstract:

Commercial organisations commonly use operational research tools to solve vehicle routing problems. This practice is less commonplace in charity and voluntary organisations. In this paper, we provide an elementary approach for solving the Vehicle Routing Problem (VRP) that we believe can be easily implemented in these types of organisations. The proposed model leverages mixed integer linear programming to optimize the pickup sequence of all customers, each with distinct time windows and locations, transporting them to a final destination using a fleet of vehicles. To ensure ease of implementation, the model utilises Python, a user-friendly programming language, and integrates with the Google Maps API, which simplifies data input by eliminating the need for manual entry of travel times between locations. Troubleshooting methods are incorporated into the model design to ensure easy debugging of the model’s infeasibilities. Additionally, a computation time analysis is conducted to evaluate the efficiency of the code. A node partitioning approach is also discussed, which aims to reduce computational times, especially when handling larger datasets, ensuring this model is realistic and practical for real-world application. By implementing this optimized routing strategy, logistics companies or organisations can expect significant improvements in their day-to-day operations, with minimal computational cost or need for specialised expertise. This includes reduced travel times, minimized fuel consumption, and thus lower operational costs, while ensuring punctuality and meeting the demands of all passengers.

References

[1]  Transport: Fermanagh Community Transport: Northern Ireland.
https://www.fermanaghcommunitytransport.com/
[2]  Derbel, H., Jarboui, B., and Siarry, P. (2020) Green Transportation and New Advances in Vehicle Routing Problems. Springer International Publishing.
[3]  Laporte, G. (2007) What You Should Know about the Vehicle Routing Problem. Naval Research Logistics, 54, 811-819.
https://doi.org/10.1002/nav.20261
[4]  Roohnavazfar, M., Pasandideh, S.H.R. and Tadei, R. (2022) A Hybrid Algorithm for the Vehicle Routing Problem with and/or Precedence Constraints and Time Windows. Computers & Operations Research, 143, Article 105766.
https://doi.org/10.1016/j.cor.2022.105766
[5]  Goel, A. and Gruhn, V. (2008) A General Vehicle Routing Problem. European Journal of Operational Research, 191, 650-660.
https://doi.org/10.1016/j.ejor.2006.12.065
[6]  Google Distance Matrix API.
https://developers.google.com/maps/documentation/distance-matrix/overview
[7]  Google OR-Tools: Optimizing Routing and Scheduling Problems.
https://developers.google.com/optimization

Full-Text

Contact Us

service@oalib.com

QQ:3279437679

WhatsApp +8615387084133