The paper presents a thermodynamic optimization of supercritical coal fired power plant. The aim of the study was to optimize part of the thermal cycle consisted of high-pressure turbine and two chosen highpressure feed water heaters. Calculations were carried out using IPSEpro software combined with MATLAB, where thermal efficiency and gross power generation efficiency were chosen as objective functions. It was shown that the optimization with newly developed framework is sufficiently precise and its main advantage is the reduction of computation time on comparison to the classical method. The calculations have shown the tendency of the increase in efficiency, with the rise of a number of function variables.