Text this: Optimal economic dispatch to minimize load shedding and operation cost for networked microgrids