Giter Site home page Giter Site logo

frasmt's Introduction

FraSMT (SMT-based decomposer for fractional hypertree decompositions)

Download:

git clone --recurse-submodules  [email protected]:daajoe/frasmt.git

Hypergraphs

Fischl (hyperbench collection)

See: https://github.com/daajoe/hypergraphs or http://hyperbench.dbai.tuwien.ac.at/

External Requirements (conda)

Get Anaconda

https://www.anaconda.com/download/#macos

Remark

Conda is a little memory hungry. So you want to give your system at least 1G memory. If installation quits just quits, run with --verbose option. In case you run into "CondaMemoryError does not take keyword arguments", then you really want to increase available memory to conda.

Setup Environment

conda update -n base conda
conda env create -f environment.yml  --name fhtd #(meanwhile get a yourself coffee; or two)

Active Environment

source activate fhtd

SMT solver (non-linux)

Unfortunately, anaconda packages for z3 are quite outdated (we need the optimization API from z3). I put together an experimental anaconda package (https://anaconda.org/daajoe/z3_experimental), but do not maintain this one at the moment. Should work, but only for linux. Otherwise see below.

optimathsat

http://optimathsat.disi.unitn.it/pages/download-js.html

Z3

https://github.com/Z3Prover/z3

with python support

python scripts/mk_make.py --prefix=/home/USERNAME/miniconda2 --python --pypkgdir=/home/USERNAME/miniconda2/lib/python-2.7/site-packages cd build make -j4 make install

External Requirements (not using conda)

We highly recommend to use conda!!

pysmt (optional)

pysmt optimization open PR: pysmt/pysmt#439

clingo

cplex

https://www.ibm.com/support/knowledgecenter/es/SSSA5P_12.6.1/ilog.odms.studio.help/Optimization_Studio/topics/COS_installing.html https://www.ibm.com/support/knowledgecenter/SSSA5P_12.7.0/ilog.odms.cplex.help/CPLEX/GettingStarted/topics/set_up/Python_setup.html

Test it

bin/fhtd -f tests/graphs/easy/c4.hg 

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.