Skip to content

Latest commit

 

History

History
107 lines (86 loc) · 6.2 KB

clasp.md

File metadata and controls

107 lines (86 loc) · 6.2 KB
layout title permalink
page
clasp
/clasp/

clasp is an answer set solver for (extended) normal and disjunctive logic programs. It combines the high-level modeling capacities of ASP with state-of-the-art techniques from the area of Boolean constraint solving. The primary clasp algorithm relies on conflict-driven nogood learning, a technique that proved very successful for satisfiability checking (SAT). Unlike other learning ASP solvers, clasp does not rely on legacy software, such as a SAT solver or any other existing ASP solver. Rather, clasp has been genuinely developed for answer set solving based on conflict-driven nogood learning. clasp can be applied as an ASP solver (on [aspif]({{ site.publicationurl }}/#DBLP:conf/iclp/GebserKKOSW16x) or smodels format, as output by gringo), as a SAT solver (on a simplified version of dimacs/CNF format), as a PB solver (on OPB format), or as a C++ library in another program.

clasp provides different reasoning modes and advanced features from Boolean constraint solving including:

  • Enumeration of (Projected) Solutions
  • Optimization of Solutions
  • Cautious and Brave Reasoning
  • Conflict-driven (and optionally multithreaded) search
  • Dedicated Propagation of Extended Rules (over Cardinality and Weight Constraints)
  • Equivalence Reasoning and Resolution-based Preprocessing

Download

Packages

Usage

clasp reads problems either from stdin, e.g

gringo encoding.lp instance.lp | clasp

or from a given file, e.g

clasp ground/problem.asp

Type

clasp --help

to get an overview of the most important options supported by clasp.

Citing

  • [Conflict-Driven Answer Set Solving: From Theory to Practice]({{ site.publicationurl }}/#DBLP:journals/ai/GebserKS12), Artificial Intelligence, 2012

Publications

  • Martin Gebser, Benjamin Kaufmann, André Neumann and Torsten Schaub, [clasp: A Conflict-Driven Answer Set Solver]({{ site.publicationurl }}/#DBLP:conf/lpnmr/GebserKNS07a), LPNMR'07, 2007 [[Experiments]({{ site.resourceurl }}/clasp/experiments-rc4-system.tar.xz)]
  • Martin Gebser, Benjamin Kaufmann, André Neumann and Torsten Schaub, [Conflict-Driven Answer Set Enumeration]({{ site.publicationurl }}/#DBLP:conf/lpnmr/GebserKNS07), LPNMR'07, 2007 [[Experiments]({{ site.resourceurl }}/clasp/experiments-rc4-enumeration.tar.xz)]
  • Martin Gebser, Benjamin Kaufmann, André Neumann and Torsten Schaub, [Conflict-Driven Answer Set Solving]({{ site.publicationurl }}/#DBLP:conf/ijcai/GebserKNS07), IJCAI'07, 2007 [[Experiments]({{ site.resourceurl }}/clasp/experiments-clasp.tar.xz)]
  • Martin Gebser, Benjamin Kaufmann, André Neumann and Torsten Schaub, [Advanced Preprocessing for Answer Set Solving]({{ site.publicationurl }}/#DBLP:conf/ecai/GebserKNS08), ECAI'08, 2008 [[Experiments]({{ site.resourceurl }}/clasp/experiments-clasp08a.xlsx)]
  • Martin Gebser, Benjamin Kaufmann and Torsten Schaub, [Solution Enumeration for Projected Boolean Search Problems]({{ site.publicationurl }}/#DBLP:conf/cpaior/GebserKS09), CPAIOR'09, 2009 [[Experiments]({{ site.resourceurl }}/clasp/experiments-projection.tar.xz)]
  • Martin Gebser, Roland Kaminski, Benjamin Kaufmann and Torsten Schaub, [On the Implementation of Weight Constraint Rules in Conflict-Driven ASP Solvers]({{ site.publicationurl }}/#DBLP:conf/iclp/GebserKKS09), ICLP'09, 2009 [[Experiments]({{ site.resourceurl }}/experiments-weights.tar.xz)]
  • Martin Gebser, Benjamin Kaufmann and Torsten Schaub, [The Conflict-Driven Answer Set Solver clasp: Progress Report]({{ site.publicationurl }}/#DBLP:conf/lpnmr/GebserKS09), LPNMR'09, 2009
  • Martin Gebser, Benjamin Kaufmann and Torsten Schaub, [Multi-threaded ASP Solving with clasp]({{ site.publicationurl }}/#DBLP:journals/tplp/GebserKS12), Theory and Practice of Logic Programming, 2012 [[Experiments]({{ site.resourceurl }}/clasp/experiments-mt.tar.xz)]
  • Martin Gebser, Benjamin Kaufmann and Torsten Schaub, [Conflict-Driven Answer Set Solving: From Theory to Practice]({{ site.publicationurl }}/#DBLP:journals/ai/GebserKS12), Artificial Intelligence, 2012 [[Experiments]({{ site.resourceurl }}/clasp/experiments-aspcomp.tar.xz)]
  • Martin Gebser, Benjamin Kaufmann and Torsten Schaub, [Advanced Conflict-Driven Disjunctive Answer Set Solving]({{ site.publicationurl }}/#DBLP:conf/ijcai/GebserKS13), IJCAI'13, 2013
    [[Experiments]({{ site.resourceurl }}/experiments-claspD.tar.xz)]
  • Martin Gebser, Roland Kaminski, Benjamin Kaufmann, Javier Romero and Torsten Schaub, [Progress in clasp Series 3]({{ site.publicationurl }}/#DBLP:conf/lpnmr/GebserKK0S15), LPNMR'15, 2015 [[Experiments]({{ site.resourceurl }}/clasp/experiments-lpnmr15.tar.xz)]
  • Jori Bomanson, Martin Gebser, Tomi Janhunen, Benjamin Kaufmann and Torsten Schaub, [Answer Set Programming Modulo Acyclicity]({{ site.publicationurl }}/#DBLP:journals/fuin/BomansonGJKS16), Fundamenta Informaticae, 2016 [[Experiments]({{ site.resourceurl }}/clasp/experiments-acyclicity.tar.xz)]