Loading...
Searching...
No Matches
branch_bpstrong.c
Go to the documentation of this file.
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
59#define BRANCHRULE_DESC "strong branching for branch-and-price" /**< short description of branching rule */
139 SCIP_Real *strongbranchscore; /**< the candidates' last scores from strong branching with column
141 SCIP_Bool *sbscoreisrecent; /**< was the score saved in strongbranchscore computed in a parent of
148 SCIP_Longint nsblpiterations; /**< total number of strong branching lp iterations during phase 1 */
165 SCIP_Longint maxsblpiters; /**< maximum number of strong branching lp iterations, set to 2*avg lp
184 SCIP_Real maxphase0outcandsfrac; /**< maximum number of output candidates from phase 0 as fraction of
191 SCIP_Real maxphase1outcandsfrac; /**< maximum number of output candidates from phase 0 as fraction of
197 SCIP_Real lookaheadscales; /**< how much should the look ahead scale with the overall evaluation
214 SCIP_Real sbpseudocostweight; /**< with how much weight should strong branching scores be considered
297 hashvalue = SCIPhashTwo( MIN( SCIPvarGetIndex(var1), SCIPvarGetIndex(var2) ), MAX( SCIPvarGetIndex(var1), SCIPvarGetIndex(var2) ) );
302/* calculates the number of needed candidates based on the min and max number of candidates as well as the node gap */
367 if ( !GCGoriginalVarIsLinking(branchcand) && GCGgetNIdenticalBlocks(gcg, GCGvarGetBlock(branchcand)) != 1 )
435 /* if variable is not in hashmtable insert it, initialize its array entries, and increase array sizes */
448 SCIP_CALL( SCIPreallocBlockMemoryArray(masterprob, &branchruledata->lastevalnode, branchruledata->maxvars,
464 assert(SCIPhashtableExists(branchruledata->candhashtable, (void*) branchruledata->vartuples[nvars])
479/* compare two indices corresponding to entries in branchruledata->score, returns TRUE iff the first elements score is
487 return this_branchruledata->score[*(int *)index1] > this_branchruledata->score[*(int *)index2]? -1 : 1;
490/* compare two indices based on descending numerical order, returns TRUE iff the first index is smaller */
499/* creates a probing node that is "equal" to the same or differ branch of a given Ryan-Foster candidate, mostly copied
552 (void) SCIPsnprintf(name, SCIP_MAXSTRLEN, "%s(%s,%s)", same? "same" : "differ", SCIPvarGetName(branchdata->var1),
595 SCIP_CALL( GCGrelaxNewProbingnodeMasterCons(gcg, branchrule, branchdata, origbranchconss, norigvars,
683 SCIP_CALL( GCGrelaxPerformProbingWithPricing(gcg, branchruledata->maxsbpricerounds, NULL, &npricerounds,
715/* Returns true iff the second node is a k-successor of the to the first number corresponding node
743/* Evaluates the given variable based on a score function of choice. Higher scores are given to better variables. */
769 /* define score functions and calculate score for all variables for sorting dependent on used heuristic */
778 hashindex = ((VarTuple *) SCIPhashtableRetrieve(branchruledata->candhashtable, (void *) &vartuple))->index;
828 hashindex = ((VarTuple *) SCIPhashtableRetrieve(branchruledata->candhashtable, (void *) &vartuple))->index;
842 SCIP_CALL( executeStrongBranching(gcg, branchrule, var1, var2, solval1, solval2, candinfo, usecolgen, -1,
903 SCIP_Bool* bestdowninf, /**< pointer to store whether strong branching detected infeasibility in
990 else if( branchruledata->initiator == RYANFOSTER && (branchruledata->usepseudocosts || branchruledata->mostfrac ) )
1010 /* set maximum strong branching lp iterations and pricing rounds to 2 times the average unless the value is
1013 SCIP_CALL( SCIPgetLongintParam(origprob, "branching/bp_strong/maxsblpiters", &branchruledata->maxsblpiters) );
1038 SCIP_CALL( SCIPgetIntParam(origprob, "branching/bp_strong/maxsbpricerounds", &branchruledata->maxsbpricerounds) );
1065 nodegap = ((upperbound >= 0) == (nodelowerbound >= 0) && MIN( ABS( upperbound ), ABS( nodelowerbound ) ) != 0)?
1066 MIN( ABS( (upperbound-nodelowerbound) / MIN( ABS( upperbound ), ABS( nodelowerbound ) ) ), 1 ) : 1;
1069 /* number of candidates we evaluate precisely should be based on the likely relevance of this branching decision
1081 hashindex = ((VarTuple *) SCIPhashtableRetrieve(branchruledata->candhashtable, (void *) &vartuple))->index;
1097 * iter = 1: we did not find enough variables to branch on so far, so we look for integer variables that belong
1098 * to no block but were directly transferred to the master problem and which have a fractional value in the
1108 hashindex = ((VarTuple *) SCIPhashtableRetrieve(branchruledata->candhashtable, (void *) &vartuple))->index;
1168 /* the number of candidates we select based on historical strong branching scores needs to depend on the number of
1169 * candidates for which we have historical scores, otherwise some candidates would be selected simply because they
1172 nneededhistcands = (int) SCIPfloor(origprob, MIN( (SCIP_Real)nvalidhistcands / (SCIP_Real)(nvalidcands+nvalidhistcands),
1178 * - phase 0: select a first selection of candidates based on some traditional variable selection
1179 * heuristic, some (half) of the candidates are new, and some are selected based on previous calls
1180 * - phase 1: filter the best candidates by evaluating the Master LP, w/o column and cut generation
1181 * - phase 2: select the best of the candidates from phase 1 by solving the Master LP with column and cut generation
1215 /* we only want to skip phase 1, so we need to set nneededcands to the number of output candidates
1276 SCIP_CALL( score_function(gcg, branchrule, cand1s[indices[c]], NULL, branchcandssol[indices[c]], 0, 0,
1294 /* variable pointers for orig candidates sometimes change during probing in strong branching */
1302 if( phase == 2 && !branchruledata->usestronglite && branchruledata->immediateinf && (upinf || downinf) )
1372 /* swap out the worst performing "new" candidates with the best performing historical candidates */
1445 if( branchruledata->initiator == RYANFOSTER && (branchruledata->usepseudocosts || branchruledata->mostfrac) )
1551 /* free data if we already solved another instance but branchFreeBPStrong was not called inbetween */
1590 SCIP_CALL( SCIPgetRealParam(origprob, "branching/bp_strong/depthlogphase0frac", &phase0frac) );
1591 SCIP_CALL( SCIPgetRealParam(origprob, "branching/bp_strong/depthlogphase2frac", &phase2frac) );
1596 branchruledata->minphase0depth = (int) SCIPround(origprob, (1-logweight) * branchruledata->minphase0depth
1598 branchruledata->maxphase1depth = (int) SCIPround(origprob, (1-logweight) * branchruledata->maxphase1depth
1600 branchruledata->maxphase2depth = (int) SCIPround(origprob, (1-logweight) * branchruledata->maxphase2depth
1615 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &branchruledata->uniqueblockflags, branchruledata->maxvars) );
1616 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &branchruledata->strongbranchscore, branchruledata->maxvars) );
1617 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &branchruledata->sbscoreisrecent, branchruledata->maxvars) );
1618 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &branchruledata->lastevalnode, branchruledata->maxvars) );
1619 SCIP_CALL( SCIPallocBlockMemoryArray(scip, &branchruledata->vartuples, branchruledata->maxvars) );
1649 SCIP_CALL( GCGrelaxIncludeBranchrule(branchruledata->gcg, &branchrule, NULL, BRANCHRULE_NAME, BRANCHRULE_DESC, BRANCHRULE_PRIORITY,
1667 "should strong branching run as precise as possible (to generate more valuable training data)?",
1671 "should infeasibility detected during strong branching be handled immediately, or only if the candidate is selected?",
1675 "how many times can bounds be changed due to infeasibility during strong branching until an already evaluated variable needs to be reevaluated?",
1679 "minimum number of variables for phase 2 to be executed, otherwise the best candidate from phase 1 will be chosen",
1683 "how many candidates should be chosen based on historical strong branching scores as opposed to current heuristic scores in phase 0 (e.g. 0.5 = 50%)?",
1699 "how much should the lookahead scale with the overall evaluation effort? (0 = not at all, 1 = fully)",
1703 "minimum tree depth from which on phase 0 is performed (intended for heuristics like pseudocost branching)",
1707 "maximum tree depth up to which phase 1 is performed (intended for heuristics like pseudocost branching)",
1711 "maximum tree depth up to which phase 2 is performed (intended for heuristics like pseudocost branching)",
1715 "how much should the logarithm of the number of variables influence the depth for hybrid branching? (0 = not at all, 1 = fully)",
1719 "what should be the base of the logarithm that is used to compute the depth of hybrid branching?",
1723 "if using a logarithm to compute the depth of hybrid branching, what should be the fraction of the depth assigned to phase 1 that is assigned to phase 0?",
1727 "if using a logarithm to compute the depth of hybrid branching, what should be the fraction of the depth assigned to phase 1 that is assigned to phase 2?",
1731 "what percentage of the strong branching score of the candidate that was selected does the heuristic's incumbent need to be considered close (e.g. 0.5 = 50%)?",
1736 &branchruledata->maxconsecheurclose, FALSE, DEFAULT_MAXCONSECHEURCLOSE, -1, INT_MAX, NULL, NULL) );
1751 "should phase 0 be performed even if the number of input candidates is already lower or equal to the number of output candidates?",
1756 "should single-variable-pseudocosts be used as a heuristic for strong branching for Ryan-Foster branching?",
1775 SCIP_Bool* stillusestrong /**< pointer to store whether strong branching has reached a permanent
1795 SCIP_CALL( SCIPgetBoolParam(origprob, "branching/orig/usepseudocosts", &branchruledata->usepseudocosts) );
1798 SCIP_CALL( SCIPgetIntParam(origprob, "branching/orig/minphase0outcands", &branchruledata->minphase0outcands) );
1799 SCIP_CALL( SCIPgetIntParam(origprob, "branching/orig/maxphase0outcands", &branchruledata->maxphase0outcands) );
1802 SCIP_CALL( SCIPgetRealParam(origprob, "branching/orig/phase1gapweight", &branchruledata->phase1gapweight) );
1804 SCIP_CALL( SCIPgetIntParam(origprob, "branching/orig/minphase1outcands", &branchruledata->minphase1outcands) );
1805 SCIP_CALL( SCIPgetIntParam(origprob, "branching/orig/maxphase1outcands", &branchruledata->maxphase1outcands) );
1808 SCIP_CALL( SCIPgetRealParam(origprob, "branching/orig/phase2gapweight", &branchruledata->phase2gapweight) );
1837 SCIP_Bool* stillusestrong /**< pointer to store whether strong branching has reached a permanent
1859 SCIP_CALL( SCIPgetBoolParam(origprob, "branching/bp_strong/ryanfoster/usemostfrac", &branchruledata->mostfrac) );
static int assignUniqueBlockFlags(GCG *gcg, SCIP_VAR *branchcand)
Definition branch_bpstrong.c:349
static SCIP_RETCODE addBranchcandsToData(GCG *gcg, SCIP_BRANCHRULE *branchrule, SCIP_VAR **var1s, SCIP_VAR **var2s, int ncands)
Definition branch_bpstrong.c:409
static SCIP_DECL_BRANCHFREE(branchFreeBPStrong)
Definition branch_bpstrong.c:1489
static SCIP_Real score_function(GCG *gcg, SCIP_BRANCHRULE *branchrule, SCIP_VAR *var1, SCIP_VAR *var2, SCIP_Real solval1, SCIP_Real solval2, int candinfo, SCIP_Bool useheuristic, SCIP_Bool usehistorical, SCIP_Bool usecolgen, SCIP_Real *score, SCIP_Bool *upinf, SCIP_Bool *downinf)
Definition branch_bpstrong.c:745
static SCIP_RETCODE newProbingNodeRyanfosterMaster(GCG *gcg, GCG_BRANCHRULE *branchrule, SCIP_VAR *ovar1, SCIP_VAR *ovar2, int blocknr, SCIP_Bool same)
Definition branch_bpstrong.c:503
SCIP_RETCODE GCGbranchSelectCandidateStrongBranchingRyanfoster(GCG *gcg, GCG_BRANCHRULE *rfbranchrule, SCIP_VAR **ovar1s, SCIP_VAR **ovar2s, int *nspricingblock, int npairs, SCIP_VAR **ovar1, SCIP_VAR **ovar2, int *pricingblock, SCIP_Bool *sameinf, SCIP_Bool *differinf, SCIP_RESULT *result, SCIP_Bool *stillusestrong)
Definition branch_bpstrong.c:1822
SCIP_RETCODE GCGincludeBranchruleBPStrong(GCG *gcg)
Definition branch_bpstrong.c:1627
static SCIP_DECL_BRANCHINIT(branchInitBPStrong)
Definition branch_bpstrong.c:1527
SCIP_RETCODE GCGbranchSelectCandidateStrongBranchingOrig(GCG *gcg, GCG_BRANCHRULE *origbranchrule, SCIP_VAR **branchvar, SCIP_Bool *upinf, SCIP_Bool *downinf, SCIP_RESULT *result, SCIP_Bool *stillusestrong)
Definition branch_bpstrong.c:1766
static int geq_compare_function(const void *index1, const void *index2)
Definition branch_bpstrong.c:491
static SCIP_RETCODE executeStrongBranching(GCG *gcg, SCIP_BRANCHRULE *branchrule, SCIP_VAR *branchvar1, SCIP_VAR *branchvar2, SCIP_Real solval1, SCIP_Real solval2, int candinfo, SCIP_Bool pricing, int maxpricingrounds, SCIP_Real *up, SCIP_Real *down, SCIP_Bool *upvalid, SCIP_Bool *downvalid, SCIP_Bool *upinf, SCIP_Bool *downinf)
Definition branch_bpstrong.c:603
static SCIP_Bool isKAncestor(SCIP *scip, int ancestornodenr, SCIP_NODE *successornode, int k)
Definition branch_bpstrong.c:719
static int calculateNCands(SCIP *scip, SCIP_BRANCHRULEDATA *branchruledata, SCIP_Real nodegap, int phase, int ncands)
Definition branch_bpstrong.c:304
static int score_compare_function(const void *index1, const void *index2)
Definition branch_bpstrong.c:482
static SCIP_RETCODE selectCandidate(GCG *gcg, SCIP_BRANCHRULE *branchrule, SCIP_VAR **cand1s, SCIP_VAR **cand2s, int *candinfos, int ncands, SCIP_VAR **outcand1, SCIP_VAR **outcand2, int *outcandinfo, SCIP_Bool *bestupinf, SCIP_Bool *bestdowninf, SCIP_RESULT *result)
Definition branch_bpstrong.c:889
generic branch and price strong branching as described in Pecin, D., Pessoa, A., Poggi,...
branching rule for original problem in GCG
reliable pseudo costs branching rule
SCIP_Real * r
SCIP_DECL_HASHGETKEY(SCIPhashGetKeyCons)
constraint handler for the integrality constraint
constraint handler for storing the branching decisions at each node of the tree
constraint handler for storing the branching decisions at each node of the tree
#define SCIP_MAXSTRLEN
#define SCIP_Longint
#define SCIP_Bool
#define MIN(x, y)
#define SCIP_Real
#define ABS(x)
#define MAX(x, y)
#define TRUE
#define FALSE
GCG interface methods.
SCIP_VAR * GCGoriginalVarGetPricingVar(SCIP_VAR *var)
Definition gcgvar.c:281
SCIP_RETCODE GCGlinkingVarGetBlocks(SCIP_VAR *var, int nblocks, int *blocks)
Definition gcgvar.c:529
SCIP_RETCODE SCIPcreateConsVarbound(SCIP *scip, SCIP_CONS **cons, const char *name, SCIP_VAR *var, SCIP_VAR *vbdvar, SCIP_Real vbdcoef, SCIP_Real lhs, SCIP_Real rhs, SCIP_Bool initial, SCIP_Bool separate, SCIP_Bool enforce, SCIP_Bool check, SCIP_Bool propagate, SCIP_Bool local, SCIP_Bool modifiable, SCIP_Bool dynamic, SCIP_Bool removable, SCIP_Bool stickingatnode)
GCG_EXPORT int GCGgetNIdenticalBlocks(GCG *gcg, int pricingprobnr)
Definition relax_gcg.c:4185
int SCIPgetNIntVars(SCIP *scip)
int SCIPgetNBinVars(SCIP *scip)
void SCIPhashmapFree(SCIP_HASHMAP **hashmap)
SCIP_Real SCIPhashmapGetImageReal(SCIP_HASHMAP *hashmap, void *origin)
SCIP_RETCODE SCIPhashmapInsertReal(SCIP_HASHMAP *hashmap, void *origin, SCIP_Real image)
SCIP_RETCODE SCIPhashmapCreate(SCIP_HASHMAP **hashmap, BMS_BLKMEM *blkmem, int mapsize)
void SCIPhashtableFree(SCIP_HASHTABLE **hashtable)
SCIP_Bool SCIPhashtableExists(SCIP_HASHTABLE *hashtable, void *element)
#define SCIPhashTwo(a, b)
SCIP_RETCODE SCIPhashtableCreate(SCIP_HASHTABLE **hashtable, BMS_BLKMEM *blkmem, int tablesize, SCIP_DECL_HASHGETKEY((*hashgetkey)), SCIP_DECL_HASHKEYEQ((*hashkeyeq)), SCIP_DECL_HASHKEYVAL((*hashkeyval)), void *userptr)
void * SCIPhashtableRetrieve(SCIP_HASHTABLE *hashtable, void *key)
SCIP_RETCODE SCIPhashtableInsert(SCIP_HASHTABLE *hashtable, void *element)
#define SCIPhashSignature64(a)
SCIP_DECL_HASHKEYEQ(SCIPhashKeyEqString)
SCIP_DECL_HASHKEYVAL(SCIPhashKeyValString)
SCIP_RETCODE SCIPgetBoolParam(SCIP *scip, const char *name, SCIP_Bool *value)
SCIP_RETCODE SCIPaddLongintParam(SCIP *scip, const char *name, const char *desc, SCIP_Longint *valueptr, SCIP_Bool isadvanced, SCIP_Longint defaultvalue, SCIP_Longint minvalue, SCIP_Longint maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPaddIntParam(SCIP *scip, const char *name, const char *desc, int *valueptr, SCIP_Bool isadvanced, int defaultvalue, int minvalue, int maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPaddRealParam(SCIP *scip, const char *name, const char *desc, SCIP_Real *valueptr, SCIP_Bool isadvanced, SCIP_Real defaultvalue, SCIP_Real minvalue, SCIP_Real maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPgetRealParam(SCIP *scip, const char *name, SCIP_Real *value)
SCIP_RETCODE SCIPaddBoolParam(SCIP *scip, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)
SCIP_RETCODE SCIPgetLongintParam(SCIP *scip, const char *name, SCIP_Longint *value)
SCIP_RETCODE SCIPgetIntParam(SCIP *scip, const char *name, int *value)
SCIP_BRANCHRULE * SCIPfindBranchrule(SCIP *scip, const char *name)
const char * SCIPbranchruleGetName(SCIP_BRANCHRULE *branchrule)
SCIP_BRANCHRULEDATA * SCIPbranchruleGetData(SCIP_BRANCHRULE *branchrule)
SCIP_RETCODE SCIPsetBranchruleFree(SCIP *scip, SCIP_BRANCHRULE *branchrule, SCIP_DECL_BRANCHFREE((*branchfree)))
SCIP_RETCODE SCIPsetBranchruleInit(SCIP *scip, SCIP_BRANCHRULE *branchrule, SCIP_DECL_BRANCHINIT((*branchinit)))
void SCIPbranchruleSetData(SCIP_BRANCHRULE *branchrule, SCIP_BRANCHRULEDATA *branchruledata)
SCIP_RETCODE SCIPgetExternBranchCands(SCIP *scip, SCIP_VAR ***externcands, SCIP_Real **externcandssol, SCIP_Real **externcandsscore, int *nexterncands, int *nprioexterncands, int *nprioexternbins, int *nprioexternints, int *nprioexternimpls)
SCIP_Real SCIPgetBranchScore(SCIP *scip, SCIP_VAR *var, SCIP_Real downgain, SCIP_Real upgain)
SCIP_Real SCIPgetLPObjval(SCIP *scip)
#define SCIPfreeBlockMemoryArray(scip, ptr, num)
BMS_BLKMEM * SCIPblkmem(SCIP *scip)
int SCIPcalcMemGrowSize(SCIP *scip, int num)
#define SCIPallocBufferArray(scip, ptr, num)
#define SCIPallocBlockMemoryArray(scip, ptr, num)
#define SCIPreallocBlockMemoryArray(scip, ptr, oldnum, newnum)
#define SCIPfreeBlockMemory(scip, ptr)
#define SCIPallocBlockMemory(scip, ptr)
SCIP_Real SCIPnodeGetLowerbound(SCIP_NODE *node)
SCIP_Longint SCIPnodeGetNumber(SCIP_NODE *node)
SCIP_NODE * SCIPnodeGetParent(SCIP_NODE *node)
int SCIPnodeGetDepth(SCIP_NODE *node)
SCIP_RETCODE SCIPchgVarUbProbing(SCIP *scip, SCIP_VAR *var, SCIP_Real newbound)
SCIP_RETCODE SCIPchgVarLbProbing(SCIP *scip, SCIP_VAR *var, SCIP_Real newbound)
SCIP_RETCODE SCIPpropagateProbing(SCIP *scip, int maxproprounds, SCIP_Bool *cutoff, SCIP_Longint *ndomredsfound)
SCIP_Real SCIPgetUpperbound(SCIP *scip)
SCIP_Longint SCIPgetNNodes(SCIP *scip)
SCIP_Longint SCIPgetNNodeInitLPs(SCIP *scip)
SCIP_Longint SCIPgetNNodeInitLPIterations(SCIP *scip)
SCIP_Real SCIPinfinity(SCIP *scip)
SCIP_Real SCIPfeasCeil(SCIP *scip, SCIP_Real val)
SCIP_Real SCIPfloor(SCIP *scip, SCIP_Real val)
SCIP_Real SCIPfeasFloor(SCIP *scip, SCIP_Real val)
SCIP_Real SCIPround(SCIP *scip, SCIP_Real val)
SCIP_Real SCIPceil(SCIP *scip, SCIP_Real val)
int SCIPgetEffectiveRootDepth(SCIP *scip)
SCIP_NODE * SCIPgetFocusNode(SCIP *scip)
SCIP_Real SCIPgetVarPseudocostCount(SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir)
int SCIPvarGetIndex(SCIP_VAR *var)
const char * SCIPvarGetName(SCIP_VAR *var)
SCIP_Bool SCIPisRelaxSolValid(SCIP *scip)
SCIP_RETCODE SCIPupdateVarPseudocost(SCIP *scip, SCIP_VAR *var, SCIP_Real solvaldelta, SCIP_Real objdelta, SCIP_Real weight)
SCIP_Real SCIPgetVarPseudocostScore(SCIP *scip, SCIP_VAR *var, SCIP_Real solval)
int SCIPsnprintf(char *t, int len, const char *s,...)
static assert(heur !=NULL)
SCIP_CALL(SCIPgetExternBranchCands(origprob, &lpcands, &lpcandssol, NULL, &nlpcands, NULL, NULL, NULL, NULL))
SCIPdebugMessage("feasibility pump finished [%d iterations done].\n", nloops)
SCIPfreeBufferArray(scip, &cycles)
#define NULL
Definition class_conspartition.cpp:44
INLINE Rational & max(Rational &r1, Rational &r2)
INLINE Rational & min(Rational &r1, Rational &r2)
GCG variable pricer.
SCIP_RETCODE GCGrelaxNewProbingnodeMaster(GCG *gcg)
Definition relax_gcg.c:4508
SCIP_RETCODE GCGrelaxNewProbingnodeMasterCons(GCG *gcg, GCG_BRANCHRULE *branchrule, GCG_BRANCHDATA *branchdata, SCIP_CONS **origbranchconss, int norigbranchconss, int maxorigbranchconss)
Definition relax_gcg.c:4562
SCIP_RETCODE GCGrelaxPerformProbing(GCG *gcg, int maxlpiterations, SCIP_Longint *nlpiterations, SCIP_Real *lpobjvalue, SCIP_Bool *lpsolved, SCIP_Bool *lperror, SCIP_Bool *cutoff)
Definition relax_gcg.c:4756
SCIP_RETCODE GCGrelaxIncludeBranchrule(GCG *gcg, SCIP_BRANCHRULE **branchrule, GCG_BRANCHRULE **gcgbranchrule, const char *name, const char *desc, int priority, int maxdepth, SCIP_Real maxbounddist, SCIP_BRANCHRULEDATA *branchruledata, GCG_DECL_BRANCHACTIVEMASTER((*branchactivemaster)), GCG_DECL_BRANCHDEACTIVEMASTER((*branchdeactivemaster)), GCG_DECL_BRANCHPROPMASTER((*branchpropmaster)), GCG_DECL_BRANCHMASTERSOLVED((*branchmastersolved)), GCG_DECL_BRANCHDATADELETE((*branchdatadelete)), GCG_DECL_BRANCHNEWCOL((*branchnewcol)), GCG_DECL_BRANCHGETEXTENDEDMASTERCONS((*branchgetextendedmastercons)),)
Definition relax_gcg.c:3717
SCIP_RETCODE GCGrelaxStartProbing(GCG *gcg, SCIP_HEUR *probingheur)
Definition relax_gcg.c:4390
SCIP_RETCODE GCGrelaxNewProbingnodeOrig(GCG *gcg)
Definition relax_gcg.c:4459
SCIP_RETCODE GCGrelaxPerformProbingWithPricing(GCG *gcg, int maxpricerounds, SCIP_Longint *nlpiterations, int *npricerounds, SCIP_Real *lpobjvalue, SCIP_Bool *lpsolved, SCIP_Bool *lperror, SCIP_Bool *cutoff)
Definition relax_gcg.c:4775
GCG relaxator.
Definition branch_bpstrong.c:110
Definition branch_bpstrong.c:128
SCIP_Real maxphase0outcandsfrac
Definition branch_bpstrong.c:184
GCG_BRANCHRULE * initiatorbranchrule
Definition branch_bpstrong.c:153
SCIP_Real maxphase1outcandsfrac
Definition branch_bpstrong.c:191
Definition branch_bpstrong.c:120
struct SCIP_Branchrule SCIP_BRANCHRULE
struct SCIP_BranchruleData SCIP_BRANCHRULEDATA
type definitions for branching rules in GCG projects
struct SCIP_Cons SCIP_CONS
struct SCIP_HashMap SCIP_HASHMAP
struct SCIP_HashTable SCIP_HASHTABLE
SCIP_DIDNOTRUN
SCIP_CUTOFF
SCIP_BRANCHED
enum SCIP_Result SCIP_RESULT
enum SCIP_Retcode SCIP_RETCODE
struct Scip SCIP
struct SCIP_Node SCIP_NODE
struct SCIP_Var SCIP_VAR