arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

Philippe Codognet

56 papers · 1987–2025

1987: 11988: 01989: 01990: 11991: 01992: 11993: 21994: 21995: 11996: 01997: 01998: 11999: 32000: 12001: 22002: 42003: 22004: 02005: 02006: 12007: 42008: 22009: 22010: 22011: 42012: 42013: 32014: 32015: 02016: 02017: 02018: 02019: 02020: 02021: 12022: 22023: 22024: 42025: 1
1987peak 4 in 20022025

Frequent co-authors

Papers

showing 1–25 of 56 RSS

wamcc: Compiling Prolog to C

Philippe Codognet, Daniel Díaz

Computer Networks and Communications · The MIT Press eBooks · · cited 53× · DOI ↗ · more like this ·

We present the wamcc system, a Prolog compiler that translates Prolog to C via the WAM. This approach has some interesting consequences: simplicity, efficiency, portability, extensibility and modularity. Indeed the system does not incorporate complex optimizations but is as efficient as Quintus Prolog 2.5 (based on an emulator written in assembly language) and only 30 % slower than Sicstus Prolog (compiling to native code). It is instantly portable to any machine with a C compiler and easily expandable with various extensions, such as constraints, as shown by the clp(FD) system which is based on wamcc. It also incorporates a simple but efficient handling of modularity thanks to the use of C modularity.

The GNU Prolog system and its implementation

Daniel Díaz, Philippe Codognet

Artificial Intelligence · HAL (Le Centre pour la Communication Scientifique Directe) · · cited 51× · DOI ↗ · more like this ·

We describe in this paper the GNU-Prolog system, a free system consisting of a Prolog compiler and a constraint solver on finite domains. GNU-Prolog is based on a low-level mini-assembly platform-independent language that makes it possible for efficient compilation time, and allows to produce small stand alone executable files as the result of the compilation process. Interestingly, the Prolog part is compliant to the ISO standard, and the constraint part includes several extensions, such as an efficient handling of reified constraints. The overall system is efficient and comparable in performances with commercial systems, both for the Prolog and constraint parts.

Abstracting soft constraints: Framework, properties, examples

Stefano Bistarelli, Philippe Codognet, Francesca Rossi

Computer Networks and Communications · Artificial Intelligence · · cited 45× · DOI ↗ · more like this ·

Soft constraints are very flexible and expressive. However, they are also very complex to handle. For this reason, it may be reasonable in several cases to pass to an abstract version of a given soft constraint problem, and then to bring some useful information from the abstract problem to the concrete one. This will hopefully make the search for a solution, or for an optimal solution, of the concrete problem, faster. In this paper we propose an abstraction scheme for soft constraint problems and we study its main properties. We show that processing the abstracted version of a soft constraint problem can help us in finding good approximations of the optimal solutions, or also in obtaining information that can make the subsequent search for the best solution easier. We also show how the abstraction scheme can be used to devise new hybrid algorithms for solving soft constraint problems…

Computations, abstractions and constraints in logic programs

Philippe Codognet, G. Filé

Artificial Intelligence · Padua Research Archive (University of Padova) · · cited 36× · DOI ↗ · more like this ·

A general framework, the computation system, that encompasses both the execution of constraint logic programs and their static analyses based on the abstract interpretation paradigm is presented. The notion of approximation (or abstraction) between two computation systems C and C' is defined. For a concrete program P of a computation system C, a corresponding abstract program P' of C' is defined such that the execution of P' in C' performs the abstract interpretation of P. In order to address the problem of making the computations finite, a general tabulation mechanism for any computation system that can be used to factorize the computation work and to prevent infinite computations is proposed. The equivalence of the normal and tabled computations is proved provided that the computation system's domain enjoys some adequate properties. The approach is illustrated by groundness analysis…

On the implementation of<tt>GNU Prolog</tt>

Daniel Díaz, Salvador Abreu, Philippe Codognet

Artificial Intelligence · Theory and Practice of Logic Programming · · cited 30× · DOI ↗ · more like this ·

