Optimization in Planning and Operation of Electric Power Systems