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

DnC Marabou #152

Merged
merged 56 commits into from
Jul 3, 2019
Merged

DnC Marabou #152

merged 56 commits into from
Jul 3, 2019

Conversation

wu-haoze
Copy link
Collaborator

@wu-haoze wu-haoze commented Jul 2, 2019

  1. Add DnCMarabou class which parses command-line arguments and create a DnCManager to solve the query.
  2. Add verbosity (0: minimal output; 1: print stats at beginning and end; 2: as before )
  3. Add timeout functionality
  4. Better handling of memory that increases robustness of the implementation.

Example usage:
./marabou.elf /path/to/network /path/to/property --dnc --verbosity=0 --timeout=600 --num-workers=8

Runtime comparison between python DnC and C++ DnC using 8 workers, 20 minutes timeout:
https://docs.google.com/spreadsheets/d/1cMSX_tbc9UXojj3qwm9gwrUeJa4y3tYzKAU6p2I2_Is/edit?usp=sharing

Python implementation takes a little shorter time as expected (it uses more sophisticated splitting strategy), but the results appear to be sound.

@wu-haoze wu-haoze merged commit 2aa1a2d into NeuralNetworkVerification:master Jul 3, 2019
@wu-haoze wu-haoze deleted the dnc_pr branch July 3, 2019 15:44
matanost pushed a commit that referenced this pull request Nov 2, 2021
* QueryDivider and LargestIntervalDivider

* fix style

* add boost to local include and library dir in makefiles

* some comments

* change vectors to Lists, consistent naming of SubQuery objects

* change subquery from tuple to struct

* fix an assertion

* minor editing

* add unique test for LargestIntervalDivider.h

* minor change

* style fix

* dncManager skeleton

* dnc related changes

* remove import

* cosmetics

* clean up

* small fix

* cosmetics

* cosmetics and a few comments

* addressing Guy's comments

* change options in Makefile

* pthread only used in linking, not compilation

* makefiles

* cleanup

* c'tors

* a few more comments and todos

* travis

* boost includes

* delete workload object in destructor in DnCManager

* add a comment

* clean up

* minor

* oops

* cosmetics

* stored initial engine state only once

* Update SmtCore.h

* dnc marabou

* add timeout functionality

* clean up

* move split first in DnCWorker

* fix corner case in updateDnCExitCode

* add verbosity

* clean up

* cosmetics

* no timeout factor in query divider

* option parsers, runner classes

* minor

* minor
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.

3 participants