Efficient and Reliable Hitting-Set Computations for the Implicit Hitting Set Approach

Hannes Ihalainen, Dieter Vandesande, André Schidler, Jeremias Berg, Bart Bogaerts, Matti Järvisalo

Abstract

The implicit hitting set (IHS) approach offers a general framework for solving computationally hard combinatorial optimization problems declaratively. IHS iterates between a decision oracle used for extracting sources of inconsistency and an optimizer for computing so-called hitting sets (HSs) over the accumulated sources of inconsistency. While the decision oracle is language-specific, the optimizers is usually instantiated through integer programming. We explore alternative algorithmic techniques for hitting set optimization based on different ways of employing pseudo-Boolean (PB) reasoning as well as stochastic local search. We extensively evaluate the practical feasibility of the alternatives in particular in the context of pseudo-Boolean (0-1 IP) optimization as one of the most recent instantiations of IHS. Highlighting a trade-off between efficiency and reliability, while a commercial IP solver turns out to remain the most effective way to instantiate HS computations, it can cause correctness issues due to numerical instability; in fact, we show that exact HS computations instantiated via PB reasoning can be made competitive with a numerically exact IP solver. Furthermore, the use of PB reasoning as a basis for HS computations allows for obtaining certificates for the correctness of IHS computations, generally applicable to any IHS instantiation in which reasoning in the declarative language at hand can be captured in the PB-based proof format we employ.

Introduction

The Implicit Hitting Set (IHS) approach is a robust framework for solving complex combinatorial optimization problems like MaxSAT or hardware verification. It operates by looping between a "decision oracle" that identifies inconsistencies (cores) and an "optimizer" that finds a solution hitting those inconsistencies. Traditionally, commercial Integer Programming (IP) solvers serve as the optimizer. However, these solvers often rely on floating-point arithmetic, which introduces numerical instability. This can lead to sub-optimal or incorrect results in safety-critical applications. Furthermore, these solvers typically lack a mechanism to provide formally verifiable proofs of correctness.

Methodology

To address these limitations, this research explores several algorithmic alternatives for hitting set optimization:

  1. Pseudo-Boolean (PB) Reasoning: By utilizing PB solvers like RoundingSat, which use exact integer arithmetic, the framework eliminates numerical instability and enables formal proof generation.
  2. Stochastic Local Search (SLS): A lightweight SLS component (Core-SLS) is integrated to quickly identify low-cost solutions, reducing the computational burden on the primary PB or IP solvers.
  3. Hybrid Hitting Set Solving: The authors propose the OptLB strategy, which invokes the expensive, proof-producing PB solver only when necessary to verify that a lower bound has met the upper bound, thus proving optimality.
  4. Verifiable Proofs: Using the VeriPB format, the system generates certificates that can be independently verified to guarantee the correctness of the optimization result.

Experimental Evaluation

The approach was evaluated on a benchmark of 1,786 instances from Pseudo-Boolean Optimization (PBO) domains. The results demonstrate that PB-based reasoning is a viable, exact alternative to commercial solvers.

Performance comparison of various solver configurations across different hybrid strategies.

As shown in the performance table above, the best PB-based configuration (SIS + CB with OptLB) solved 746 instances, making it highly competitive with the numerically exact SCIP solver, which solved 762 instances. Notably, the integration of SLS improved performance across all tested solvers; for the exact SCIP solver, it resulted in 44 additional solved instances and a 20% reduction in memory usage.

Reliability and Overhead

A critical finding was that standard industrial solvers (Gurobi and SCIP) occasionally produced incorrect results or false optimality claims, underscoring the need for certification. While generating these proofs introduces some overhead, it remains manageable for many applications.

Scatter plot comparing runtime with and without proof logging, illustrating the computational overhead.

The median runtime overhead for generating proofs was approximately 10.7%. While the 90th percentile saw overheads reaching 100%, the ability to produce a formally verifiable certificate provides a level of reliability previously unavailable in high-performance IHS implementations.

Conclusion

This work demonstrates that the IHS framework can be made both reliable and certifying without sacrificing significant performance. By replacing numerically unstable IP solvers with PB reasoning and hybrid strategies like OptLB, researchers can achieve results competitive with exact IP solvers while providing formal proofs of correctness. Future work will focus on optimizing the proof-checking process, as current tools like VeriPB currently take significantly longer to check proofs than the solvers take to generate them.

Summary updated

BibTeX
@inproceedings{ihalainen2026efficient,
  author = {Hannes Ihalainen and Dieter Vandesande and André Schidler and Jeremias Berg and Bart Bogaerts and Matti Järvisalo},
  title = {{Efficient and Reliable Hitting-Set Computations for the Implicit Hitting Set Approach}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i17.38439},
}
Figure