Abstract GNU Prolog is a general-purpose implementation of the Prolog language, which distinguishes itself from most other systems by being, above all else, a native-code compiler which produces stand-alone executables which do not rely on any bytecode emulator or meta-interpreter. Other aspects which stand out include the explicit organization of the Prolog system as a multipass compiler, where intermediate representations are materialized, in Unix compiler tradition. GNU Prolog also includes an extensible and high-performance finite-domain constraint solver, integrated with the Prolog language but implemented using independent lower-level mechanisms. This paper discusses the main issues involved in designing and implementing GNU Prolog : requirements, system organization, performance, and portability issues as well as its position with respect to other Prolog system implementations…

A GPU Implementation of Parallel Constraint-Based Local Search

Alejandro Arbeláez, Philippe Codognet

Computer Networks and Communications · HAL (Le Centre pour la Communication Scientifique Directe) · · cited 27× · DOI ↗ · more like this ·

In this paper we study the performance of constraint-based local search solvers on a GPU. The massively parallel architecture of the GPU makes it possible to explore parallelism at two different levels inside the local search algorithm. First, by executing multiple copies of the algorithm in a multi-walk manner and, second, by evaluating large neighborhoods in parallel in a single-walk manner. Experiments on three well-known problem benchmarks indicate that the current GPU implementation is up to 17 times faster than a well-tuned sequential algorithm implemented on a desktop computer.

An Incremental Hierarchical Constraint Solver.

Francisco Menezes, Pedro Barahona, Philippe Codognet

Computer Networks and Communications · · cited 23× · OpenAlex ↗ · more like this ·

This paper presents an incremental method to solve hierarchies of constraints over finite domains, which borrows techniques developed in intelligent backtracking, and finds locally-predicate-better solutions. A prototype implementation of this method, IHCS, was written in C and can be integrated with different programming environments. In particular, with Prolog producing an instance of an HCLP language. Possible applications of IHCS are briefly illustrated with a time-tabling and a set covering problem. Because of its portability and incremental nature, IHCS is well suited for reactive systems, allowing the interactive introduction and removal of preferred constraints.

Prediction of Parallel Speed-ups for Las Vegas Algorithms

Charlotte Truchet, Florian Richoux, Philippe Codognet

cs.DC · · cited 22× · arXiv ↗ · more like this ·

We propose a probabilistic model for the parallel execution of Las Vegas algorithms, i.e., randomized algorithms whose runtime might vary from one execution to another, even with the same input. This model aims at predicting the parallel performances (i.e., speedups) by analysis the runtime distribution of the sequential runs of the algorithm. Then, we study in practice the case of a particular Las Vegas algorithm for combinatorial optimization, on three classical problems, and compare with an actual parallel implementation up to 256 cores. We show that the prediction can be quite accurate, matching the actual speedups very well up to 100 parallel cores and then with a deviation of about 20% up to 256 cores.

Design and Implementation of the GNU Prolog System

Daniel Díaz, Philippe Codognet

Artificial Intelligence · HAL (Le Centre pour la Communication Scientifique Directe) · · cited 22× · OpenAlex ↗ · more like this ·

In this paper we describe the design and the implementation of the GNU Pro-log system. This system draws on our previous experience of compiling Prolog to C in the wamcc system and of compiling finite domain constraints in the clp(FD) system. The compilation scheme has however been redesigned in or-der to overcome the drawbacks of compiling to C. In particular, GNU-Prolog is based on a low-level mini-assembly platform-independent language that makes it possible to avoid compiling C code, and thus drastically reduces compilation time. It also makes it possible to produce small stand-alone executable files as the result of the compilation process. Interestingly, GNU Prolog is now com-pliant to the ISO standard, includes several extensions (OS interface, sockets, global variables, etc) and integrates a powerful constraint solver over finite domains. The system is efficient and in terms of…

Boolean Constraint Solving Using clp(FD)

Philippe Codognet, Daniel Díaz, Le Chesnay Cedex

Computer Networks and Communications · HAL (Le Centre pour la Communication Scientifique Directe) · · cited 21× · OpenAlex ↗ · more like this ·

We present a boolean constraint logic language clp(B/FD) built upon a language over finite domains clp(FD) which uses a local propagation constraint solver. It is based on a single primitive constraint which allows the boolean solver to be encoded at a low-level. The boolean solver obtained in this way is both very simple and very efficient: on average it is eight times faster than the CHIP propagation-based boolean solver, i.e. nearly an order of magnitude faster, and infinitely better than the CHIP boolean unification solver. It also performs on average several times faster than special-purpose stand-alone boolean solvers.

