[Paper Review] A simple and fast heuristic algorithm for edge-coloring of graphs
This paper presents a fast, heuristic algorithm called CVD (Conflicting Vertex Displacement) for edge-coloring graphs, particularly cubic and Δ-regular graphs, using Kempe chain swaps to resolve color conflicts. It efficiently finds proper edge-colorings in practice, with empirical success on random graphs and verification of a long-standing conjecture on odd graphs up to k=11.
A simple but empirically efficient heuristic algorithm for the edge-coloring of graphs is presented. Its basic idea is the displacement of "conflicts" (repeated colors in the edges incident to a vertex) along paths of adjacent vertices whose incident edges are recolored by swapping alternating colors (that is, doing a Kempe interchange). The results of performance tests on random cubic and $Δ$-regular graphs are presented, and a full implementation of the algorithm is given to facilitate its use and the reproducibility of results.
Motivation & Objective
- To develop a simple and fast heuristic algorithm for edge-coloring graphs, especially cubic and Δ-regular graphs, where the problem is NP-complete.
- To break intractability by using probabilistic methods instead of exact computation, enabling practical solutions for large graphs.
- To test the algorithm’s performance on random graphs and apply it to verify combinatorial conjectures, such as the class one status of odd graphs.
- To provide a fully implementable algorithm with reproducible results, supporting future research and applications in combinatorics and optimization.
Proposed method
- The algorithm starts with a random 3-edge-coloring of a cubic graph and identifies conflicting vertices where incident edges share the same color.
- It resolves conflicts by constructing Kempe chains—alternating paths of two colors—and performing color swaps along these paths to displace conflicts to other vertices.
- The algorithm prioritizes vertices with the highest conflict level (degree minus number of distinct incident colors) to guide conflict resolution.
- A dictionary data structure maintains conflict levels per vertex, enabling efficient tracking of total conflictivity (sum of conflict levels across all vertices).
- If no improvement is made after a fixed number of repeated conflict vertex selections (repetition limit), the algorithm restarts with a new random coloring.
- For general Δ-regular and maximum degree Δ graphs, the method generalizes using conflict level as a measure of improper coloring, with similar Kempe-based resolution and restart heuristics.
Experimental results
Research questions
- RQ1Can a simple heuristic algorithm efficiently solve the NP-complete problem of edge-coloring cubic graphs in practice?
- RQ2Does the Kempe chain-based conflict displacement strategy significantly reduce the number of conflicts and lead to proper colorings in random cubic and Δ-regular graphs?
- RQ3Can the algorithm successfully verify the conjecture that odd graphs O_k are of class one except for k=3 and k a power of two, up to k=11?
- RQ4What is the empirical performance of the algorithm in terms of runtime and success rate on large random graphs?
- RQ5How does the algorithm’s behavior change with different parameter settings, such as repetition and iteration limits?
Key findings
- The CVD algorithm successfully edge-colored all tested random cubic and Δ-regular graphs with high empirical efficiency, suggesting practical tractability despite NP-completeness.
- The algorithm verified the conjecture that odd graphs O_k are of class one for all k ≤ 11, except for k=3 and k being a power of two, supporting the broader conjecture.
- The expected running time is O(n²), with practical performance often better than worst-case estimates due to early convergence.
- The total conflictivity (sum of conflict levels) decreased significantly during Kempe chain operations, and the algorithm stabilized at zero conflictivity in many runs.
- The use of conflict level prioritization and restart mechanisms prevented infinite loops and improved convergence, especially in hard instances.
- The full implementation provided in the paper enables reproducibility and facilitates integration into larger combinatorial problem-solving pipelines.
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.