Hostname: page-component-89b8bd64d-mmrw7 Total loading time: 0 Render date: 2026-05-07T19:11:18.912Z Has data issue: false hasContentIssue false

Logic programming with satisfiability

Published online by Cambridge University Press:  01 January 2008

MICHAEL CODISH
Affiliation:
Department of Computer Science, Ben-Gurion University, Be'er sheva, Israel (email: mcodish@cs.bgu.ac.il)
VITALY LAGOON
Affiliation:
Department of Computer Science & Software Engineering, University of Melbourne, Melbourne, Australia (email: vitaly.lagoon@gmail.com)
PETER J. STUCKEY
Affiliation:
NICTA Victoria Laboratory and Department of Computer Science & Software Engineering, University of Melbourne, Melbourne, Australia (email: pjs@csse.unimelb.edu.au)

Abstract

This paper presents a Prolog interface to the MiniSat satisfiability solver. Logic programming with satisfiability combines the strengths of the two paradigms: logic programming for encoding search problems into satisfiability on the one hand and efficient SAT solving on the other. This synergy between these two exposes a programming paradigm that we propose here as a logic programming pearl. To illustrate logic programming with SAT solving, we give an example Prolog program that solves instances of Partial MAXSAT.

Information

Type
Programming Pearl
Copyright
Copyright © Cambridge University Press 2007

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable