GithubHelp home page GithubHelp logo

manleviet / rime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jar-ben/rime

0.0 2.0 0.0 1.09 MB

RIME - A MSS (MCS) enumeration tool

License: MIT License

Makefile 1.69% C++ 97.43% C 0.80% Shell 0.08%

rime's Introduction

RIME

RIME [1] is a tool for enumeration of Maximal Satisfiable Subsets (MSSes), or alternatively, Minimal Correction Subsets (MCSes), of a given Boolean formula. This is an experimental version which still needs some clean up. If you wish to use the tool and encounter any problems during installing or running the tool, please, contact me at xbendik=at=gmail.com.

Installation

We use miniSAT [4], glucose [2], and CaDiCaL [3] as SAT solvers. The code of miniSAT and glucose is packed with the tool, however, you still need to install the library zlib which is used by miniSAT. You can install zlib with:

sudo apt install zlib1g-dev

You also need to install CaDiCaL. Please, follow the instructions at https://github.com/arminbiere/cadical

Once you have installed zlib and CaDiCaL, you should be able to build our tool. In the main directory (the one where is this README.md file), run:

make

Running our tool

timeout <seconds> ./rime <input_cnf_file>

So for example, "timeout 10 ./rime ./examples/bf1355-228.cnf" To see all the available options, run:

./rime -h

Other Third-Party Tools

Besides miniSAT, glucose, and CaDiCaL, we also use two single MUS extraction tools: muser2 [5] and mcsmus [8]. Muser2 is presented in our repository in a binary form whereas mcsmus is packed as a source code and compiled with our code; you do not have to install these tools separately.
Moreover, we provide an interface for using two MSS/MCS extraction tools: mcsls [6] and cmp [7], and a MaxSAT solver UWrMaxSat [9]. These tools are not packed with our tool; either due to restrictive license or we have just not fully integrated them yet. You do not need to install these tools to be able to run RIME. However, you can if you want. The usage of these tools is documented in the help message (./rime -h).

Related Tools

RIME originates from our MUS (minimal unsatisfiable subsets) enumeration tool called MUST (https://github.com/jar-ben/mustool). If you are interested in MUS enumeration, you should give MUST a try.

References

Citing

If you use our tool (RIME) in your research, please cite our paper that presented RIME:

@inproceedings{LPAR23:Rotation_Based_MSS_MCS_Enumeration,
  author    = {Jaroslav Bend{\'{\i}}k and Ivana Cern{\'{a}}},
  title     = {Rotation Based MSS/MCS Enumeration},
  booktitle = {LPAR23. LPAR-23: 23rd International Conference on Logic for Programming, Artificial Intelligence and Reasoning},
  editor    = {Elvira Albert and Laura Kovacs},
  series    = {EPiC Series in Computing},
  volume    = {73},
  pages     = {120--137},
  year      = {2020},
  publisher = {EasyChair},
  bibsource = {EasyChair, https://easychair.org},
  issn      = {2398-7340},
  url       = {https://easychair.org/publications/paper/rXZL},
  doi       = {10.29007/8btb}}

Contact

In case of any troubles, do not hesitate to contact me, Jaroslav Bendik, at xbendik=at=gmail.com.

rime's People

Contributors

jar-ben avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.