Skip to content

Commit c51ccbd

Browse files
committed
Merge remote-tracking branch 'origin/v10-minor'
2 parents fdf1116 + 62757ce commit c51ccbd

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ Fixed bugs
8484
- turn off detection of definitional constraints in CONOPT for now, to work around a related issue in CONOPT 4.39.0
8585
- signal extreme estimations in timeSeriesEstimate() and skip pruning estimations in eventExecEstim() to avoid unstable restarting
8686
- fixed that variable removal in IIS cleanup tried to delete variables that were marked as not deleteable
87+
- fixed parallelism computation of dynamic cut selector to use Euclidean norm instead of unsupported argument
8788

8889
Miscellaneous
8990
-------------

check/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ set(settings_MIP
8282
#separation and branching
8383
"oddcyclelift_randomhybrid"
8484
"oddcycle_distribution"
85+
"cutsel_dynamic"
8586
"treemodel_ratio"
8687
"treemodel_sampling"
8788
"treemodel_svts_filter"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# enable dynamic cut selector by setting priority to maximum
2+
cutselection/dynamic/priority = 1073741823

src/scip/cutsel_dynamic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,14 +318,14 @@ int filterWithDynamicParallelism(
318318

319319
if( SCIPisGE(scip, bestcutefficacy, currentcutefficacy))
320320
{
321-
cosine = SCIProwGetParallelism(bestcut, cuts[i], 's');
321+
cosine = SCIProwGetParallelism(bestcut, cuts[i], 'e');
322322
thisparall = cosine * bestcutefficacy / currentcutefficacy;
323323
SCIPdebugMsg(scip, "Thisparall(%g) = cosine(%g) * (bestcutefficacy(%g)/ currentcutefficacy(%g))\n\n", thisparall,
324324
cosine, bestcutefficacy, currentcutefficacy);
325325
}
326326
else
327327
{
328-
cosine = SCIProwGetParallelism(cuts[i], bestcut, 's');
328+
cosine = SCIProwGetParallelism(cuts[i], bestcut, 'e');
329329
thisparall = cosine * currentcutefficacy / bestcutefficacy;
330330
SCIPdebugMsg(scip, "Thisparall(%g) = cosine(%g) * (currentcutefficacy(%g) / bestcutefficacy(%g))\n\n", thisparall,
331331
cosine, currentcutefficacy, bestcutefficacy);

0 commit comments

Comments
 (0)