UnitTestBot / ksmt

Kotlin/Java API for various SMT solvers
https://ksmt.io/
Apache License 2.0
30 stars 14 forks source link

MaxSAT solver implementation #121

Closed viktoriia-fomina closed 1 year ago

viktoriia-fomina commented 1 year ago

Description

This PR implements the first version of MaxSAT solver. It supports MaxRes core-based algorithm implemented in z3 solver. Implementation is based on the article.

Current solution is in progress. Cases when solver starts returning UNKNOWN are not fully supported yet. Also algorithm can be optimized: short expressions should not be reified with literals.