Linear Equation Solving for Constraint Logic Programming
نویسندگان
چکیده
Linear constraint solving in constraint logic programming requires in cremental checks of the satis ability of a system of equations and inequali ties Experience has shown that Gauss Jordan elimination and the simplex method are e cient enough to be of practical value in the implementation of CLP languages based on linear arithmetic constraints However these algorithms must be modi ed to accommodate the special demands of CLP execution First they must be applied incrementally Sec ondly they must co exist with backtracking An added consideration is that constraints containing new variables be brought into the constraint set e ciently Finally the recognition of any variable for which a unique value has been determined may be necessary for programs with non linear constraints In light of the special nature of the CLP constraint solving problem it is dif cult to make a clear theoretical argument in favor of one constraint solver over another Empirical comparisons are in order so that the nature of the typical CLP program can be taken into account The purpose of this paper is to describe and empirically compare a number of direct linear arithmetic constraint solvers for CLP focusing on programs which contain only equa tions or inequalities which immediately become ground
منابع مشابه
Clp(cf) Constraint Logic Programming over Complex Functions ?
A constraint logic programming system for the domain of complex functions is described. The intended users of the language are scientist and engineers who often reason/compute with constraints over complex functions, such as functional equalities, diierential equations, etc. Constraints are solved by iterating several solving methods such as Laplace transformation, non-linear equation solving, ...
متن کاملRISC-CLP(CF) Constraint Logic Programming over Complex Functions
A constraint logic programming system for the domain of complex functions is described. The intended users of the language are scientist and engineers who often reason/compute with constraints over complex functions, such as functional equalities, diierential equations, etc. Constraints are solved by iterating several solving methods such as Laplace transformation, non-linear equation solving, ...
متن کاملAnalysis and Compilation of Constraint Solving Algorithms: A Case Study
Constraint Logic Programming is based on the observations that the algorithm of uniica-tion used in Logic Programming is a constraint solving algorithm and that various constraint solving algorithms can work together in a single and powerful framework. Implementations of these algorithms could beneet from the experience gained in implementations of uniication in standard Prolog where global ana...
متن کاملEfficient Interval Linear Equality Solving in Constraint Logic Programming
Existing interval constraint logic programming languages, such as BNR Prolog, work under the framework of interval narrowing and are deficient in solving systems of linear constraints over real numbers, which constitute an important class of problems in engineering and other applications. In this paper, we suggest to separate linear equality constraint solving from inequality and non-linear con...
متن کاملSolving A Fractional Program with Second Order Cone Constraint
We consider a fractional program with both linear and quadratic equation in numerator and denominator having second order cone (SOC) constraints. With a suitable change of variable, we transform the problem into a second order cone programming (SOCP) problem. For the quadratic fractional case, using a relaxation, the problem is reduced to a semi-definite optimization (SDO) program. The p...
متن کامل