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

Replay Smt states #351

Merged
merged 14 commits into from
Aug 19, 2020
Merged

Conversation

wu-haoze
Copy link
Collaborator

Currently in the DNC mode. When solving a subquery, the solver starts from scratch. This PR sets up the mechanism to reuse the tree state from the timed-out parent subquery.

@wu-haoze
Copy link
Collaborator Author

wu-haoze commented Aug 15, 2020

180 ACAS, 30 mins timeout

Config 1: --dnc --num-workers=8 --initial-divides=3 --restore-tree-states
Config 2: --dnc --num-workers=8 --initial-divides=3

Config 1 (new changes): solve 159 (34496 sec)
Config 2: solve 151 (25614 sec)

@wu-haoze wu-haoze requested a review from guykatzz August 15, 2020 00:10
src/engine/DnCManager.h Outdated Show resolved Hide resolved
src/engine/DnCWorker.cpp Outdated Show resolved Hide resolved
src/engine/DnCWorker.h Outdated Show resolved Hide resolved
src/engine/IEngine.h Outdated Show resolved Hide resolved
src/engine/SmtCore.cpp Outdated Show resolved Hide resolved
src/engine/SmtState.h Show resolved Hide resolved
src/engine/SmtCore.h Outdated Show resolved Hide resolved
src/engine/SmtCore.cpp Outdated Show resolved Hide resolved
src/engine/Engine.cpp Show resolved Hide resolved
src/engine/Engine.cpp Outdated Show resolved Hide resolved
@wu-haoze wu-haoze merged commit 4b592f4 into NeuralNetworkVerification:master Aug 19, 2020
@wu-haoze wu-haoze deleted the replay-tree-pr branch August 19, 2020 17:42
matanost pushed a commit that referenced this pull request Nov 2, 2021
* option parsers

* add restore tree state option

* add retore SMT cores

* clean up

* clean up

* clean up

* add a unit test for storeSmtState

* add a test

* address Guy's comment

* add more documnetation

* handle assertions about plConstraints all active

* Update Test_SmtCore.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants