https://github.com/mayanksavaliya/swiftroute-mined
https://github.com/mayanksavaliya/swiftroute-mined
css flask folium html numpy openpyxl pandas python3
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mayanksavaliya/swiftroute-mined
- Owner: MayankSavaliya
- Created: 2025-02-03T02:59:41.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-15T16:16:44.000Z (8 months ago)
- Last Synced: 2025-02-15T17:23:32.902Z (8 months ago)
- Topics: css, flask, folium, html, numpy, openpyxl, pandas, python3
- Language: HTML
- Homepage: https://swiftroute.onrender.com
- Size: 325 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚚 Smart Route Optimization System
> 🌟 Intelligent delivery route optimization using advanced algorithms and real-time mapping
[](https://www.python.org/downloads/)
[](https://flask.palletsprojects.com/)
[](https://pandas.pydata.org/)
[](https://numpy.org/)
[](https://python-visualization.github.io/folium/)
[](https://openpyxl.readthedocs.io/)## 🌐 Live Demo of the Project
Try out the live application: [SwiftRoute Demo](https://swiftroute.onrender.com)
[](https://swiftroute.onrender.com)
Deployed on [Render](https://render.com/) with automatic deployments from GitHub.
![]()
## 🎯 Problem Statement
The project addresses several key challenges in last-mile delivery optimization:
🔹 **Route Efficiency**: Optimize delivery routes for multiple vehicle types while minimizing travel distance and time
🔹 **Vehicle Constraints**: Handle different vehicle capacities and operational limitations:
- Distance radius restrictions
- Vehicle capacity limits
- Time window constraints🔹 **Real-time Processing**: Process and optimize routes in real-time without local storage dependencies
🔹 **Multi-Vehicle Strategy**: Efficiently assign deliveries across different vehicle types:
- 3-Wheelers for narrow streets and short distances
- Electric vehicles for eco-friendly medium-range deliveries
- Standard 4-wheelers for longer routes and larger capacities🔹 **Business Goals**:
- Maximize vehicle utilization
- Minimize delivery time
- Optimize resource allocation
- Reduce operational costs## ✨ Features
🔄 Upload Excel file with shipment data
📊 Select delivery timeslots for route planning
🛣️ Optimized route generation for different vehicle types
🗺️ Interactive map visualization of routes
⚖️ Vehicle capacity and distance constraints handling
⚡ Real-time route optimization## 🚗 Vehicle Types and Constraints
### 🛵 3-Wheeler (3W)
- 📦 Count: 50
- 🔢 Capacity: 5 shipments
- 📏 Maximum radius: 15 km### 🚙 4-Wheeler EV (4W-EV)
- 📦 Count: 25
- 🔢 Capacity: 8 shipments
- 📏 Maximum radius: 20 km### 🚛 4-Wheeler (4W)
- 📦 Count: Unlimited
- 🔢 Capacity: 25 shipments
- 📏 Maximum radius: Unlimited## 🚀 Installation
1. Clone the repository:
```bash
git clone https://github.com/MayankSavaliya/SwiftRoute-MINeD.git
cd SwiftRoute-MINeD
```2. Create a virtual environment:
```bash
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
```3. Install dependencies:
```bash
pip install -r requirements.txt
```## 📱 Usage
1. Start the application:
```bash
python app.py
```2. Open your browser and navigate to:
```
http://localhost:5000
```3. 📤 Upload given Excel file with shipment data
4. 🕒 Select a timeslot
5. 📋 View optimized routes and vehicle assignments
6. 🗺️ Click on routes to view interactive maps## 🛠️ Technical Details
- 🎯 Built with Flask
- 📊 Uses Pandas for data processing
- 🧮 Implements custom route optimization algorithm
- 🗺️ Interactive maps using Folium
- 💾 In-memory data processing without local storage## 📌 Requirements
| Technology | Version |
|------------|---------|
| 🐍 Python | 3.8+ |
| 🌶️ Flask | 3.0.0 |
| 🐼 Pandas | 2.1.4 |
| 🔢 NumPy | 1.26.2 |
| 🗺️ Folium | 0.15.1 |