The objective is the modelling and calculation of optimal daily scheduling of power generation, by thermal power plants, to satisfy all demands at minimum cost, in such a way that the generation and transmission capacities as well as the demands at the nodes of the system appear in an integrated form.