Targeting the Cell Broadband Engine for constraint‐based local search

Daniel Díaz, Salvador Abreu, Philippe Codognet

Computer Networks and Communications · Concurrency and Computation Practice and Experience · · cited 19× · DOI ↗ · more like this ·

SUMMARY We investigated the use of the Cell Broadband Engine (Cell/BE) for constraint‐based local search and combinatorial optimization applications. We presented a parallel version of a constraint‐based local search algorithm that was chosen because it fits very well the Cell/BE architecture because it requires neither shared memory nor communication among processors. The performance study on several large optimization benchmarks shows mostly linear time speedups, sometimes even super linear. These experiments were carried out on a dual‐Cell IBM (Armonk, NY, USA) blade with 16 processors. Besides getting speedups, the execution times exhibit a much smaller variance that benefits applications where a timely reply is critical. Copyright © 2011 John Wiley &amp; Sons, Ltd.

Domain-Wall / Unary Encoding in QUBO for Permutation Problems

Philippe Codognet

Artificial Intelligence · 2022 IEEE International Conference on Quantum Computing and Engineering (QCE) · · cited 15× · DOI ↗ · more like this ·

QUBO is the input language of quantum computers based on quantum annealing such as the D-Wave systems and of the "quantum-inspired" dedicated hardware such as Fujitsu’s Digital Annealing Unit. We propose a new way to represent integer variables in QUBO together with constraints on those variables by using unary/domain-wall encoding in order to solve constrained optimization problem by quantum annealing. We detail in particular how to encode permutation constraints on integers within the unary/domain-wall encoding scheme, as these constraints are omnipresent in complex combinatorial problems. This new encoding in QUBO is interesting in the context of quantum annealing because it minimizes interactions between variables, and therefore connections needed between qubits in hardware. When compared to the usual one-hot encoding of integers in QUBO, we show than the new encoding scheme divides…

Performance analysis of parallel constraint-based local search

Yves Caniou, Daniel Díaz, Florian Richoux +2 more

Computer Networks and Communications · HAL (Le Centre pour la Communication Scientifique Directe) · · cited 14× · DOI ↗ · more like this ·

We present a parallel implementation of a constraint-based local search algorithm and investigate its performance results for hard combinatorial optimization problems on two different platforms up to several hundreds of cores. On a variety of classical CSPs benchmarks, speedups are very good for a few tens of cores, and good up to a hundred cores. More challenging problems derived from reallife applications (Costas array) shows even better speedups, nearly optimal up to 256 cores.

Parallel Local Search for the Costas Array Problem

Daniel Díaz, Florian Richoux, Yves Caniou +2 more

Computer Networks and Communications · HAL (Le Centre pour la Communication Scientifique Directe) · · cited 13× · DOI ↗ · more like this ·

The Costas Array Problem is a highly combinatorial problem linked to radar applications. We present in this paper its detailed modeling and solving by Adaptive Search, a constraint-based local search method. Experiments have been done on both sequential and parallel hardware up to several hundreds of cores. Performance evaluation of the sequential version shows results outperforming previous implementations, while the parallel version shows nearly linear speedups up to 8,192 cores.

Comparing QUBO models for quantum annealing: integer encodings for permutation problems

Philippe Codognet

Artificial Intelligence · International Transactions in Operational Research · · cited 11× · DOI ↗ · more like this ·

Abstract QUBO (quadratic unconstrained binary optimization) has become the modeling language for quantum annealing and quantum‐inspired annealing solvers. We present different approaches in QUBO for the magic square problem and the quadratic assignment problem (QAP), which can be modeled by linear equations and a permutation constraint over integer variables. Different ways of encoding integers by Booleans in QUBO amount to models, the implementation of which could have very different performance. Experiments performed on the Fixstars Amplify Annealer Engine, a quantum‐inspired annealing solver, show that, compared to the classical one‐hot encoding, using unary encoding for integers performs slightly better for the QAP and much better for magic square.

Quantum and Digital Annealing for the Quadratic Assignment Problem

