This project implements the Particle Swarm Optimization (PSO) algorithm for UAV (Unmanned Aerial Vehicle) resource allocation. The goal is to efficiently allocate UAVs to deliver essential resources such as medicine, food, and weapons to outposts while minimizing energy consumption and ensuring high-priority deliveries.
✅ Takes input for:
- n: Number of outposts
- m: Number of UAVs
- UAV details: Weight capacity, energy/km, total energy
- Outpost details: Resource needs (medicine, food, weapons), coordinates (x, y)
- Base station coordinates
✅ Uses PSO to optimize assignments:
- Minimizes energy consumption
- Prioritizes urgent resource deliveries
- Allocates UAVs based on travel distance and energy constraints
- Input Processing: Reads the number of UAVs, outposts, and their respective details.
- Initialization: Generates an initial swarm of potential UAV allocation solutions.
- Particle Movement: Iteratively updates solutions based on velocity, local best, and global best solutions.
- Fitness Evaluation: Computes energy consumption and ensures UAVs meet resource constraints.
- Convergence: Continues optimization until an optimal or near-optimal allocation is found.
- C++ Compiler (GCC, Clang, or MSVC)
- C++ Standard Library
g++ -o uav_allocation main.cpp -std=c++17
./uav_allocation
🚀 Disaster Response – Optimally deploy UAVs to deliver medical aid and supplies 🚀 Military Operations – Efficiently allocate UAVs for supply distribution in remote areas 🚀 Logistics & Supply Chain – Automating resource delivery using UAV fleets
- 🔹 Incorporate multi-objective optimization (e.g., delivery time, fuel efficiency)
- 🔹 Implement hybrid metaheuristic algorithms (e.g., Genetic Algorithm + PSO)
- 🔹 Extend to real-time dynamic allocation with changing outpost demands
- 🔹 UAV recharge stations
- 🔹 multi-stop deliveries
This project is open-source under the MIT License.
- Akash Mishra (Developer & Researcher)
- Biranjay Kumar Gupta (Developer & Researcher)
- Sunny Kumar (Developer & Researcher)
For queries, reach out via GitHub or email.
🚀 Optimizing UAV resource allocation using AI-driven heuristics! 🚀