An Ant Algorithm for the Graph Colouring Problem
نویسنده
چکیده
This paper describes an ant algorithm that colours graphs in an e cient way. First, we describe the graph colouring problem and the ant algorithm. We also present some results and propose a simple generalisation of the algorithm that might allow its application to other assignment problems. Finally, a short study of the algorithm operators explains its performance and shows that it may be seen as a parallel variation of tabu search, with an implicit memory instead of an avoidance list. ANTS'98 From Ant Colonies to Arti cial Ants: First International Workshop on Ant Colony Optimization Brussels, Belgium, October 15{16, 1998. c F.Comellas and J. Oz on. 1 An ant algorithm for colouring graphs Many assignment and combinatorial problems may be formulated in terms of graph colouring. A proper colouring of a graph G = (V;E) is a function from the nodes of the graph to a set C of colours such that any two adjacent nodes have di erent colours. If k is the cardinal of C, we say that G is k-coloured. The graph colouring problem is NP-complete. Hence, we need to use approximate algorithmic methods to obtain solutions close to the absolute minimum in a reasonable execution time. Most of the algorithms used to solve the colouring problem are summarised in Hurley [4], and include sequential assignment methods, simulated annealing and genetic algorithms. The ant algorithm that we propose for the colouring problem is a multi-agent system based on the idea of parallel search. In this algorithm a given number of ants move around the nodes of the graph and changes the colour of each visited node according to a local criterion. At a given iteration each ant moves from the current node to the adjacent node with the maximum number of violations (see Fig 1), and replaces the old colour of the node with a new colour that minimises this number. For a given node i, the number of violations is computed as the number of adjacent nodes to i with the same colour than i. This action is randomly repeated for each ant: the ant moves to the
منابع مشابه
Ant Colony Algorithm for the Single Loop Routing Problem
In this paper, a new algorithm for solving the single loop routing problem is presented. The purpose of the single loop routing problem(SLRP) is to find the shortest loop for an automated guided vehicle covering at least one edge of each department of a block layout. First it shown that this problem can be represented as a graph model. Then a meta-heuristic algorithm based on and colony system ...
متن کاملAnt Colony Algorithm for the Single Loop Routing Problem
In this paper, a new algorithm for solving the single loop routing problem is presented. The purpose of the single loop routing problem(SLRP) is to find the shortest loop for an automated guided vehicle covering at least one edge of each department of a block layout. First it shown that this problem can be represented as a graph model. Then a meta-heuristic algorithm based on and colony system ...
متن کاملTwo hybrid ant algorithms for the general T-colouring problem
GCP is a well-known combinatorial problem that admits several generalisations from which the T-colouring (GTCP). Given a graph G and sets T of positive integers associated to the edges of G, a T-colouring of G is an assignment of colours to its vertices so the assigned colours distances do not exist in the associated set T. Since this problem is NP-Complete, only few heuristics are implemented ...
متن کاملAn Ant Colony Optimization Algorithm for Network Vulnerability Analysis
Intruders often combine exploits against multiple vulnerabilities in order to break into the system. Each attack scenario is a sequence of exploits launched by an intruder that leads to an undesirable state such as access to a database, service disruption, etc. The collection of possible attack scenarios in a computer network can be represented by a directed graph, called network attack gra...
متن کاملAnt Local Search and its efficient adaptation to graph colouring
In this paper, we propose a new kind of ant algorithm called Ant Local Search. In most ant algorithms, the role of each ant is to build a solution in a constructive way. In contrast, we propose to consider each ant as a local search, where at each step and in concordance with all ant algorithms, each ant modifies the current solution by the use of the greedy force and the trail systems. We also...
متن کامل