Dear Miniproject 1 students,
It is now possible to run the miniproject simulations under Windows; here is how to proceed:
In the file epidemic_env/epidemic.py, lines 115-116 are:
tau = 10*(self.map.nodes[e[0]]['pop'] *
self.map.nodes[e[1]]['pop'])/self.total_pop**2Replace these lines by the following:
tau = 10*(self.map.nodes[e[0]]['pop'] / self.total_pop *Now the epidemic dynamics should be correct (you should see on the graphs that the epidemic spreads to other cities).
self.map.nodes[e[1]]['pop'] / self.total_pop)
Reach out to us of you still have problems with Windows after making this modification.
Best,
Your TAs.