From surveys to Backtracking Survey Propagation =============================================== Decimation and revisiting decisions ----------------------------------- Survey-inspired decimation alternates SP fixed points with assignments guided by the surveys. Assigning a variable removes satisfied clauses and shortens the remaining ones, changing subsequent cavity information. An early choice may therefore become inappropriate later. Backtracking SP adds selected unassignments, allowing a search to revisit decisions [Parisi2003]_. The later BSP study evaluates this idea on random 3-SAT and 4-SAT, relating algorithmic performance to the structure of solution clusters [MPR2016]_. Its empirical thresholds, asymptotic claims, and whitening measurements concern that study and its implementation. They are not guarantees for this package, arbitrary CNFs, or GPU precision variants. The policy implemented in BSP.rs -------------------------------- For each free variable the current score is .. math:: c_i=1-\min(S_i^T,S_i^F). The forward action selects the highest-score batch, with ascending variable ID for ties. It assigns True if :math:`S_i^T>S_i^F` and False otherwise. In particular a tie selects False. This score is not the absolute polarization :math:`|S_i^T-S_i^F|`; replacing one with the other changes trajectories. Decision scores remain **frozen while fixed**. An indexed min-heap releases eligible decisions with the lowest stored score, using variable ID for ties. It does not recalculate a full conditional survey for every fixed variable. Variables fixed by unit propagation are kept separate and are not released by this action. This is an implementation policy, not an exact posterior ranking or a complete logical backtracking procedure. Let :math:`D,B` be forward/backward action counters initialized to one. If :math:`B/D