gtopt::kirchhoff::cycle_basis::SwitchableEdge struct

Per-edge OTS hookup used by add_kvl_rows when the cycle contains a switchable line. u_col is the binary status column (or its [0,1] LP relaxation) introduced by LineCommitmentLP::add_to_lp. The caller is responsible for choosing a sufficiently loose per-line kvl_big_m so the per-cycle bound M_C covers the worst-case |Δθ| contribution of the cycle. See the formulation document (docs/formulation/mathematical-formulation.md §OTS) for the derivation M_C = 2·θ_max · |C| · row_scale + Σ |φ_e| · row_scale.

Public variables

ColIndex u_col