We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7327b68 commit d737abdCopy full SHA for d737abd
highs/mip/HighsTransformedLp.cpp
@@ -629,6 +629,8 @@ bool HighsTransformedLp::transformSNFRelaxation(
629
if (bincol == -1) return false;
630
if (snfr.binColUsed[bincol]) return false;
631
if (abs(vb.coef) >= 1e+6) return false;
632
+ if (isVub && lb < vb.constant) return false;
633
+ if (!isVub && ub > vb.constant) return false;
634
const double sign = coef >= 0 ? 1 : -1;
635
if (isVub) {
636
double val = sign * ((coef * vb.coef) + origbincoef);
0 commit comments