Skip to content

Commit 71fc39e

Browse files
committed
Unreferenced parameters
1 parent 38578b2 commit 71fc39e

File tree

2 files changed

+22
-29
lines changed

2 files changed

+22
-29
lines changed

src/mip/HighsDebugSol.h

Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -88,54 +88,47 @@ struct HighsDebugSol {
8888

8989
#else
9090
struct HighsDebugSol {
91-
HighsDebugSol(HighsMipSolver& mipsolver) {}
91+
HighsDebugSol(HighsMipSolver&) {}
9292

9393
void newIncumbentFound() const {}
9494

9595
void activate() const {}
9696

97-
void shrink(const std::vector<HighsInt>& newColIndex) const {}
97+
void shrink(const std::vector<HighsInt>&) const {}
9898

99-
void registerDomain(const HighsDomain& domain) const {}
99+
void registerDomain(const HighsDomain&) const {}
100100

101-
void boundChangeAdded(const HighsDomain& domain,
102-
const HighsDomainChange& domchg,
103-
bool branching = false) const {}
101+
void boundChangeAdded(const HighsDomain&, const HighsDomainChange&,
102+
bool = false) const {}
104103

105-
void boundChangeRemoved(const HighsDomain& domain,
106-
const HighsDomainChange& domchg) const {}
104+
void boundChangeRemoved(const HighsDomain&, const HighsDomainChange&) const {}
107105

108-
void resetDomain(const HighsDomain& domain) const {}
106+
void resetDomain(const HighsDomain&) const {}
109107

110-
void nodePruned(const HighsDomain& localdomain) const {}
108+
void nodePruned(const HighsDomain&) const {}
111109

112-
void checkCut(const HighsInt* Rindex, const double* Rvalue, HighsInt Rlen,
113-
double rhs) const {}
110+
void checkCut(const HighsInt*, const double*, HighsInt, double) const {}
114111

115-
void checkRow(const HighsInt* Rindex, const double* Rvalue, HighsInt Rlen,
116-
double Rlower, double Rupper) const {}
112+
void checkRow(const HighsInt*, const double*, HighsInt, double,
113+
double) const {}
117114

118-
void checkRowAggregation(const HighsLp& lp, const HighsInt* Rindex,
119-
const double* Rvalue, HighsInt Rlen) const {}
115+
void checkRowAggregation(const HighsLp&, const HighsInt*, const double*,
116+
HighsInt) const {}
120117

121-
void checkClique(const HighsCliqueTable::CliqueVar* clq,
122-
HighsInt clqlen) const {}
118+
void checkClique(const HighsCliqueTable::CliqueVar*, HighsInt) const {}
123119

124-
void checkVub(HighsInt col, HighsInt vubcol, double vubcoef,
125-
double vubconstant) const {}
120+
void checkVub(HighsInt, HighsInt, double, double) const {}
126121

127-
void checkVlb(HighsInt col, HighsInt vlbcol, double vlbcoef,
128-
double vlbconstant) const {}
122+
void checkVlb(HighsInt, HighsInt, double, double) const {}
129123

130124
void checkConflictReasonFrontier(
131-
const std::set<HighsDomain::ConflictSet::LocalDomChg>& reasonSideFrontier,
132-
const std::vector<HighsDomainChange>& domchgstack) const {}
125+
const std::set<HighsDomain::ConflictSet::LocalDomChg>&,
126+
const std::vector<HighsDomainChange>&) const {}
133127

134128
void checkConflictReconvergenceFrontier(
135-
const std::set<HighsDomain::ConflictSet::LocalDomChg>&
136-
reconvergenceFrontier,
137-
const HighsDomain::ConflictSet::LocalDomChg& reconvDomchgPos,
138-
const std::vector<HighsDomainChange>& domchgstack) const {}
129+
const std::set<HighsDomain::ConflictSet::LocalDomChg>&,
130+
const HighsDomain::ConflictSet::LocalDomChg&,
131+
const std::vector<HighsDomainChange>&) const {}
139132
};
140133
#endif
141134

src/mip/HighsGFkSolve.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct HighsGFk;
3939
template <>
4040
struct HighsGFk<2> {
4141
static constexpr unsigned int powk(unsigned int a) { return a * a; }
42-
static constexpr unsigned int inverse(unsigned int a) { return 1; }
42+
static constexpr unsigned int inverse(unsigned int) { return 1; }
4343
};
4444

4545
template <>

0 commit comments

Comments
 (0)