Skip to content

MarcusBluestone/Amazon-Routes-Optimization-Final

Repository files navigation

Optimization Final Project (6.C57)

overview.pdf contains the final version of our paper

Files Overview:

  1. The folders and notebooks should be ignored; they were only used for initial testing and debugging.
  2. main.py is responsible for actually running the code. See info below for how to run with arguments
  3. analyze.py is responsible for creating the graph of the resulting simulations.

Clustering Instructions

  • Run all cells in cluster.ipynb --> this sets up all the proper data (don't worry, this won't get uploaded to git)
  • python main.py --cluster True --S --a
  • Results saved by region in the clusters folder

Instructions (Main)

  • python main.py into terminal.
  • Arguments:
  1. Run on Amazon Dataset: --size --S --a --real True
  2. Run on Simulation: --size --S --a --M --N
  • Final image ouputted in graph.jpg

Instruction (Notebooks)

  1. Run create_data.ipynb to produce the simulation inputs. This will create a Tx, Ty, and Tz csv files, along with info.json inside of the inputs folder.
  2. Run julia_run.ipynb, which takes the input data and runs our model. Results stored in results/output.h5
  3. Run analayze.ipynb, which visualizes the results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •