Design and Implementation of a Flexible Microgrid Controller through Mixed Integer Linear Programming Optimization | IEEE Conference Publication | IEEE Xplore