Matrix Minor Reformulation and SOCP-based Spatial Branch-and-Cut Method for the AC Optimal Power Flow Problem
Burak Kocuk, Santanu S. Dey, X. Andy Sun

TL;DR
This paper introduces a novel reformulation of the AC optimal power flow problem using matrix minors and develops an SOCP-based branch-and-cut method that improves solution quality and computational efficiency.
Contribution
It proposes a new minor-based reformulation of AC OPF constraints and an SOCP relaxation with cutting planes, enhancing global optimization capabilities.
Findings
Outperforms state-of-the-art SDP-based solvers in computational tests.
Achieves an average 0.71% optimality gap within 720 seconds on challenging instances.
Provides a scalable approach for real-time large-scale power system optimization.
Abstract
Alternating current optimal power flow (AC OPF) is one of the most fundamental optimization problems in electrical power systems. It can be formulated as a semidefinite program (SDP) with rank constraints. Solving AC OPF, that is, obtaining near optimal primal solutions as well as high quality dual bounds for this non-convex program, presents a major computational challenge to today's power industry for the real-time operation of large-scale power grids. In this paper, we propose a new technique for reformulation of the rank constraints using both principal and non-principal 2-by-2 minors of the involved Hermitian matrix variable and characterize all such minors into three types. We show the equivalence of these minor constraints to the physical constraints of voltage angle differences summing to zero over three- and four-cycles in the power network. We study second-order conic…
| SOCP | SDP | Best of [27] | ||||||||||
| case | %gap | time (s) | %gap | time (s) | %gap | time (s) | %gap | time (s) | %gap | time (s) | %gap | time (s) |
| 3lmbd | 1.32 | 0.06 | 0.39 | 1.00 | 0.43 | 0.14 | 0.10 | 1.09 | 0.09 | 1.12 | 0.10 | 0.95 |
| 4gs | 0.00 | 0.05 | 0.00 | 0.98 | 0.00 | 0.08 | 0.00 | 0.11 | 0.00 | 0.05 | 0.00 | 0.03 |
| 5pjm | 14.54 | 0.09 | 5.22 | 1.03 | 6.22 | 0.17 | 5.63 | 1.59 | 3.68 | 2.04 | 2.11 | 3.26 |
| 6ww | 0.63 | 0.02 | 0.00 | 1.30 | 0.00 | 0.44 | 0.02 | 0.51 | 0.01 | 0.75 | 0.01 | 1.08 |
| 9wscc | 0.00 | 0.06 | 0.00 | 1.03 | 0.00 | 0.08 | 0.00 | 0.09 | 0.00 | 0.06 | 0.00 | 0.09 |
| 14ieee | 0.11 | 0.05 | 0.00 | 1.36 | 0.00 | 0.53 | 0.03 | 0.80 | 0.00 | 1.31 | 0.00 | 2.70 |
| 29edin | 0.14 | 0.11 | 0.00 | 2.98 | 0.00 | 1.81 | 0.06 | 8.67 | 0.01 | 21.06 | 0.01 | 33.99 |
| 30as | 0.06 | 0.03 | 0.00 | 2.49 | 0.00 | 0.90 | 0.06 | 0.06 | 0.06 | 0.14 | 0.06 | 0.11 |
| 30fsr | 0.39 | 0.06 | 0.00 | 1.93 | 0.03 | 0.92 | 0.10 | 9.61 | 0.07 | 8.58 | 0.07 | 14.49 |
| 30ieee | 15.65 | 0.03 | 0.00 | 1.50 | 0.00 | 0.92 | 0.09 | 10.55 | 0.03 | 10.05 | 0.03 | 14.55 |
| 39epri | 0.05 | 0.09 | 0.01 | 2.21 | 0.01 | 0.67 | 0.05 | 0.14 | 0.05 | 0.09 | 0.05 | 0.25 |
| 57ieee | 0.06 | 0.06 | 0.00 | 3.05 | 0.00 | 1.73 | 0.06 | 0.11 | 0.06 | 0.25 | 0.06 | 0.22 |
| 118ieee | 2.10 | 0.17 | 0.07 | 6.31 | 0.25 | 4.67 | 0.42 | 115.50 | 0.14 | 228.60 | 0.14 | 355.50 |
| 162ieee | 4.19 | 0.17 | 1.12 | 17.93 | 3.50 | 9.19 | 2.14 | 373.38 | 1.56 | 666.08 | 1.57 | 948.30 |
| 189edin | 0.22 | 0.28 | 0.07 | 6.59 | 0.08 | 2.04 | 0.28 | 48.30 | 0.10 | 87.17 | 0.04 | 63.15 |
| 300ieee | 1.19 | 0.39 | 0.08 | 16.36 | 0.30 | 9.41 | 0.23 | 321.62 | 0.09 | 345.69 | 0.09 | 520.50 |
| 2383wp | 1.68 | 6.37 | 0.37 | 840.31 | 1.56 | 74.25 | 1.48 | 33.59 | 1.36 | 46.10 | 1.16 | 163.27 |
| 2736sp | 1.57 | 8.21 | 0.00 | 1265.13 | 1.42 | 91.07 | 1.82 | 49.62 | 1.07 | 90.00 | 0.87 | 165.61 |
| 2737sop | 6.54 | 4.68 | 0.00 | 1228.51 | 1.57 | 87.30 | 5.35 | 51.83 | 1.15 | 185.08 | 1.15 | 348.35 |
| 2746wop | 13.61 | 3.98 | 0.00 | 1329.97 | 1.50 | 91.39 | 2.40 | 66.19 | 2.57 | 140.07 | 2.57 | 273.07 |
| 2746wp | 2.48 | 6.44 | 0.00 | 1383.23 | 1.54 | 91.84 | 2.61 | 41.28 | 1.08 | 61.44 | 1.04 | 107.09 |
| Average | 3.17 | 1.50 | 0.35 | 291.20 | 0.88 | 22.36 | 1.09 | 54.03 | 0.63 | 90.27 | 0.53 | 143.65 |
| SOCP | SDP | Best of [27] | ||||||||||
| case | %gap | time (s) | %gap | time (s) | %gap | time (s) | %gap | time (s) | %gap | time (s) | %gap | time (s) |
| 3lmbd | 3.30 | 0.05 | 1.26 | 0.93 | 1.31 | 0.14 | 0.81 | 0.62 | 0.78 | 1.68 | 0.81 | 1.05 |
| 4gs | 0.65 | 0.02 | 0.00 | 0.88 | 0.00 | 0.09 | 0.05 | 0.78 | 0.03 | 0.47 | 0.03 | 0.55 |
| 5pjm | 0.45 | 0.05 | 0.45* | 1.03 | 0.00 | 0.20 | 0.09 | 0.41 | 0.05 | 0.76 | 0.05 | 0.81 |
| 6ww | 13.33 | 0.03 | 0.00 | 1.04 | 0.00 | 0.48 | 0.00 | 1.18 | 0.00 | 1.87 | 0.00 | 3.39 |
| 9wscc | 0.00 | 0.05 | 0.00 | 0.93 | 0.00 | 0.11 | 0.00 | 0.08 | 0.00 | 0.08 | 0.00 | 0.06 |
| 14ieee | 1.35 | 0.06 | 0.00 | 1.06 | 0.00 | 0.58 | 0.14 | 8.67 | 0.03 | 7.16 | 0.04 | 13.18 |
| 29edin | 0.44 | 0.11 | 0.44* | 2.90 | 0.03 | 1.96 | 0.08 | 66.27 | 0.04 | 93.01 | 0.04 | 136.83 |
| 30as | 4.76 | 0.06 | 0.00 | 1.96 | 1.72 | 1.00 | 0.11 | 25.06 | 0.08 | 37.44 | 0.09 | 62.09 |
| 30fsr | 45.97 | 0.06 | 11.06 | 1.90 | 40.22 | 1.00 | 9.91 | 27.92 | 5.13 | 50.09 | 5.15 | 90.56 |
| 30ieee | 0.99 | 0.05 | 0.00 | 2.32 | 0.08 | 0.98 | 0.18 | 24.04 | 0.06 | 37.84 | 0.06 | 60.03 |
| 39epri | 2.99 | 0.05 | 0.00 | 2.55 | 0.00 | 0.73 | 0.09 | 9.44 | 0.01 | 17.14 | 0.01 | 26.33 |
| 57ieee | 0.21 | 0.06 | 0.08 | 2.69 | 0.13 | 1.82 | 0.20 | 13.95 | 0.06 | 84.38 | 0.06 | 125.44 |
| 118ieee | 44.19 | 0.14 | 31.53 | 7.47 | 39.09 | 5.07 | 14.38 | 285.36 | 7.91 | 517.63 | 7.83 | 911.90 |
| 162ieee | 1.52 | 0.23 | 1.00 | 21.43 | 1.20 | 9.88 | 1.17 | 617.04 | 1.03 | 1393.66 | 1.03 | 2007.66 |
| 189edin | 5.88 | 0.22 | 0.05 | 6.53 | 3.82 | 2.28 | 1.12 | 212.12 | 0.89 | 444.09 | 0.91 | 592.86 |
| 300ieee | 0.85 | 0.39 | 0.00 | 14.65 | 0.15 | 9.94 | 0.22 | 571.77 | 0.10 | 735.95 | 0.10 | 1048.07 |
| 2383wp | 0.89 | 2.07 | 0.10 | 857.87 | 0.00 | 58.46 | 0.99 | 69.62 | 0.40 | 208.76 | 0.40 | 592.17 |
| 2736sp | 2.13 | 2.73 | 0.07 | 1439.24 | 0.72 | 66.89 | 1.57 | 65.91 | 1.32 | 109.79 | 1.32 | 308.40 |
| 2737sop | 1.08 | 2.93 | 0.01 | 1203.03 | 0.31 | 63.74 | 1.10 | 40.59 | 0.65 | 268.75 | 0.65 | 636.37 |
| 2746wop | 0.52 | 2.70 | 0.00 | 1413.02 | 0.00 | 67.87 | 0.51 | 42.65 | 0.42 | 118.05 | 0.42 | 296.78 |
| 2746wp | 0.59 | 2.96 | 0.00 | 1457.02 | 0.00 | 74.26 | 0.64 | 43.13 | 0.21 | 174.71 | 0.71 | 153.60 |
| Average | 6.29 | 0.72 | 2.19 | 306.69 | 4.23 | 17.50 | 1.59 | 101.27 | 0.91 | 204.92 | 0.94 | 336.58 |
| SOCP | SDP | Best of [27] | ||||||||||
| case | %gap | time (s) | %gap | time (s) | %gap | time (s) | %gap | time (s) | %gap | time (s) | %gap | time (s) |
| 3lmbd | 4.28 | 0.05 | 2.06 | 1.15 | 1.52 | 0.10 | 0.11 | 1.02 | 0.28 | 0.64 | 0.09 | 1.29 |
| 4gs | 4.90 | 0.02 | 0.05 | 1.01 | 0.03 | 0.11 | 0.01 | 0.20 | 0.01 | 0.22 | 0.01 | 0.66 |
| 5pjm | 3.61 | 0.03 | 0.00 | 1.11 | 0.39 | 0.14 | 0.07 | 0.34 | 0.08 | 0.36 | 0.07 | 0.94 |
| 6ww | 0.80 | 0.02 | 0.00 | 1.34 | 0.02 | 0.27 | 0.00 | 0.51 | 0.00 | 0.66 | 0.00 | 1.53 |
| 9wscc | 1.50 | 0.05 | 0.00 | 1.02 | 0.43 | 0.20 | 0.01 | 0.44 | 0.01 | 0.45 | 0.01 | 1.14 |
| 14ieee | 0.07 | 0.03 | 0.00 | 1.39 | 0.06 | 0.44 | 0.06 | 0.03 | 0.06 | 0.06 | 0.06 | 0.16 |
| 29edin | 34.47 | 0.09 | 28.44 | 2.51 | 21.92 | 4.79 | 0.90 | 63.05 | 0.80 | 168.42 | 0.70 | 325.68 |
| 30as | 9.16 | 0.08 | 0.47 | 1.82 | 2.47 | 1.26 | 0.14 | 11.64 | 0.09 | 20.67 | 0.09 | 38.85 |
| 30fsr | 0.62 | 0.09 | 0.07 | 2.19 | 0.29 | 1.12 | 0.13 | 10.44 | 0.09 | 14.01 | 0.09 | 26.57 |
| 30ieee | 5.87 | 0.08 | 0.00 | 2.41 | 2.04 | 1.01 | 0.08 | 5.30 | 0.02 | 13.78 | 0.02 | 26.78 |
| 39epri | 0.11 | 0.03 | 0.09 | 2.25 | 0.09 | 1.02 | 0.03 | 2.67 | 0.02 | 6.01 | 0.02 | 11.54 |
| 57ieee | 0.11 | 0.08 | 0.02 | 2.92 | 0.10 | 1.83 | 0.08 | 6.07 | 0.07 | 19.81 | 0.07 | 36.75 |
| 118ieee | 12.88 | 0.17 | 7.55 | 6.03 | 7.41 | 6.20 | 4.57 | 122.62 | 3.35 | 375.91 | 3.35 | 748.42 |
| 162ieee | 7.06 | 0.14 | 3.56 | 20.66 | 5.86 | 14.30 | 4.12 | 418.86 | 3.77 | 1123.51 | 3.76 | 1741.94 |
| 189edin | 2.36 | 0.25 | 1.20 | 6.70 | 2.33 | 5.44 | 4.04 | 56.13 | 1.04 | 346.65 | 1.41 | 315.67 |
| 300ieee | 1.27 | 0.39 | 0.13 | 15.61 | 0.71 | 16.75 | 0.23 | 345.04 | 0.11 | 773.31 | 0.10 | 1226.36 |
| 2383wp | 5.46 | 5.26 | 1.30 | 850.43 | 3.67 | 554.44 | 3.56 | 86.25 | 3.08 | 142.53 | 3.08 | 550.16 |
| 2736sp | 3.47 | 6.49 | 0.69 | 1415.42 | 2.02 | 676.52 | 2.77 | 57.89 | 3.07 | 113.58 | 3.81 | 448.04 |
| 2737sop | 3.63 | 7.27 | 1.00 | 1298.22 | 3.55 | 694.33 | 6.82 | 38.16 | 4.56 | 71.45 | 5.37 | 153.54 |
| 2746wop | 4.32 | 7.10 | 1.20 | 1448.25 | 3.94 | 772.76 | 6.36 | 40.00 | 3.98 | 67.80 | 4.56 | 150.09 |
| 2746wp | 3.76 | 6.38 | 0.43 | 1327.80 | 2.73 | 811.51 | 3.50 | 42.57 | 4.20 | 129.86 | 2.74 | 155.73 |
| Average | 5.22 | 1.62 | 2.30 | 305.25 | 2.93 | 169.74 | 1.79 | 62.34 | 1.37 | 161.41 | 1.40 | 283.90 |
| OC | Case | 15 m | 30 m | time (s) | node | 15 m | 30 m | time (s) | node | 15 m | 30 m | time (s) | node |
| TYPICAL (TYP) | 3lmbd | 0.09 | 0.09 | 1.62 | 3 | 0.09 | 0.09 | 1.12 | 1 | 0.09 | 0.09 | 0.95 | 1 |
| 5pjm | 0.10 | 0.10 | 124.46 | 270 | 0.10 | 0.10 | 80.23 | 136 | 0.10 | 0.10 | 108.39 | 129 | |
| 30fsr | 0.10 | 0.10 | 12.18 | 3 | |||||||||
| 118ieee | 0.26 | 0.24 | 1801.44 | 364 | 0.09 | 0.09 | 324.33 | 13 | 0.10 | 0.10 | 502.47 | 13 | |
| 162ieee | 1.96 | 1.46 | 1811.55 | 139 | 1.56 | 1.33 | 1810.54 | 56 | 1.46 | 1.46 | 1837.44 | 21 | |
| 189edin | 0.14 | 0.10 | 660.44 | 179 | |||||||||
| 300ieee | 0.21 | 0.19 | 1807.97 | 287 | |||||||||
| 2383wp | 1.33 | 1.28 | 1811.84 | 43 | 1.16 | 1.08 | 1826.53 | 27 | 0.92 | 0.92 | 1881.99 | 24 | |
| 2736sp | 0.93 | 0.93 | 1810.29 | 50 | 0.87 | 0.87 | 1854.32 | 30 | 0.76 | 0.63 | 1869.73 | 23 | |
| 2737sop | 5.35 | 5.35 | 1820.06 | 44 | 1.15 | 1.15 | 1800.99 | 27 | 1.15 | 1.15 | 1858.50 | 19 | |
| 2746wop | 2.40 | 2.40 | 1828.43 | 46 | 2.57 | 2.18 | 1819.52 | 29 | 2.57 | 2.57 | 1819.18 | 21 | |
| 2746wp | 1.61 | 1.61 | 1828.00 | 38 | 1.04 | 1.04 | 1812.67 | 26 | 2.54 | 2.54 | 1852.72 | 22 | |
| CONGESTED (API) | 3lmbd | 0.02 | 0.02 | 2.09 | 5 | 0.02 | 0.02 | 3.99 | 5 | 0.02 | 0.02 | 3.34 | 5 |
| 14ieee | 0.09 | 0.09 | 11.86 | 5 | |||||||||
| 30as | 0.06 | 0.06 | 28.84 | 3 | |||||||||
| 30fsr | 4.13 | 1.79 | 1801.24 | 603 | 0.73 | 0.35 | 1803.06 | 393 | 1.31 | 0.83 | 1802.18 | 220 | |
| 30ieee | 0.09 | 0.09 | 29.33 | 5 | |||||||||
| 57ieee | 0.10 | 0.10 | 226.32 | 57 | |||||||||
| 118ieee | 13.57 | 12.14 | 1803.17 | 115 | 7.83 | 6.17 | 1809.53 | 49 | 7.83 | 7.83 | 1834.74 | 23 | |
| 162ieee | 1.17 | 1.16 | 1831.99 | 48 | 1.03 | 1.03 | 1821.67 | 6 | 1.03 | 1.03 | 2007.68 | 0 | |
| 189edin* | 0.12 | 0.12 | 472.70 | 42 | 0.89 | 0.89 | 543.14 | 9 | 0.12 | 0.12 | 663.19 | 5 | |
| 300ieee | 0.22 | 0.18 | 1810.43 | 100 | |||||||||
| 2383wp | 0.98 | 0.98 | 1806.07 | 24 | 0.20 | 0.20 | 1801.00 | 20 | 0.40 | 0.40 | 1885.56 | 12 | |
| 2736sp | 1.57 | 1.57 | 1802.19 | 36 | 1.26 | 1.21 | 1825.24 | 18 | 1.32 | 1.26 | 1869.59 | 12 | |
| 2737sop | 1.10 | 1.10 | 1808.90 | 32 | 0.65 | 0.65 | 1809.25 | 18 | 0.65 | 0.65 | 1835.00 | 10 | |
| 2746wop | 0.51 | 0.51 | 1852.43 | 31 | 0.42 | 0.41 | 1852.74 | 25 | 0.42 | 0.36 | 1931.52 | 16 | |
| 2746wp | 0.64 | 0.64 | 1847.24 | 27 | 0.20 | 0.20 | 1811.35 | 19 | 0.71 | 0.43 | 1814.47 | 12 | |
| SMALL ANGLE (SAD) | 3lmbd | 0.03 | 0.03 | 1.63 | 3 | 0.03 | 0.03 | 1.19 | 3 | 0.03 | 0.03 | 1.29 | 1 |
| 29edin | 0.85 | 0.84 | 1800.96 | 302 | 0.70 | 0.70 | 1819.15 | 102 | 0.69 | 0.67 | 1837.01 | 52 | |
| 30as | 0.08 | 0.08 | 14.71 | 5 | |||||||||
| 30fsr | 0.08 | 0.08 | 18.55 | 9 | |||||||||
| 118ieee | 4.02 | 3.98 | 1801.68 | 216 | 3.07 | 2.43 | 1811.48 | 71 | 3.35 | 3.07 | 1804.74 | 26 | |
| 162ieee | 4.12 | 3.84 | 1813.33 | 118 | 3.76 | 3.76 | 1820.50 | 15 | |||||
| 189edin* | 4.04 | 4.04 | 185.41 | 34 | 1.14 | 1.14 | 1800.41 | 139 | 2.70 | 1.06 | 1814.79 | 96 | |
| 300ieee | 0.21 | 0.16 | 1805.98 | 261 | 0.10 | 0.10 | 797.41 | 3 | |||||
| 2383wp | 3.56 | 3.56 | 1813.15 | 66 | 3.03 | 2.89 | 1867.73 | 18 | 3.08 | 2.83 | 1805.81 | 12 | |
| 2736sp | 2.77 | 2.77 | 1810.32 | 62 | 2.98 | 2.50 | 1827.66 | 31 | 3.81 | 3.81 | 1879.16 | 16 | |
| 2737sop | 6.82 | 6.82 | 1808.89 | 71 | 3.57 | 3.57 | 1821.21 | 22 | 2.81 | 2.81 | 1805.93 | 15 | |
| 2746wop | 6.36 | 5.61 | 1836.42 | 53 | 4.56 | 4.56 | 1899.28 | 26 | 5.41 | 5.41 | 1850.18 | 19 | |
| 2746wp | 3.50 | 3.50 | 1806.90 | 53 | 2.74 | 2.74 | 1868.46 | 22 | 4.49 | 4.49 | 1860.37 | 15 | |
| OC | 15 m | 30 m | time (s) | node | 15 m | 30 m | time (s) | node | 15 m | 30 m | time (s) | node |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TYP | 0.71 | 0.68 | 730.44 | 70.24 | 0.43 | 0.40 | 562.17 | 17.00 | 0.48 | 0.48 | 589.65 | 13.57 |
| API | 1.18 | 0.99 | 819.67 | 54.24 | 0.65 | 0.55 | 766.53 | 27.29 | 0.68 | 0.64 | 815.43 | 15.52 |
| SAD | 1.75 | 1.70 | 787.31 | 60.05 | 1.24 | 1.18 | 829.07 | 22.00 | 1.46 | 1.36 | 852.02 | 12.57 |
| ALL | 1.21 | 1.12 | 779.14 | 61.51 | 0.78 | 0.71 | 719.26 | 22.10 | 0.87 | 0.82 | 752.37 | 13.89 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Matrix Minor Reformulation and SOCP-based Spatial Branch-and-Cut Method for the AC Optimal Power Flow Problem
Burak Kocuk, Santanu S. Dey, X. Andy Sun
Abstract
Alternating current optimal power flow (AC OPF) is one of the most fundamental optimization problems in electrical power systems. It can be formulated as a semidefinite program (SDP) with rank constraints. Solving AC OPF, that is, obtaining near optimal primal solutions as well as high quality dual bounds for this non-convex program, presents a major computational challenge to today’s power industry for the real-time operation of large-scale power grids. In this paper, we propose a new technique for reformulation of the rank constraints using both principal and non-principal -by- minors of the involved Hermitian matrix variable and characterize all such minors into three types. We show the equivalence of these minor constraints to the physical constraints of voltage angle differences summing to zero over three- and four-cycles in the power network. We study second-order conic programming (SOCP) relaxations of this minor reformulation and propose strong cutting planes, convex envelopes, and bound tightening techniques to strengthen the resulting SOCP relaxations. We then propose an SOCP-based spatial branch-and-cut method to obtain the global optimum of AC OPF. Extensive computational experiments show that the proposed algorithm significantly outperforms the state-of-the-art SDP-based OPF solver and on a simple personal computer is able to obtain on average a optimality gap in no more than seconds for the most challenging power system instances in the literature.
1 Introduction
1.1 Approaches to solving alternating current optimal power flow problem
Alternating current optimal power flow (AC OPF) is one of the most fundamental optimization problems in electrical power system operation. Since its introduction in 1962 [8], developing efficient algorithms for solving AC OPF has remained an active field of research. The main challenge in solving AC OPF in order to obtain a near-optimal primal solution and a high quality dual bound lies in the non-convex nature of the AC OPF model, the very large scale of the resulting optimization problem for real-world power grids, and the very short amount of solution time required by the real-time dispatch of the generation and demand resources in the power grid.
Literature on the AC OPF problem can be roughly categorized into three groups: local methods, relaxation approaches, and global optimization methods (e.g. see recent surveys in [38, 39, 15, 16, 7]). In the local methods, the aim is to find a local optimal solution or a stationary point of the OPF problem. Typically, these methods are based on the Newton-Raphson algorithm or the interior point methods (IPM) [51, 49, 24, 50, 53], and are effective in locating good feasible solutions only under normal operating conditions (e.g. when the power system is not stressed by high level of load and/or tight transmission constraints). However, since the OPF problem is non-convex, such local methods may get stuck at local optimal or stationary solutions [6, 28]. Also, local methods are sensitive to the initial point and may fail to produce solutions when a warm starting point is not available [28].
Relaxation approaches for solving AC OPF are mainly based on the semidefinite programming (SDP) relaxation techniques [2, 1, 29]. It recently become a popular approach as researchers found that the SDP relaxations of the standard IEEE test instances up to 300 buses all obtained globally optimal solutions [29]. However, it was soon realized that the requirements to guarantee exactness of the SDP relaxation are typically quite restrictive (e.g. resistive networks with no reactive loads [29], networks with a large number of virtual phase shifters [44], radial networks with no generation lower bounds [52, 5, 4]). Furthermore, when the relaxation is not exact, it is a challenge to recover a feasible primal solution. However, since the dual bounds obtained by SDP relaxations are typically strong, this approach proves to be a valuable tool for evaluating the quality of the primal feasible solutions obtained by other methods, e.g. a local method. Last but not the least, solving SDP is not very scalable with the existing algorithms. Methods exploiting the sparsity pattern of the underlying graph have been proposed for general polynomial optimization problems in in [17] and [41], and later applied to the OPF problem in [23, 36, 31, 37, 32]. Despite the considerable efforts, solving large-scale AC OPF with SDP relaxation is still a computational challenge for real-world power systems.
The scalability issue of SDP-based relaxations motivates researchers (including the present paper) to pursue simpler convex relaxations, such as second-order cone programming (SOCP) and linear programming (LP) relaxations. Basic SOCP relaxation is first applied to the OPF problem in [25]. Various strengthening techniques using valid inequalities, convex envelopes, and cutting planes are proposed to strengthen the SOCP relaxation, and the resulting strong SOCP relaxations prove to be not dominated by SDP relaxations and can be solved much faster [28, 27, 20, 12]. LP approximation and relaxation techniques are also applied to the OPF problem in [13, 3]. Global methods try to combine the above methods. A particular work in this area is [43], where a local solver (IPOPT) is used to find feasible primal solutions and a Lagrangian relaxation algorithm is used to obtain dual bounds in a spatial branch-and-bound framework. However, the proposed approach in [43] is only tested on standard IEEE instances, which turn out to be simple instances and can all be solvable in the root node. A recent work [10] also proposed a branch-and-cut algorithm for solving complex quadratic constrained quadratic programs with applications to AC OPF.
1.2 Our contributions
In this paper, we aim to solve the AC OPF problem to global optimum. We first propose a new systematic approach to dealing with the rank constraint of a complex Hermitian matrix in a nonconvex QCQP in lifted space. In particular, we use the fact that the enforcing the rank of a Hermitian matrix being equal to one is equivalent to imposing the condition that all the minors of the matrix are zero. These minor constraints can be classified into three types. Each type can be further reformulated as a set of quadratic or bilinear constraints involving a small set of variables. This reformulation applies to any non-convex quadratic problem with Hermitian matrices and it lays the foundation for a systematic approach to relaxing and/or convexifying the rank constraints. Interestingly, these three types of minors also have clear interpretations. In particular, they correspond to edges, 3-cycles (i.e. cycles of three nodes), and 4-cycles (i.e. cycles of 4 nodes) of the underlying network. In the context of AC OPF, these cycle constraints have a clear physical meaning, e.g. voltage angle differences of edges in a cycle sum to zero. In [9, 10, 19], only principal minors, corresponding to Type 1 minors in our language, are considered to improve the SDP relaxation. By considering the other two types of non-principal minors, we are able to obtain stronger relaxations than existing ones.
Based on this minor reformulation, we propose convexification techniques to exploit the special structures of cycles in a graph, and design and implement a complete spatial branch-and-cut algorithm based on second-order conic programming (SOCP) for obtaining global or near global optimal solutions of AC OPF. Extensive computational experiments show that the proposed algorithm significantly outperforms the state-of-the-art SDP-based OPF solver and on a simple personal computer is able to obtain on average a optimality gap in no more than seconds for the most challenging power system instances in the literature.
The rest of the paper is organized as follows: In Section 2, we formally define the AC OPF problem. In Section 3, we give the new reformulation of a complex SDP problem with rank constraint as a real quadratic optimization problem with minor constraints. Then, we propose several outer-approximation schemes to incorporate the minor conditions in a convex relaxation of the AC OPF problem. Section 4 presents our SOCP based spatial branch-and-cut algorithm with a particular emphasis on the root node relaxation. Our extensive computational experiments on challenging NESTA instances [11] are summarized in Section 5. Finally, Section 6 concludes the paper with some further remarks and possible future research directions.
2 AC Optimal Power Flow Problem
In this section, we present the mathematical optimization formulation of the AC OPF problem using the so-called rectangular formulation. Consider a power network , where denotes the set of nodes (or buses), and denotes the set of edges (or transmission lines). Electric power generators are attached to a subset of buses, which is denoted as . We assume that there is electric demand (or load) at every bus, some of which might potentially be zero. The aim of the AC OPF problem is to determine generation levels of generators to satisfy demand with the minimum total generation cost in such a way that various physical constraints and operational constraints are satisfied.
Let denote the nodal admittance matrix, which has components for each line , and , where and are respectively the shunt conductance and susceptance at bus . Here, . Let and be the real and reactive load at bus given as part of the data. We also define decision variables and to represent the real and reactive power output of the generator at bus . Another set of decision variables is the complex voltage (also called voltage phasor) at bus , which can be expressed in the rectangular form as . It is sometimes convenient to represent in the polar form as , where is the magnitude and is the angle of the complex voltage.
Finally, the AC OPF problem in the rectangular formulation is given below [8].
[TABLE]
In the OPF formulation, the objective function is separable over the generators and is typically linear or convex quadratic in the real power output . Constraints (1b) and (1c) correspond to the Kirchoff’s Current Law, i.e. the conservation of active and reactive power flows at each bus, respectively, where denotes the set of neighbors of bus . Constraint (1d) limits voltage magnitude at each bus, which is usually normalized against a unit voltage level and is expressed in per unit (p.u.). Therefore, and are both close to 1 p.u. at each bus . This strict requirement is crucial to maintain the stability across the power system. Constraints (1e) and (1f), respectively, restrict the active and reactive power output of each generator to their physical capability. Here, we set for non-generator bus . Finally, constraint (1g) puts an upper bound on the total electric power on each transmission line .
3 Minor-based Reformulation of AC OPF Problem
3.1 Standard rank formulation
The AC OPF problem given in (1) is a polynomial optimization problem involving quadratic and quartic polynomials, and it can be posed as a quadratically constrained quadratic program (QCQP) by rewriting the constraint (1g) using additional variables. For nonconvex QCQPs, a standard strategy is to lift the variable into a higher dimensional space [42]. This can be accomplished by defining a matrix variable to replace the quadratic terms in the original variables with linear ones in the lifted matrix variable. In this reformulation, the only nonconvex constraint is a requirement that the rank of the matrix variable is one, which we call the rank-one constraint. The procedure to obtain this lifted formulation for the OPF problem is given below.
First, let us define a Hermitian matrix , i.e., , where is the conjugate transpose of . Consider the following set of constraints:
[TABLE]
where and are the real and imaginary parts of the complex number , respectively. Let denote the vector of voltage phasors with the -th entry for each bus . Then, the AC OPF problem in (1) can be equivalently rewritten in the following rank formulation:
[TABLE]
Let denote the optimal value of the AC OPF problem in the rectangular formulation (1). Then, clearly . The nonconvexity in the rank formulation (3) is captured by the rank constraint (2g). In order to deal with this challenging constraint, in the following we propose a new reformulation of AC OPF, based on conditions on the minors of matrix .
3.2 New approach: minor-based reformulation
In this section, we propose a new approach to reformulating the rank-one constraints. First, we recall the definition of an minor of a matrix [22]:
Definition 3.1**.**
Let be an complex matrix. Then, an minor of the matrix for is the determinant of an submatrix of obtained by deleting rows and columns from .
The following Proposition 3.1 provides the key characterization of the rank-one constraint in terms of minors.
Proposition 3.1**.**
A nonzero, Hermitian matrix is positive semidefinite and has rank one, i.e. and , if and only if all the minors of are zero and the diagonal elements of are nonnegative.
Proof.
() Assume and . Then, there exists a vector such that . Let us consider a submatrix of of the form
[TABLE]
Note that we have , , , and . Hence, , implying that all the minors of are zero. Also, for any diagonal element of the matrix , we have . Therefore, we conclude that the diagonal elements of are nonnegative.
() Recall that rank is equal to the size of the largest invertible submatrix of [22]. Since all the minors of are zero, none of the submatrices of are invertible. This implies that rank as is a nonzero matrix. Finally, since a rank-one, Hermitian matrix with nonnegative diagonal elements can be written in the form for some vector , we conclude that . ∎
Based on this property of matrix minors, we can reformulate the AC OPF problem (1) as
[TABLE]
We call (4) the minor-based reformulation, which is an exact reformulation of (1). Therefore, we have .
3.3 Discussion on relaxations
The rank (3) and the minor-based (4) reformulations lead to systematic ways to construct relaxations of the AC OPF problem (1). For example, the standard SDP relaxation for the OPF problem can be obtained by relaxing the rank constraint (2g), or equivalently, all the minor constraints in (4) as
[TABLE]
By construction, . The standard SDP relaxation has been shown to be exact for the standard IEEE test cases up to 300 buses [29, 33]. However, it is also shown by recent study that, for challenging test cases such as the instances from NESTA archive [11], the duality gap of the standard SDP relaxation (5) can be quite large [12]. Another challenge of (5) is the computational difficulty of solving large-scale SDP problems. Although sparsity exploitation methods help reduce the solution times significantly [37], for truly large-scale power systems, it is necessary to seek computationally less demanding methods.
Our approach is to avoid the SDP constraint (2f), which is computationally expensive to handle, and focus on providing efficient ways to incorporate convex relaxations of the minor constraints in the form of linear or second-order conic representable constraints. In this approach, some of the proposed constraints will be a convex relaxation of the minor constraints, discussed in Sections 3.4 and 3.5; and some will be a weaker version of the semidefiniteness requirement on , discussed in Sections 3.4 and 3.6. The computational cost of the proposed approach can be significantly lower than the standard SDP relaxation. Moreover, the convex relaxation of the minor constraints may provide additional strengthen that is not captured by the standard SDP relaxation. In this way, the proposed approach may be both faster and stronger than the SDP relaxation, which is indeed verified by extensive experiments on the challenging NESTA instances.
3.4 Analysis of Minors
In this section, we analyze all the minors of the matrix in detail and characterize them into three different types. Note that for notational purposes, we will define and for in the sequel.
- (i)
Type 1: Edge Minor. Let and be distinct elements of the set . Then, we have
[TABLE]
which is equivalent to
[TABLE]
Note that this relation defines the boundary of the rotated SOCP cone in . 2. (ii)
Type 2: 3-Cycle Minor. Let , and be distinct elements of the set , assuming . Then, consider the following minor
[TABLE]
which is equivalent to
[TABLE]
Note that this relation defines two bilinear equations in . 3. (iii)
Type 3: 4-Cycle Minor. Let , , and be distinct elements of the set , assuming . Then, consider the following minor
[TABLE]
which is equivalent to
[TABLE]
Note that this relation defines two bilinear equations in .
We analyze these minors and their relaxations in detail below. At this point, we would like to contrast our approach with the existing literature. In [9, 10, 19], only principal minors, corresponding to Type 1 minors in our language, are considered to improve the SDP relaxation. By considering Type 2 and 3 minors, we can potentially obtain stronger relaxations.
3.4.1 Type 1: Edge Minors
Type 1 minors are principal minors of the matrix . The straightforward convex relaxation of (7) leads to an SOCP relaxation of the standard SDP relaxation of AC OPF and has been extensively used in the literature [25, 26, 9, 10, 19]. Our goal is to go beyond the simple SOCP relaxation and to obtain the convex hull description of the set defined by a Type 1 minor in (6) over the hypercube , where is an edge in the power network. Specifically, we define the following nonconvex set.
[TABLE]
3.4.1.1 Convex hull description of .
It follows from [47, Theorem 1] that
[TABLE]
where and are defined accordingly. First of all, is a convex set (in fact, second-order cone representable as it is the rotated cone in ). Therefore, in order to construct , it suffices to find , which is the intersection of a polytope and the complement of a convex set. Here, we use the following result:
Theorem 3.1**.**
(Theorem 1 in [21]) Let be a nonempty polytope and be a proper subset of such that is convex. Then, is a polytope.
The proof of Theorem 3.1 is constructive. Let , be all the one-dimensional faces of the polytope , i.e. edges of . Then, we have
[TABLE]
Hence, is precisely the convex hull of the extreme points of , .
We can apply Theorem 3.1 to our case, where and . The hypercube has 32 one-dimensional faces. The extreme points of can be easily obtain by fixing three of the variables to one of their bounds. The exact procedures to obtain extreme points are given in Algorithms 3, 4, and 5 (see Appendix B).
After we have computed the extreme points of one-dimensional faces, say , , where and , we can give the convex hull description of as follows:
[TABLE]
The above discussion can be summarized as the following result:
Proposition 3.2**.**
Let be computed using Algorithms 3-5. Then,
[TABLE]
3.4.1.2 An Outer Approximation to .
Note that Proposition 3.2 describes the convex hull of in an extended space of , and the dimension of the variables, , can be as large as . Directly incorporating the full convex hull description (16) for each edge in the power network could lead to a very large formulation. Instead, we propose an outer approximation to in the space of the variable using only four linear inequalities. Our extensive experiments show that this approximation is quite accurate and computationally efficient.
We again focus on and rewrite the “reverse-cone” constraint as follows:
[TABLE]
Note that is a convex function and is a concave function. If we overestimate the former and underestimate the latter by hyperplanes, the inequality still holds. The following propositions formalize this idea:
Proposition 3.3**.**
The affine functions , , underestimate over the box , where
, , and
, , .
Proposition 3.4**.**
If , then the affine functions , , overestimate over the box , where
, , and
, , .
Proposition 3.5**.**
If , then the affine functions , , overestimate over the box , where
, , and
, , .
Proposition 3.6**.**
Let , and , and , and , be calculated using Propositions 3.3-3.5. Then, the edge cuts (EC) defined as
[TABLE]
are valid for .
A different analysis related to Type 1 minor condition is carried out in [10] by considering the following set:
[TABLE]
It turns out that conv is second-order cone representable with two non-trivial linear inequalities. In our experiments, we observe that the addition of these valid linear inequalities does not produce any extra gap closure in our approach, and hence, they are not used in our relaxation scheme.
3.4.2 Types 2 and 3: 3- and 4-Cycle Minors
The real and imaginary parts of Type 2 and Type 3 minors in (8) and (10) can be written generically as for some with . Let be -vectors with the property that and . We are interested in finding the convex hull of the following set:
[TABLE]
We have the following theorem, whose proof is given in Appendix C:
Theorem 3.2**.**
conv is second-order cone representable.
In the proof of Theorem 3.2, we construct the convex hull of in an extended space with the number of disjunctions exponential in , where some of the disjunctions may contain second-order conic constraints. Including the exact description of as part of the relaxation might be quite costly. In the following, we propose tight outer approximation of .
3.4.2.1 An Outer Approximation to .
We propose a linear outer approximation to using McCormick envelopes [34] as follows:
[TABLE]
Our extensive tests show that tightly approximates conv.
3.4.2.2 A Cycle Based Relaxation
Although we have linear outer approximations of Type 2 and 3 minors, their total number is cubic and quartic in the number of buses. Therefore, including relaxations for every minor can be quite expensive. Instead, we focus on a set of cycles in the graph and include a subset of minors for each cycle. This corresponds to triangulating a given cycle into 3- and 4-cycles. This idea is similar to the one used in our previous paper [27] although the construction in that paper is entirely different.
We do not propose to include all such minors in our relaxation scheme either. Rather, we construct a cycle relaxation and use it as a basis to generate cutting planes. More precisely, let be a given cycle in the power network and denote the principal submatrix of , which corresponds to the rows and columns of the nodes in the cycle . Next, we choose a subset of Type 2 and 3 minors from and define the following set
[TABLE]
where ’s are bilinear equations corresponding to minor constraints (9) and (11) index by . Here, we denote the variables associated with original edge in the power network as , and denote for an artificial edge added to triangulate the cycle . See Figure 1 for an illustration on how a 7-cycle can be triangulated.
Finally, we write the McCormick relaxation for the nonconvex set , parametrized by the variable bounds , for a given cycle , compactly, as follows:
[TABLE]
Here, is a vector of new variables defined to linearize the bilinear terms in the minor constraints. Inequality constraints contain the McCormick envelopes of the bilinear terms and bounds on the variables, while equality constraints include the linearized minor equality constraints.
3.4.2.3 Discretization
Our preliminary analysis has shown that does not approximate conv accurately in most cases. However, it is well-known that McCormick relaxation of a nonconvex set converges to the convex hull of the set as the variable ranges shrink. Motivated by this fact, we propose a discretization technique to improve the accuracy of the set . We note that this idea has been applied to other nonconvex problems in the literature (e.g. pooling problem [35, 14, 18]).
To begin with, let , for , be a partition of the initial box . Then, the following relations trivially hold:
[TABLE]
Note that since is a finite union of polyhedral representable sets, is also polyhedral representable.
In our implementation, we use the following construction. First, we decide a set of variables and bisect their variable ranges to obtain the collection . Then, we construct the set . Finally, we solve the separation problem presented in Section 3.7 to obtain cutting planes valid for .
After initial calibration, we decided to choose the collection as follows. We first choose a reference node to start triangulation. Then, for each subcycle of a cycle, we pick the edges which are neither the first nor the last line in a subcycle and apply bisection to the corresponding and variables. For instance, in Figure 1, variables are bisected.
3.5 An Alternative to Type 2 and 3 Minor Conditions: Arctangent Constraints
In this section, we propose another equivalent characterization of the rank-one, or equivalently minors requirement explained above. Our alternative condition is based on the following relationship between the phase angles and variables, which correspond to the real and imaginary parts of the complex matrix variable using the 111 function:
[TABLE]
3.5.1 Equivalence
First, we claim that Type 1 minor constraint (6) together with arctangent constraint (25) implies Type 2 minor (8) equations.
Proposition 3.7**.**
[TABLE]
Proof.
From (25), we have that and . Then,
[TABLE]
and
[TABLE]
which imply Type 2 minor (8). ∎
A similar proposition about Type 3 minors is also true, that is, Type 1 minor constraint (6) together with arctangent constraint (25) implies Type 3 minor (10) equations.
Proposition 3.8**.**
[TABLE]
We omitted the proof of Proposition 3.8 due to its similarity to the proof of Proposition 3.7.
3.5.2 Convexification
In Section 3.4.2, we analyzed Type 2 and 3 minors and proposed a method to obtain a linear outer-approximation. Now, we propose another linearization method using the arctangent restriction (25). To start with, let us define the following nonconvex set
[TABLE]
where we denote and drop indices for brevity. We also assume . Let us denote the four corners of the box in space as follows:
[TABLE]
Two inequalities that approximate the upper envelope of are described below.
Proposition 3.9**.**
Let and be the planes passing through points , and , respectively. Then, two valid inequalities for can be obtained as
[TABLE]
for all with , where
[TABLE]
for .
Note that by the construction of (29), it is evident that dominates the over the box. The nonconvex optimization problem (29) can be solved by enumerating all possible Karush-Kuhn-Tucker (KKT) points. See Appendix A for details. These inequalities are improvements over the similar ones in [27] since the bounds on variables are also taken into consideration in the calculation of the offset value .
Two inequalities that approximate the lower envelope of are described below.
Proposition 3.10**.**
Let and be the planes passing through points , and , respectively. Then, two valid inequalities for are defined as
[TABLE]
for all with , where
[TABLE]
for .
In summary, the four linear inequalities that approximate conv are given as
[TABLE]
for some line .
3.6 General Principal Submatrices
Up until this point, we have mainly discussed how to incorporate the minor constraints into our relaxation scheme. In this section, we propose an approach to include a relaxed version of the positive semidefiniteness constraint by considering general principal minors of the matrix variable . Our approach is a relaxation of the positive semidefiniteness requirement since implies that all principal submatrices should be positive semidefinite while we only include a few hyperplanes which outer-approximate for some principal submatrix . From a different view point, the approach in this section can be seen as a simultaneous convexification of several, appropriately chosen Type 2 and 3 minor conditions (9) and (11).
Let be a subset of buses. Let be a vector of bus voltages defined as such that for and for . Observe that the following linear relationship between , and holds,
[TABLE]
Here, we used real matrices instead of complex matrices for convenience. It is proven in [48] that using real matrices is equivalent to complex matrices.
Clearly, the set defined by (33) is nonconvex. A straightforward SDP relaxation can be presented as follows:
[TABLE]
Note that this relaxation is a further relaxation of the SDP relaxation since only one principal submatrix is considered here. Although the subset can be general, previous experience [27] shows that it makes sense to use a subset of buses that correspond to a cycle. In particular, we define the following set for a cycle
[TABLE]
and then, use the following procedure in Section 3.7 to obtain cutting planes for this set.
3.7 Separation Problems for LP and SDP Based Cycle Relaxations
In Sections 3.4.2 and 3.6, we presented LP and SDP based approximations for the cycles in our problem. In this section, we propose to utilize these relaxations in a cutting plane framework.
Suppose that we are given a solution and we want to determine whether this point belongs to either LP or SDP relaxation given in (23) or (35). In order to cover both cases, let us focus on a generic setting where we have a conic representable set and a point that we want to separate. Here, we assume that the cone is either the nonnegative orthant or the cone of positive semidefinite matrices with appropriate dimension. Suppose we want to determine if the given point is in , or find a separating hyperplane such that otherwise. This problem can be formulated as
[TABLE]
Clearly, the optimal value of this problem without the norm constraint is unbounded if . In order to find a cutting plane in the proposed form, we dualize the constraint and normalize the vector to be in the unit ball. The resulting problem of separating a given point from a conic representable set is given as follows:
[TABLE]
Here, we have two cases: If , then , otherwise, the optimal solution from (36) gives a separating hyperplane of the form , which then can be used as a cutting plane.
3.8 Bound Tightening
So far, one of the standing assumptions for the construction of McCormick relaxations and arctangent outer-approximation was the availability of lower and upper bounds on and variables. Clearly, tighter variable bounds will lead to better relaxations. In this section, we explain how good bounds can be obtained by first solving small size bounding SOCPs and then, improving these bounds further by incorporating some dual information.
3.8.1 Optimization-Based Bound Tightening
Assuming some angle bounds for a line as
[TABLE]
we can obtain a rough first estimate for the bounds on and as follows:
[TABLE]
We claim that these bounds can be further tightened by solving SOCP bounding problems. Let us consider a line and fix a “closeness” parameter . We first define the following sets: , the set of buses which can be reached from either or in at most steps, and , the set of lines incident to at least one bus in . Consider the following second-order cone representable set,
[TABLE]
where EC and AT are defined as in (18) and (32), respectively. This set is an improved version of the one proposed in [27], which does not contain edge cut inequalities (39i) for Type 1 minors or arctangent envelopes (39j) .
Let us now define the following problems:
[TABLE]
For improved numerical stability, we update a variable bound only if it is improved by at least . As an implementation note, since these problems are independent of each other for different edges, they can be solved in parallel. According to our experiments, this synchronous parallelization saves a significant amount of computational time.
For artificial edges, it is not possible to use the above procedure as they do not appear in the flow balance constraints. However, we can utilize the bounds already computed for the original edges to obtain some bounds for the variables defined for the artificial edges by adopting the procedure proposed in [27].
3.8.2 Dual-Based Bound Tightening
Let us suppose that the problems (40) have been solved and we have updated the variable bounds on and variables to , , and . Note that while solving these problems, the existing variable bounds are used, that is, the bounds are not updated. A simple way to incorporate the change in one problem to another is to use the dual variables. Related methods have been used by LP based global solvers [45]. Let us now formally explain how this can be accomplished.
Consider the problem . Let , , and be the optimal dual variables corresponding to the constraints , , and , respectively. First, we calculate the contribution of the constraints other than the bounds on the dual objective as
[TABLE]
Now, since the bounds on and variables are improved via their own bounding problems , , and , the lower bound on can be updated as follows:
[TABLE]
Similarly, using the dual variables from , and , we may try to tighten , and further.
4 SOCP Based Spatial Branch-and-Cut Method
In Section 3, we proposed several convexification techniques for the minor (or equivalently, rank) constrained OPF problem including convex and concave envelopes and cutting planes. In this section, we will show how they can be used in a relaxation scheme. In Section 4.1, we develop an algorithm which can be used stand-alone as a cutting plane approach to find dual bounds for the OPF problem. It can also be treated as the root node relaxation of the SOCP based spatial branch-and-cut algorithm proposed in Section 4.2. Finally, Section 4.3 presents the implementation details of the spatial branch-and-cut algorithm.
4.1 Root Node Relaxation
The computational experiments will be based on an SOCP relaxation of the OPF problem. Let denote this relaxation constructed by using the variable bounds , , and , and a set of cutting planes of the form from an index set obtained by solving separation problems. The full model is defined as follows:
[TABLE]
Our approach heavily depends on tightening the variable bounds and enriching the set of cutting planes so that SOCP relaxation gets tightened. The main steps of this root node relaxation algorithm is summarized in Algorithm 1.
For small () and challenging instances, we generate new cycles for many rounds using every pair of distinct cycles in the current set which share at least one common line.
4.2 Spatial Branch-and-Cut Algorithm
Algorithm 1 is quite successful in proving strong dual bounds for many instances from the NESTA archive as the numerical experiments in Section 5.2.1 show. Nevertheless, the optimality gap may be more than an acceptable threshold for some of the more challenging instances, for which we propose an SOCP based spatial branch-and-cut algorithm. The main steps can be seen in Algorithm 2.
Our approach is built on the following principles:
- (i)
Branching: In our approach, we decide a transmission line and branch on either and . This branching rule allows us to update convex approximations to both ECij and ATij. We pick the line to be branched on node of the branch-and-bound tree as follows:
[TABLE]
Then, among and , we choose the variable whose smallest distance to the boundary is the largest. In particular, if , then is chosen; otherwise, is chosen. Finally, we use bisection-branching to partition the space [46]. 2. (ii)
Local bound tightening: Since branching on a variable or reduces the variable range, other variables which correspond to the nearby lines to the branched line can be improved as well. Therefore, we solve the bound tightening problems for such lines in our algorithm. 3. (iii)
Node selection: Since our aim is to reduce the duality gap on the problem, we choose the node with the smallest node relaxation value and carry out the branching. 4. (iv)
Cutting plane generation: We keep on generating cutting planes to separate relaxation solutions. To be computationally efficient, we only solve the separating problems for the cycles at hand which contains the branched line.
4.3 Implementation
In Algorithm 2, SOCP relaxation of each node can be constructed from scratch given the following four pieces of information:
- (i)
variable bounds, 2. (ii)
its parent’s relaxation solution, 3. (iii)
transmission line branched on, and 4. (iv)
the valid inequalities of its parent.
Therefore, a direct implementation can be obtained by explicit tree handling as long as the parent inherits this set of information.
This implementation is a reasonable attempt since, unlike LPs, there is no efficient warm-start availability for SOCPs. There are also some disadvantages: For instance, the proposed implementation requires the construction of each problem from scratch and explicit tree handling. Although the data needed to be stored at each node is limited, there may be some issues for large problems.
In this implementation, the overhead is the solution of SOCPs at each node of the branch-and-bound tree. We prefer to use MOSEK in this implementation since it is an efficient conic interior point solver.
Finally, bound tightening and separation problems are parallelized to reduce the total computational time.
5 Computational Experiments
In this section, we present the results of our extensive computational experiments from NESTA 0.3.0 archive [11] with Typical, Congested and Small Angle Operating Conditions. We are particularly interested in this set of instances due to their difficulty level, as explained below. Our main code is written in the C# language with Visual Studio 2010 as the compiler. For comparison purposes, we use OPF Solver [30] to solve the SDP relaxation of the OPF problem. This MATLAB package exploits sparsity of the power networks to efficiently solve large-scale SDP problems [31, 32]. We modified the code slightly to incorporate phase angle difference constraints. For all experiments, we used a 64-bit computer with Intel Core i5 CPU 2.50GHz processor and 16 GB RAM. Time is measured in seconds, unless otherwise stated. Conic interior point solver MOSEK 8 [40] is used to solve LPs, SOCPs and SDPs in our main algorithms. OPF Solver is run with MOSEK and SDPT3.
5.1 Methods
We run our algorithms with different settings as to cutting plane generation procedures:
- •
McCormick Separation (): We only separate the point from defined in (24).
- •
SDP Separation (): We only separate the point from defined in (35).
- •
SDP + McCormick Separation (): We separate the point from and .
We use a fixed cycle basis to generate cutting planes for most instances. For small () and difficult instances, we enlarge the set of cycles to obtain more cuts. After initial calibration, we decide to set the number of bound tightening rounds to 5, the number of cycle addition rounds to 1, the initial radius to 2, the later radius to 4, and the optimality tolerance to . We also employ coefficient rounding for SDP cuts to improve numerical stability.
The OPF Solver code is modified to incorporate the phase angle bounds in NESTA instances by adding the following constraints:
[TABLE]
We run the OPF Solver with two solvers:
- •
MOSEK
- •
SDPT3
We also compare the three approaches proposed in this paper to our previous paper [27], which utilizes strong SOCP relaxations. For Typical and Congested Operating Conditions, we use a simplified version of and for Small Angle Operating Condition, we again use a simpler version of , which proved to be the best setting in that paper.
5.2 Comparison to the SOCP and SDP Relaxation
We compared the relaxation values obtained from our approach to the plain SOCP, strong SOCP, and SDP relaxations in terms of the optimality gap, which is calculated as follows: . Here, is the optimal objective cost of a relaxation and is the objective cost of a feasible solution obtained by MATPOWER [53].
5.2.1 Root Node Relaxation
In this section, we present the computational results for Typical, Congested, and Small Angle Operating Condition instances in Tables 1-3, respectively. Also, we provide a scatter plot Figure 2, which visualizes the average percentage optimality gap and computational times.
Tables 1-3 summarize the results of our three methods applied only to the root node relaxation. We see that approach is both the most efficient and the weakest in terms of the optimality gap proven among the three methods whereas approach takes the longest computational times but provides the strongest relaxations overall. The accuracy of approach is very close to with lower computational cost.
Figure 2 compares our three methods against SDP Relaxation solved using OPF Solver with SDPT3 chosen as the solver. Although MOSEK is much faster with 172.66 seconds on the average than SDPT3 with 301.05 seconds, SDPT3 provides more accurate solutions with 1.61% optimality gap on the average while the optimality gap for MOSEK is 1.98%. Therefore, we will base our comparisons with SDPT3 results. We can easily see that all our methods, , and , dominate OPF Solver. In particular, and methods are about two times more accurate than OPF Solver in terms of the average optimality gap proven. The computational costs of and are about 50% and 15% less than OPF Solver. We would like to emphasize the success of purely LP and SOCP based method here. Although it provides the weakest relaxation among our three approaches, it is still stronger than a purely SDP based approach in about of the computational time. In general, we should note that our approaches are much faster on large instances, more accurate on hard instances, and comparable to the SDP relaxation on small or easy instances.
We also compare the three approaches proposed in this paper to our previous paper [27]. The approaches in our previous paper are typically faster than the ones proposed in the current paper, however, the optimality gaps are about 2-3 times worse. This shows the significant improvement from our previous work.
5.2.2 Effect of Branching
In this section, we present the detailed branch-and-cut results for the instances which are not solved within the optimality threshold at the root node relaxation in Table 4. We run the branch-and-cut algorithm with a budget of 15 and 30 minutes. The average results are also presented in Table 5.
Overall, the branching reduces the average optimality gaps from , and at the root node to , and after 15 minutes for the methods , and , respectively. There are quite significant gap closure thanks to branching for 5pjm (typical OC instance), 30fsr (congested OC) and 118ieee (congested and small angle OC) instances. We should point out that it is possible to process more nodes with method, which helps to reduce the optimality gaps the most among our three methods, however, it is still the weakest relaxation approach. Also, we can see that method is able to provide lower average optimality gap than at the end since it processes more nodes.
After 30 minutes, the percentage optimality gaps reduce further to 1.12, 0.71 and 0.82 for the methods , and , respectively.
A final comparison of different methods is presented in Figure 3, which can be interpreted as a cumulative distribution function. In this figure, we record the fraction of instances solved up to a given percentage optimality gap. Therefore, a method whose corresponding curve is below the others is dominated. By construction, the plain SOCP relaxation approach is dominated since it is the weakest relaxation considered. Strong SOCP relaxations from our previous paper [27] improves the plain SOCP relaxation considerably but it is not very competitive against the SDP relaxation, especially for easier instances. However, the proposed approach at the root node and after branching is more successful than the SDP relaxation, especially for the more difficult instances.
6 Conclusion
In this paper, we proposed new approaches for obtaining globally optimal solutions of the AC OPF Problem. We first reformulated the AC OPF problem as a minor constrained problem, and then proposed several convexification techniques for nonconvexities involving minor constraints using only second-order conic and linear relaxations. We improved the resulting SOCP relaxation via cutting planes and convex envelopes by incorporating bound tightening techniques. We proposed three methods with respect to the cutting plane procedure. Our methods are successful in proving global optimal solutions for many challenging OPF instances from the NESTA archive. Compared to the standard SDP relaxation, our approaches provide about 2 times smaller optimality gaps with only half of the average computation time. For the instances not solved, we propose to use a branch-and-cut scheme where the proposed SOCP relaxation serves as the root node relaxation. The strongest of our SOCP based branch-and-cut algorithms proves 0.71% optimality gap in 720 seconds on the average for the NESTA library.
As a future work, we would like to apply the methodology developed in this chapter to multi-period AC OPF and Optimal Transmission Switching Problems. Another possible line of research is to implement an LP based outer-approximation to SOCP based branch-and-cut method. This would lead to weaker relaxations than a pure SOCP based approach but can incorporate warm-start and it may be possible to process significantly more nodes in the same amount of time.
Appendix A KKT Points for Arctangent Envelopes
Let us rewrite the optimization problem in (29) as
[TABLE]
where
[TABLE]
and
[TABLE]
Without loss of generality, let us assume that the relations and hold between the variable bounds (otherwise, at least one of the bounds can be improved). Let us denote the optimal solution to problem (46) as . First, we claim that is not in the interior of . This is due to the fact that the Hessian of at a point , which is given as
[TABLE]
is an indefinite matrix. Therefore, an interior point of will not satisfy the second-order necessary conditions of local optimality.
The above argument implies that belongs to the boundary of , which is the union of the following six line segments:
- (i)
2. (ii)
3. (iii)
4. (iv)
5. (v)
6. (vi)
Note that the line segments (ii) and (vi) cannot contain in their relative interior since the function is linear along them. Hence, the problem reduces to four 1-dimensional optimization problems, which can be solved easily. The global optimal solution is the one that gives the largest objective value among the KKT points calculated by solving those four 1-dimensional optimization problems.
Appendix B Algorithms for Extreme Point Calculations for Edge Cuts
Appendix C Proof of Theorem 3.2
Our proof approach is based on identifying the extreme points of . Let us start with a proposition.
Proposition C.1**.**
Let be an extreme point of the set . Then, for a distinct pair of indices and
- (i)
either or is at one of its bounds. 2. (ii)
either or is at one of its bounds. 3. (iii)
either or is at one of its bounds. 4. (iv)
either or is at one of its bounds.
Proof.
We only prove the first statement. The others can be proven using exactly the same reasoning.
Assume for a contradiction that and . Consider the following cases:
- Case 1:
and
- Case 1a:
Let and . Note that both and are positive. Now, construct and where is the -th unit vector. Observe that both and belong to . Moreover, . But, this is a contradiction to being an extreme point of . 2. Case 1b:
Let and . Note that both and are positive. Now, construct and . Observe that both and belong to . Moreover, . But, this is a contradiction to being an extreme point of . 2. Case 2:
Let . Note that is positive. Now, construct and . Observe that both and belong to . Moreover, . But, this is a contradiction to being an extreme point of . 3. Case 3:
Let . Note that is positive. Now, construct and . Observe that both and belong to . Moreover, . But, this is a contradiction to being an extreme point of .
∎
Proposition C.1 implies the following corollary.
Corollary C.1**.**
Let be an extreme point of the set . Then, either and or and are at their bounds for a distinct pair of indices and .
Proof.
Let be a shorthand for “either or ”. Then, Proposition C.1 implies that
[TABLE]
which is the desired conclusion. ∎
An immediate consequence of Corollary C.1 is the following characterization of extreme points of :
Corollary C.2**.**
All the extreme points of are in one of the following sets:
- •
**
- •
**
Note that is a collection of at most singletons whereas is a collection of sets for each . The projection of such a set onto is of the following form
[TABLE]
for some constant .
Proposition C.2**.**
Set conv is second-order cone representable for any value of .
There are several cases based on parameter values. In the most complicated case, we need (which is conic representable) and McCormick envelopes.
Now, we are ready to prove the main result.
Proof of Theorem 3.2.
Since the convex hull of all the disjunctions are second-order cone representable (could be polyhedral or singleton depending on parameter values), conv is also second-order cone representable. ∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] X. Bai and H. Wei. Semi-definite programming-based method for security-constrained unit commitment with operational and optimal power flow constraints. IET Generation Transmission & Distribution , 3(2):182–197, 2009.
- 2[2] X. Bai, H. Wei, K. Fujisawa, and Y. Wang. Semidefinite programming for optimal power flow problems. Electric Power and Energy Systems , 30:383–392, 2008.
- 3[3] D. Bienstock and G. Munoz. On linear relaxations of OPF problems. ar Xiv preprint ar Xiv:1411.1120 , 2014.
- 4[4] Subhonmesh Bose, Dennice F Gayme, K Mani Chandy, and Steven H Low. Quadratically constrained quadratic programs on acyclic graphs with application to power flow. ar Xiv preprint ar Xiv:1203.5599 , 2012.
- 5[5] Subhonmesh Bose, Dennice F Gayme, Steven Low, and K Mani Chandy. Optimal power flow over tree networks. In 49th Annual Allerton Conference on Communication, Control, and Computing (Allerton) , pages 1342–1348, 2011.
- 6[6] Waqquas A. Bukhsh, Andreas Grothey, Ken Mc Kinnon, and Paul Trodden. Local solutions of optimal power flow. IEEE Transactions on Power Systems , 28(4):4780–4788, 2013.
- 7[7] M. B. Cain, R. P. O’Neill, and A. Castillo. History of optimal power flow and formulations. http://www.ferc.gov/industries/electric/indus-act/market-planning/opf-papers/acopf-1-history-formulation-testing.pdf, 2012.
- 8[8] J. Carpentier. Contributions to the economic dispatch problem. Bulletin Society Francaise Electriciens , 8(3):431–447, 1962.
