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

Change default solver to CaDiCal #2654

Merged
merged 6 commits into from
Aug 4, 2023

Conversation

celinval
Copy link
Contributor

@celinval celinval commented Aug 2, 2023

Description of changes:

By default, Kani will now run CBMC with CaDiCaL, since this solver has outperformed Minisat in most of our benchmarks. User's should still be able to select Minisat (or a different solver) either by using #[solver] harness attribute or by passing --solver=<SOLVER> command line option.

Resolved issues:

Resolves #2653

Related RFC:

Call-outs:

Testing:

  • How is this change tested?

  • Is this a refactor change?

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

From our analysis, this seems to be a much better option than MiniSat.
@celinval celinval requested a review from a team as a code owner August 2, 2023 23:38
@celinval celinval added the Z-BenchCI Tag a PR to run benchmark CI label Aug 2, 2023
Copy link
Contributor

@zhassan-aws zhassan-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @celinval! This is a long overdue change!

kani-driver/src/args/mod.rs Outdated Show resolved Hide resolved
@celinval celinval enabled auto-merge (squash) August 4, 2023 19:28
@celinval celinval merged commit 952d324 into model-checking:main Aug 4, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-BenchCI Tag a PR to run benchmark CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change Kani's default solver
2 participants