Skip to content

This project optimizes drone delivery routes by analyzing city coordinates and shipment volumes. It calculates distances between cities and identifies the best location for a warehouse to minimize total travel distance. Using Python and vector-based distance calculations, it ensures efficient drone operations, reducing delivery costs

Notifications You must be signed in to change notification settings

realdanizilla/Drone-Delivery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Drone Delivery Route Optimization

Back to Top

Project Objective

This project focuses on optimizing delivery routes for a drone delivery service. Using geographical data of cities within the delivery zone, we aim to determine the most efficient warehouse location by calculating distances and delivery volumes. The goal is to minimize total weekly travel distances for the drones.

Back to top

Project Structure and Steps

  1. Data Setup:

    • Define the origin city (Willowford) and represent other cities graphically with their coordinates along the X and Y axes in kilometers.
    • Store the coordinates (x_axis and y_axis) and weekly shipment volume (shipments) for each city.
  2. Data Preparation:

    • Combine the data into a DataFrame for easier manipulation and visualization.
    • Calculate the distances between each city using vector lengths and store them in a nested list (distances).
  3. Warehouse Optimization:

    • Calculate the total distance traveled by the drone each week if a warehouse is located in a specific city.
      • Double the distances (round-trip) and multiply by the number of shipments per week to get total travel distance for each city.
    • Identify the city with the lowest total travel distance to determine the optimal warehouse location.

Back to top

Tools and Techniques Utilized

  • Python:
    • pandas for DataFrame manipulation and visualization.
    • Vector Calculations: To determine distances between cities.
    • Optimization Techniques: Applied to identify the most efficient city for the warehouse location.

Back to top

Specific Results and Outcomes

  • A distance matrix was created, showing the distances between all cities in the delivery area.
  • Calculated weekly delivery distances for each potential warehouse location.
  • Identified the city that minimizes total travel distance, optimizing the drone's delivery routes and saving operational costs.

Back to top

What I Have Learned From This Project

  • Geospatial Calculations: Gained experience working with vector-based distances.
  • Data Manipulation with Python: Strengthened skills in handling data with pandas.
  • Optimization Techniques: Learned how to minimize travel distances using quantitative methods.
  • Decision Making with Data: Developed competence in using data to determine efficient operational strategies.

Back to top

How to Use this Repository

  1. Clone the Repository git clone https://github.com/realdanizilla/Drone-Delivery.git

  2. Check the picture file to visually understand the location of selected cities

  3. Open the jupyter notebook to see how data was plotted and how distances were calculated

  4. Check the logic to calculate distances and number of deliveries to each city and how the best location was picked

  5. Change X or Y coordinates for one or more cities and number of deliveries and re-run the model to see the next best warehouse location

Back to top

About

This project optimizes drone delivery routes by analyzing city coordinates and shipment volumes. It calculates distances between cities and identifies the best location for a warehouse to minimize total travel distance. Using Python and vector-based distance calculations, it ensures efficient drone operations, reducing delivery costs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published