Giter Club home page Giter Club logo

gismo's Introduction

gismo

A minimal group independent support (GIS) calculator. This tool builds on Arjun, and is developed for the paper

Solving the Identifying Code Set Problem with Grouped Independent Support, Anna L.D. Latour, Arunabha Sen, Kuldeep S. Meel, IJCAI 2023, paper #4051. [paper pdf, extended version]

Related Resources

Please find a repository with our experimentation scripts, benchmarks, and results at github.com/latower/identifying-codes.

How to Build

To build on Linux, you will need the following:

$ sudo apt-get install build-essential cmake
$ sudo apt-get install zlib1g-dev libboost-program-options-dev libboost-serialization-dev

Then, build CryptoMiniSat and gismo:

$ git clone https://github.com/msoos/cryptominisat
$ cd cryptominisat
$ mkdir build && cd build
$ cmake ..
$ make
$ sudo make install
$ sudo ldconfig

$ cd ../..
$ git clone https://github.com/meelgroup/gismo
$ cd gismo
$ mkdir build && cd build
$ cmake ..
$ make
$ sudo make install
$ sudo ldconfig

Developers, please pick your favourite build script (e.g, build_static.sh) and build as follows:

$ git clone https://github.com/meelgroup/gismo
$ cd gismo
$ mkdir build && cd build
$ ln -s ../scripts/* .
$ ./build_static.sh

How to Use

Input format

The input for gismo is a CNF in DIMACS format, in which the variables of interest are indicated, and the way in which they are grouped. Considering the example in example/example.gcnf, the first part of the grouped DIMACS encoding looks like this:

p cnf 11 31
c ind 1 2 3 4 5 6 7 8 9 10 0
c grp 1 6 0
c grp 2 7 0
c grp 3 8 0
c grp 4 9 0
c grp 5 10 0
-5 -4 0
-5 -11 0
...

Here, we see that we have 11 variables, the first 10 of which are the variables of interest (and variable 11 is an auxiliary variable from the encoding of the cardinality constraint). The variables of interest are partitioned as follows: groups := { {1,6}, {2,7}, {3,8}, {4,9}, {5,10} }.

Running gismo

user@machine: gismo/build$ ./gismo ../example/example.gcnf

The output should contain a line that reads c ind 3 8 1 6 0, indicating that variables 3, 8, 1, and 6 are in the support of the grouped independent support.

Contributors

gismo's People

Contributors

kuldeepmeel avatar latower avatar msoos avatar msooseth 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.