ACM Home Page
Please provide us with feedback. Feedback
The CLP( R ) language and system
Full text PdfPdf (3.73 MB)
Source ACM Transactions on Programming Languages and Systems (TOPLAS) archive
Volume 14 ,  Issue 3  (July 1992) table of contents
Pages: 339 - 395  
Year of Publication: 1992
ISSN:0164-0925
Authors
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 10,   Downloads (12 Months): 92,   Citation Count: 67
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/129393.129398
What is a DOI?

ABSTRACT

The CLP R programming language is defined, its underlying philosophy and programming methodology are discussed, important implementation issues are explored in detail, and finally, a prototype interpreter is described. CLP R is designed to be an instance of the Constraint Logic Programming Scheme, a family of rule-based constraint programming languages defined by Jaffar and Lassez. The domain of computation R of this particular instance is the algebraic structure consisting of uninterpreted functors over real numbers. An important property of CLP R is that the constraints are treated uniformly in the sense that they are used to specify the input parameters to a program, they are the only primitives used in the execution of a program, and they are used to describe the output of a program. Implementation of a CLP language, and of CLP R in particular, raises new problems in the design of a constraint-solver. For example, the constraint solver must be incremental in the sense that solving additional constraints must not entail the resolving of old constraints. In our system, constraints are filtered through an inference engine, an engine/solver interface, an equation solver and an inequality solver. This sequence of modules reflects a classification and prioritization of the classes of constraints. Modules solving higher priority constraints are isolated from the complexities of modules solving lower priority constraints. This multiple-phase solving of constraints, together with a set of associated algorithms, gives rise to a practical system.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
BLAND, R.G. New finite pivoting rules for the simplex method. Math. Oper. Res. 2 (1977), 103-107.
2
 
3
COLLINS, G. E. Quantifier elimination for real closed fields: A guide to the literature. In Computer Algebra: Symbolic and Algebraic Computation. Computing Supplement No 4, Buchberger, B., Loos, R. and Collins, G. E. Eds., SpringerWerlag, New York, 1982, 79-81.
 
4
COLMERAUER, A. PROLOG II refercnce manua} and theoretlcal model. Intcrnal Rep. Groupe Intelligence Artificielle, Universit~ Aix--Marseille II, Oct. 1982.
5
6
 
7
DE KLEER, J., AND SUSSMAX, G.J. Propagation of constramts applied to circuit synthesis. Circuit Theory Appl. 8 (1980), 127-144.
 
8
DINCBAS, M., VAN HENTENRYCK, P., SIMONIS, H., AND AGGOUN, A. The constraint logic programming language CHIP. In Proceedings of the 2nd Internatwnal Conference on Fifih Generatwrz Computer Systems (Tokyo, Nov. 1988), pp. 249-264.
 
9
DUFFIN, R.J. On Fourier's analysis of linear inequality systems. Math. Program. Stud. 1 (1974), 71-95.
 
10
 
11
HANSEN, B. S. AND HANSEN, M.R. Simple symbolic and numeric computations based on equations and inequa}ities, Computer Science Res. Rep., IBM Res. Lab., San Jose, Calif., June 1985.
 
12
HARLAND, J. A., AND MICHAYLOV, S. Implementing an ODE solver: A CLP approach, Tech. Rep. 87/92, Dept. of Computer Science, Monash Univ., June 1987.
 
13
HEINTZlS, N. C., JAFFAI% J., L;rM, C. S., MICI4AYLOV, 8., 8TUCKEY, P. J.. YAP, R., AND YEE, C.N. The CLP(:2) Programmers Manual--Version 1, Tech. Rep. 59, Dept of Computer Science, Monash Univ., June 1986.
 