Philippe Codognet, Daniel Díaz, Salvador Abreu

Hardware and Architecture · HAL (Le Centre pour la Communication Scientifique Directe) · · cited 11× · DOI ↗ · more like this ·

The Quadratic Assignment Problem is a a classical constrained optimization problem used to model many real-life applications. We present experiments in solving the Quadratic Assignment Problem by means of Quantum Annealing and Quantum-inspired Annealing. We describe how to model this classical combinatorial problem in terms of QUBO (Quadratic Unconstrained Binary optimization) for implementing it on hardware solvers based on quantum or quantum-inspired annealing (D-Wave, Fujitsu Digital Annealing Unit and Fixstars Amplify Annealing Engine). We present performance result for these implementations and compare them with well established metaheuristic solvers on classical hardware, such as Robust Tabu Search and External Optimization.

Massively Parallel Local Search for SAT

Alejandro Arbeláez, Philippe Codognet

Computer Networks and Communications · HAL (Le Centre pour la Communication Scientifique Directe) · · cited 10× · DOI ↗ · more like this ·

Parallel portfolio-based algorithms have become a standard methodology for both complete and incomplete solvers for SAT solving. In this methodology several algorithms explore the search space in parallel, either independently or cooperatively with some communication between the solvers. Unlike previous work where parallel algorithms are limited to few cores (usually up to 16 cores), this work studies the performance of parallel local search for SAT with a large degree of parallelism, up to 256 cores, and compares various cooperation strategies. The strategy with the best performance consists in considering small groups of solvers (e.g. 4 or 8) sharing information and performing no inter-group communication.

Communication in Parallel Algorithms for Constraint-Based Local Search

Yves Caniou, Philippe Codognet

Computer Networks and Communications · HAL (Le Centre pour la Communication Scientifique Directe) · · cited 10× · DOI ↗ · more like this ·

We address the issue of parallelizing constraint solvers based on local search methods for massively parallel architectures, involving several thousands of CPUs. We present a family of a constraint-based local search algorithms and investigate their performance results on hardwares with several hundreds of processors. The first method is a basic independent multiple-walk algorithm: each processor runs a local search starting from a distinct initial configuration and the first one which will reach a solution will notify the others and stop all computations. These simple methods have good performances, and good speedups can be achieved up to a few hundreds of processors. Then we consider 2 versions with communication between processors: 1) every c iterations, each processor sends the current value (cost) of its configuration to others and a processor who received a better cost from…

Using Sequential Runtime Distributions for the Parallel Speedup Prediction of SAT Local Search

Alejandro Arbelaez, Charlotte Truchet, Philippe Codognet

cs.DC · · cited 9× · arXiv ↗ · more like this ·

This paper presents a detailed analysis of the scalability and parallelization of local search algorithms for the Satisfiability problem. We propose a framework to estimate the parallel performance of a given algorithm by analyzing the runtime behavior of its sequential version. Indeed, by approximating the runtime distribution of the sequential process with statistical methods, the runtime behavior of the parallel process can be predicted by a model based on order statistics. We apply this approach to study the parallel performance of two SAT local search solvers, namely Sparrow and CCASAT, and compare the predicted performances to the results of an actual experimentation on parallel hardware up to 384 cores. We show that the model is accurate and predicts performance close to the empirical data. Moreover, as we study different types of instances (random and crafted), we observe that…

Encoding the At-Most-One Constraint for QUBO and Quantum Annealing: Experiments with the N-Queens problem

Philippe Codognet

Artificial Intelligence · HAL (Le Centre pour la Communication Scientifique Directe) · · cited 9× · DOI ↗ · more like this ·

We present experiments in solving constrained optimization and constraint satisfaction problems by means of Quantum Annealing in terms of QUBO (Quadratic Unconstrained Binary Optimization). We investigate different QUBO formulations for the encoding of integers into Booleans and for the encoding of the At-Most-One constraint, which is used in combinatorial problems requiring capacity constraints. We compare four different QUBO models and report experiments done on the D-Wave annealing computer and the "quantum-inspired" Fixstars Amplify Annealing Engine. For this, we consider a simple example taken from the domain of Constraint Satisfaction Problems (CSP), the N-queens problem, as its formulation involves multiple instances of the At-Most-One constraints.

