Problem Description
The Wildfire-Aware Optimal Transmission Switching (WF_OTS) problem models the operational decisions behind Public Safety Power Shutoffs (PSPS), in which utilities de-energize transmission lines in high-risk areas to reduce the risk of wildfire ignition. Given a wildfire ignition risk for each line, WF_OTS chooses which lines to de-energize so that total load shedding across the network is as small as possible. A small penalty applies to each de-energized line. The total wildfire risk of the lines that stay energized must not exceed a system-wide budget. WF_OTS is a mixed-integer linear program (MILP) under the DC (Bθ) power flow approximation. It has one binary energization variable for each switchable line and continuous variables for generation, line flows, bus voltage angles and load shedding. Big-M constraints enforce the DC power flow equations and the angle-difference limits on energized lines, and relax them on de-energized lines, which carry no power. Each instance is a single operating period (one hour) with fixed wildfire risks, reflecting the short-term operational setting of PSPS decisions.
The MILP formulation for the WF_OTS instances in this library is a single-period version of the Optimal Power Shutoff (OPS) problem [Rhodes21, Piansky25], derived from [Piansky25] and used in [Huang27]. All instances use the California Test System (CATS), a synthetic grid with 8,870 buses, 10,823 branches (661 of them transformers) and 3,892 generators. Line risks come from the daily USGS Wildland Fire Potential Index (WFPI): each line gets the maximum WFPI value of the 1 km pixels it crosses, an integer between 0 and 247. Each instance is one day in 2020–2021, modelled at the hour of that day with the most load shed under threshold-based de-energization. The risk budget equals the risk that remains after de-energizing every line whose risk exceeds the 95th percentile of 2019 risk values, which is 96 in the instances. The instances vary in line risks, bus loads and renewable generator availability [Huang27].
Notation
- \(\mathcal{N}\): set of buses; \(n^{\mathrm{ref}}\in\mathcal{N}\) is the reference bus.
- \(\mathcal{G}\): set of generators; \(\mathcal{G}_n\subseteq\mathcal{G}\) are the generators at bus \(n\).
- \(\mathcal{L}\): set of branches (lines and transformers). Branch \(\ell\) runs from bus \(n_{\ell}^{fr}\) to bus \(n_{\ell}^{to}\). \(\mathcal{L}_n^{fr}\) and \(\mathcal{L}_n^{to}\) are the branches whose from-bus and to-bus is \(n\), respectively.
- \(\mathcal{L}^{s}\subseteq\mathcal{L}\): switchable lines, i.e., the lines with nonzero wildfire risk on the instance's day. Transformers are never switchable. Its size changes from instance to instance (about 7,900 lines).
- \(\mathcal{L}^{0}\subseteq\mathcal{L}\): branches with near-zero reactance (\(x_\ell<10^{-4}\) p.u.; 233 branches in CATS). For these branches the instances contain no power-flow equation.
- \(d_n\): active power demand at bus \(n\) in the modelled hour (p.u., 100 MVA base).
- \(\overline{p}_i\): available capacity of generator \(i\) in the modelled hour (the hourly renewable availability for renewable units). The generator lower bound is relaxed to 0.
- \(\overline{f}_\ell\): thermal rating of branch \(\ell\) (p.u.).
- \(b_\ell = x_\ell/(r_\ell^2+x_\ell^2)\): magnitude of the series susceptance of branch \(\ell\).
- \(\overline{\delta}=\pi/3\): voltage-angle-difference limit (\(\pm 60^\circ\) on all CATS branches).
- \(M=2\pi\): big-M constant for angle differences.
- \(R_\ell\): wildfire risk of line \(\ell\) (an integer WFPI value).
- \(R^{\mathrm{PSPS}}\): system-wide risk budget, \(R^{\mathrm{PSPS}}=\sum_{\ell\in\mathcal{L}^{s}:\,R_\ell\le 96} R_\ell\).
- \(\epsilon=0.01\): penalty per de-energized line.
Variables
- \(z_\ell\in\{0,1\}\), \(\ell\in\mathcal{L}^{s}\): 1 if line \(\ell\) stays energized, 0 if it is de-energized.
- \(p_i\): power output of generator \(i\in\mathcal{G}\).
- \(f_\ell\in[-\overline{f}_\ell,\overline{f}_\ell]\): active power flow on branch \(\ell\in\mathcal{L}\).
- \(\theta_n\in[-|\mathcal{N}|\overline{\delta},\,|\mathcal{N}|\overline{\delta}]\): voltage angle at bus \(n\in\mathcal{N}\). These bounds never bind.
- \(s_n\ge 0\): load shed at bus \(n\in\mathcal{N}\).
MILP formulation
\begin{align}
\min\quad & \sum_{n\in\mathcal{N}} s_n \;+\; \epsilon\sum_{\ell\in\mathcal{L}^{s}} (1-z_\ell) \\
\text{s.t.}\quad & 0\le p_i\le \overline{p}_i, && \forall i\in\mathcal{G}\\
& 0\le s_n\le d_n, && \forall n\in\mathcal{N}\\
& -\overline{f}_\ell z_\ell\le f_\ell\le \overline{f}_\ell z_\ell, && \forall \ell\in\mathcal{L}^{s}\\
& -\overline{f}_\ell\le f_\ell\le \overline{f}_\ell, && \forall \ell\in\mathcal{L}\setminus\mathcal{L}^{s}\\
& -\overline{\delta}-M(1-z_\ell)\le \theta_{n_\ell^{fr}}-\theta_{n_\ell^{to}}\le \overline{\delta}+M(1-z_\ell), && \forall \ell\in\mathcal{L}^{s}\setminus\mathcal{L}^{0}\\
& -M(1-z_\ell)\le \theta_{n_\ell^{fr}}-\theta_{n_\ell^{to}}\le M(1-z_\ell), && \forall \ell\in\mathcal{L}^{s}\cap\mathcal{L}^{0}\\
& -\overline{\delta}\le \theta_{n_\ell^{fr}}-\theta_{n_\ell^{to}}\le \overline{\delta}, && \forall \ell\in\mathcal{L}\setminus(\mathcal{L}^{s}\cup\mathcal{L}^{0})\\
& -b_\ell M(1-z_\ell)\le f_\ell-b_\ell(\theta_{n_\ell^{fr}}-\theta_{n_\ell^{to}})\le b_\ell M(1-z_\ell), && \forall \ell\in\mathcal{L}^{s}\setminus\mathcal{L}^{0}\\
& f_\ell=b_\ell(\theta_{n_\ell^{fr}}-\theta_{n_\ell^{to}}), && \forall \ell\in\mathcal{L}\setminus(\mathcal{L}^{s}\cup\mathcal{L}^{0})\\
& \theta_{n_\ell^{fr}}=\theta_{n_\ell^{to}}, && \forall \ell\in\mathcal{L}^{0}\setminus\mathcal{L}^{s}\\
& \sum_{\ell\in\mathcal{L}_n^{fr}} f_\ell-\sum_{\ell\in\mathcal{L}_n^{to}} f_\ell=\sum_{i\in\mathcal{G}_n} p_i-d_n+s_n, && \forall n\in\mathcal{N}\\
& \theta_{n^{\mathrm{ref}}}=0\\
& \sum_{\ell\in\mathcal{L}^{s}} R_\ell z_\ell\le R^{\mathrm{PSPS}}\\
& z_\ell\in\{0,1\}, && \forall \ell\in\mathcal{L}^{s}
\end{align}
The objective minimizes total load shed plus a penalty of \(\epsilon=0.01\) per de-energized line. In the instance files this penalty appears as coefficient \(-0.01\) on each \(z_\ell\) together with a constant \(0.01|\mathcal{L}^{s}|\). The constraints, in order: generator limits; load-shed limits (on buses without load, \(s_n=0\)); flow limits, which force zero flow on de-energized lines; angle-difference limits, relaxed by \(M\) when a line is de-energized (for a switchable branch with near-zero reactance the limit is 0, so the angles at its two ends are equal while it is energized); the big-M DC power flow on switchable lines (the flow big-M is \(b_\ell M=2\pi b_\ell\)); the DC power flow and angle limits on non-switchable branches; nodal power balance with load shedding; the reference angle; and the system-wide wildfire risk budget.
The instance files use the paper's sign convention: [Huang27] writes the flow as \(-b_\ell(\theta_{fr}-\theta_{to})\) with a negative series susceptance, which equals \(b_\ell(\theta_{fr}-\theta_{to})\) with the positive \(b_\ell\) above. Each instance has \(|\mathcal{L}^{s}|\) binary variables, \(|\mathcal{L}|+2|\mathcal{N}|+|\mathcal{G}|\) continuous variables and \(2+2|\mathcal{N}|+4|\mathcal{L}^{s}|+2|\mathcal{L}^{s}\setminus\mathcal{L}^{0}|+3|\mathcal{L}\setminus(\mathcal{L}^{s}\cup\mathcal{L}^{0})|+|\mathcal{L}^{0}\setminus\mathcal{L}^{s}|\) constraints. The average number of binary variables (7,928.94) is not an integer because \(|\mathcal{L}^{s}|\), the number of lines with nonzero risk, changes from day to day.
Instances Distribution
The table below summarizes the distributions that have been used in previous works, along with download links. Instances from [Huang27] are generated using the California Test System (CATS) and daily USGS Wildland Fire Potential Index (WFPI) maps from 2020 and 2021, with each transmission line’s wildfire risk defined as the maximum WFPI value along its path. For each day, a representative hour is selected based on the maximum load shedding under a threshold-based shutoff policy. Days with no wildfire risk or load shedding are excluded. Only instances whose thresholded load shed is at least 100 MWh are used in the ML-guided experiments of [Huang27] . These are split randomly into training (80%, 432 instances), validation (10%, 54 instances), and test (10%, 54 instances) sets.
| Hardness Level |
Distribution Source (ML4MILPs) |
# Var B |
# Var I |
# Var C |
# Constr | Test system | # Buses | # Branches | # Generators | # Switchable lines | # Time periods | Risk budget \(R^{\mathrm{PSPS}}\) |
| Medium |
[Huang27] |
7928.94 |
0 |
32455 |
73531.81 | CATS (California Test System) | 8,870 | 10,823 (incl. 661 transformers) | 3,892 | ~7,900 (lines with nonzero WFPI risk; varies per instance) | 1 (worst-case hour of one day, 2020–2021) | Risk remaining after de-energizing lines with WFPI risk > 96 (95th percentile of 2019 values) |
License
The WF_OTS instances data in Distributional MIPLIB is licensed under a CC BY 4.0 license .
Related Literature
Predict-and-Search (PaS)
For predict-and-search, WF_OTS has been used as a benchmark in [Huang27].
Acknowledgment
The instances of this problem were generated using data and code kindly provided by Ryan Piansky (Georgia Tech) and Prof. Daniel Molzahn (Georgia Tech).
Citation
Any work that uses any of the above instances should cite the papers below:
Distributional MIPLIB
@misc{huang2024distributional,
title={Distributional MIPLIB: a Multi-Domain Library for Advancing ML-Guided MILP Methods},
author={Weimin Huang and Taoan Huang and Aaron M Ferber and Bistra Dilkina},
year={2024},
eprint={2406.06954},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
Original Formulation
@article{huang2027machine,
title={Machine learning guided optimal transmission switching to mitigate wildfire ignition risk},
author={Huang, Weimin and Piansky, Ryan and Dilkina, Bistra and Molzahn, Daniel K},
journal={Electric Power Systems Research},
volume={262},
pages={113687},
year={2027},
publisher={Elsevier}
}
References
[Huang27] Huang, Weimin, Ryan Piansky, Bistra Dilkina, and Daniel K. Molzahn. "Machine learning guided optimal transmission switching to mitigate wildfire ignition risk." Electric Power Systems Research, vol. 262, 113687, 2027. [paper]
[Piansky25] Piansky, Ryan, et al. "Quantifying metrics for wildfire ignition risk from geographic data in power shutoff decision-making." In Proceedings of the 58th Hawaii International Conference on System Sciences (HICSS), 2025. [paper]
[Rhodes21] Rhodes, Noah, Lewis Ntaimo, and Line Roald. "Balancing wildfire risk and power outages through optimized power shut-offs." IEEE Transactions on Power Systems, vol. 36, no. 4, pp. 3118–3128, 2021. [paper]