-
Notifications
You must be signed in to change notification settings - Fork 20
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
Adding parameters to allow more fine-grained control of cut generation #145
Conversation
src/MibSBilevel.cpp
Outdated
@@ -420,6 +427,7 @@ MibSBilevel::checkBilevelFeasibility(bool isRoot) | |||
}else{ | |||
startTimeVF = model_->broker_->subTreeTimer().getTime(); | |||
lSolver->branchAndBound(); | |||
lSolver->writeLp("water"); |
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.
I think this is a typo, shouldn't this be commented out?
src/MibSCutGenerator.cpp
Outdated
(ISICGenStrategy == MibSIDICGenStrategyLInt || | ||
ISICGenStrategy == MibSIDICGenStrategyAlways || | ||
(ISICGenStrategy == MibSIDICGenStrategyAlwaysRoot && | ||
localModel_->activeNode_->getDepth() == 0))))){ |
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.
I can't make sense out of this straightforwardly. Here the code should decide whether to undertake the generation of an IDIC, but is checking for the bilevel free set type for ISIC and whether an improving solution is available or not. Moreover, I might be wrong but I guess here ISICGenStrategy
should be replaced with IDICGenStrategy
.
ISICGenStrategy == MibSIDICGenStrategyAlways || | ||
(ISICGenStrategy == MibSIDICGenStrategyAlwaysRoot && | ||
localModel_->activeNode_->getDepth() == 0))))){ | ||
cutType = MibSIntersectionCutImprovingSolution; |
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.
Similarly as above, I guess MibSIDICGenStrategyYInt
, MibSIDICGenStrategyAlways
and MibSIDICGenStrategyAlwaysRoot
should be replaced with MibSISICGenStrategyYInt
, MibSISICGenStrategyAlways
and MibSISICGenStrategyAlwaysRoot
, respectively.
…n linking variables are not integer
No description provided.