Back to Search Start Over

Two Improved Constraint-Solving Algorithms Based on lmaxRPC3 rm.

Authors :
Pan, Xirui
Cheng, Zhuyuan
Zhang, Yonggang
Source :
Symmetry (20738994); Dec2023, Vol. 15 Issue 12, p2151, 17p
Publication Year :
2023

Abstract

The Constraint Satisfaction Problem (CSP) is a significant research area in artificial intelligence, and includes a large number of symmetric or asymmetric structures. A backtracking search combined with constraint propagation is considered to be the best CSP-solving algorithm, and the consistency algorithm is the main algorithm used in the process of constraint propagation, which is the key factor in constraint-solving efficiency. Max-restricted path consistency (maxRPC) is a well-known and efficient consistency algorithm, whereas the lmaxRPC3 r m algorithm is a classic lightweight algorithm for maxRPC. In this paper, we leverage the properties of symmetry to devise an improved pruning strategy aimed at efficiently diminishing the problem's search space, thus enhancing the overall solving efficiency. Firstly, we propose the maxRPC3 s i m algorithm, which abandons the two complex data structures used by lmaxRPC3 r m . We can render the algorithm to be more concise and competitive compared to the original algorithm while ensuring that it maintains the same average performance. Secondly, inspired by the RCP3 algorithm, we propose the maxRPC3 s i m R algorithm, which uses the idea of residual support to cut down the redundant operation of the lmaxRPC3 r m algorithm. Finally, combining the domain/weighted degree (dom/wdeg) heuristic with the activity-based search (ABS) heuristic, a new variable ordering heuristic, ADW, is proposed. Our heuristic prioritizes the selection of variables with symmetry for pruning, further enhancing the algorithm's pruning capabilities. Experiments were conducted on both random and structural problems separately. The results indicate that our two algorithms generally outperform other algorithms in terms of performance on both problem classes. Moreover, the new heuristic algorithm demonstrates enhanced robustness across different problem types when compared to various existing algorithms. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
20738994
Volume :
15
Issue :
12
Database :
Complementary Index
Journal :
Symmetry (20738994)
Publication Type :
Academic Journal
Accession number :
174464162
Full Text :
https://doi.org/10.3390/sym15122151