Backtracking based iterated tabu search for equitable coloring

https://doi.org/10.1016/j.engappai.2015.09.008Get rights and content

Highlights

  • The equitable coloring problem (ECP) is a NP-hard combinatorial problem.

  • We introduce a backtracking based iterated tabu search (BITS) algorithm for the ECP.

  • We assess the algorithm׳s performance on a large set of ECP benchmark instances.

  • We report new upper bounds for 21 benchmark instances.

Abstract

An equitable k-coloring of an undirected graph G=(V,E) is a partition of its vertices into k disjoint independent sets, such that the cardinalities of any two independent sets differ by at most one. As a variant of the graph coloring problem (GCP), the equitable coloring problem (ECP) concerns finding a minimum k for which an equitable k-coloring exists. In this work, we propose a backtracking based iterated tabu search (BITS) algorithm for solving the ECP approximately. BITS uses a backtracking scheme to define different k-ECP instances, an iterated tabu search approach to solve each particular k-ECP instance for a fixed k, and a binary search approach to find a suitable initial value of k. We assess the algorithm׳s performance on a set of commonly used benchmarks. Computational results show that BITS is very competitive in terms of solution quality and computing efficiency compared to the state-of-the-art algorithm in the literature. Specifically, BITS obtains new upper bounds for 21 benchmark instances, while matching the previous best upper bound for the remaining instances. Finally, to better understand the proposed algorithm, we study how its key ingredients impact its performance.

Introduction

Given an undirected graph G=(V,E) with vertex set V={v1,v2,,vn} and edge set EV×V, a k-coloring of G is a partition of its vertices into k disjoint independent sets {V1,V2,,Vk} (also called color classes), i.e., any two vertices of any Vi(i=1,,k) are not linked by an edge. For a given k, G is k-colorable if a k-coloring exists for G. The problem of finding a k-coloring for a given number of k colors is called the graph k-coloring problem. The classical graph coloring problem (GCP) is to determine the smallest k (the chromatic number of G) such that G is k-colorable.

An equitable k-coloring of G (or k-eqcol) is a k-coloring {V1,V2,,Vk} such that the numbers of vertices in any two color classes differ by at most one (i.e., Vi||Vj1, ∀ ij. This is called the equity constraint Méndez-Díaz et al., 2015). In other words, an equitable k-coloring is a conflict-free k-coloring satisfying the equity constraint. The equitable coloring problem (ECP) is to determine the smallest number k of colors such that an equitable k-coloring of G exists (Meyer, 1973). This minimum k is called the equitable chromatic number of G and denoted by χe(G).

Clearly the ECP is tightly related to the classical GCP. Like the GCP, the ECP is NP-hard (Furmańczyk, 2005) and thus computationally challenging. In addition to its theoretical significance, the ECP has a variety of applications, like garbage collection (Tucker, 1973), partitioning and load balancing (Blazewicz et al., 2001), scheduling (Ding et al., 2015, Irani and Leung, 1996, Meyer, 1973), etc. For a review of possible applications of the ECP, the reader is referred to recent papers like Bahiense et al. (2014), Méndez-Díaz et al. (2014b).

Due to its relevance, much effort has been devoted to the studies of the ECP from a theoretical point of view. For example, Meyer suggested a conjecture that χe(G)<Δ(G) for any connected graph except the complete graphs and the odd circuits, where Δ(G) is the maximum vertex degree of G (Meyer, 1973). Lih and Wu showed that χe(G)=χ(G) holds for any connected bipartite graph G(X,Y), where χ(G) is the chromatic number of G (Lih and Wu, 1996). Lam et al. obtained an explicit formula to calculate the equitable chromatic number of a complete n-partite graph (Lam et al., 2001). Bodlaender and Fomin proved that the ECP can be solved in polynomial time for graphs with bounded treewidth (Bodlaender and Fomin, 2005). Kostochka and Nakprasit proved that a graph with maximum degree Δ(G) is equitably k-colorable for every kΔ+1 if the average degree of vertices are at most Δ/5 (Kostochka and Nakprasit, 2005). Furmańczyk discussed the computational complexity of the ECP for some special graphs (Furmańczyk, 2005). Wu and Wang investigated the planar graphs with large girth (Wu and Wang, 2008). Chen and Lih investigated equitable colorings for trees (Chen and Lih, 1994) and Chang studied equitable colorings for forests (Chang, 2009). Nakprasit and Nakprasit obtained some results on the ECP for planar graphs with some special properties (Nakprasit and Nakprasit, 2012). Yan and Wang investigated the ECP for Kronecker products of the complete multipartite graphs and complete graphs (Yan and Wang, 2014).

From the computational point of view, several exact and heuristic algorithms have been proposed in the literature for solving the ECP for arbitrary graphs. Specifically, Furmanczyk and Kubale proposed two constructive heuristics (Naive and Subgraph) (Furmanczyk and Kubale, 2004). Bahiense et al. presented two effective branch-and-cut algorithms (Bahiense et al., 2009, Bahiense et al., 2014). Méndez-Díaz et al. investigated a polyhedral approach (Méndez-Díaz et al., 2014a), a DSatur-based exact algorithm (Méndez-Díaz et al., 2015), and a tabu search heuristic (Méndez-Díaz et al., 2014b). Kierstead et al. proposed a fast algorithm (O(n2)) to find an equitable k-coloring where k=Δ(G)+1 (Kierstead et al., 2010).

Given the NP-hard nature of the ECP, it is unlikely that an exact algorithm will be found that is able to determine the equitable chromatic number of arbitrary graphs in polynomial time. Consequently, as for any NP-hard problem, heuristics constitute a very appealing and indispensable alternative which can be used to approximate the equitable chromatic number of a graph. On the other hand, the literature review shows that there are only limited studies on heuristic algorithms for the ECP.

