Skip to content

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 31 Oct 16:51
· 75 commits to main since this release
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)