Skip to content

Commit

Permalink
deleting useless member of MibSBilevel class
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahar Tahernejad authored and tkralphs committed Jan 15, 2018
1 parent 71aa6ba commit 36991ca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/MibSBilevel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ MibSBilevel::createBilevel(CoinPackedVector* sol,
useBilevelBranching_ = true;
isProvenOptimal_ = true;
tagInSeenLinkingPool_ = MibSLinkingPoolTagIsNotSet;
haveHeurSolCand_ = false;

model_->countIteration_ ++;
/*std::cout << "countIteration = " << model_->countIteration_ << std::endl;
Expand Down Expand Up @@ -577,7 +576,6 @@ MibSBilevel::checkBilevelFeasiblity(bool isRoot)
model_->counterUB_ ++;
isUBSolved_ = true;
if (UBSolver->isProvenOptimal()){
haveHeurSolCand_ = true;
isProvenOptimal_ = true;
const double * valuesUB = UBSolver->getColSolution();
for (i = 0; i < uN + lN; i++){
Expand Down Expand Up @@ -624,7 +622,6 @@ MibSBilevel::checkBilevelFeasiblity(bool isRoot)
}
else if ((tagInSeenLinkingPool_ != MibSLinkingPoolTagUBIsSolved) ||
((!useLinkingSolutionPool) && (isUBSolved_))){
haveHeurSolCand_ = true;
for (i = 0; i < lN; i++){
index = lowerColInd[i];
if ((model_->solver()->isInteger(index)) &&
Expand Down
2 changes: 0 additions & 2 deletions src/MibSBilevel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class MibSBilevel {
/** should prune the node or not **/
bool shouldPrune_;
bool isContainedInLinkingPool_;
bool haveHeurSolCand_;
MibSLinkingPoolTag tagInSeenLinkingPool_;

MibSLPSolStatus LPSolStatus_;
Expand All @@ -82,7 +81,6 @@ class MibSBilevel {
isLinkVarsFixed_(true), isProvenOptimal_(false),
isLowerSolved_(false), isUBSolved_(false),
shouldPrune_(false), isContainedInLinkingPool_(false),
haveHeurSolCand_(false),
tagInSeenLinkingPool_(MibSLinkingPoolTagIsNotSet),
LPSolStatus_(MibSLPSolStatusUnknown), objVal_(0.0){
upperSolutionOrd_ = 0;
Expand Down

0 comments on commit 36991ca

Please sign in to comment.