functions for branching rule plugins
| SCIP_DECL_SORTPTRCOMP | ( | SCIPbranchruleComp | ) |
compares two branching rules w. r. to their priority
Definition at line 1253 of file branch.c.
References SCIP_DECL_SORTPTRCOMP.
| SCIP_DECL_SORTPTRCOMP | ( | SCIPbranchruleCompName | ) |
comparison method for sorting branching rules w.r.t. to their name
Definition at line 1259 of file branch.c.
References SCIP_DECL_SORTPTRCOMP, and SCIPbranchruleGetName().
| SCIP_BRANCHRULEDATA * SCIPbranchruleGetData | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets user data of branching rule
| branchrule | branching rule |
Definition at line 1886 of file branch.c.
References assert(), SCIP_Branchrule::branchruledata, NULL, and SCIPbranchruleGetData().
Referenced by applyBdchgs(), branch(), execRelpscost(), needsStrongBranching(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECPS(), SCIP_DECL_BRANCHEXECPS(), SCIP_DECL_BRANCHEXECPS(), SCIP_DECL_BRANCHEXIT(), SCIP_DECL_BRANCHEXIT(), SCIP_DECL_BRANCHEXIT(), SCIP_DECL_BRANCHEXIT(), SCIP_DECL_BRANCHEXIT(), SCIP_DECL_BRANCHEXIT(), SCIP_DECL_BRANCHEXIT(), SCIP_DECL_BRANCHEXITSOL(), SCIP_DECL_BRANCHEXITSOL(), SCIP_DECL_BRANCHEXITSOL(), SCIP_DECL_BRANCHEXITSOL(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_BRANCHINITSOL(), SCIP_DECL_BRANCHINITSOL(), SCIPbranchruleGetData(), SCIPfindObjBranchrule(), SCIPgetObjBranchrule(), SCIPgetVanillafullstrongData(), SCIPselectVarPseudoStrongBranching(), SCIPselectVarStrongBranching(), selectBranchVar(), selectVarMultAggrBranching(), and updateMinMaxMeanGain().
| void SCIPbranchruleSetData | ( | SCIP_BRANCHRULE * | branchrule, |
| SCIP_BRANCHRULEDATA * | branchruledata ) |
sets user data of branching rule; user has to free old data in advance!
| branchrule | branching rule |
| branchruledata | new branching rule user data |
Definition at line 1896 of file branch.c.
References assert(), SCIP_Branchrule::branchruledata, NULL, and SCIPbranchruleSetData().
Referenced by SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_BRANCHFREE(), and SCIPbranchruleSetData().
| void SCIPbranchruleMarkExact | ( | SCIP_BRANCHRULE * | branchrule | ) |
marks this branching rule as safe to use in exact solving mode
| branchrule | branching rule |
Definition at line 1907 of file branch.c.
References assert(), SCIP_Branchrule::exact, NULL, SCIPbranchruleMarkExact(), and TRUE.
Referenced by SCIPbranchruleMarkExact(), and SCIPincludeBranchruleRelpscost().
| const char * SCIPbranchruleGetName | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets name of branching rule
| branchrule | branching rule |
Definition at line 2018 of file branch.c.
References assert(), SCIP_Branchrule::name, NULL, and SCIPbranchruleGetName().
Referenced by branch(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECPS(), SCIP_DECL_BRANCHEXECPS(), SCIP_DECL_BRANCHEXITSOL(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_SORTPTRCOMP(), SCIPbranchruleCopyInclude(), SCIPbranchruleGetName(), SCIPcollectBranchruleStatistics(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), and SCIPprintBranchruleStatistics().
| const char * SCIPbranchruleGetDesc | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets description of branching rule
| branchrule | branching rule |
Definition at line 2028 of file branch.c.
References assert(), SCIP_Branchrule::desc, NULL, and SCIPbranchruleGetDesc().
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPbranchruleGetDesc(), SCIPcollectBranchruleStatistics(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
| int SCIPbranchruleGetPriority | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets priority of branching rule
| branchrule | branching rule |
Definition at line 2038 of file branch.c.
References assert(), NULL, SCIP_Branchrule::priority, and SCIPbranchruleGetPriority().
Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPbranchruleGetPriority().
| int SCIPbranchruleGetMaxdepth | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets maximal depth level, up to which this branching rule should be used (-1 for no limit)
| branchrule | branching rule |
Definition at line 2062 of file branch.c.
References assert(), SCIP_Branchrule::maxdepth, NULL, and SCIPbranchruleGetMaxdepth().
Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPbranchruleGetMaxdepth().
| SCIP_Real SCIPbranchruleGetMaxbounddist | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets maximal relative distance from current node's dual bound to primal bound for applying branching rule
| branchrule | branching rule |
Definition at line 2084 of file branch.c.
References assert(), SCIP_Branchrule::maxbounddist, NULL, SCIP_Real, and SCIPbranchruleGetMaxbounddist().
Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPbranchruleGetMaxbounddist().
| SCIP_Real SCIPbranchruleGetSetupTime | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets time in seconds used in this branching rule for setting up for next stages
| branchrule | branching rule |
Definition at line 2118 of file branch.c.
References assert(), NULL, SCIP_Real, SCIPbranchruleGetSetupTime(), SCIPclockGetTime(), and SCIP_Branchrule::setuptime.
Referenced by SCIPbranchruleGetSetupTime(), SCIPcollectBranchruleStatistics(), and SCIPprintBranchruleStatistics().
| SCIP_Real SCIPbranchruleGetTime | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets time in seconds used in this branching rule
| branchrule | branching rule |
Definition at line 2128 of file branch.c.
References assert(), SCIP_Branchrule::branchclock, NULL, SCIP_Real, SCIPbranchruleGetTime(), and SCIPclockGetTime().
Referenced by SCIPbranchruleGetTime(), SCIPcollectBranchruleStatistics(), and SCIPprintBranchruleStatistics().
| SCIP_Longint SCIPbranchruleGetNLPCalls | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets the total number of times, the branching rule was called on an LP solution
| branchrule | branching rule |
Definition at line 2138 of file branch.c.
References assert(), SCIP_Branchrule::nlpcalls, NULL, SCIP_Longint, and SCIPbranchruleGetNLPCalls().
Referenced by SCIPbranchruleGetNLPCalls(), SCIPcollectBranchruleStatistics(), and SCIPprintBranchruleStatistics().
| SCIP_Longint SCIPbranchruleGetNExternCalls | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets the total number of times, the branching rule was called on external candidates
gets the total number of times, the branching rule was called on an external solution
| branchrule | branching rule |
Definition at line 2148 of file branch.c.
References assert(), SCIP_Branchrule::nexterncalls, NULL, SCIP_Longint, and SCIPbranchruleGetNExternCalls().
Referenced by SCIPbranchruleGetNExternCalls(), SCIPcollectBranchruleStatistics(), and SCIPprintBranchruleStatistics().
| SCIP_Longint SCIPbranchruleGetNPseudoCalls | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets the total number of times, the branching rule was called on a pseudo solution
| branchrule | branching rule |
Definition at line 2158 of file branch.c.
References assert(), SCIP_Branchrule::npseudocalls, NULL, SCIP_Longint, and SCIPbranchruleGetNPseudoCalls().
Referenced by SCIPbranchruleGetNPseudoCalls(), SCIPcollectBranchruleStatistics(), and SCIPprintBranchruleStatistics().
| SCIP_Longint SCIPbranchruleGetNCutoffs | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets the total number of times, the branching rule detected a cutoff
| branchrule | branching rule |
Definition at line 2168 of file branch.c.
References assert(), SCIP_Branchrule::ncutoffs, NULL, SCIP_Longint, and SCIPbranchruleGetNCutoffs().
Referenced by SCIPbranchruleGetNCutoffs(), SCIPcollectBranchruleStatistics(), and SCIPprintBranchruleStatistics().
| SCIP_Longint SCIPbranchruleGetNCutsFound | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets the total number of cuts, the branching rule separated
| branchrule | branching rule |
Definition at line 2178 of file branch.c.
References assert(), SCIP_Branchrule::ncutsfound, NULL, SCIP_Longint, and SCIPbranchruleGetNCutsFound().
Referenced by SCIPbranchruleGetNCutsFound(), SCIPcollectBranchruleStatistics(), and SCIPprintBranchruleStatistics().
| SCIP_Longint SCIPbranchruleGetNConssFound | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets the total number of constraints, the branching rule added to the respective local nodes (not counting constraints that were added to the child nodes as branching decisions)
| branchrule | branching rule |
Definition at line 2190 of file branch.c.
References assert(), SCIP_Branchrule::nconssfound, NULL, SCIP_Longint, and SCIPbranchruleGetNConssFound().
Referenced by SCIPbranchruleGetNConssFound(), SCIPcollectBranchruleStatistics(), and SCIPprintBranchruleStatistics().
| SCIP_Longint SCIPbranchruleGetNDomredsFound | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets the total number of domain reductions, the branching rule found
| branchrule | branching rule |
Definition at line 2200 of file branch.c.
References assert(), SCIP_Branchrule::ndomredsfound, NULL, SCIP_Longint, and SCIPbranchruleGetNDomredsFound().
Referenced by SCIPbranchruleGetNDomredsFound(), SCIPcollectBranchruleStatistics(), and SCIPprintBranchruleStatistics().
| SCIP_Longint SCIPbranchruleGetNChildren | ( | SCIP_BRANCHRULE * | branchrule | ) |
gets the total number of children, the branching rule created
| branchrule | branching rule |
Definition at line 2210 of file branch.c.
References assert(), SCIP_Branchrule::nchildren, NULL, SCIP_Longint, and SCIPbranchruleGetNChildren().
Referenced by displayRelevantStats(), SCIPbranchruleGetNChildren(), SCIPcollectBranchruleStatistics(), and SCIPprintBranchruleStatistics().
| SCIP_Bool SCIPbranchruleIsInitialized | ( | SCIP_BRANCHRULE * | branchrule | ) |
is branching rule initialized?
| branchrule | branching rule |
Definition at line 2220 of file branch.c.
References assert(), SCIP_Branchrule::initialized, NULL, SCIP_Bool, and SCIPbranchruleIsInitialized().
Referenced by SCIPbranchruleIsInitialized().
| SCIP_RETCODE SCIPincludeBranchrule | ( | SCIP * | scip, |
| const char * | name, | ||
| const char * | desc, | ||
| int | priority, | ||
| int | maxdepth, | ||
| SCIP_Real | maxbounddist, | ||
| SCIP_DECL_BRANCHCOPY((*branchcopy)) | , | ||
| SCIP_DECL_BRANCHFREE((*branchfree)) | , | ||
| SCIP_DECL_BRANCHINIT((*branchinit)) | , | ||
| SCIP_DECL_BRANCHEXIT((*branchexit)) | , | ||
| SCIP_DECL_BRANCHINITSOL((*branchinitsol)) | , | ||
| SCIP_DECL_BRANCHEXITSOL((*branchexitsol)) | , | ||
| SCIP_DECL_BRANCHEXECLP((*branchexeclp)) | , | ||
| SCIP_DECL_BRANCHEXECEXT((*branchexecext)) | , | ||
| SCIP_DECL_BRANCHEXECPS((*branchexecps)) | , | ||
| SCIP_BRANCHRULEDATA * | branchruledata ) |
creates a branching rule and includes it in SCIP
| scip | SCIP data structure |
| name | name of branching rule |
| desc | description of branching rule |
| priority | priority of the branching rule |
| maxdepth | maximal depth level, up to which this branching rule should be used (or -1) |
| maxbounddist | maximal relative distance from current node's dual bound to primal bound compared to best node's dual bound for applying branching rule (0.0: only on current best node, 1.0: on all nodes) |
| - | copy method of branching rule or NULL if you don't want to copy your plugin into sub-SCIPs |
| - | destructor of branching rule |
| - | initialize branching rule |
| - | deinitialize branching rule |
| - | solving process initialization method of branching rule |
| - | solving process deinitialization method of branching rule |
| - | branching execution method for fractional LP solutions |
| - | branching execution method for external candidates |
| - | branching execution method for not completely fixed pseudo solutions |
| branchruledata | branching rule data |
Definition at line 71 of file scip_branch.c.
References FALSE, maxdepth, NULL, SCIP_CALL, SCIP_DECL_BRANCHCOPY, SCIP_DECL_BRANCHEXECEXT, SCIP_DECL_BRANCHEXECLP, SCIP_DECL_BRANCHEXECPS, SCIP_DECL_BRANCHEXIT, SCIP_DECL_BRANCHEXITSOL, SCIP_DECL_BRANCHFREE, SCIP_DECL_BRANCHINIT, SCIP_DECL_BRANCHINITSOL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_Real, SCIPbranchruleCreate(), SCIPcheckStage, SCIPerrorMessage, SCIPfindBranchrule(), SCIPincludeBranchrule(), SCIPsetIncludeBranchrule(), and TRUE.
Referenced by SCIPincludeBranchrule(), and SCIPincludeObjBranchrule().
| SCIP_RETCODE SCIPincludeBranchruleBasic | ( | SCIP * | scip, |
| SCIP_BRANCHRULE ** | branchruleptr, | ||
| const char * | name, | ||
| const char * | desc, | ||
| int | priority, | ||
| int | maxdepth, | ||
| SCIP_Real | maxbounddist, | ||
| SCIP_BRANCHRULEDATA * | branchruledata ) |
creates a branching rule and includes it in SCIP. All non-fundamental (or optional) callbacks will be set to NULL. Optional callbacks can be set via specific setter functions, see SCIPsetBranchruleInit(), SCIPsetBranchruleExit(), SCIPsetBranchruleCopy(), SCIPsetBranchruleFree(), SCIPsetBranchruleInitsol(), SCIPsetBranchruleExitsol(), SCIPsetBranchruleExecLp(), SCIPsetBranchruleExecExt(), and SCIPsetBranchruleExecPs().
| scip | SCIP data structure |
| branchruleptr | pointer to branching rule, or NULL |
| name | name of branching rule |
| desc | description of branching rule |
| priority | priority of the branching rule |
| maxdepth | maximal depth level, up to which this branching rule should be used (or -1) |
| maxbounddist | maximal relative distance from current node's dual bound to primal bound compared to best node's dual bound for applying branching rule (0.0: only on current best node, 1.0: on all nodes) |
| branchruledata | branching rule data |
Definition at line 123 of file scip_branch.c.
References FALSE, maxdepth, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_Real, SCIPbranchruleCreate(), SCIPcheckStage, SCIPerrorMessage, SCIPfindBranchrule(), SCIPincludeBranchruleBasic(), SCIPsetIncludeBranchrule(), and TRUE.
Referenced by SCIPincludeBranchruleAllfullstrong(), SCIPincludeBranchruleBasic(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleColoring(), SCIPincludeBranchruleDistribution(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleGomory(), SCIPincludeBranchruleInference(), SCIPincludeBranchruleLeastinf(), SCIPincludeBranchruleLookahead(), SCIPincludeBranchruleMostinf(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchruleMultinode(), SCIPincludeBranchruleNodereopt(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleRelpscost(), SCIPincludeBranchruleRyanFoster(), SCIPincludeBranchruleStrongcoloring(), and SCIPincludeBranchruleVanillafullstrong().
| SCIP_RETCODE SCIPsetBranchruleCopy | ( | SCIP * | scip, |
| SCIP_BRANCHRULE * | branchrule ) |
sets copy method of branching rule
| scip | SCIP data structure |
| branchrule | branching rule copy method of branching rule or NULL if you don't want to copy your plugin into sub-SCIPs |
Definition at line 160 of file scip_branch.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_DECL_BRANCHCOPY, SCIP_OKAY, SCIPbranchruleSetCopy(), SCIPcheckStage, SCIPsetBranchruleCopy(), and TRUE.
Referenced by SCIPincludeBranchruleAllfullstrong(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleColoring(), SCIPincludeBranchruleDistribution(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleGomory(), SCIPincludeBranchruleInference(), SCIPincludeBranchruleLeastinf(), SCIPincludeBranchruleLookahead(), SCIPincludeBranchruleMostinf(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchruleNodereopt(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleRelpscost(), SCIPincludeBranchruleStrongcoloring(), SCIPincludeBranchruleVanillafullstrong(), and SCIPsetBranchruleCopy().
| SCIP_RETCODE SCIPsetBranchruleFree | ( | SCIP * | scip, |
| SCIP_BRANCHRULE * | branchrule ) |
sets destructor method of branching rule
| scip | SCIP data structure |
| branchrule | branching rule destructor of branching rule |
Definition at line 176 of file scip_branch.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_DECL_BRANCHFREE, SCIP_OKAY, SCIPbranchruleSetFree(), SCIPcheckStage, SCIPsetBranchruleFree(), and TRUE.
Referenced by SCIPincludeBranchruleAllfullstrong(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleColoring(), SCIPincludeBranchruleDistribution(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleGomory(), SCIPincludeBranchruleInference(), SCIPincludeBranchruleLookahead(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleRelpscost(), SCIPincludeBranchruleStrongcoloring(), SCIPincludeBranchruleVanillafullstrong(), and SCIPsetBranchruleFree().
| SCIP_RETCODE SCIPsetBranchruleInit | ( | SCIP * | scip, |
| SCIP_BRANCHRULE * | branchrule ) |
sets initialization method of branching rule
| scip | SCIP data structure |
| branchrule | branching rule initialize branching rule |
Definition at line 192 of file scip_branch.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_DECL_BRANCHINIT, SCIP_OKAY, SCIPbranchruleSetInit(), SCIPcheckStage, SCIPsetBranchruleInit(), and TRUE.
Referenced by SCIPincludeBranchruleAllfullstrong(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleLookahead(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleStrongcoloring(), SCIPincludeBranchruleVanillafullstrong(), and SCIPsetBranchruleInit().
| SCIP_RETCODE SCIPsetBranchruleExit | ( | SCIP * | scip, |
| SCIP_BRANCHRULE * | branchrule ) |
sets deinitialization method of branching rule
| scip | SCIP data structure |
| branchrule | branching rule deinitialize branching rule |
Definition at line 208 of file scip_branch.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_DECL_BRANCHEXIT, SCIP_OKAY, SCIPbranchruleSetExit(), SCIPcheckStage, SCIPsetBranchruleExit(), and TRUE.
Referenced by SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleLookahead(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleStrongcoloring(), SCIPincludeBranchruleVanillafullstrong(), and SCIPsetBranchruleExit().
| SCIP_RETCODE SCIPsetBranchruleInitsol | ( | SCIP * | scip, |
| SCIP_BRANCHRULE * | branchrule ) |
sets solving process initialization method of branching rule
| scip | SCIP data structure |
| branchrule | branching rule solving process initialization method of branching rule |
Definition at line 224 of file scip_branch.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_DECL_BRANCHINITSOL, SCIP_OKAY, SCIPbranchruleSetInitsol(), SCIPcheckStage, SCIPsetBranchruleInitsol(), and TRUE.
Referenced by SCIPincludeBranchruleRelpscost(), and SCIPsetBranchruleInitsol().
| SCIP_RETCODE SCIPsetBranchruleExitsol | ( | SCIP * | scip, |
| SCIP_BRANCHRULE * | branchrule ) |
sets solving process deinitialization method of branching rule
| scip | SCIP data structure |
| branchrule | branching rule solving process deinitialization method of branching rule |
Definition at line 240 of file scip_branch.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_DECL_BRANCHEXITSOL, SCIP_OKAY, SCIPbranchruleSetExitsol(), SCIPcheckStage, SCIPsetBranchruleExitsol(), and TRUE.
Referenced by SCIPincludeBranchruleDistribution(), SCIPincludeBranchruleLookahead(), SCIPincludeBranchruleRelpscost(), and SCIPsetBranchruleExitsol().
| SCIP_RETCODE SCIPsetBranchruleExecLp | ( | SCIP * | scip, |
| SCIP_BRANCHRULE * | branchrule ) |
sets branching execution method for fractional LP solutions
| scip | SCIP data structure |
| branchrule | branching rule branching execution method for fractional LP solutions |
Definition at line 256 of file scip_branch.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_DECL_BRANCHEXECLP, SCIP_OKAY, SCIPbranchruleSetExecLp(), SCIPcheckStage, SCIPsetBranchruleExecLp(), and TRUE.
Referenced by SCIPincludeBranchruleAllfullstrong(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleColoring(), SCIPincludeBranchruleDistribution(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleGomory(), SCIPincludeBranchruleInference(), SCIPincludeBranchruleLeastinf(), SCIPincludeBranchruleLookahead(), SCIPincludeBranchruleMostinf(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchruleMultinode(), SCIPincludeBranchruleNodereopt(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleRelpscost(), SCIPincludeBranchruleRyanFoster(), SCIPincludeBranchruleStrongcoloring(), SCIPincludeBranchruleVanillafullstrong(), and SCIPsetBranchruleExecLp().
| SCIP_RETCODE SCIPsetBranchruleExecExt | ( | SCIP * | scip, |
| SCIP_BRANCHRULE * | branchrule ) |
sets branching execution method for external candidates
| scip | SCIP data structure |
| branchrule | branching rule branching execution method for external candidates |
Definition at line 272 of file scip_branch.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_DECL_BRANCHEXECEXT, SCIP_OKAY, SCIPbranchruleSetExecExt(), SCIPcheckStage, SCIPsetBranchruleExecExt(), and TRUE.
Referenced by SCIPincludeBranchruleInference(), SCIPincludeBranchruleLeastinf(), SCIPincludeBranchruleMostinf(), SCIPincludeBranchruleNodereopt(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), and SCIPsetBranchruleExecExt().
| SCIP_RETCODE SCIPsetBranchruleExecPs | ( | SCIP * | scip, |
| SCIP_BRANCHRULE * | branchrule ) |
sets branching execution method for not completely fixed pseudo solutions
| scip | SCIP data structure |
| branchrule | branching rule branching execution method for not completely fixed pseudo solutions |
Definition at line 288 of file scip_branch.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_DECL_BRANCHEXECPS, SCIP_OKAY, SCIPbranchruleSetExecPs(), SCIPcheckStage, SCIPsetBranchruleExecPs(), and TRUE.
Referenced by SCIPincludeBranchruleAllfullstrong(), SCIPincludeBranchruleColoring(), SCIPincludeBranchruleInference(), SCIPincludeBranchruleNodereopt(), SCIPincludeBranchruleRandom(), and SCIPsetBranchruleExecPs().
| SCIP_BRANCHRULE * SCIPfindBranchrule | ( | SCIP * | scip, |
| const char * | name ) |
returns the branching rule of the given name, or NULL if not existing
| scip | SCIP data structure |
| name | name of branching rule |
Definition at line 304 of file scip_branch.c.
References assert(), NULL, SCIPfindBranchrule(), SCIPsetFindBranchrule(), and SCIPsetSortBranchrules().
Referenced by applyBdchgs(), applyRepair(), displayRelevantStats(), doSolveSubMIP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXEC(), SCIPapplyRedSize(), SCIPexecRelpscostBranching(), SCIPfindBranchrule(), SCIPfindObjBranchrule(), SCIPgetVanillafullstrongData(), SCIPincludeBranchrule(), SCIPincludeBranchruleBasic(), SCIPselectBranchVarPscost(), SCIPselectVarPseudoStrongBranching(), SCIPselectVarStrongBranching(), SCIPsetCommonSubscipParams(), selectVarMultAggrBranching(), setSubscipParameters(), setupAndSolve(), setupAndSolve(), setupAndSolveSubscip(), setupAndSolveSubscip(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipMutation(), setupSCIPparamsStage3(), setupSubproblem(), setupSubScip(), setupSubScip(), setupSubScip(), solveCoveringProblem(), wrapperDins(), and wrapperRins().
| SCIP_BRANCHRULE ** SCIPgetBranchrules | ( | SCIP * | scip | ) |
returns the array of currently available branching rules
| scip | SCIP data structure |
Definition at line 319 of file scip_branch.c.
References assert(), NULL, and SCIPgetBranchrules().
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPgetBranchrules(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
| int SCIPgetNBranchrules | ( | SCIP * | scip | ) |
returns the number of currently available branching rules
| scip | SCIP data structure |
Definition at line 330 of file scip_branch.c.
References assert(), NULL, and SCIPgetNBranchrules().
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPgetNBranchrules(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
| SCIP_RETCODE SCIPsetBranchrulePriority | ( | SCIP * | scip, |
| SCIP_BRANCHRULE * | branchrule, | ||
| int | priority ) |
sets the priority of a branching rule
| scip | SCIP data structure |
| branchrule | branching rule |
| priority | new priority of the branching rule |
Definition at line 341 of file scip_branch.c.
References assert(), NULL, SCIP_OKAY, SCIPbranchruleSetPriority(), and SCIPsetBranchrulePriority().
Referenced by SCIP_DECL_PARAMCHGD(), and SCIPsetBranchrulePriority().
| SCIP_RETCODE SCIPsetBranchruleMaxdepth | ( | SCIP * | scip, |
| SCIP_BRANCHRULE * | branchrule, | ||
| int | maxdepth ) |
sets maximal depth level, up to which this branching rule should be used (-1 for no limit)
| scip | SCIP data structure |
| branchrule | branching rule |
| maxdepth | new maxdepth of the branching rule |
Definition at line 356 of file scip_branch.c.
References assert(), maxdepth, NULL, SCIP_OKAY, SCIPbranchruleSetMaxdepth(), and SCIPsetBranchruleMaxdepth().
Referenced by SCIPsetBranchruleMaxdepth().
| SCIP_RETCODE SCIPsetBranchruleMaxbounddist | ( | SCIP * | scip, |
| SCIP_BRANCHRULE * | branchrule, | ||
| SCIP_Real | maxbounddist ) |
sets maximal relative distance from current node's dual bound to primal bound for applying branching rule
| scip | SCIP data structure |
| branchrule | branching rule |
| maxbounddist | new maxbounddist of the branching rule |
Definition at line 371 of file scip_branch.c.
References assert(), NULL, SCIP_OKAY, SCIP_Real, SCIPbranchruleSetMaxbounddist(), and SCIPsetBranchruleMaxbounddist().
Referenced by SCIPsetBranchruleMaxbounddist().