Skip to content

Commit c183dab

Browse files
committed
Merge remote-tracking branch 'origin/v9-minor'
2 parents 38a3b78 + 29c83e8 commit c183dab

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

src/scip/prop_symmetry.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2498,7 +2498,7 @@ SCIP_RETCODE determineSymmetry(
24982498
SCIPverbMessage(scip, SCIP_VERBLEVEL_HIGH, NULL, "%d", maxgenerators);
24992499

25002500
/* display statistics: log10 group size, number of affected vars*/
2501-
SCIPverbMessage(scip, SCIP_VERBLEVEL_HIGH, NULL, ", log10 of symmetry group size: %.1f", propdata->log10groupsize);
2501+
SCIPverbMessage(scip, SCIP_VERBLEVEL_HIGH, NULL, ", log10 of symmetry group size: %.2f", propdata->log10groupsize);
25022502

25032503
if ( propdata->displaynorbitvars )
25042504
{

src/symmetry/compute_symmetry_nauty.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ SCIP_RETCODE SYMcomputeSymmetryGenerators(
13881388
}
13891389

13901390
/* determine log10 of symmetry group size */
1391-
*log10groupsize = (SCIP_Real) stats.grpsize2;
1391+
*log10groupsize = log10(stats.grpsize1 * pow(10.0, (SCIP_Real) stats.grpsize2));
13921392

13931393
return SCIP_OKAY;
13941394
}

src/symmetry/compute_symmetry_sassy_bliss.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ SCIP_RETCODE computeAutomorphisms(
327327
}
328328

329329
/* determine log10 of symmetry group size */
330-
*log10groupsize = (SCIP_Real) log10l(stats.get_group_size_approx());
330+
*log10groupsize = (SCIP_Real) log10l(stats.get_group_size_approx()) + (SCIP_Real) sassy.exp;
331331

332332
return SCIP_OKAY;
333333
}

src/symmetry/compute_symmetry_sassy_nauty.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ SCIP_RETCODE computeAutomorphisms(
378378
*log10groupsize = 0.0;
379379
if(sg.nv > 0) {
380380
sparsenauty(&sg, lab, ptn, orbits, &options, &stats, NULL);
381-
*log10groupsize = (SCIP_Real) stats.grpsize2;
381+
*log10groupsize = log10(stats.grpsize1 * pow(10.0, (SCIP_Real) (stats.grpsize2 + sassy.exp)));
382382
}
383383
#else
384384
convert_dejavu_to_traces(&sassygraph, &sg, &lab, &lab_sz, &ptn, &ptn_sz);
@@ -392,6 +392,7 @@ SCIP_RETCODE computeAutomorphisms(
392392
options.defaultptn = FALSE; /* use color classes */
393393
if(sg.nv > 0) {
394394
Traces(&sg, lab, ptn, orbits, &options, &stats, NULL);
395+
*log10groupsize = log10(stats.grpsize1 * pow(10.0, (SCIP_Real) (stats.grpsize2 + sassy.exp)));
395396
}
396397
#endif
397398

0 commit comments

Comments
 (0)