Reduced-gradient method for economic dispatch