Skip to content

Commit 2a4dc74

Browse files
committed
Merge remote-tracking branch 'origin/v10-minor'
2 parents db23fee + 9644852 commit 2a4dc74

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Fixed bugs
7474
- also set real solution in SCIPsolSetValExact() to maintain approximation
7575
- handle exact solutions in SCIPsolCheckOrig(), SCIPcheckSolOrig(), and SCIPrecomputeSolObj() to correctly check exact initial solutions in SCIPtransformProb()
7676
- fixed use of interactive option (-i) of AMPL interface
77+
- fix calculation of Euclidean norm in calcEfficacyDenseStorage() for use in exact solving
7778

7879
Miscellaneous
7980
-------------

src/scip/cuts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ SCIP_Real calcEfficacyDenseStorage(
607607
activity += coef * SCIPgetSolVal(scip, sol, vars[cutinds[i]]);
608608
norm += SQR(coef);
609609
}
610-
norm = SQR(norm);
610+
norm = sqrt(norm);
611611
break;
612612
case 'm':
613613
for( i = 0; i < cutnnz; ++i )

0 commit comments

Comments
 (0)