Energy production system optimization: Evidence from Pakistan. (February 2018)