Optimization in the Energy Industry