A Study of Constraint Consistency and Solving Technology Based on Residual Supports

Author
ZhangXiaoLiang
Advisor
LiZhanShan
School
Jilin University
Major
Computer Software and Theory
Classification
TP301.6 Algorithm Theory
Degree
Master's thesis
Year
2012
Downloads
18
Citations
1

Request the full text

Abstract

Attention on the research of Constraint Satisfaction Problem (CSP) has beenincreasing in recent years. As an important abstract model of real world’s problems,CSP is used in many fields, such as scheduling, hardware design and certification,molecular biology and natural language processing. There are three parts in a CSP: afinite set of variables, a finite set of domain associated with variables and a finite setof constraints among variables. A solution of one CSP is that every variable has avalue from its domain and constraints among these variables should be satisfied. Tofind one or more solutions to a CSP is NP-hard. However, many solving algorithmsfor CSPs have been proposed in decades. MAC (Maintaining arc consistency)Algorithm is one of the most widely used algorithms, which is based on theBacktracking Search. In order to improve the efficiency of solutions, consistencytechnology, which is an important preprocessing to CSPs, is embedded intoprocedures of solving.Some values in variables’ domain are removed by consistency technology asthey are impossible to be part of the solution. In this way, the searching space of thesolving are reduced greatly, and much redundant search is avoided as well.Arc consistency is one kind of the oldest and most famous consistencytechnology. This paper is about the study of solving algorithms of CSP based on arcconsistency. A new arc consistency algorithm is proposed on its unique properties.When it is embedded into MAC, a new solving algorithm comes out. Our work is asfollows:(1) The concept of residual supports was proposed in AC3rm by ChristopheLecoutre and Fred Hemery. In AC3rm, a residual support, or residue, is a support thathas been stored during a previous execution of the procedure which determines if a value is supported by a constraint. When the value of a variable needs to find asupport, its residual which is more likely to be a valid support will be checked first. InACrmE, the improved algorithm we proposed, the residue is kept in suppR. At thesame time, we exploit multidirectionality of supports in constraints, and introduce anew array, denoted suppL, to store supports. The new array will store every validsupport in constraint checking. When checking the consistency of a variable, everyvalue in its domain must to be tested whether it has at least one support. The residuewill be checked first. If it is invalid, supports in the array suppL will be tested. If theyare all invalid, we have to return to the variable’s domain and search for a new validsupport from scratch. As the possibility of being valid supports is decreasing in thesethree stages, much work on constraint checking could be reduced.(2)In solving algorithms for CSPs, variable ordering heuristics attract muchattention. And we give a new algorithm combining variable and value orderingheuristics-----MACrmE. ACrmE plays a central part in MACrmE. The supports inMACrmE’s array suppL may be all valid. There may be several arrays in differentconstraints for one variable’s value. The sum of all the value’s arrays size, denotedcount, to a certain extent reflects the possibility of the value being a part of the finalsolution. The greater the sum is, the higher the probability. So our value orderingheuristic is based on count. If one value’s count is bigger than others’ in the variable’sdomain, it is thought to be more important. And it has priority to be assigned to thisvariable. At last, the experimental results clearly show that our new algorithm hashigher efficiency.

Table of contents

