heur_gcgcoefdiving.c
Go to the documentation of this file.
34 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
305 SCIP_CALL( SCIPgetExternBranchCands(scip, &lpcands, &lpcandssol, NULL, &nlpcands, NULL, NULL, NULL, NULL) );
357 /* the candidate may be rounded: choose this candidate only, if the best candidate may also be rounded */
362 * - otherwise, round in the infeasible direction, because feasible direction is tried by rounding
GCG_DIVINGDATA * GCGheurGetDivingDataOrig(SCIP_HEUR *heur)
Definition: heur_origdiving.c:1087
static SCIP_RETCODE getNLocksDown(SCIP *scip, SCIP_VAR *var, int *nlocksdown)
Definition: heur_gcgcoefdiving.c:128
GCG interface methods.
SCIP_VAR ** GCGoriginalVarGetMastervars(SCIP_VAR *var)
Definition: gcgvar.c:587
SCIP_Bool GCGisLinkingVarInBlock(SCIP_VAR *var, int block)
Definition: gcgvar.c:1064
LP diving heuristic that chooses fixings w.r.t. the matrix coefficients.
primal heuristic interface for LP diving heuristics on the original variables
SCIP_Real * GCGoriginalVarGetMastervals(SCIP_VAR *var)
Definition: gcgvar.c:605
static GCG_DECL_DIVINGSELECTVAR(heurSelectVarGcgcoefdiving)
Definition: heur_gcgcoefdiving.c:281
Definition: heur_gcgcoefdiving.c:61
SCIP_RETCODE GCGincludeDivingHeurOrig(SCIP *scip, SCIP_HEUR **heur, const char *name, const char *desc, char dispchar, int priority, int freq, int freqofs, int maxdepth, GCG_DECL_DIVINGFREE((*divingfree)), GCG_DECL_DIVINGINIT((*divinginit)), GCG_DECL_DIVINGEXIT((*divingexit)), GCG_DECL_DIVINGINITSOL((*divinginitsol)), GCG_DECL_DIVINGEXITSOL((*divingexitsol)), GCG_DECL_DIVINGINITEXEC((*divinginitexec)), GCG_DECL_DIVINGEXITEXEC((*divingexitexec)), GCG_DECL_DIVINGSELECTVAR((*divingselectvar)), GCG_DIVINGDATA *divingdata)
Definition: heur_origdiving.c:1120
static GCG_DECL_DIVINGFREE(heurFreeGcgcoefdiving)
Definition: heur_gcgcoefdiving.c:255
void GCGheurSetDivingDataOrig(SCIP_HEUR *heur, GCG_DIVINGDATA *divingdata)
Definition: heur_origdiving.c:1103
SCIP_RETCODE GCGincludeHeurGcgcoefdiving(SCIP *scip)
Definition: heur_gcgcoefdiving.c:445
static SCIP_Bool areVarsInSameBlock(SCIP_VAR *origvar, SCIP_VAR *mastervar)
Definition: heur_gcgcoefdiving.c:73
static SCIP_RETCODE getNLocksUp(SCIP *scip, SCIP_VAR *var, int *nlocksup)
Definition: heur_gcgcoefdiving.c:189