Design, implementation, and evaluation of the constraint language cc (FD)

被引:70
作者
Van Hentenryck, P
Saraswat, V
Deville, Y
机构
[1] Brown Univ, Providence, RI 02912 USA
[2] Xerox Corp, Palo Alto Res Ctr, Palo Alto, CA 94304 USA
[3] Univ Catholique Louvain, B-1348 Louvain, Belgium
来源
JOURNAL OF LOGIC PROGRAMMING | 1998年 / 37卷 / 1-3期
基金
美国国家科学基金会;
关键词
D O I
10.1016/S0743-1066(98)10006-7
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper describes the design, implementation, and applications of the constraint logic language cc(FD). cc(FD) is a declarative nondeterministic constraint logic language over finite domains based on the cc framework [33], an extension of the Constraint Logic Programming (CLP) scheme [21]. Its constraint solver includes (nonlinear) arithmetic constraints over natural numbers which are approximated using domain and interval consistency. The main novelty of cc (FD) is the inclusion of a number of general-purpose combinators, in particular cardinality, constructive disjunction, and blocking implication, in conjunction with new constraint operations such as constraint entailment and generalization. These combinators significantly improve the operational expressiveness, extensibility, and flexibility of CLP languages and allow issues such as the definition of nonprimitive constraints and disjunctions to be tackled at the language level. The implementation of cc (FD) (about 40,000 lines of C) includes a WAM-based engine [44], optimal are-consistency algorithms based on AC-5 [40], and incremental implementation of the combinators. Results on numerous problems, including scheduling, resource allocation, sequencing, packing, and hamiltonian paths are reported and indicate that cc(FD) comes close to procedural languages on a number of combinatorial problems. In addition, a small cc(FD) program was able to find the optimal solution and prove optimality to a famous 10/10 disjunctive scheduling problem [29], which was left open for more than 20 years and finally solved in 1986. (C) 1998 Elsevier Science Inc. All rights reserved.
引用
收藏
页码:139 / 164
页数:26
相关论文
共 45 条
[1]  
AGGOUN A, 1992, EXTENDING CHIP SOLVE
[2]  
[Anonymous], 1988, DISCRETE OPTIMIZATIO
[3]  
[Anonymous], 1990, COMMUN ACM
[4]  
Applegate D., 1991, ORSA Journal on Computing, V3, P149, DOI 10.1287/ijoc.3.2.149
[5]  
BARTUSCH M, 1983, THESIS U PASSAU GERM
[6]   EMBEDDING BOOLEAN EXPRESSIONS INTO LOGIC PROGRAMMING [J].
BUTTNER, W ;
SIMONIS, H .
JOURNAL OF SYMBOLIC COMPUTATION, 1987, 4 (02) :191-205
[7]  
CARLIER J, 1978, RAIRO-RECH OPER, V12, P333
[8]  
CARLIER J, 1986, 02942755 ISSN
[9]  
CARLSSON M, 1987, P 4 INT C LOG PROGR, P40
[10]  
CHINNECK JW, 1990, SCE9005 CARL U