Text this: Multi-agent systems applications in energy optimization problems: a state-of-the-art review