Summary 4-6 Abstract 6-10 Chapter 1 Introduction 10-13 1.1 Background and Status 10 - 11 1.2 This work 11-13 Chapter 2 constraint satisfaction problems pretreatment technology 13-20 2.1 constraint satisfaction problems 13 - 14 2.2 constraint propagation techniques 14-20 2.2.1 arc consistency 15-20 grained arc 2.2.1.1 compatibility algorithm 15-18 2.2.1.2 grained arc consistency algorithm 18-20 Chapter 3 constraint satisfaction problem solving 20-28 3.1 backtracking search algorithm 20-28 3.1.1 look back strategy (look-back) 22 3.1.2 before looking strategy (look-ahead) 22-28 3.1.2.1 FC (Forward Checking) algorithm 23-24 3.1.2.2 MAC (Maintaining Arc Consistency) algorithm 24-28 Chapter 4 based on retention support and arc consistency algorithm 28-52 4.1 support and support for two-way reservations 28-29 4.2 arc -based support to retain compatibility 29 -39 4.2.1 coarse-grained AC3rm algorithm 29-32 4.2.2 ACrmE (ACrm Expand) algorithm and support sequence 32-37 4.2. 3 algorithm correctness and complexity analysis 37-38 4.2.4 experimental results 38-39 4.3 Search maintaining arc consistency solving 39-52 4.3.1 MACrmE algorithm 42-46 4.3.2 MACrmE the domain of value heuristic 46-47 4.3.3 experimental results 47-52 Chapter 5 summary and Outlook 52-54 References 54-57 Author 57-58 Thanks 58

Related dissertations

  1. The Research of Constraint Satisfaction Problems Based on Heuristic
    WangZiWen ·Jilin University ·2011 ·Master's thesis
  2. The Research of Arc Consistency Algorithm Techniques in Constraint Satisfaction Problems
    ChenYaoHua ·Jilin University ·2012 ·Master's thesis
  3. The Research on the Constraint Solving Algorithms Based on Ant Colony Optimization
    XueQiuShi ·Jilin University ·2013 ·Master's thesis
  4. A Context-based Content Adaptation Algorithm and Its Application in UPnPAV
    FengZuo ·Ocean University of China ·2013 ·Master's thesis
  5. A New Upper Bound for#CSP Problem
    ZhuLei ·Northeast Normal University ·2012 ·Master's thesis
  6. Research on the Problem Structure Oriented Constraint Solving Algorithms
    YangMingMing ·Jilin University ·2013 ·Master's thesis
  7. Research on Techniques of Solving Constraint Satisfaction Problems
    GuoJinSong ·Jilin University ·2013 ·Master's thesis
  8. Research on Adaptive Constraint Solving Methods
    WangHaiYan ·Jilin University ·2013 ·Doctoral dissertation
  9. Research an Symbolic Algorithms for Constraint Satisfaction Problem and Their Applications in Assembly Planning
  10. Study on Configuraion Design and Optimization Method of Marine Power System
    LiuAiHua ·Wuhan University of Technology ·2013 ·Doctoral dissertation
  11. Research on Modular Product Configuration Design Method for Customer-centered Mass Customization
    XuYang ·Nanhua University ·2013 ·Master's thesis
  12. Research on Emergency Task Planning Considering Risk Acceptability
  13. Research on Techniques and System for Mass Customization Oriented Product Configuration
    LiuQiong ·Hefei University of Technology ·2008 ·Doctoral dissertation
  14. Research on the Techniques of Qualitative Spatial Reasoning and Application
    SunHaiBin ·Jilin University ·2006 ·Doctoral dissertation
  15. Research on Constraint Based Product Configuration Method and Product Configuration Optimization
    LiWei ·Hefei University of Technology ·2005 ·Doctoral dissertation
  16. Study on Intelligent Guide Model and Algorithms for Online Learning Based on Finite Automata
    ChenYiXiong ·Chongqing University ·2011 ·Doctoral dissertation
  17. Research on Product Configuration Design System Based on Hypergraph Theory
    ZhuGuoZeng ·Zhejiang University of Technology ·2008 ·Master's thesis
  18. Research on Constraint Programming Based Petri Net’s Reachability Problem
    LanQianYi ·Guangxi University ·2007 ·Master's thesis
  19. Application Research of Genetic Algorithms in Shop Scheduling
    ZhuLiangXue ·Lanzhou University ·2007 ·Master's thesis
  20. Design and Implementation of Product Configurator(Config2006)
    ChiYanTao ·Jilin University ·2007 ·Master's thesis