NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Optimal decomposition of $K_{18}$ and $K_{19}$ into $K_3$ and $K_4$

Petr Kovář, Yifan ZhangarXiv 2025 · DOI

TL;DR

Researchers have finally closed a long-standing gap in design theory by determining the optimal way to break down complete graphs of order 18 and 19 into triangles ($K_3$) and quadruples ($K_4$). By combining rigorous combinatorial proofs with high-performance Integer Linear Programming (ILP), the authors proved that the minimum number of subgraphs required is 33 for $K_{18}$ and 35 for $K_{19}$.

What Problem Does This Paper Address?

In graph theory, a "complete graph" $K_v$ is one where every pair of $v$ vertices is connected by an edge. A common challenge is graph decomposition: can we partition all the edges of $K_v$ into smaller, specific shapes (cliques) like triangles ($K_3$) or quadruples ($K_4$) without any edges left over or overlapping?

Because of strict requirements regarding the number of edges and the degrees of the vertices, a perfect decomposition isn't always possible. In those cases, researchers look for the "optimal covering"—the set of subgraphs that covers every edge at least once while minimizing the "excess" (edges covered more than once).

While previous work had solved this for almost all values of $v$, the cases for $v=18$ and $v=19$ remained elusive. This paper provides the definitive answer for these two specific "missing links."

Methods

The authors employed a hybrid "math + muscle" approach:

  1. Combinatorial Analysis: They used theoretical tools like the inclusion-exclusion principle and the Erdős-Gallai theorem (which determines if a sequence of integers can actually represent the degrees of a real graph) to narrow down the possible configurations of triangles and quadruples.
  2. Integer Linear Programming (ILP): To handle the massive search space, they formulated the problem as an ILP. They used the Gurobi Optimizer (v11.0.2) to either find a valid decomposition (proving an upper bound) or prove that no such decomposition exists for a specific number of subgraphs (proving a lower bound).
  3. Graph Generation: They used nauty, a standard tool for computing graph automorphisms, to generate all possible non-isomorphic "even graphs" that could represent the remaining edges after certain triangles were removed. This allowed them to systematically check every possible structural case.

Datasets

This is a theoretical mathematics paper, so it does not use traditional "datasets." Instead, it generates and tests:

  • Non-isomorphic even graphs: Specifically, they generated sets of 3, 6, and 266 mutually non-isomorphic graphs of various orders to exhaustively test potential decomposition sub-cases.
  • Source Code: The paper includes the Python/Gurobi source code used to perform the ILP searches, ensuring reproducibility.

Key Insights and Ideas

  • The "Aha" Moment in Pruning: The authors realized that minimizing the total number of subgraphs is mathematically equivalent to minimizing the number of triangles ($\alpha$). By focusing on the smallest possible values for $\alpha$, they could categorize the problem into a finite number of "cases" (e.g., cases C1 through C7 for $K_{18}$).
  • Structural Constraints: They proved that for $K_{18}$, every vertex must be part of an odd number of triangles (specifically 1, 4, or 7). This constraint significantly reduced the number of valid configurations their algorithms had to check.
  • Exhaustive Exclusion: The paper’s strength lies in its systematic exclusion. For $K_{18}$, they didn't just find a solution with 33 subgraphs; they painstakingly proved that solutions with 29, 30, 31, or 32 subgraphs are structurally impossible.

Key Results

The paper successfully determines the minimum covering number $D(v, \{3, 4\})$ for the two target cases:

  • For $K_{18}$: The optimal decomposition requires 33 subgraphs, consisting of 15 triangles ($K_3$) and 18 quadruples ($K_4$).
  • For $K_{19}$: The optimal decomposition requires 35 subgraphs, consisting of 13 triangles ($K_3$) and 22 quadruples ($K_4$).

These results confirm that for $v=18$ and $v=19$, a perfect decomposition (zero excess edges) is indeed possible, and they provide the exact counts of each clique type needed to achieve it.

Limitations and Future Work

  • Computational Intensity: The proofs rely heavily on brute-force ILP searches for specific sub-cases. While effective for $v=18$ and $19$, this approach might face a "combinatorial explosion" if applied to significantly larger graphs or more complex sets of allowed subgraphs.
  • Specific Clique Sets: The study is limited to $\{K_3, K_4\}$. Future work could explore optimal decompositions using larger cliques (like $K_5$) or different families of graphs (like cycles or stars).
  • Application to Parallel Computing: The authors mention that this work is motivated by decomposing large dense matrices for parallel computing with no shared memory. A practical next step would be implementing these specific $K_{18}/K_{19}$ patterns into actual matrix-partitioning algorithms to measure real-world performance gains.

Summary updated

BibTeX
@misc{kovar2025optimal,
  author = {Petr Kovář and Yifan Zhang},
  title = {{Optimal decomposition of $K\_\{18\}$ and $K\_\{19\}$ into $K\_3$ and $K\_4$}},
  year = {2025},
  eprint = {2507.06745},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.06745},
  howpublished = {arXiv},
}

Loading related content...

Figure