Constraint Solving by Quantum Annealing

Philippe Codognet

Artificial Intelligence · · cited 8× · DOI ↗ · more like this ·

We present experiments in solving combinatorial optimization and constraint satisfaction problems by means of Quantum Annealing. We describe how to model classic constraint problems such as N-queens and Magic Square as well as hard combinatorial problems such as the Costas Array Problem or the Quadratic Assignment Problem in terms of QUBO (Quadratic Unconstrained Binary Optimization). QUBO is the input language of quantum computers based on quantum annealing such as the D-Wave systems and of the ”quantum-inspired” but classical devices such as Fujitsu’s Digital Annealing Unit or Hitachi’s CMOS Annealing Machine. We present preliminary results for solving these combinatorial optimization and constraint satisfaction problems by implementation on the D-Wave quantum computer.

Parallel local search for solving Constraint Problems on the Cell Broadband Engine (Preliminary Results)

Salvator Abreu, Daniel Diaz, Philippe Codognet

cs.AI · · cited 6× · arXiv ↗ · more like this ·

We explore the use of the Cell Broadband Engine (Cell/BE for short) for combinatorial optimization applications: we present a parallel version of a constraint-based local search algorithm that has been implemented on a multiprocessor BladeCenter machine with twin Cell/BE processors (total of 16 SPUs per blade). This algorithm was chosen because it fits very well the Cell/BE architecture and requires neither shared memory nor communication between processors, while retaining a compact memory footprint. We study the performance on several large optimization benchmarks and show that this achieves mostly linear time speedups, even sometimes super-linear. This is possible because the parallel implementation might explore simultaneously different parts of the search space and therefore converge faster towards the best sub-space and thus towards a solution. Besides getting speedups, the…

Agent-Based Speculative Constraint Processing

Hiroshi Hosobe, Kazuhiro Satoh, Philippe Codognet

Artificial Intelligence · IEICE Transactions on Information and Systems · · cited 6× · DOI ↗ · more like this ·

In this paper, we extend our framework of speculative computation in multi-agent systems by introducing default constraints. In research on multi-agent systems, handling incomplete information due to communication failure or due to other agents' delay in communication is a very important issue. For a solution to this problem, we previously proposed speculative computation based on abduction in the context of master-slave multi-agent systems and gave a procedure in abductive logic programming. In our previous proposal, a master agent prepares a default value for a yes/no question in advance, and it performs speculative computation using the default without waiting for a reply to the question. This computation is effective unless the contradictory reply to the default is returned. In this paper, we formalize speculative constraint processing, and propose a correct operational model for…

Solving Finite Domain Constraint Hierarchies by Local Consistency and Tree Search

Stefano Bistarelli, Philippe Codognet, Kin‐Chuen Hui +1 more

Computer Networks and Communications · Lecture notes in computer science · · cited 5× · DOI ↗ · more like this ·

We provide a reformulation of the constraint hierarchies (CHs) framework based on the notion of error indicators. Adapting the generalized view of local consistency in semiring-based constraint satisfaction problems (SCSPs), we define constraint hierarchy k -consistency (CH-k-C) and give a CH-2-C enforcement algorithm. We demonstrate how the CH-2-C algorithm can be seamlessly integrated into the ordinary branch-and-bound algorithm to make it a finite domain CH solver. Experimentation confirms the efficiency and robustness of our proposed solver prototype. Unlike other finite domain CH solvers, our proposed method works for both local and global comparators. In addition, our solver can support arbitrary error functions.

A Constraint Programming System for Music Composition, Preliminary Results

Charlotte Truchet, Carlos Agón, Philippe Codognet

Computer Networks and Communications · HAL (Le Centre pour la Communication Scientifique Directe) · · cited 5× · OpenAlex ↗ · more like this ·

We propose an environment for musical constraint solving, adapted to contemporary composition, in the visual programming language OpenMusic. The composer start with a predefined score and set constraint between some objects in a visual way. These constraints are translated in a specific syntax in order to be solved using an algorithm of adaptive research. Adaptive search refines the concept of cost function by taking the weight of each variable into account. We show that this algorithm is well adapted to musical problems. The first experimental results on real musical problems are satisfying, in terms of implementation and computation time.