In this study we present the weekly optimization of a power system con
sisting of hydro and thermal units. The mathematical model, a mixed in
teger (linear) programming problem, is discussed and the solution of t
he unit commitment and economic dispatch problem is determined over a
period of a week on an hourly basis. The system contains 840 integer v
ariables and 1344 continuous variables, with a sparsity of 0.11%. This
work allows both the water in the hydro unit and in the pump-storage
unit to be costed.