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

Bug fix in getting objective from Gurobi #394

Merged
merged 4 commits into from
Oct 26, 2020

Conversation

wu-haoze
Copy link
Collaborator

Before the following command would result in an Gurobi error:

./Marabou ../resources/nnet/acasxu/ACASXU_experimental_v2a_2_9.nnet ../resources/properties/acas_property_1.txt --milp-timeout=0.001

This is because getObjectiveBound is not protected when no satisfying assignment is found. This PR fixes this bug.

@wu-haoze wu-haoze requested a review from guykatzz October 26, 2020 18:20
@wu-haoze wu-haoze added the bug label Oct 26, 2020
@wu-haoze wu-haoze merged commit c335d87 into NeuralNetworkVerification:master Oct 26, 2020
@wu-haoze wu-haoze deleted the get-obj-bug-fix branch October 26, 2020 20:01
matanost pushed a commit that referenced this pull request Nov 2, 2021
* fix

* clean up

* Update GurobiWrapper.h

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

Successfully merging this pull request may close these issues.

2 participants