This project was carried out in order to model the economic behavior of an eletrical utility that learns. This repo contains the foundations of a Roth-Erev learning algorithm that eventually was implemented into a larger agent-based model. The class for the algorithm itself is found in dev_classes.py.