THREE ESSAYS ON OPTIMIZATION, MACHINE LEARNING, AND GAME THEORY IN ENERGY