From 66a269e0022b301f8a469933be0b1c89cfd6d9f2 Mon Sep 17 00:00:00 2001 From: Stefan Vigerske Date: Wed, 5 Jul 2023 09:37:36 +0200 Subject: [PATCH] remove unused variables --- src/soplex/ratrecon.hpp | 4 ---- src/soplex/solvedbds.hpp | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/soplex/ratrecon.hpp b/src/soplex/ratrecon.hpp index 6b43f130..3e1eb75b 100644 --- a/src/soplex/ratrecon.hpp +++ b/src/soplex/ratrecon.hpp @@ -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 */ @@ -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"); } diff --git a/src/soplex/solvedbds.hpp b/src/soplex/solvedbds.hpp index 1d36d070..7ce09b22 100644 --- a/src/soplex/solvedbds.hpp +++ b/src/soplex/solvedbds.hpp @@ -3256,8 +3256,6 @@ void SoPlexBase::_identifyComplementaryPrimalFixedPrimalVars(int* currFixedVa template void SoPlexBase::_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 @@ -3278,8 +3276,6 @@ void SoPlexBase::_updateComplementaryPrimalFixedPrimalVars(int* currFixedVars else _compSolver.changeBounds(colNumber, _realLP->upper(SPxColId(_decompPrimalColIDs[i])), _realLP->upper(SPxColId(_decompPrimalColIDs[i]))); - - numFixedVars++; } else {