Demand Response Optimization MILP Framework for Microgrids with DERs