Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v90-bugfix'
Browse files Browse the repository at this point in the history
  • Loading branch information
scip-ci committed Jan 8, 2024
2 parents bef069b + c9944f8 commit 6c05175
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/scip/cons_nonlinear.c
Original file line number Diff line number Diff line change
Expand Up @@ -3373,7 +3373,7 @@ SCIP_RETCODE detectNlhdlr(
nlhdlrparticipating = SCIP_NLHDLR_METHOD_NONE;
conshdlrdata->registerusesactivitysepabelow = FALSE; /* SCIPregisterExprUsageNonlinear() as called by detect may set this to TRUE */
conshdlrdata->registerusesactivitysepaabove = FALSE; /* SCIPregisterExprUsageNonlinear() as called by detect may set this to TRUE */
/* coverity[forward_null] */
/* coverity[var_deref_model] */
SCIP_CALL( SCIPnlhdlrDetect(scip, ownerdata->conshdlr, nlhdlr, expr, cons, &enforcemethodsnew, &nlhdlrparticipating, &nlhdlrexprdata) );

/* nlhdlr might have claimed more than needed: clean up sepa flags */
Expand Down
8 changes: 5 additions & 3 deletions src/scip/heur_padm.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/**@file heur_padm.c
* @brief PADM primal heuristic based on ideas published in the paper
* "A Decomposition Heuristic for Mixed-Integer Supply Chain Problems"
* by Martin Schmidt, Lars Schewe, and Dieter Weninger
* @brief PADM primal heuristic
* @author Dieter Weninger
* @author Katrin Halbig
*
* Primal heuristic based on ideas published in the papers
* "A Decomposition Heuristic for Mixed-Integer Supply Chain Problems" by Martin Schmidt, Lars Schewe, and Dieter Weninger,
* and "Exploiting user-supplied Decompositions inside Heuristics" by Katrin Halbig, Adrian Göß and Dieter Weninger.
*
* The penalty alternating direction method (PADM) heuristic is a construction heuristic which additionally needs a
* user decomposition with linking variables only.
*
Expand Down
8 changes: 5 additions & 3 deletions src/scip/heur_padm.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@

/**@file heur_padm.h
* @ingroup PRIMALHEURISTICS
* @brief PADM primal heuristic based on ideas published in the paper
* "A Decomposition Heuristic for Mixed-Integer Supply Chain Problems"
* by Martin Schmidt, Lars Schewe, and Dieter Weninger
* @brief PADM primal heuristic
* @author Dieter Weninger
* @author Katrin Halbig
*
* Primal heuristic based on ideas published in the papers
* "A Decomposition Heuristic for Mixed-Integer Supply Chain Problems" by Martin Schmidt, Lars Schewe, and Dieter Weninger,
* and "Exploiting user-supplied Decompositions inside Heuristics" by Katrin Halbig, Adrian Göß and Dieter Weninger.
*
* The penalty alternating direction method (PADM) heuristic is a construction heuristic which additionally needs a
* user decomposition with linking variables only.
*
Expand Down
4 changes: 2 additions & 2 deletions src/scip/nlhdlr_perspective.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ SCIP_RETCODE addSCVarIndicator(
/* move entries if needed */
for( i = scvdata->nbnds; i > pos; --i )
{
/* coverity[forward_null] */
/* coverity[var_deref_op] */
scvdata->bvars[i] = scvdata->bvars[i-1];
scvdata->vals0[i] = scvdata->vals0[i-1];
scvdata->lbs1[i] = scvdata->lbs1[i-1];
Expand Down Expand Up @@ -419,7 +419,7 @@ SCIP_RETCODE varIsSemicontinuous(
assert(vubvars != NULL || nvubs == 0);
for( c = 0; c < nvubs; ++c )
{
/* coverity[forward_null] */
/* coverity[var_deref_op] */
if( SCIPvarGetType(vubvars[c]) != SCIP_VARTYPE_BINARY ) /*lint !e613*/
continue;

Expand Down
1 change: 1 addition & 0 deletions src/scip/nlpi_xyz.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include "scip/scip_numerics.h"
#include "scip/scip_nlp.h"
#include "scip/scip_nlpi.h"
#include "scip/pub_message.h"

#define NLPI_NAME "xyz" /**< short concise name of solver */
#define NLPI_DESC "solver interface template" /**< description of solver */
Expand Down
5 changes: 3 additions & 2 deletions src/scip/sepa_rlt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1647,7 +1647,7 @@ SCIP_RETCODE createSepaData(
SCIPvarIsRelaxationOnly(bilinterms[i].y)) )
continue;

/* coverity[forward_null] */
/* coverity[var_deref_model] */
SCIP_CALL( addProductVars(scip, sepadata, bilinterms[i].x, bilinterms[i].y, varmap,
bilinterms[i].nlockspos + bilinterms[i].nlocksneg) );
}
Expand All @@ -1656,7 +1656,7 @@ SCIP_RETCODE createSepaData(
{
int oldnterms = sepadata->nbilinterms;

/* coverity[forward_null] */
/* coverity[var_deref_model] */
SCIP_CALL( detectHiddenProducts(scip, sepadata, varmap) );

/* update nbilinterms and bilinterms, as detectHiddenProducts might have found new terms */
Expand Down Expand Up @@ -2081,6 +2081,7 @@ SCIP_RETCODE addRltTerm(
if( !SCIPisZero(scip, coefauxvar) )
{
assert(auxvar != NULL);
/* coverity[var_deref_model] */
SCIP_CALL( SCIPaddVarToRow(scip, cut, auxvar, coefauxvar) );
}

Expand Down

0 comments on commit 6c05175

Please sign in to comment.