Git Product home page Git Product logo

lmhs's Introduction

LMHS : A weighted partial MaxSAT Solver

LMHS uses a hybrid SAT-IP implicit hitting set approach to solve MaxSAT problem instances in WCNF format. Benchmark instances can be downloaded from the MaxSAT Evaluation website.

LMHS uses MiniSat as its underlying SAT solver and MaxPre as its preprocessor.

An IP solver must be separately installed to use LMHS. Currently only IBM CPLEX is supported without modification to the source code. A free academic license for CPLEX can be obtained through the IBM Academic Initiative. LMHS has been tested with CPLEX 12.5 - 12.7

Run the configure.py script before compiling LMHS to set the necessary IP solver filepaths.

To compile release version:

make clean && make release

To compile debug version:

make clean && make debug 

To invoke the solver, run

./bin/LMHS-int <wcnf filepath> <params>

By default, LMHS uses its 2017 MaxSAT evaluation configuration.

For information on solver parameters, run

./bin/LMHS-int --help

See the api-example directory for LMHS API usage

To support float-weights in the wcnf input, make with FLOAT_WEIGHTS=1

lmhs's People

Contributors

psaikko avatar

Watchers

James Cloos avatar Tuukka Korhonen 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.