Repository navigation
v0.1.5
QUBOPreprocessing v0.1.5
Fixed & Performance
-
$O(1)$ isbits/SymbolTuple Deep-Copying &$O(M + k)$ Batch Proof-Step Copying (#84, #85):-
_deepcopy_tuplenow returnstimmediately in$O(1)$ whenn == 0 || isbitstype(eltype(typeof(t))) || eltype(typeof(t)) === Symboland indexes heterogeneous tuples viagetfield(t, i). -
_copy_proof_stepand_deepcopy_stepsdetect consecutive steps in the sameRoofDualityStep,SubmodularCutStep,_RoofSCCPairWitness, or_BlockEliminationWitnessbatch and reuse the deep-copied batch witness payload (flow_edges,block_phi), reducingexport_certificate,reductions,deepcopy(::DominanceCertificate), anddeepcopy(::ConditionedExport)from$O(k \cdot M + k^2)$ to$O(M + k)$ while maintaining full mutation independence.
-
-
Type-Erased
ConditionedExportCertificate &@nospecializeTuple Indexing (#84, #85):-
ConditionedExportnow storescertificateas a concrete-fieldNamedTuple{(:scope, :assumptions, :reduction_chain, :unchanged_representation, :proof), Tuple{Symbol, Tuple, Tuple, Bool, Any}}(_ConditionedCertNT), avoiding$O(K^2)$ LLVMLocalScancompilation on long interleaved heterogeneous reduction chains. -
_fill_index_map!,_build_export_linear,_build_export_quadratic, and_lift_state_implnow accept@nospecializetuple arguments and index viagetfield.
-
-
Zero-Promotion
_incrementalBound Initialization (#84, #85):-
_incrementalnow inspectssignbit(q.num)directly instead ofmin(0, q)/max(0, q), eliminating$4m$ temporaryRational{BigInt}(0, 1)promotions during workspace initialization.
-
Documentation
- Added the 7-collection
QUBOLib.jlv0.2.6(9,294-instance) corpus summary and theMQLib(3,002corpus +394out-of-corpus dense instances) benchmark tables todocs/src/benchmarks.mdanddocs/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)