Constrained evolutionary programming algorithm approach for two distinct studies of static and dynamic economic dispatch is presented. Economic dispatch (ED) is one of the main functions of power generation operation and control. The objective is to operate an electric power system most economically while the system is operating within its security limits. Multiple objective functions subjected to power flow constraints; Ramp rate limits for units, minimum and maximum allowable generations for each units are considered. Comparison of the computational efficiency and accuracy of constrained evolutionary programming (CEP) is provided. This paper proposes a novel methodology for solving dynamic economic dispatch. Comparison with other evolutionary methods like genetic algorithm, particle swarm optimization has been provided for 10-generator system with nonsmooth fuel cost functions to illustrate the suitability and effectiveness of the proposed method.