Anfonwch hwn fel neges destun: Towards Optimal Management in Microgrids: An Overview