-
Notifications
You must be signed in to change notification settings - Fork 63
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
Convert pass_names to AbstractOptimizerAttribute #395
Conversation
Codecov Report
@@ Coverage Diff @@
## master #395 +/- ##
==========================================
+ Coverage 50.57% 50.62% +0.05%
==========================================
Files 7 7
Lines 3937 3941 +4
==========================================
+ Hits 1991 1995 +4
Misses 1946 1946
Continue to review full report at Codecov.
|
model = CPLEX.Optimizer() | ||
@test model.pass_names == false | ||
MOI.set(model, CPLEX.PassNames(), true) | ||
@test model.pass_names == true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@test model.pass_names == true | |
@test model.pass_names |
@@ -206,6 +206,14 @@ function test_getlongparam() | |||
return | |||
end | |||
|
|||
function test_PassNames() | |||
model = CPLEX.Optimizer() | |||
@test model.pass_names == false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@test model.pass_names == false | |
@test !model.pass_names |
x-ref: #393 (comment)
cc @blegat @joaquimg