Skip to content

Commit 2c18607

Browse files
committed
Merge branch 'fix-sort-setppconss' into 'v91-bugfix'
fix length of setppconsssort array to be sorted See merge request integer/scip!3511
2 parents 289921b + 2604f48 commit 2c18607

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: CHANGELOG

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Fixed bugs
2929
- fixed write of strings with at least 1024 characters when compiling with MSVS 2015 (14.0) or later (still an issue with earlier MSVS, which will not be fixed)
3030
- keep epsilon coefficients in applyFixings() of cons_linear.c until multiples are merged to avoid loss of relevant contributions
3131
- fixed that some variable type changes were not accounted correctly in presolve of linear constraints
32+
- fix constraint sorting in pp-orbitope upgrade in symmetry code
3233

3334
Performance improvements
3435
------------------------

Diff for: src/scip/prop_symmetry.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -5475,7 +5475,7 @@ SCIP_RETCODE componentPackingPartitioningOrbisackUpgrade(
54755475

54765476
setppconsssort[nsetppconss++] = cons;
54775477
}
5478-
SCIPsortPtr((void**) setppconsssort, sortByPointerValue, nsetppcconss);
5478+
SCIPsortPtr((void**) setppconsssort, sortByPointerValue, nsetppconss);
54795479

54805480
/* For each permvar, introduce an array of setppc constraints (initially NULL) for each variable,
54815481
* and populate it with the setppc constraints that it contains. This array follows the ordering by cons ptr address.

0 commit comments

Comments
 (0)