Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v90-bugfix' into v9-minor
Browse files Browse the repository at this point in the history
  • Loading branch information
scip-ci committed Apr 9, 2024
2 parents 3623802 + 13756ff commit c42b122
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ Fixed bugs
- cleanup first constraints in SCIPcleanupConssVarbound(), SCIPcleanupConssSetppc(), and SCIPcleanupConssLogicor()
- symmetry handling methods have not been added immediately after computing symmetries, which has been fixed
- 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

Miscellaneous
-------------
Expand Down
7 changes: 2 additions & 5 deletions src/scip/sepa_lagromory.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,11 +502,8 @@ SCIP_RETCODE createLPWithHardCuts(
}
assert(*lpi == NULL);

/* create an LPI with appropriate objective sense */
if( SCIPgetObjsense(scip) == SCIP_OBJSENSE_MAXIMIZE )
SCIP_CALL( SCIPlpiCreate(lpi, SCIPgetMessagehdlr(scip), "node LP with generated cuts", SCIP_OBJSEN_MAXIMIZE) );
else
SCIP_CALL( SCIPlpiCreate(lpi, SCIPgetMessagehdlr(scip), "node LP with generated cuts", SCIP_OBJSEN_MINIMIZE) );
/* create an LPI */
SCIP_CALL( SCIPlpiCreate(lpi, SCIPgetMessagehdlr(scip), "node LP with generated cuts", SCIP_OBJSEN_MINIMIZE) );

/* add cols to the LP interface */
SCIP_CALL( SCIPallocBufferArray(scip, &colobj, ncols) );
Expand Down

0 comments on commit c42b122

Please sign in to comment.