cs.AINov 3, 2026

SAT Encoding for Set of At-Most-K Cardinality Constraints with Ladder Shape

Authors: Hieu Truong Xuan, Tuyen Kieu Van, Khanh To Van

Organizations: University of Engineering and Technology, Vietnam National University, Hanoi, Vietnam.

Abstract

This paper presents a novel SAT encoding designed to represent a sequence of At-Most-K cardinality constraints arranged in a ladder-like structure, referred to as the Ladder AMK constraint. These AMK constraints feature a ladder-like arrangement, with shared common variables in the center and two variables differing at the beginning and the end. The proposed encoding first decomposes the sequence of AMK constraints into separated blocks, then encodes each block as a whole rather than encoding each AMK constraint individually. This approach improves the efficiency of constraint solving in SAT solvers by significantly reducing the size of the encoding, precisely the number of variables, and the generated clauses required. To achieve this, the encoding employs Sequential Counter to encode each block and constructs clauses that link adjacent blocks, ensuring equivalence with the input constraints. Compared to the previously proposed encoding that uses BDD for Ladder AMO constraint, our encoding requires fewer variables and clauses. Our study is the first study that develops SAT encoding for Ladder AMK constraints with k>1. Experimental results on single Ladder AMO and Ladder AMK constraints indicate that our encoding significantly enhances both the size of the encoding and the efficiency of solving time compared to existing encodings. Furthermore, by evaluating on the two real-world combinatorial problems, namely Anti-bandwidth Problem and Nurse Rostering Problem, we found that the proposed encoding surpasses alternative encodings, as well as more advanced Constraint Programming and Mixed Integer Programming solvers. In summary, the SAT encoding technique presented in this paper provides a more efficient method for encoding sequence constraint, specifically Ladder AMK constraint, which could enhance the effectiveness of SAT solving for various problems involving this type of constraint.

Figures & tables

Explore similar work

CardsList
  1. Identifying Good Rules for Efficient SAT Encodings of Single-Constant Multiplication Using Machine Learning

    Jul 23, 2026Chufeng Jiang, Neng-Fa ZhouElectronic Design Automation

  2. When both Grounding and not Grounding are Bad -- A Partially Grounded Encoding of Planning into SAT (Extended Version)

    Mar 19, 2026João Filipe, Gregor BehnkeClassical PlanningSymbolic Planning

  3. Transfer Learning from Foundational Optimization Embeddings to Unsupervised SAT Representations

    Apr 16, 2026Koyena Pal, Serdar KadiogluUnsupervised Representation LearningTransfer Learning