Skip to content

Change default solver to CaDiCal - #2654

Merged
celinval merged 6 commits into
model-checking:mainfrom
celinval:issue-2653-default-solver
Aug 4, 2023
Merged

celinval merged 6 commits into
model-checking:mainfrom
celinval:issue-2653-default-solver

Conversation

@celinval

@celinval celinval commented Aug 2, 2023 •

Copy link
Copy Markdown
Contributor

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-EndToEndBenchCI Tag a PR to run benchmark CI label Aug 2, 2023

@zhassan-aws zhassan-aws left a comment •

Copy link
Copy Markdown
Contributor

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!

Comment thread kani-driver/src/args/mod.rs Resolved
@celinval
celinval enabled auto-merge (squash) August 4, 2023 19:28
@celinval
celinval merged commit 952d324 into model-checking:main Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Z-EndToEndBenchCI 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