Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Splr solver #2

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Add Splr solver #2

wants to merge 3 commits into from

Conversation

Lipen
Copy link
Owner

@Lipen Lipen commented Nov 26, 2020

Add wrapper for Splr solver (in Rust). Looks like JNI for Rust provides seamless access to the native world from the JVM side. Project https://github.com/GabrielMajeri/kotlin-rust illustrates its usage from Kotlin specifically.

Currently, I've implemented basic interaction with splr: solver creation, variables and clauses declaration, model query. Everything seem to work on Windows (with little fixes of missing libc methods).

Next step is to implement the unified high-level wrapper SplrSolver for JSplr, similar to other solvers. Also, splr is able to solve under assumptions, but their management is a little bit cumbersome, so some work has to be made on this behalf.

@Lipen Lipen added the feature New feature or request label Nov 26, 2020
@Lipen Lipen self-assigned this Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant