Code Monkey home page Code Monkey logo

garbagetruckoptimization's Introduction

GarbageTruckOptimization

This repository contains all the code used in the Optimization of the Routes of the Waste Collection Vehicles for the City of Port Coquitlam, BC, Canada. Note, all underlying data has been permanently deleted in keeping with Google's terms of service. As such the code cannot be run as it currently stands. This repy was made public for anyone who wishes to further undertake this project or similar, but they will have to generate their own data.

Report.pdf

This document contains the written report that pertains to the project.

dijkstra.py

This script excutes dikjstra's algorithm on multiple concurrent threads that calculates the complete time matrix used in the optimization model.'

Dijkstra.py

This script is an example implementaion of dijkstra's algorithm that we wrote to validate our findings.

directions.ipynb

This workbook parses the directions returned from google maps into the complete list of directions in tableau format.

distanceMatrix.ipynb

This workbook creates the distance matrix to use in the model.

google.py

This script makes requests to the Google Directions API using concurrent threads.

google-query-to-tableau.py

This script converts the results from the Google Directions API into a form usable in Tableau

poco-grid.ipynb

This script converts the longitude and latitudes in Port Coquitlam into a grid to reduce the number of queries needed for the Google Directions API.

regrids.ipynb

This script is an adjusted version of above.

time inflation.ipynb

This workbook inflates the travel times between even/odd addresses on the same street

vehicle_routing.py

This script executes the optimization model.

garbagetruckoptimization's People

Contributors

avickars avatar justin-heer avatar

Watchers

 avatar

Forkers

justin-heer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.