共查询到20条相似文献,搜索用时 0 毫秒
1.
Julian R. Ullmann 《Information Sciences》2007,177(18):3639-3678
Previous algorithms for unrestricted constraint satisfaction use reduction search, which inferentially removes values from domains in order to prune the backtrack search tree. This paper introduces partition search, which uses an efficient join mechanism instead of removing values from domains. Analytical prediction of quantitative performance of partition search appears to be intractable and evaluation therefore has to be by experimental comparison with reduction search algorithms that represent the state of the art. Instead of working only with available reduction search algorithms, this paper introduces enhancements such as semijoin reduction preprocessing using Bloom filtering. 相似文献
2.
Constraint Programming (CP) allows to model and solve combinatory problems by specifying some partial information on variables, unknowns of the problem. We have studied musical constraint problems, either stated by contemporary composers, or of musical analysis, or instrumentation, in collaboration with IRCAM (french Institute for Research and Coordination Acoustics / Music). Fourteen such problems have been modeled and solved, which allowed to give a detailed typology. This has been used to conceive and implement OMClouds, a library in the Computer Assisted Composition environment OpenMusic. It is based on a local search algorithm called adaptive search. Its architecture allows in particular to define a constraint problem visually, to solve it, and eventually to edit partial or approached results during the resolution process. 相似文献
3.
In this paper we explore the number of tree search operations required to solve binary constraint satisfaction problems. We show analytically and experimentally that the two principles of first trying the places most likely to fail and remembering what has been done to avoid repeating the same mistake twice improve the standard backtracking search. We experimentally show that a lookahead procedure called forward checking (to anticipate the future) which employs the most likely to fail principle performs better than standard backtracking, Ullman's, Waltz's, Mackworth's, and Haralick's discrete relaxation in all cases tested, and better than Gaschnig's backmarking in the larger problems. 相似文献
4.
Philippe Chapdelaine Nadia Creignou 《Annals of Mathematics and Artificial Intelligence》2005,43(1-4):51-63
The class of generalized satisfiability problems, first introduced by Schaefer in 1978, presents a uniform way of studying the complexity of Boolean constraint satisfaction problems with respect to the nature of constraints allowed in the input. We investigate the complexity of local search for this class of problems. We prove a dichotomy result: any generalized satisfiability local search problem is either in P or PLS-complete. In the meantime our study contributes to a better understanding of the complexity class PLS through the identification of an appropriate tool that captures reducibility among Boolean constraint satisfaction local search problems: sensitive implementation. 相似文献
5.
Philippe Chapdelaine Nadia Creignou 《Annals of Mathematics and Artificial Intelligence》2005,43(1):51-63
The class of generalized satisfiability problems, first introduced by Schaefer in 1978, presents a uniform way of studying the complexity of Boolean constraint satisfaction problems with respect to the nature of constraints allowed in the input. We investigate the complexity of local search for this class of problems. We prove a dichotomy result: any generalized satisfiability local search problem is either in P or PLS-complete. In the meantime our study contributes to a better understanding of the complexity class PLS through the identification of an appropriate tool that captures reducibility among Boolean constraint satisfaction local search problems: sensitive implementation. 相似文献
6.
The Journal of Supercomputing - Cognitive agents are typically utilized in autonomous systems for automated decision making. With the widespread use of autonomous systems in complex environments,... 相似文献
7.
为了求解具有增长取值域的随机约束满足问题(CSP),提出了一种基于禁忌搜索并与模拟退火相结合的算法。首先,利用禁忌搜索得到一组启发式的初始赋值,即由一个随机初始化的可行解通过邻域构造一组候选解,再利用禁忌表使候选解向最小化目标函数值的方向移动;如果得到的最优赋值不是问题的解,就把它作为启发式的初始赋值,再执行模拟退火对这组赋值进行修正直到得到全局最优解。数值实验结果表明,所提算法在接近问题的理论相变阈值时仍然能有效地找到问题的解,与其他局部搜索算法相比,表现出了显著的优越性,可用于随机CSP的算法设计。 相似文献
8.
Veronica Gil-Costa Mauricio Marin Carolina Bonacic Roberto Solar 《The Journal of supercomputing》2018,74(5):2006-2034
Large-scale similarity search engines are complex systems devised to process unstructured data like images and videos. These systems are deployed on clusters of distributed processors communicated through high-speed networks. To process a new query, a distance function is evaluated between the query and the objects stored in the database. This process relays on a metric space index distributed among the processors. In this paper, we propose a cache-based strategy devised to reduce the number of computations required to retrieve the top-k object results for user queries by using pre-computed information. Our proposal executes an approximate similarity search algorithm, which takes advantage of the links between objects stored in the cache memory. Those links form a graph of similarity among pre-computed queries. Compared to the previous methods in the literature, the proposed approach reduces the number of distance evaluations up to 60%. 相似文献
9.
We present a general representation for problems that can be reduced to constraint satisfaction problems (CSP) and a model for reasoning about their solution. The novel part of the model is a constraint-driven reasoner that manages a set of constraints specified in terms of arbitrarily complex Boolean expressions and represented in the form of a dependency network. This dependency network incorporates control information (derived from the syntax of the constraints) that is used for constraint propagation, contains dependency information that can be used for explanation and for dependency-directed backtracking, and is incremental in the sense that if the problem specification is modified, a new solution can be derived by modifying the existing solution. The constraint-driven reasoner is coupled to a problem solver which contains information about the problem variables and preference orderings 相似文献
10.
In this paper we describe the parallelization of a medium-size symbolic fixed-point computation, CONSAT. CONSAT is a constraint satisfaction system that computes globally consistent solutions. The parallel version of CONSAT is implemented using abstractions from a parallel programming toolbox we developed. The toolbox is intended for novice parallel programmers, and programs based on abstractions from this toolbox may be executed on both uniprocessors and shared-memory multiprocessors without modifications. We explain how parallelism is introduced, and how concurrent accesses to shared data structures are handled. We will also describe the performance of CONSAT on sample inputs. 相似文献
11.
Multimedia Systems - Image reranking is an effective way for improving the retrieval performance of keyword-based image search engines. A fundamental issue underlying the success of existing image... 相似文献
12.
《Journal of Computer and System Sciences》2016,82(2):347-356
Conservative constraint satisfaction problems (CSPs) constitute an important particular case of the general CSP, in which the allowed values of each variable can be restricted in an arbitrary way. Problems of this type are well studied for graph homomorphisms. A dichotomy theorem characterizing conservative CSPs solvable in polynomial time and proving that the remaining ones are NP-complete was proved by Bulatov (2003) in [4]. Its proof, however, is quite long and technical. A shorter proof of this result based on the absorbing subuniverses technique was suggested by Barto (2011) in [1]. In this paper we give a short elementary proof of the dichotomy theorem for conservative CSPs. 相似文献
13.
We describe a simple CSP formalism for handling multi-attribute preference problems with hard constraints, one that combines
hard constraints and preferences so the two are easily distinguished conceptually and for purposes of problem solving. Preferences
are represented as a lexicographic order over complete assignments based on variable importance and rankings of values in
each domain. Feasibility constraints are treated in the usual manner. Since the preference representation is ordinal in character,
these problems can be solved with algorithms that do not require evaluations to be represented explicitly. This includes ordinary
CSP algorithms, although these cannot stop searching until all solutions have been checked, with the important exception of
heuristics that follow the preference order (lexical variable and value ordering). We describe relations between lexicographic
CSPs and more general soft constraint formalisms and show how a full lexicographic ordering can be expressed in the latter.
We discuss relations with (T)CP-nets, highlighting the advantages of the present formulation, and we discuss the use of lexicographic
ordering in multiobjective optimisation. We also consider strengths and limitations of this form of representation with respect
to expressiveness and usability. We then show how the simple structure of lexicographic CSPs can support specialised algorithms:
a branch and bound algorithm with an implicit cost function, and an iterative algorithm that obtains optimal values for successive
variables in the importance ordering, both of which can be combined with appropriate variable ordering heuristics to improve
performance. We show experimentally that with these procedures a variety of problems can be solved efficiently, including
some for which the basic lexically ordered search is infeasible in practice. 相似文献
14.
Multi-agent oriented constraint satisfaction 总被引:1,自引:0,他引:1
This paper presents a multi-agent oriented method for solving CSPs (Constraint Satisfaction Problems). In this method, distributed agents represent variables and a two-dimensional grid-like environment in which the agents inhabit corresponds to the domains of the variables. Thus, the positions of the agents in such an environment constitute the solution to a CSP. In order to reach a solution state, the agents will rely on predefined local reactive behaviors; namely, better-move, least-move, and random-move. While presenting the formalisms and algorithm, we will analyze the correctness and complexity of the algorithm, and demonstrate the proposed method with two benchmark CSPs, i.e., n-queen problems and coloring problems. In order to further determine the effectiveness of different reactive behaviors, we will examine the performance of this method in deriving solutions based on behavior prioritization and different selection probabilities. 相似文献
15.
The constraint satisfaction problem (CSP) is a convenient framework for modelling search problems; the CSP involves deciding,
given a set of constraints on variables, whether or not there is an assignment to the variables satisfying all of the constraints.
This paper is concerned with the more general framework of quantified constraint satisfaction, in which variables can be quantified
both universally and existentially. We study the relatively quantified constraint satisfaction problem (RQCSP), in which the
values for each individual variable can be arbitrarily restricted. We give a complete complexity classification of the cases
of the RQCSP where the types of constraints that may appear are specified by a constraint language. 相似文献
16.
Víctor Dalmau 《Annals of Mathematics and Artificial Intelligence》2005,44(1-2):61-85
In this paper we consider constraint satisfaction problems where the set of constraint relations is fixed. Feder and Vardi (1998) identified three families of constraint satisfaction problems containing all known polynomially solvable problems. We introduce a new class of problems called para-primal problems, incomparable with the families identified by Feder and Vardi (1998) and we prove that any constraint problem in this class is decidable in polynomial time. As an application of this result we prove a complete classification for the complexity of constraint satisfaction problems under the assumption that the basis contains all the permutation relations. In the proofs, we make an intensive use of algebraic results from clone theory about the structure of para-primal and homogeneous algebras.
AMS subject classification 08A70 相似文献
17.
《国际计算机数学杂志》2012,89(12):1465-1476
A finite binary Constraint Satisfaction Problem (CSPs) is defined as consisting of a set of n problem variables, a domain of d potential values for each variable and a set of m binary constraints involving only two variables at a time. A solution to such a CSP is specified by assignment of a value to each variable that does not violate any of the constraints. The CSPs belong to the class of NP-Complete Problems. Backtracking and its variants have been generally used for solving CSPs. The class of Partial Constraint Satisfaction Problems (PCSPs) is a subclass of CSPs that are either too difficult to solve or are unsolvable. Near optimal solutions are always desired to these problems. In this article, we have considered only finite binary CSPs or PCSPs and developed a method of time complexity O(n 2 d 2) to obtain a near optimal solution for them. The performance of the method in terms of the average number of consistency checks and the average number of constraint violations is measured on various randomly generated binary CSPs and compared with the Branch and Bound (BB) method used to obtain the same solution. The BB method is a widely used optimization technique that may be viewed as a variation of backtracking. Thus, it was a natural choice in seeking an analog of backtracking to find optimal partial solutions for PCSPs. The proposed method moves much faster to the solution. The performance results indicate that in terms of the number of consistency checks, the proposed method has much less consistency checks than BB whereas in terms of average number of constraint violations both methods are same. An upper bound on the distance of the solution from the optimal solution is obtained analytically as ?n(n???2)(d???2)/(d???1)?. 相似文献
18.
Backtracking and random constraint satisfaction 总被引:2,自引:0,他引:2
Paul Walton Purdom 《Annals of Mathematics and Artificial Intelligence》1997,20(1-4):393-410
The average running time used by backtracking on random constraint satisfaction problems is studied. This time is polynomial
when the ratio of constraints to variables is large, and it is exponential when the ratio is small. When the number of variables
goes to infinity, whether the average time is exponential or polynomial depends on the number of variables per constraint,
the number of values per variable, and the probability that a random setting of variables satisfies a constraint. A method
for computing the curve that separates polynomial from exponential time and several methods for approximating the curve are
given. The version of backtracking studied finds all solutions to a problem, so the running time is exponential when the number
of solutions per problem is exponential. For small values of the probability, the curve that separates exponential and polynomial
average running time coincides with the curve that separates an exponential average number of solutions from a polynomial
number. For larger probabilities the two curves diverge. Random problems similar to those that arise in understanding line
drawings with shadows require a time that is mildly exponential when they are solved by simple backtracking. Slightly more
sophisticated algorithms (such as constraint propagation combined with backtracking) should be able to solve these rapidly.
This revised version was published online in June 2006 with corrections to the Cover Date. 相似文献
19.
Ian P. Gent Peter Nightingale Andrew Rowley Kostas Stergiou 《Artificial Intelligence》2008,172(6-7):738-771
We make a number of contributions to the study of the Quantified Constraint Satisfaction Problem (QCSP). The QCSP is an extension of the constraint satisfaction problem that can be used to model combinatorial problems containing contingency or uncertainty. It allows for universally quantified variables that can model uncertain actions and events, such as the unknown weather for a future party, or an opponent's next move in a game. In this paper we report significant contributions to two very different methods for solving QCSPs. The first approach is to implement special purpose algorithms for QCSPs; and the second is to encode QCSPs as Quantified Boolean Formulas and then use specialized QBF solvers. The discovery of particularly effective encodings influenced the design of more effective algorithms: by analyzing the properties of these encodings, we identify the features in QBF solvers responsible for their efficiency. This enables us to devise analogues of these features in QCSPs, and implement them in special purpose algorithms, yielding an effective special purpose solver, QCSP-Solve. Experiments show that this solver and a highly optimized QBF encoding are several orders of magnitude more efficient than the initially developed algorithms. A final, but significant, contribution is the identification of flaws in simple methods of generating random QCSP instances, and a means of generating instances which are not known to be flawed. 相似文献