COST TD 1207 : Energy applications of CPLEX

IBM ILOG CPLEX Optimizer provides flexible, high-performance mathematical programming solvers for linear programming, mixed integer programming, quadratic programming, and

quadratically constrained programming problems. For linear programming, the algorithms include primal simplex algorithm, the dual simplex algorithm, the network simplex algorithm, as well as a barrier method. For mixed integer programming models, CPLEX uses branch-and-cut algorithm. CPLEX can solve both convex and non-convex quadratic to global optimality. CPLEX has both barrier and simplex algorithms for solving convex quadratic programs and a barrier algorithm for solving non-convex problems.



CPLEX has been applied to various problems arising in the energy sector:

Resource Planning Models address the supply and demand side investment decisions an energy supplier makes to ensure that it can satisfy customer demand. The objective is to minimize the total cost of building and operating production facilities to serve forecasted loads over a multiyear planning period.


Mirzaesmaeeli, H., Elkamel, A., Douglas, P. L., Croiset, E., & Gupta, M. (2010). A multi-period optimization model for energy planning with CO2 emission consideration. Journal of environmental management, 91(5), 1063-1070.

Omu, A., Choudhary, R., & Boies, A. (2013). Distributed energy resource system optimisation using mixed integer linear programming. Energy Policy, 61, 249-266.

Zhang, B. J., & Hua, B. (2007). Effective MILP model for oil refinery-wide production planning and better energy utilization. Journal of Cleaner Production, 15(5), 439-448.

Unit Commitment/Economic Dispatch Models are used to schedule hourly production of thermal power stations for periods up to about a week in advance. The objective is to minimize the short-term costs of operating the generators to serve forecasted customer loads. The costs include both fuel costs and start-up costs. The constraints represent the requirement to serve hourly customer loads, various reserve requirements, minimum uptimes and downtimes for generators, and ramping limits for generators.


Frangioni, A., Gentile, C., & Lacalandra, F. (2009). Tighter approximated MILP formulations for unit commitment problems. Power Systems, IEEE Transactions on, 24(1), 105-113.

Carrión, M., & Arroyo, J. M. (2006). A computationally efficient mixed-integer linear formulation for the thermal unit commitment problem. Power Systems, IEEE Transactions on, 21(3), 1371-1378.

Padhy, N. P. (2004). Unit commitment-a bibliographical survey. Power Systems, IEEE Transactions on, 19(2), 1196-1205.

Yamin, H. Y. (2004). Review on methods of generation scheduling in electric power systems. Electric Power Systems Research, 69(2), 227-248.

Hedman, K. W., Ferris, M. C., O'Neill, R. P., Fisher, E. B., & Oren, S. S. (2010). Co-optimization of generation unit commitment and transmission switching with N-1 reliability. Power Systems, IEEE Transactions on, 25(2), 1052-1063.

Bukhsh W. A., Zhang C., Pinson P. (2016): An integrated multiperiod OPF model with demand response and renewable generation uncertainty. Smart Grid, IEEE Transactions on (2016). DOI: 10.1109/TSG.2015.2502723


Hydro/Thermal Scheduling Models are used to determine the use of water resources in power systems with a lot of hydroelectric generation. The objective is to minimize the short-term costs of operating the power plants to serve forecasted customer loads. The costs include thermal power plants’fuel costs, since hydro generation typically has negligible direct costs. The constraints represent the requirement to serve customer load per hour, the availability and flow of water through the supporting water network, various reserve requirements, various restrictions on water flows and reservoir volumes reflecting environmental regulations.


Nowak, M. P., & Römisch, W. (2000). Stochastic Lagrangian relaxation applied to power scheduling in a hydro-thermal system under uncertainty. Annals of Operations Research, 100(1-4), 251-272.

Shawwash, Z. K., Siu, T. K., & Russell, S. D. (2000). The BC Hydro short term hydro scheduling optimization model. Power Systems, IEEE Transactions on, 15(3), 1125-1131.

