Local and Central Algorithms for Distributed Generation Micro-dispatch Control