Coloring Graphs While Avoiding Monochromatic Cycles

29 Pages Posted: 28 Sep 2010

See all articles by F. Talla Nobibon

F. Talla Nobibon

HEC-Management School, University of Liège

Cor Hurkens

affiliation not provided to SSRN

R. Leus

Catholic University of Leuven (KUL)

Frits Spieksma

Catholic University of Leuven (KUL)

Date Written: September 2010

Abstract

We consider the problem of deciding whether a given directed graph can be vertex partitioned into two acyclic subgraphs. Applications of this problem include testing rationality of collective consumption behavior, a subject in microeconomics. We prove that the problem is NP-complete, even for oriented graphs and argue that the existence of a constant-factor approximation algorithm is unlikely for an optimization version which maximizes the number of vertices that can be colored using two colors while avoiding monochromatic cycles. We present three exact algorithms, namely an integer-programming algorithm based on cycle identi fication, a backtracking algorithm, and a branch-and-check algorithm. We compare these three algorithms both on real-life instances and on randomly generated graphs. We find that for the latter set of graphs, every algorithm solves instances of considerable size within few seconds; however, the CPU time of the integer-programming algorithm increases with the number of vertices in the graph while that of the two other procedures does not. For real-life instances, the integer-programming algorithm solves the largest instance in about a half hour while the branch-and-check algorithm takes about ten minutes and the backtracking algorithm less than fi ve minutes. Finally, for every algorithm, we also study empirically the transition from a high to a low probability of a YES answer as function of the number of arcs divided by the number of vertices.

Keywords: directed graph, undirected graph; bipartite graph, acyclic graph, phase transition, NP-complete

Suggested Citation

Talla Nobibon, Fabrice and Hurkens, Cor and Leus, Roel and Spieksma, Frits, Coloring Graphs While Avoiding Monochromatic Cycles (September 2010). Available at SSRN: https://ssrn.com/abstract=1683889 or http://dx.doi.org/10.2139/ssrn.1683889

Fabrice Talla Nobibon (Contact Author)

HEC-Management School, University of Liège ( email )

Rue Louvrex 14/ Building N1/
Liège, Liège B-4000
Belgium

Cor Hurkens

affiliation not provided to SSRN ( email )

Roel Leus

Catholic University of Leuven (KUL) ( email )

Leuven, B-3000
Belgium

Frits Spieksma

Catholic University of Leuven (KUL) ( email )

Leuven, B-3000
Belgium

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
83
Abstract Views
1,056
Rank
790,029
PlumX Metrics