What my professor asked me to do was to compile these graphs for each of the networks. The problem was that the program took days to run. No, I'm not exaggerating. It literally took days to run. Then, one night, while waiting for my program to finish running, I had a flash of inspiration. I could optimize my code. So I did. Originally, I had built models using a variable number of providers for each one of the 133 cities, but I was only using the models for New York.
That one simple change ended up making the code run hundreds of times faster. It took an hour to code and debug though, A whole hour! To be fair though, it saved me at least ten hours in the long run.

