• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

A.10 library(clpqr): Constraint Logic Programming over Rationals and Reals
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(clpqr): Constraint Logic Programming over Rationals and Reals
          • Solver predicates
          • Syntax of the predicate arguments
          • Use of unification
          • Non-linear constraints
          • Status and known problems
    • Packages

A.10.5 Status and known problems

The clpq and clpr libraries are‘orphaned’, i.e., they currently have no maintainer.

  • Top-level output
    The top-level output may contain variables not present in the original query:
    ?- {X+Y>=1}.
    {Y=1-X+_G2160, _G2160>=0}.
    
    ?-

    Nonetheless, for linear constraints this kind of answer means unconditional satisfiability.

  • Dumping constraints
    The first argument of dump/3 has to be a list of free variables at call-time:
    ?- {X=1},dump([X],[Y],L).
    ERROR: Unhandled exception: Unknown message:
           instantiation_error(dump([1],[_G11],_G6),1)
    ?-

ClioPatria (version V3.1.1-51-ga0b30a5)