Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v9-minor'
Browse files Browse the repository at this point in the history
  • Loading branch information
scip-ci committed Apr 19, 2024
2 parents 146af55 + 07d534a commit d1dbb47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ Fixed bugs
- delay checking node limits after presolving to correctly continue up to the exceeding main node
- simplified the objective sense assumption for the subproblems in the Lagromory separator
- update effective root depth iteratively to avoid trapping it at a single child node
- fixed that dualsparsify presolver did not always check do-not-multiaggregate variable flag

Miscellaneous
-------------
Expand Down
6 changes: 4 additions & 2 deletions src/scip/presol_dualsparsify.c
Original file line number Diff line number Diff line change
Expand Up @@ -1547,8 +1547,10 @@ SCIP_DECL_PRESOLEXEC(presolExecDualsparsify)
nnonz = SCIPmatrixGetColNNonzs(matrix, c);
vars[c] = SCIPmatrixGetVar(matrix, c);

/* if the locks do not match do not consider the column for sparsification */
if( SCIPmatrixDownlockConflict(matrix, c) || SCIPmatrixUplockConflict(matrix, c) )
/* if the locks do not match do not consider the column for sparsification
* also skip if the variable is not allowed to be multi-aggregated
*/
if( SCIPmatrixDownlockConflict(matrix, c) || SCIPmatrixUplockConflict(matrix, c) || SCIPdoNotMultaggrVar(scip, vars[c]) )
{
isblockedvar[c] = TRUE;
ishashingcols[c] = FALSE;
Expand Down

0 comments on commit d1dbb47

Please sign in to comment.