Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
svigerske committed Jul 5, 2023
1 parent a5eed0f commit 66a269e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/soplex/ratrecon.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ static int Reconstruct(VectorRational& resvec, Integer* xnum, Integer denom, int
done = 1;
}

int cfcnt = 2;

while(!done && td != 0)
{
/* update everything: compute next ai, then update convergents */
Expand All @@ -158,8 +156,6 @@ static int Reconstruct(VectorRational& resvec, Integer* xnum, Integer denom, int
if(q[2] > Dbound)
done = 1;

cfcnt++;

MSG_DEBUG(std::cout << " --> convergent denominator = " << &q[2] << "\n");
}

Expand Down
4 changes: 0 additions & 4 deletions src/soplex/solvedbds.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3256,8 +3256,6 @@ void SoPlexBase<R>::_identifyComplementaryPrimalFixedPrimalVars(int* currFixedVa
template <class R>
void SoPlexBase<R>::_updateComplementaryPrimalFixedPrimalVars(int* currFixedVars)
{
int numFixedVars = 0;

// NOTE: this loop only goes over the primal columns that are included in the complementary problem, i.e. the
// columns from the original problem.
// 29.04.15 in the current implementation, all bound constraints are included in the reduced problem. So, all
Expand All @@ -3278,8 +3276,6 @@ void SoPlexBase<R>::_updateComplementaryPrimalFixedPrimalVars(int* currFixedVars
else
_compSolver.changeBounds(colNumber, _realLP->upper(SPxColId(_decompPrimalColIDs[i])),
_realLP->upper(SPxColId(_decompPrimalColIDs[i])));

numFixedVars++;
}
else
{
Expand Down

0 comments on commit 66a269e

Please sign in to comment.