In this paper, we provide a method to solve the ECP approximately by means of a backtracking based iterated tabu search (BITS) algorithm. BITS solves a series of k-ECP, i.e., equitable k-coloring instances with different fixed k values. For a given k-ECP (with a particular k), the purpose of the iterated tabu search (ITS) is to seek a conflict-free equitable k-coloring. The backtracking scheme is used to adjust k to an appropriate value. A technique based on binary search is used to determine a good initial k value.

We perform a computational study testing our proposed BITS algorithm on a large number of benchmark instances widely used in the literature. The computational results show that our new algorithm is very competitive in terms of both solution quality and computation efficiency compared to the state-of-the-art heuristics. Specifically, we are able to find new upper bounds of the equitable chromatic number for 21 benchmark instances, matching the previous best upper bound for the remaining instances.

The rest of the paper is organized as follows. In Section 2, we describe the components of the BITS algorithm, including the search space and evaluation function, the initial solution generation procedure, the iterated tabu search procedure, and the binary search procedure for determining an initial k. In Section 3, we present the computational benchmark assessments and compare our results with those of the state-of-the-art heuristic algorithms in the literature. Section 4 analyzes and discusses some important components of the proposed algorithm. Finally, we provide concluding comments in Section 5.

Section snippets

Backtracking based iterated tabu search for the ECP

In this section, we present the general solution approach and the supporting procedures that compose it.

Computational results and comparisons

In this section, we present computational results and comparisons to assess the performance of the proposed BITS algorithm.

Analysis and discussions

In this section, we study several key ingredients of the BITS algorithm to get some insight into its behavior.

Conclusions

Our backtracking based iterated tabu search (BITS) approach to solve the equitable coloring problem (ECP) achieves a high level of performance by integrating several components: a backtracking scheme to define different k-ECP instances, a tabu search procedure with a hybrid tabu list management strategy to solve each associated k-ECP instance, two perturbation operators to jump out of local optima, and a binary search method to determine the initial value of k.

The effectiveness of the BITS

Acknowledgments

We are grateful to the reviewers for their useful comments which help us to improve the paper. The work is partially supported by the LigeRo project (2009–2013, Region of Pays de la Loire, France), the PGMO project (2013–2015, Jacques Hadamard Mathematical Foundation) and a post-doc Grant (for X.J. Lai) from the Region of Pays de la Loire (France).

References (30)

  • I. Méndez-Díaz et al.

    A polyhedral approach for the equitable coloring problem

    Discret. Appl. Math.

    (2014)
  • I. Méndez-Díaz et al.

    A DSATUR-based algorithm for the equitable coloring problem

    Comput. Oper. Res.

    (2015)
  • K. Nakprasit et al.

    Equitable colorings of planar graphs without short cycles

    Theor. Comput. Sci.

    (2012)
  • J.L. Wu et al.

    Equitable coloring planar graphs with large girth

    Discret. Math.

    (2008)
  • Z.D. Yan et al.

    Equitable coloring of kronecker products of complete multipartite graphs and complete graphs

    Discret. Appl. Math.

    (2014)
  • Cited by (14)

    • Improving lower bounds for equitable chromatic number

      2022, Computers and Operations Research
    • A Tabu search algorithm with controlled randomization for constructing feasible university course timetables

      2020, Computers and Operations Research
      Citation Excerpt :

      Specifically, during the neighborhood search of the proposed TS, if f(X′) < f(X), X′ will be accepted; otherwise, if f(X′) − f(X) ≤ τ, X′ will be accepted with probability. There are two main differences in our proposed algorithm in comparison with the TA methods in previous study (Tarantilis et al., 2004; Lai et al., 2015). Firstly, the threshold value remains unchanged in our algorithm, while the threshold value is gradually reduced in previous applications, just like the temperature parameter in SA.

    • Memetic search for the equitable coloring problem

      2020, Knowledge-Based Systems
      Citation Excerpt :

      Méndez-Díaz et al. adapted for the first time the well-known TabuCol algorithm for the classical GCP [19,20] to the ECP [21]. Lai et al. improved TabuEqCol by combining a backtracking scheme and tabu search under the iterated local search framework [22]. Sun et al. presented a feasible and infeasible local search algorithm called FISA that is based on an extended penalty-based fitness function [23].

    • Adaptive feasible and infeasible tabu search for weighted vertex coloring

      2018, Information Sciences
      Citation Excerpt :

      To explore the above neighborhood, the proposed AFISA algorithm uses the well-known tabu search (TS) meta-heuristic [12,13] that has been applied to many difficult combinatorial optimization problems [14]. In particular, TS is known to be quite successful in solving several different graph coloring problems such as general graph coloring [7,17], minimum sum coloring [19] and equitable coloring [21]. As a general meta-heuristic, TS has some attractive features.

    • Tabu search with feasible and infeasible searches for equitable coloring

      2018, Engineering Applications of Artificial Intelligence
      Citation Excerpt :

      We ran both algorithms under the long time stop criterion on a set of 21 representative instances, which were frequently used in the literature to test graph coloring algorithms. Compared with previous approaches like TabuEqCol (Méndez-Díaz et al., 2014a) and BITS (Lai et al., 2015) where the equity constraint is strictly maintained during the search process, one salient feature of our approach is its hybrid scheme combining feasible and infeasible local searches. To evaluate the merit of this hybrid scheme, we compare the performance of our HTS algorithm with its two underlying local search components, i.e., the feasible local search procedure and the infeasible local search procedure.

    View all citing articles on Scopus
    View full text