[Paper Review] SAT Encoding of Partial Ordering Models for Graph Coloring Problems
This paper proposes a novel SAT encoding based on partial-ordering models for the graph coloring problem (GCP) and its generalization, the bandwidth coloring problem (BCP). By leveraging a relational ordering of colors rather than direct color assignments, the method achieves smaller formulation sizes and superior performance—solving more DIMACS and GEOM instances than state-of-the-art approaches, including several previously open BCP instances, particularly excelling on sparse graphs and with low runtime overhead.
In this paper, we suggest new SAT encodings of the partial-ordering based ILP model for the graph coloring problem (GCP) and the bandwidth coloring problem (BCP). The GCP asks for the minimum number of colors that can be assigned to the vertices of a given graph such that each two adjacent vertices get different colors. The BCP is a generalization, where each edge has a weight that enforces a minimal "distance" between the assigned colors, and the goal is to minimize the "largest" color used. For the widely studied GCP, we experimentally compare our new SAT encoding to the state-of-the-art approaches on the DIMACS benchmark set. Our evaluation confirms that this SAT encoding is effective for sparse graphs and even outperforms the state-of-the-art on some DIMACS instances. For the BCP, our theoretical analysis shows that the partial-ordering based SAT and ILP formulations have an asymptotically smaller size than that of the classical assignment-based model. Our practical evaluation confirms not only a dominance compared to the assignment-based encodings but also to the state-of-the-art approaches on a set of benchmark instances. Up to our knowledge, we have solved several open instances of the BCP from the literature for the first time.
Motivation & Objective
- To develop a more compact and efficient SAT encoding for the graph coloring problem (GCP) using partial-ordering models.
- To generalize the partial-ordering approach to the bandwidth coloring problem (BCP), where edge weights enforce minimum color differences.
- To evaluate the proposed SAT encodings against state-of-the-art approaches on standard benchmarks (DIMACS and GEOM instances).
- To demonstrate theoretical and practical advantages of the partial-ordering model over classical assignment-based formulations in both SAT and ILP settings.
Proposed method
- The method uses binary variables yv,i to encode whether vertex v is assigned a color less than or equal to color i, forming a partial order over colors.
- It generalizes this encoding to the BCP by incorporating edge weight constraints d(e) into the partial-ordering framework, ensuring |c(u)−c(v)| ≥ d(e) for adjacent vertices.
- The SAT encodings are constructed using a clause-based transformation of the partial-ordering logic, avoiding direct color assignment variables.
- The approach is compared with classical assignment-based SAT and ILP encodings, as well as with constraint programming and set-covering ILP models.
- Theoretical analysis shows that the partial-ordering formulation has asymptotically smaller size than assignment-based models.
- Implementation is provided via open-source code on GitHub, enabling reproducibility and integration into SAT-based frameworks.
Experimental results
Research questions
- RQ1Can a partial-ordering-based SAT encoding outperform classical assignment-based SAT encodings for the graph coloring problem on sparse graphs?
- RQ2Does the partial-ordering model scale effectively to the bandwidth coloring problem, where edge weights enforce minimum color differences?
- RQ3How does the partial-ordering SAT encoding compare to state-of-the-art approaches in terms of runtime and number of solved instances on DIMACS and GEOM benchmarks?
- RQ4Why do partial-ordering SAT encodings dominate while their ILP counterparts underperform, despite similar theoretical structure?
- RQ5Can the partial-ordering model solve previously open instances of the bandwidth coloring problem?
Key findings
- The partial-ordering SAT encoding (POP-S) and its hybrid variant (POPH-S) solved 98 out of 143 DIMACS instances within 1 hour, outperforming the assignment-based SAT encoding (95/143) and state-of-the-art methods.
- For the bandwidth coloring problem, the POP-S-B and POPH-S-B SAT encodings solved 32 out of 33 GEOM instances, significantly outperforming the constraint programming approach from [5], which solved only 26 instances under a 24-hour time limit.
- The POP-based SAT encodings solved all but one GEOM instance to optimality within 700 seconds, with the most difficult instances (e.g., GEOM120a) solved in under 10 seconds.
- To our knowledge, the paper reports the first optimal solutions for GEOM90b, GEOM100a, GEOM100b, GEOM110a, GEOM110b, and GEOM120a—previously open BCP instances.
- Theoretical analysis confirms that the partial-ordering model has asymptotically smaller formulation size than the assignment-based model, especially beneficial for large or dense graphs.
- Despite the theoretical advantage, the ILP formulations of the partial-ordering model underperformed compared to assignment-based ILP, likely due to denser constraint matrices, highlighting a key divergence between SAT and ILP performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.