ECLiPSe

Constraint logic programming system


title: "ECLiPSe" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["constraint-logic-programming", "free-and-open-source-compilers", "logic-programming-languages", "prolog-programming-language-family", "dynamically-typed-programming-languages", "high-level-programming-languages", "free-software-programmed-in-c", "free-software-programmed-in-prolog", "software-using-the-mozilla-public-license", "cross-platform-free-software"] description: "Constraint logic programming system" topic_path: "technology/programming-languages" source: "https://en.wikipedia.org/wiki/ECLiPSe" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary Constraint logic programming system ::

::data[format=table title="Infobox software"]

FieldValue
nameECLiPSe Constraint Logic Programming System
developerEuropean Computer‐Industry Research Centre (ECRC), Munich
Centre for Planning and Resource Control, Imperial College London (IC-Parc)
Cisco Systems
released
latest release version7.0
latest release date
latest preview date
programming languageC, Prolog
operating systemCross-platform
languageEnglish
genreConstraint logic programming
licenseMozilla Public (MPL)
website
repo
::

| name = ECLiPSe Constraint Logic Programming System | logo = | screenshot = | caption = | author = | developer = European Computer‐Industry Research Centre (ECRC), Munich Centre for Planning and Resource Control, Imperial College London (IC-Parc) Cisco Systems | released = | latest release version = 7.0 | latest release date = | latest preview version = | latest preview date = | programming language = C, Prolog | operating system = Cross-platform | platform = | size = | language = English | genre = Constraint logic programming | license = Mozilla Public (MPL) | website = | repo =

ECLiPSe is a software system for the development and deployment of constraint logic programming applications, e.g., in the areas of optimization, planning, scheduling, resource allocation, timetabling, transport, etc. It is also suited for teaching most aspects of combinatorial problem solving, e.g., problem modeling, constraint programming, mathematical programming, and search techniques. It contains constraint solver libraries, a high-level modeling and control language (a superset of Prolog), interfaces to third-party solvers, an integrated development environment and interfaces for embedding into host environments.

ECLiPSe was developed until 1995 at the European Computer‐Industry Research Centre (ECRC) in Munich, and then until 2005 at the Centre for Planning and Resource Control at Imperial College London (IC-Parc). It was purchased by Cisco Systems. In September 2006, it was released as open source software under an equivalent of the Mozilla Public License, and is now hosted on SourceForge

Language

The ECLiPSe language is largely backward-compatible with Prolog and supports different dialects, including ISO Prolog. Due to being declarative, it can be used both as a modelling language to describe problems, and as a general purpose programming language.

Beyond the basic Prolog data types, the following are available: strings, unlimited precision integer and rational numbers, and floating point intervals. Array syntax and structures with field names are also supported and especially useful in constraint modelling.

A logical iteration construct eliminates the need for most simple recursion patterns.

ECLiPSe provides comprehensive facilities to implement data-driven control behaviour. These include declarative delay-clauses as well as primitives for meta-programmed control like explicit goal suspension, flexible triggering facilities and execution priorities. Together with the attributed variable data type, this is the key to many extensions to the basic logic programming language, including all constraint-based functionality. The system calls user-definable event handlers when it encounters attributed variables in certain contexts, e.g. unification.

The module system controls the visibility of predicates, non-logical stores, source transformations and syntax settings. Module interfaces can be extended and restricted, and modules written in different language dialects can be mixed within one application.

Programs may contain structured comments from which reference documentation can be generated.

Libraries

ECLiPSe provides several libraries of constraint solvers which can be used in application programs:

Arithmetic constraints over finite domains, finite set constraints, generalized propagation, interval reasoning over non-linear constraints, interfaces to external simplex solvers, constraint handling rules (CHR) and more.

Other libraries implement search methods like branch-and-bound, repair-based search, limited discrepancy search.

ECLiPSe interfaces to external solvers, in particular the COIN-OR, CPLEX, Gurobi, and Xpress-MP linear and mixed-integer programming solvers, and the Gecode solver library.

Compatibility libraries for ISO Prolog and other Prolog dialects (C-Prolog, Quintus, SICStus, SWI-Prolog) enable the reuse of libraries written in those dialects.

Other utility libraries, including a number of popular public domain ones, are included in the distribution.

System architecture

The system includes an incremental compiler which translates source code into virtual machine code. The compiler optimizes index selection, unification order, inlining of control constructs and can take mode information into account.

The runtime system implements the virtual machine, automatic memory management with garbage collection of stacks and dictionary, event handling and data-driven execution. Versions of ECLiPSe implement OR-parallelism.

ECLiPSe components can be integrated into software via a low-level C or C++ interface, or via high-level interfaces to Java and Tcl.

References

References

  1. "ECLiPSe Web Site".
  2. (2012). "ECLiPSe - from LP to CLP". Theory and Practice of Logic Programming.
  3. Schimpf, Joachim. (1 August 2002). "Logical Loops". Springer-Verlag.
  4. (2005). "Principles and Practice of Constraint Programming - CP 2005". Springer.
  5. "ECLiPSe ISO conformity declaration".

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

constraint-logic-programmingfree-and-open-source-compilerslogic-programming-languagesprolog-programming-language-familydynamically-typed-programming-languageshigh-level-programming-languagesfree-software-programmed-in-cfree-software-programmed-in-prologsoftware-using-the-mozilla-public-licensecross-platform-free-software