This repository is for Team PLS in Dr. Buchanan's Spring 2023 Operations Research class. For our final project, we formulated an IP to re-apportion Nebraska's congressional districts.
In this repo, you will find our final project report and model code as both a standard python script and a Jupyter Notebook. Please see the findings of the final report for an in-depth dissection of our model selection, along with a summary detailing the legal & political criteria we accounted for in the model.
This code is designed to work in Jupyter Notebook or python on version 4.12.0 of Anaconda. Dependencies needed are gurobipy, NetworkX, Gerrychain, geopy, and geopandas. Python version is 3.9.12, but any kernel 3+ should be fine so long as all other dependencies are installed properly.
This is the only release. There will be no updates as of me writing this. goodbye.