14
HEINTZE, N. C , MICttAYLOV, S., AND STUCKEY, P.J. CLP(~'~) and some electrical engineering problems. In Proceedmgs 4th Internatmnal Conference of Logic Programmmg, (Melbourne, June 1987), MIT Press, pp. 675 703. To appear m J Aurore. Reasonmg.
 
15
HEISSE~MAN, J. A Generative geometric design and boundary solid gTammars, Tech. Rep. EDRC-48-21-90, Engineering and Design Research Center, Carnegie Mellon Univ, Aug 1990.
 
16
HUYNH, T, AND LASSEZ, J.-L Practical issues on the projection of polyhedral sets, IBM Res. Rep. RC 15872-70560, June 1990.
17
 
18
JAFFAR, J., AND MICHAYLOV, S. Methodology and lmplementation of a CLP system, Tech. Rep 86/75, Dept of Computer Science, Monash Univ., Nov. 1986. Also in Proceedings 4th Internatwnal Conference on Logic Programming, (MeIbourne, June 1987), MIT Press, pp. 196-218.
 
19
KARWAN, M H., LOFTI, V., TELGEN, J., AND ZIONTS, S, Redundancy in mathematical programming: A state-of-the-art survey. Springer-Verlag Lecture Notes in Economics and Mathematical Systems 206, 1983.
 
20
KOHLER, D.A. Projections of polyhedral sets. Ph.D. Thesis, Tech. Rep. ORC-67-29, Opera~ tions Research Center, Unir. of California at Berkeley, Aug 1967
 
21
KONOPASEK, M., AND JAYARAMAN, S Constraint and declarative languages for engineering applications: The TK!Solver contribution. Proc. IEEE. 73, 12 (Dec. 1985), 1791- 1806.
 
22
LASSEZ, J.-L , HUYNH, T, AND McALOON, K. Simplification and elimination of redundant linear arithmetic constraints. In Proceedings of the Fzrst North Amemcan Conference on Logic Programming, (Cleveland, Oh., Oct. 1989), MIT Press, pp. 35-51
 
23
LASSEZ, J.-L, AND McALooN, K Generalized canonical forms for linear constraints and applications In Proceedmgs, Internatwnal Conference on Fifth Generation Computer Systems (Tokyo, Nov. 1988), pp. 703-710.
 
24
LASSEZ, C., McALooN, K., AND YAP, R. Constraint logic progTamming and options trading. IEEE Expert 2, 3 Special Issue on Financial Software (Aug. 1987), 41-50.
 
25
MATHLAB GRouP. Macsyma Reference Manual, MIT, 1977.
 
26
MUKAI, K A system oflogic programming for linguistic analysis. ICOT Tech Rep. TR-540, 1990.
 
27
NAm~, L. The MU-PROLOG 3.2db reference manual Tech. Rep, Dept. of Computer Science, Univ. of Melbourne, 1985.
 
28
 
29
30
 
31
 
32
SICStus PROLOG Users ManuaL Swedish Institute of Computer Scmnce, 1989.
 
33
STALLMAN, R. M , AND SUSSMAN, G.J. Forward reasoning and dependency directed backtracking in a system for computer-aided circuit analysis. Art~f. Intell. 9, 2 (Oct. 1977), 135-196.
34
 
35
 
36
STERLING, L. AND SHAPmO, E. Y. The Art of PROLOG. MIT Press Series in Logic Programming, 1986.
 
37
SUSSMAN, G J., AND STALLMAN, R. M Heurmtic techniques in computer-aided circuit analysis. IEEE Trans. C~rcu~ts Syst. CAS-22, 11 (Nov 1975), 857-865.
 
38
STUCKE~, P.J. Incremental linear arithmetic constraint solving and detection of implicit equalities. ORSA J. Comput., 3, 4 (1991), 269-274.
 
39
THOM, J. A. AND ZOBEL, J., EDS. NU-PROLOG Reference Manual- Version 1.3. Tech. Rep. 86/10, Dept. of Computer Science, Univ. of Melbourne, 1986. Revised in 1988.
 
40
TOmAS II, J. C. Knowledge representation in the harmony intelligent tutoring system. Master's thesis, Dept. of Computer Science, Univ. of California at Los Angeles, 1988.
 
41
WALINSKY, C. CLP(~*): Constraint logic programming with regular sets. In Proceedings 6th International Conference on Logic Programming (Lisbon, June 1989), MIT Press, pp. 181-196.
 
42
YAP, R. H. C. Restriction site mapping in CLP(/2). In Proceedmgs 8th International Conference in Logic Programming (Paris, June 1991), MIT Press, pp. 521-534.
 
43
ZIMA, H. P. A constraint language and its interpreter. Computer Science Res. Rep., IBM Research Laboratory, San Jose, Calif. June 1985.

CITED BY  67

Collaborative Colleagues:
Joxan Jaffar: colleagues
Spiro Michaylov: colleagues
Peter J. Stuckey: colleagues
Roland H. C. Yap: colleagues