手机版

Tabu search for maximal constraint satisfaction problems(6)

发布时间:2021-06-07   来源:未知    
字号:

Abstract. This paper presents a Tabu Search (TS) algorithm for solving maximal constraint satisfaction problems. The algorithm was tested on a wide range of random instances (up to 500 variables and 30 values). Comparisons were carried out with a min-confl

Aspiration function Solution evaluation and neighborhood examinationThe aspiration criterion consists of removing a tabu classi cation from a move when the move leads to a solution better than the best obtained so far.

For MCSP, it is possible to develop special data structures to nd quickly a best neighbor among the given neighborhood. The main idea, inspired by a technique proposed in 3], is based on a two dimensional table jX j*jDj: if v is the current value of V, then V; v] indicates the the current number of con icts for V; for each v' di erent from v, V; v] indicates the the number of con icts for V if v' is assigned to V . Each time a move is executed, only the a ected elements of the table are updated accordingly. In this way, the cost for each move is constantly available and a best move can be found quickly. This technique is also used by our MCRW algorithm to nd quickly a best move among the values of a given (con icting) variable. In particular, with this data structure, iterations which do not lead to a move will have a negligible cost. We give in Figure 2 the TS algorithm integrating the above elements.0

Tabu algorithm begin

Figure 2: The Tabu Search algorithm Each iteration of TS consists in examining all the values of all the con icting variables in the current solution s and then carrying out a best move. Unlike MCRW, each iteration modi es a variable and the number of moves carried out by the algorithm is exactly the same as the number of iterations. In this section, we present comparative results between TS and MCRW over several classes of MCSP instances.

end

generate a random con guration s nb iter:= 0 initialize randomly the tabu list while f(s)> 0 and nb iter< max iter do choose a move< V; v> with the best performance among the non-tabu moves and the moves satisfying the aspiration criteria introduce< V; v> in the tabu list, where v is the current value of V remove the oldest move from the tabu list assign v to V nb iter:= nb iter+ 1 output(s);0 0

4 Experimentation and Results

Tabu search for maximal constraint satisfaction problems(6).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
×
二维码
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)