Unit Commitment solved with/without Benders Decomposition
This is a MATLAB program example for Unit Commitment problem. You could choose to solve it with/without Benders Decomposition (BD).
"UC_example_Benders.m" is the main file, "BendersDecomposition_Gurobi_2022.m" solves the problem with BD.
You are suggested to read "UC.pdf" (in Chinese) for more information. (Thanks to Biao Zhao (赵彪) in my research group for his contribution in writing this document)
The YALMIP function export() is used to export optimization model parameters for BD.
[1] G. Morales-España, J. M. Latorre and A. Ramos, "Tight and Compact MILP Formulation for the Thermal Unit Commitment Problem," in IEEE Transactions on Power Systems, vol. 28, no. 4, pp. 4897-4908, Nov. 2013, doi: 10.1109/TPWRS.2013.2251373.
Both ".m" files are calling GUROBI to solve the problem, but other solvers (e.g. CPLEX) could be used as well. (see what solvers they support in abovementioned link for YALMIP).
Note
Sth. would happen if you try to include/exclude Cons. (6) when solve it with BD——The total iteration numbers of BD would change. Just try it by yourself!