We study computational problems in switch graphs. A switch graph consists of a vertex set and a set of switches, which are collections of edge sets. The goal is to find a configuration, that is, a selection of one edge set per switch, such that the resulting graph satisfies a desired property. This general framework unifies several switching models from prior work, with applications in solving Boolean equation systems, network routing, and SNP genotyping. We focus on connectivity-related switching problems, such as finding a configuration that yields a connected graph (global connectivity) or that connects a specific pair of vertices (local connectivity), presenting polynomial-time algorithms and establishing NP-completeness results depending on the switch structure. For local connectivity, we obtain a full complexity dichotomy. Furthermore, we introduce a natural weighted variant and analyze its parameterized complexity, proving W[1]-hardness with respect to the solution weight via reductions from restricted variants of the weighted satisfiability problem (WSAT). As a byproduct, we resolve an open question of Kanj and Szeider (TCS 2015) on the parameterized complexity of a specific WSAT variant.
Cluster Editing asks whether at most $k$ edge additions and deletions turn a given $n$-vertex graph into a disjoint union of cliques. For more than a decade, the fastest algorithm for it was the golden-ratio algorithm of Böcker with running time $O(1.62^k+n^{O(1)})$. Cao and Chen had conjectured that the subexponential running time $2^{o(k)}\cdot n^{O(1)}$ is possible, but this contradicts the Exponential Time Hypothesis (ETH). Recently, the breakthrough algorithms for 3-SAT of OpenAI and Anthropic refuted ETH itself. Our main result transfers running times from 3-SAT to Cluster Editing. If 3-SAT on formulas with $m$ clauses can be decided in time $T(m)$, then there is an algorithm that, given a graph with $n$ vertices and integers $k$ and $r$ with $2\le r\le k^{1/3}$, decides Cluster Editing in time $2^{O((k\log r)/r)}\cdot T(2^{O(r^2\log r)}\cdot k)\cdot n^{O(1)}$. Combined with the breakthrough algorithms for 3-SAT, this proves Cao and Chen's conjecture, as it solves Cluster Editing in time $2^{O(k\cdot(\log\log\log k)^{3/2}/\sqrt{\log\log k})}\cdot n^{O(1)}=2^{o(k)}\cdot n^{O(1)}$. The key ingredient is a sparsification theorem for Cluster Editing, the counterpart of the Sparsification Lemma for satisfiability: In time $2^{O((k\log r)/r)}\cdot n^{O(1)}$, it reduces a given instance to $2^{O((k\log r)/r)}$ weighted instances with $O(rk)$ vertices and degree $O(r)$, each of which is equivalent to a 3-SAT formula with $2^{O(r^2\log r)}\cdot k$ clauses. Conversely, by a known reduction with linear blow-up, every saving in the exponent for Cluster Editing is, up to constant factors, a saving for 3-SAT.