Chang, G. W., Aganagic, M., Waight, J. G., Medina, J., Burton, T., Reeves, S., & Christoforidis, M. (2001). Experiences with mixed integer linear programming based approaches on short-term hydro scheduling. Power Systems, IEEE Transactions on, 16(4), 743-749.


Optimal Power Flow/Security Constrained Dispatch Models are used to determine the flows of power along the various transmission paths in a power network for the purpose of evaluating the feasibility, reliability and security of the power system. The objective is to minimize the operating cost of serving the load. The constraints represent the requirement to serve instantaneous customer load at all nodes of the network, the generator capacity limits, conservation of power flow and voltage laws governing the physical power flows (which may be represented nonlinearly), and various reserve, security and reliability criteria.


Alguacil, N., & Conejo, A. J. (2000). Multiperiod optimal power flow using Benders decomposition. Power Systems, IEEE Transactions on, 15(1), 196-201.

Jabr, R. (2008). Optimal power flow using an extended conic quadratic formulation. Power Systems, IEEE Transactions on, 23(3), 1000-1008.

Alsac, O., Bright, J., Prais, M., & Stott, B. (1990). Further developments in LP-based optimal power flow. Power Systems, IEEE Transactions on, 5(3), 697-711.


Contract and Risk Management Models enable energy and power companies to implement profitable bidding strategies while limiting price and volume risks to acceptable levels. The objective is to determine volume and price for possible energy transactions and emission credits bought or sold in order to maximize expected net returns. The constraints represent forward price curve uncertainty and volatility, and impose limits on value at risk and conditional value at risk.


Arroyo, J. M., & Galiana, F. D. (2005). Energy and reserve pricing in security and network-constrained electricity markets. Power Systems, IEEE Transactions on, 20(2), 634-643.

Li, T., Shahidehpour, M., & Li, Z. (2007). Risk-constrained bidding strategy with stochastic unit commitment. Power Systems, IEEE Transactions on, 22(1), 449-458.

Al-Awami, A. T., & Sortomme, E. (2012). Coordinating vehicle-to-grid services with energy trading. Smart Grid, IEEE Transactions on, 3(1), 453-462.

Angarita, J. M., & Usaola, J. G. (2007). Combining hydro-generation and wind energy: Biddings and operation on electricity spot markets. Electric Power Systems Research, 77(5), 393-400.


Contingency Planning Models are used to determine the recourse in cases of outages. Sometimes, these involve transmission switching, load shedding, and controlled islanding.


Bienstock, D. (2016): Electrical Transmission System Cascades and Vulnerability: An Operations Research Viewpoint. Springer-MOS Series on Optimization,  ISBN 978-1-611974-15-7.

Trodden, P. A., Bukhsh W. A., Grothey A., McKinnon K. I. M. (2014): Optimization-based islanding of power networks using piecewise linear AC power flow. Power Systems, IEEE Transactions, 29(), 1212-1220.

Witthaut, D., & Timme, M. (2015). Nonlocal effects and countermeasures in cascading failures. Phys. Rev. E 92(3):032809. DOI: 10.1103/PhysRevE.92.032809


Pooling and Blending Models are bilinear network flow problem on an arbitrary directed graph. Given a list of available suppliers with raw materials containing known specifications, the objective is to minimize the cost of mixing these materials in intermediate pools so as to meet the demand and specifications requirements at multiple final blends.


Misener, R., & Floudas, C. A. (2010). Global optimization of large-scale generalized pooling problems: quadratically constrained MINLP models. Industrial & Engineering Chemistry Research, 49(11), 5424-5438.

Gupte, A., Ahmed, S., Dey, S. S., & Cheon, M. S. (2013). Pooling problems: relaxations and discretizations. School of Industrial and Systems Engineering, Georgia Institute of Technology, Atlanta, GA. and ExxonMobil Research and Engineering Company, Annandale, NJ.


Dr Bissan Ghaddar, University of Waterloo

Dr Jakub Marecek, IBM