Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Vehicle Routing Problem With / Without Capacity #6163

Open
ZingadePrathamesh opened this issue Feb 11, 2025 · 2 comments
Open

Comments

@ZingadePrathamesh
Copy link
Contributor

What would you like to Propose?

An algorithm that generates optimized routes for N vehicles, ensuring that each vehicle receives a list of assigned passengers based on:

Vehicle capacity (if applicable)
Passenger coordinates
Optimized sequential allocation
The algorithm should efficiently categorize a given number of passengers into vehicle-specific lists while minimizing travel distance and ensuring balanced distribution.

Issue details

Currently, there is no built-in vehicle routing algorithm in this project that can distribute passengers among vehicles while considering capacity constraints. This feature would significantly improve efficiency for use cases such as employee transport, logistics, or ride-sharing applications.

Describe the solution you'd like
Implement a VRP (Vehicle Routing Problem) algorithm that supports:
Capacity constraints (optional)
Optimized route planning
Efficient passenger allocation
Scalability for large datasets
Preferably use heuristic/metaheuristic approaches such as:
Greedy algorithms
Genetic algorithms
Simulated annealing
Dijkstra’s algorithm for shortest paths
Describe alternatives you’ve considered
Some external libraries (e.g., Google OR-Tools) provide VRP solutions, but an in-house implementation would allow greater flexibility and customization for specific project needs.

Additional context
This feature is beneficial for projects involving fleet management, delivery services, public transportation, and ride-sharing applications.
Open to discussions on preferred optimization techniques!

Additional Information

Acceptance Criteria
✅ Algorithm effectively groups passengers into vehicles while considering capacity (if applicable).
✅ Optimized routes with minimal travel distance.
✅ Scalable and efficient for handling large numbers of passengers and vehicles.
✅ Well-documented and easy to integrate into existing systems.

@siriak
Copy link
Member

siriak commented Feb 11, 2025

The proposal looks interesting, feel free to open a PR with a solution

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution!

@github-actions github-actions bot added the stale label Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants