Skip to content

Releases

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 19 Nov 14:53
71d2f0b

QUBOPreprocessing v0.2.2

Diff since v0.2.1

Changelog

  • Add shared-budget reduction scheduling and explicit scheduling policies while preserving existing scheduling defaults.
  • Keep live workspace and undo state on an exact integer grid, with bounded dyadic caches and promotion before fixed-width overflow.
  • Add opt-in integer normalization for exact Float64 export where the integer coefficients and adjusted scale round-trip exactly.
  • See the full changelog for rounding, proof replay and compatibility details.

Merged pull requests:

  • Add exact primitive-integer normalization for residual export (#104) (@bernalde)
  • Keep exact workspace and undo numerators in persistent integer state (#105) (@bernalde)
  • Centralize explicit preprocessing policies and observation accounting (#106) (@bernalde)
  • chore(release): prepare QUBOPreprocessing v0.2.2 (#108) (@bernalde)

Closed issues:

  • Perf: non-integer binary64 inputs keep Rational{BigInt} workspace state (about 10x slower to build) (#93)

The exact v0.2.2 source archive is preserved on Zenodo. Version DOI 10.5281/zenodo.24372363

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 05 Nov 05:43
c5bc8e5

QUBOPreprocessing v0.2.1

Diff since v0.2.0

Release 0.2.1 packages the tested additive preprocessing improvements: opt-in budgeted scheduling with family reports; recorded nearest-Float64 export rounding and precise exact-transport diagnostics; workspace construction and bounded precompilation improvements; and preparation/solver/reconstruction deadline accounting fixes. Existing scheduling and exact-export defaults remain. Broader acceptance work in #91, #93 and #95 remains open.

Selected source: c5bc8e5, tree 5050a4197600cd99d6809b9c9ee9efe4f76a8b70. Exact-head PR and merged-source CI/docs passed. Fresh-source candidate install/import, installed tests and smoke passed on Dantzig; normal General installation/import and tree verification follow publication.

Prepared with AI assistance under the maintainer's explicit staged release authorization.

Merged pull requests:

  • fix(roof-duality): bound residual-SCC extraction and verification by deadline and work (#94) (#96) (@bernalde)
  • Sampler: fall back to the original model when the reduction is small (#92) (#97) (@bernalde)
  • feat(schedule): run reduction families under a shared time budget (#95) (#98) (@bernalde)
  • feat(export): record nearest rounding and diagnose inexact residuals (#91) (#99) (@bernalde)
  • perf(workspace): build exact caches with bounded dyadic accumulation (#93) (#101) (@bernalde)
  • perf: precompile productive budgeted scheduling paths (#100) (#102) (@bernalde)
  • Release v0.2.1 with the tested preprocessing improvements (#103) (@bernalde)

Closed issues:

  • Certified sampler should fall back to the original model when the reduction is too small to pay off (#92)
  • apply_roof_duality!(contract_scc = true) overruns deadline_ns by about 10x (#94)
  • Add a representative precompile workload for budgeted scheduling (#100)

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 04:01
be1b51c

QUBOPreprocessing v0.2.0

Diff since v0.1.5

Breaking changes

  • integerize_scale, Workspace, reset! and preprocess default to atol = 0.0. With integerize_scale = true (the preprocess default for rules !== :identity), only exact dyadic multipliers 2^a are factored into scale. Decimal coefficients such as 0.1 are no longer rounded unless atol > 0 is passed (#87, #89).
  • DominanceCertificate records the source perturbation in two new fields. The 5- and 6-argument constructors still work.
  • propertynames(::Workspace) lists only the public :perturbed and :max_perturbation.
  • Coercive witnesses and probing candidate order can differ from v0.1.5 (#86, #88).

Fixed

  • On v0.1.5, preprocess(model; rules = :mixed) could round decimal coefficients, then certify reductions of the rounded model. The snapshot now represents the input exactly by default. Workspace, ExportResult, ConditionedExport and certificates expose perturbed and max_perturbation, and verify_certificate checks them.

Performance

  • coercive_field_witness and :coercive / :extremal probing order use Float64 when the coefficients fit, with an exact fallback. Proofs remain exact.
  • Exact dyadic integerization checks and scales in Float64.

Added

  • coercive_field_witness(ws; sequential = true): when every free field is zero, the sequential pass breaks the Z2 symmetry at one coupled anchor.
  • Cross-corpus coercive alignment tables in the benchmarks manual.

Merged pull requests:

  • perf(probing,docs): Float64 coercive witness/ordering fast path, zero-field symmetry breaking, and cross-corpus alignment tables (#86) (#88) (@bernalde)
  • fix(identity,certificates): make integerize_scale exact by default and record snapshot perturbation (#87) (#89) (@bernalde)
  • chore(release): prepare v0.2.0 (#90) (@bernalde)

Closed issues:

  • Perf & docs: Float64 coercive witness/ordering fast path, zero-field symmetry breaking, and cross-corpus alignment benchmarks (#86)
  • integerize_scale rounds coefficients, so verified certificates can describe a different model than the input (#87)

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 31 Oct 16:51
6eb918f

QUBOPreprocessing v0.1.5

Diff since v0.1.4

Fixed & Performance

  • $O(1)$ isbits / Symbol Tuple Deep-Copying & $O(M + k)$ Batch Proof-Step Copying (#84, #85):
    • _deepcopy_tuple now returns t immediately in $O(1)$ when n == 0 || isbitstype(eltype(typeof(t))) || eltype(typeof(t)) === Symbol and indexes heterogeneous tuples via getfield(t, i).
    • _copy_proof_step and _deepcopy_steps detect consecutive steps in the same RoofDualityStep, SubmodularCutStep, _RoofSCCPairWitness, or _BlockEliminationWitness batch and reuse the deep-copied batch witness payload (flow_edges, block_phi), reducing export_certificate, reductions, deepcopy(::DominanceCertificate), and deepcopy(::ConditionedExport) from $O(k \cdot M + k^2)$ to $O(M + k)$ while maintaining full mutation independence.
  • Type-Erased ConditionedExport Certificate & @nospecialize Tuple Indexing (#84, #85):
    • ConditionedExport now stores certificate as a concrete-field NamedTuple{(:scope, :assumptions, :reduction_chain, :unchanged_representation, :proof), Tuple{Symbol, Tuple, Tuple, Bool, Any}} (_ConditionedCertNT), avoiding $O(K^2)$ LLVM LocalScan compilation on long interleaved heterogeneous reduction chains.
    • _fill_index_map!, _build_export_linear, _build_export_quadratic, and _lift_state_impl now accept @nospecialize tuple arguments and index via getfield.
  • Zero-Promotion _incremental Bound Initialization (#84, #85):
    • _incremental now inspects signbit(q.num) directly instead of min(0, q) / max(0, q), eliminating $4m$ temporary Rational{BigInt}(0, 1) promotions during workspace initialization.

Documentation

  • Added the 7-collection QUBOLib.jl v0.2.6 (9,294-instance) corpus summary and the MQLib (3,002 corpus + 394 out-of-corpus dense instances) benchmark tables to docs/src/benchmarks.md and docs/src/index.md.

Merged pull requests:

  • O(M + k) batch witness export, type-erased ConditionedExport reduction_chain, and v0.1.5 release (#85) (@bernalde)

Closed issues:

  • O(M + k) batch witness export, type-erased ConditionedExport reduction_chain, and v0.1.5 release (#84)

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 30 Oct 22:31
16f5bfd

QUBOPreprocessing v0.1.4

Diff since v0.1.3

QUBOPreprocessing v0.1.4

Added

  • Non-zero-field degree-3 Walsh–Hadamard elimination (star_nonzero_h at max_degree = 3 whenever $\alpha_{123} = 0$, #56, #57).
  • Shared-neighborhood co-flip cancellation (:coflip_pair) and non-adjacent exact signed twin contraction (prove_twin, contract_twins!, #58, #59).
  • Roof-duality residual-SCC (:roof_scc_pair, contract_scc = true) and two-branch probing (:probing_pair, :double_probe) 2-SAT pair equivalences (#60, #61).
  • 0-, 1-, and 2-separator Tarjan biconnected block elimination (eliminate_block!, :block, enable_blocks = true, #62, #63).
  • Kernel-checked Lean 4 (v4.33.1, Mathlib v4.33.1) formalization of all eight core theorems (180 public theorems, 360 compiled constants across 9 modules in lean/, #54, #55, #68, #69, #72, #73, #74, #75, #76, #77).
  • Permanent end-to-end brute-force, operation-sequence, and certificate-tampering fuzz test suite (test/fuzz.jl, #80, #81) and updated 6,292-instance QUBOLib.jl (v0.2.4-data+6) / QOBLIB / QPLIB / MINLPLib benchmark documentation (#82, #83).

Fixed & Optimized

  • Replaced $O(n)$ abstract labels::Tuple scans with $O(1)$ label_vec::Vector indexing (34.5x export_certificate and 30.0x materialize speedup at $n = 32{,}000$), eliminated per-size NTuple{N} JIT recompilation in domain_map (15,300x first-call speedup at $n = 4{,}000$), and added concrete _Storage term iteration and 53-bit rational hardware fma interval enclosures (#64, #65, #66, #67, #70, #78).
  • Recorded deduction-matched caller assume! requests in st.pins and replayed them in chronological order across structural assume! rollbacks (#71, #79).

Merged pull requests:

  • feat(lean): add kernel-checked Lean 4 formalization of gauge invariance, compositional reduction, Max-Cut triangle slack, and compression refutations (#54) (#55) (@bernalde)
  • feat(elimination): generalize degree-3 elimination to all zero-cubic-Fourier (alpha_123 = 0) vertices (#56) (#57) (@bernalde)
  • feat(relations): shared-neighborhood co-flip pair dominance (:coflip_pair) and twin/clique contraction (#58) (#59) (@bernalde)
  • feat(relations,probing,roof): 2-SAT pair equivalences from roof-duality residual SCCs and double probing (#60) (#61) (@bernalde)
  • feat(elimination): 0-, 1-, and 2-separator biconnected block elimination (#62) (#63) (@bernalde)
  • Perf: Eliminate heterogeneous Tuple specialization in verify_certificate and speed up _enclose / _can_possibly_contract (#65) (@bernalde)
  • Perf: Eliminate _Storage/_thaw dispatch, 53-bit rational BigFloat enclosures, and redundant relation checks (#66) (#67) (@bernalde)
  • Lean 4: Formalize Theorem 5 — General 3-Variable Walsh–Hadamard Quadratic Interpolation & Non-Zero-Field Degree-3 Elimination Cones (#68) (#69) (@bernalde)
  • Lean 4: Formalize Theorem 6 — Unified Shared-Neighborhood Co-Flip Cancellation & Non-Adjacent Twin Contraction (#72) (#73) (@bernalde)
  • Lean 4: Formalize Theorem 7 — Quantitative Telescoping Energy-Repair Margins for Two-Branch Probing (#74) (#75) (@bernalde)
  • Lean 4: Formalize Theorem 8 — Exact 0-, 1-, 2-, and 3-Separator Biconnected Block Elimination (#76) (#77) (@bernalde)
  • Perf: linear label validation and no per-size recompilation for label/gauge tuples (#70) (#78) (@bernalde)
  • Fix: keep deduction-matched assumptions across assume!'s structural rollback (#71) (#79) (@bernalde)
  • test: promote brute-force, operation-sequence, and certificate-tampering fuzz suites into test/fuzz.jl (#80) (#81) (@bernalde)
  • chore(release): prepare v0.1.4 and refresh corpus benchmark & Lean 4 docs (#83) (@bernalde)

Closed issues:

  • feat(lean): add kernel-checked Lean 4 formalization of gauge invariance, compositional reduction, Max-Cut triangle slack, and compression refutations (#54)
  • feat(elimination): generalize degree-3 elimination to all zero-cubic-Fourier (alpha_123 = 0) vertices (#56)
  • feat(relations): shared-neighborhood co-flip pair dominance (:coflip_pair) and twin/clique contraction (#58)
  • feat(relations,probing,roof): 2-SAT pair equivalences from roof-duality residual SCCs and double probing (#60)
  • feat(elimination): 1-separator and 2-separator biconnected-component block elimination (#62)
  • Perf: Eliminate heterogeneous Tuple specialization in verify_certificate and speed up _enclose / _can_possibly_contract (#64)
  • Perf: Eliminate type-unstable _Storage/_thaw iteration, dyadic BigFloat enclosures, and redundant relation checks on dense graphs (#66)
  • Lean 4: Formalize Theorem 5 — General 3-Variable Walsh–Hadamard Quadratic Interpolation & Non-Zero-Field Degree-3 Elimination Cones (#68)
  • Perf: O(n²) label validation and per-model-size recompilation in export_certificate / materialize / domain_map (#70)
  • assume! silently drops a caller assumption that matched a certified deduction after a later structural rollback (#71)
  • Lean 4: Formalize Theorem 6 — Unified Shared-Neighborhood Co-Flip Cancellation & Non-Adjacent Twin Contraction (#72)
  • Lean 4: Formalize Theorem 7 — Quantitative Telescoping Energy-Repair Margins for Two-Branch Probing (#74)
  • Lean 4: Formalize Theorem 8 — Exact 0-, 1-, 2-, and 3-Separator Biconnected Block Elimination (#76)
  • test: promote brute-force, operation-sequence, and certificate-tampering fuzz suites into test/fuzz.jl (#80)
  • chore(release): update corpus benchmark & Lean 4 docs and prepare v0.1.4 (#82)

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 29 Oct 14:24
1133a7a

QUBOPreprocessing v0.1.3

Diff since v0.1.2

Added

  • Added conditioned workspace coercive local-field and $\mathbb{Z}_2$ gauge-invariance diagnostics (coercive_fields, coercive_field_ratios, coercive_field_ratio, zero_field_fraction, trivial_dominance_fraction, is_gauge_invariant) (#49, #50).
  • Added coercive_field_witness(ws) as the default upper-bound witness for probe_variables!(ws) and added :coercive and :extremal candidate orderings (#49, #50).
  • Added is_integer_scaled and integerize_scale (integerize_scale::Bool = false on Workspace / reset! to preserve raw export_model roundtrips, and integerize_scale::Bool = (rules !== :identity) enabled by default in preprocess) so decimal-scaled models use exact small-integer rational arithmetic (#51, #52).

Zenodo Archive:

Merged pull requests:

  • feat: add conditioned coercive-field diagnostics, deterministic witness, and probing ordering (#50) (@bernalde)
  • Factor decimal/dyadic denominators into model scale via integerize_scale (#52) (@bernalde)
  • chore(release): prepare v0.1.3 (#53) (@bernalde)

Closed issues:

  • feat: add conditioned coercive-field diagnostics, deterministic witness, and coercive/extremal probing ordering (#49)
  • Factor decimal/dyadic denominators into model scale via integerize_scale (#51)

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 28 Oct 20:57
a92c8c5

QUBOPreprocessing v0.1.2

Diff since v0.1.1

v0.1.2

  • Bounded probing work on huge QUBO instances ($n > 20{,}000$) and added BigInt enclosure support so all 6,263 QUBOLib.jl / QOBLIB instances preprocess cleanly.
  • Fixed same-parity degree-2 tie-breaking on cycles in :strong mode (src/identity.jl) to preserve at least one surviving optimum when all edges share equal slack.
  • Relaxed floating-point tolerance (1e-5) for Float64 quadratic elimination bound enclosure on extreme-range instances.
  • Added the QUBOLib.jl & QOBLIB Corpus Benchmark documentation page (docs/src/benchmarks.md) and CITATION.cff.

Merged pull requests:

  • perf: eliminate NTuple specialization and O(m) exact fallbacks (#46) (#47) (@bernalde)
  • chore(release): prepare v0.1.2 with QUBOLib/QOBLIB benchmark docs (#48) (@bernalde)

Closed issues:

  • perf: eliminate NTuple specialization and O(m) exact fallbacks on large QUBOLib/QOBLIB instances (#46)

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 25 Oct 19:29
b008701

QUBOPreprocessing v0.1.1

Diff since v0.1.0

QUBOPreprocessing v0.1.1

Added

  • Certified probing with reversible branch bounds and feasible witnesses (#34, #11).
  • Optional certified roof-duality pass with strong persistency (#35, #12).
  • Gauge-submodular component recognition and certified cut pass (#36, #19).
  • Weighted Max-Cut preprocessing and exact reduction rules (#37, #18).
  • Exact coefficient compression and sparsification audit (#44, #21).
  • Native direct-backend, QUBODrivers.jl, and ToQUBO.jl evaluation and empirical decision matrices (#38–#43, #13–#17, #20).

Merged pull requests:

  • build(deps): bump actions/checkout from 6 to 7 (#9) (@dependabot[bot])
  • Certify QUBO–Ising conversion and spin gauge maps (#13) (#34) (@bernalde)
  • feat: compose elimination, relation and persistency certificates (#14) (#35) (@bernalde)
  • feat: degree-0/1/2 exact local elimination pass and queue (#36) (@bernalde)
  • feat: add certified pair relations and reversible signed contractions (#16) (#37) (@bernalde)
  • feat: implement guarded zero-field degree-three Ising star-triangle reduction (#17) (#38) (@bernalde)
  • Add mixed exact reduction pass scheduling and 7-phase accounting (#20) (#39) (@bernalde)
  • feat: add optional certified probing with reversible branch bounds and feasible witnesses (#11) (#40) (@bernalde)
  • feat: add optional certified roof-duality pass with strong persistency (#12) (#41) (@bernalde)
  • feat: add gauge-submodular component recognition and certified cut pass (#19) (#42) (@bernalde)
  • feat: prototype certified weighted Max-Cut edge and triangle preprocessing (#18) (#43) (@bernalde)
  • feat: audit exact coefficient compression and sparsification (#21) (#44) (@bernalde)
  • chore(release): prepare v0.1.1 (#45) (@bernalde)

Closed issues:

  • Bootstrap QUBOPreprocessing.jl and define its certified incremental API (#1)
  • Deliver QUBOPreprocessing 0.1.0 documentation, install verification and ecosystem adoption (#7)
  • Add optional certified probing with reversible branch bounds and feasible witnesses (#11)
  • Evaluate an optional certified roof-duality pass with strong persistency (#12)
  • Certify QUBO–Ising conversion and gauge maps for reusable preprocessing (#13)
  • Compose exact elimination, relation and persistency certificates with reconstruction (#14)
  • Eliminate degree-0/1/2 variables exactly with fields and reversible lifting (#15)
  • Add certified pair relations and reversible signed contractions (#16)
  • Implement guarded zero-field degree-three Ising star–triangle reduction (#17)
  • Prototype certified weighted Max-Cut edge and triangle preprocessing (#18)
  • Recognize gauge-submodular components and solve them with a certified optional cut pass (#19)
  • Schedule mixed exact reduction passes with explicit incremental budgets and ablation benchmarks (#20)
  • Audit exact coefficient compression and sparsification before certified adoption (#21)
  • Roadmap: combine exact QUBO and Ising preprocessing — literature, dependencies and release boundaries (#22)

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 22:31
7350b3a

QUBOPreprocessing v0.1.0

Changelog

First public release of QUBOPreprocessing 0.1.0: bounded certified strict-dominance preprocessing for finite Float64 QUBOTools models, identity-preserving exports, independently verifiable proof chains, reusable exact sparse conditioning, explicit assumptions, checkpoints, rollback, arbitrary-unfix rebuild/replay and resumable budgets. Optional QUBODrivers direct/MOI/ToQUBO consumers preserve scoped guarantees and qualified child statuses. Use the solver wrapper as QUBOPreprocessing.Optimizer; it is intentionally unexported to avoid solver namespace collisions. Documentation includes executable examples and the accepted measured operating envelope with no-benefit and refusal cases.

Breaking changes

Initial public release; there is no earlier registered version to migrate from. Assumptions certify a restricted scope. Stored-value proofs do not remove Float64 numerical-energy limitations, and approximate/local child results do not become global optima. Probing, roof duality and weak persistency are outside 0.1.0.

Requires Julia 1.10 and QUBOTools 0.16.2; optional consumers support QUBODrivers 0.6.5 or later within 0.6.

Merged pull requests:

  • Bootstrap package and identity preprocessing runtime (#8) (@bernalde)
  • Add reusable sparse conditioning with reversible assumption trails (#23) (@bernalde)
  • Add sound dominance witnesses and independent scoped verification (#24) (@bernalde)
  • Add bounded incremental strict-dominance propagation (#25) (@bernalde)
  • Validate scoped branch workloads and capture rollback removals (#26) (@bernalde)
  • Compose certified preprocessing with direct samplers and ToQUBO (#27) (@bernalde)
  • Add source coverage and versioned documentation publishing (#28) (@bernalde)
  • Document the 0.1.0 API and measured operating envelope (#29) (@bernalde)
  • Address registration feedback on user docs and optimizer namespace (#31) (@bernalde)

Closed issues:

  • Implement a reusable sparse preprocessing workspace with reversible conditioning (#2)
  • Implement sound certificate arithmetic, proof scopes and independent verification (#3)
  • Implement certified strict-dominance propagation with bounded incremental work (#4)
  • Support scoped fix/unfix, certificate invalidation and resumable preprocessing (#5)
  • Compose certified preprocessing with direct samplers and ToQUBO reconstruction (#6)