methods for branching rule plugins
SCIP_DECL_SORTPTRCOMP (SCIPbranchruleComp) SCIP_DECL_SORTPTRCOMP (SCIPbranchruleCompName) SCIP_BRANCHRULEDATA * SCIPbranchruleGetData (SCIP_BRANCHRULE *branchrule) void SCIPbranchruleSetData (SCIP_BRANCHRULE *branchrule, SCIP_BRANCHRULEDATA *branchruledata) const char * SCIPbranchruleGetName (SCIP_BRANCHRULE *branchrule) const char * SCIPbranchruleGetDesc (SCIP_BRANCHRULE *branchrule) int SCIPbranchruleGetPriority (SCIP_BRANCHRULE *branchrule) int SCIPbranchruleGetMaxdepth (SCIP_BRANCHRULE *branchrule) SCIP_Real SCIPbranchruleGetMaxbounddist (SCIP_BRANCHRULE *branchrule) SCIP_Real SCIPbranchruleGetSetupTime (SCIP_BRANCHRULE *branchrule) SCIP_Real SCIPbranchruleGetTime (SCIP_BRANCHRULE *branchrule) SCIP_Longint SCIPbranchruleGetNLPCalls (SCIP_BRANCHRULE *branchrule) SCIP_Longint SCIPbranchruleGetNExternCalls (SCIP_BRANCHRULE *branchrule) SCIP_Longint SCIPbranchruleGetNPseudoCalls (SCIP_BRANCHRULE *branchrule) SCIP_Longint SCIPbranchruleGetNCutoffs (SCIP_BRANCHRULE *branchrule) SCIP_Longint SCIPbranchruleGetNCutsFound (SCIP_BRANCHRULE *branchrule) SCIP_Longint SCIPbranchruleGetNConssFound (SCIP_BRANCHRULE *branchrule) SCIP_Longint SCIPbranchruleGetNDomredsFound (SCIP_BRANCHRULE *branchrule) SCIP_Longint SCIPbranchruleGetNChildren (SCIP_BRANCHRULE *branchrule) SCIP_Bool SCIPbranchruleIsInitialized (SCIP_BRANCHRULE *branchrule) 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) SCIP_RETCODE SCIPincludeBranchruleBasic (SCIP *scip, SCIP_BRANCHRULE **branchruleptr, const char *name, const char *desc, int priority, int maxdepth, SCIP_Real maxbounddist, SCIP_BRANCHRULEDATA *branchruledata) SCIP_RETCODE SCIPsetBranchruleCopy (SCIP *scip, SCIP_BRANCHRULE *branchrule, SCIP_DECL_BRANCHCOPY((*branchcopy))) SCIP_RETCODE SCIPsetBranchruleFree (SCIP *scip, SCIP_BRANCHRULE *branchrule, SCIP_DECL_BRANCHFREE((*branchfree))) SCIP_RETCODE SCIPsetBranchruleInit (SCIP *scip, SCIP_BRANCHRULE *branchrule, SCIP_DECL_BRANCHINIT((*branchinit))) SCIP_RETCODE SCIPsetBranchruleExit (SCIP *scip, SCIP_BRANCHRULE *branchrule, SCIP_DECL_BRANCHEXIT((*branchexit))) SCIP_RETCODE SCIPsetBranchruleInitsol (SCIP *scip, SCIP_BRANCHRULE *branchrule, SCIP_DECL_BRANCHINITSOL((*branchinitsol))) SCIP_RETCODE SCIPsetBranchruleExitsol (SCIP *scip, SCIP_BRANCHRULE *branchrule, SCIP_DECL_BRANCHEXITSOL((*branchexitsol))) SCIP_RETCODE SCIPsetBranchruleExecLp (SCIP *scip, SCIP_BRANCHRULE *branchrule, SCIP_DECL_BRANCHEXECLP((*branchexeclp))) SCIP_RETCODE SCIPsetBranchruleExecExt (SCIP *scip, SCIP_BRANCHRULE *branchrule, SCIP_DECL_BRANCHEXECEXT((*branchexecext))) SCIP_RETCODE SCIPsetBranchruleExecPs (SCIP *scip, SCIP_BRANCHRULE *branchrule, SCIP_DECL_BRANCHEXECPS((*branchexecps))) SCIP_BRANCHRULE * SCIPfindBranchrule (SCIP *scip, const char *name) SCIP_BRANCHRULE ** SCIPgetBranchrules (SCIP *scip) int SCIPgetNBranchrules (SCIP *scip) SCIP_RETCODE SCIPsetBranchrulePriority (SCIP *scip, SCIP_BRANCHRULE *branchrule, int priority) SCIP_RETCODE SCIPsetBranchruleMaxdepth (SCIP *scip, SCIP_BRANCHRULE *branchrule, int maxdepth) SCIP_RETCODE SCIPsetBranchruleMaxbounddist (SCIP *scip, SCIP_BRANCHRULE *branchrule, SCIP_Real maxbounddist) ◆ SCIP_DECL_SORTPTRCOMP() [1/2] SCIP_DECL_SORTPTRCOMP ( SCIPbranchruleComp )compares two branching rules w. r. to their priority
Definition at line 1220 of file branch.c.
◆ SCIP_DECL_SORTPTRCOMP() [2/2] SCIP_DECL_SORTPTRCOMP ( SCIPbranchruleCompName ) ◆ SCIPbranchruleGetData()gets user data of branching rule
Definition at line 1849 of file branch.c.
References SCIP_Branchrule::branchruledata, and NULL.
Referenced by applyBdchgs(), branch(), execRelpscost(), 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(), SCIPfindObjBranchrule(), SCIPgetObjBranchrule(), SCIPgetVanillafullstrongData(), SCIPselectVarPseudoStrongBranching(), SCIPselectVarStrongBranching(), selectBranchVar(), and selectVarMultAggrBranching().
◆ SCIPbranchruleSetData() ◆ SCIPbranchruleGetName()gets name of branching rule
Definition at line 1971 of file branch.c.
References SCIP_Branchrule::name, and NULL.
Referenced by branch(), SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECPS(), SCIP_DECL_BRANCHEXITSOL(), SCIP_DECL_BRANCHFREE(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_SORTPTRCOMP(), SCIPbranchruleCopyInclude(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), and SCIPprintBranchruleStatistics().
◆ SCIPbranchruleGetDesc() ◆ SCIPbranchruleGetPriority() ◆ SCIPbranchruleGetMaxdepth() ◆ SCIPbranchruleGetMaxbounddist() ◆ SCIPbranchruleGetSetupTime() ◆ SCIPbranchruleGetTime() ◆ SCIPbranchruleGetNLPCalls() ◆ SCIPbranchruleGetNExternCalls() ◆ SCIPbranchruleGetNPseudoCalls() ◆ SCIPbranchruleGetNCutoffs() ◆ SCIPbranchruleGetNCutsFound() ◆ SCIPbranchruleGetNConssFound() ◆ SCIPbranchruleGetNDomredsFound() ◆ SCIPbranchruleGetNChildren() ◆ SCIPbranchruleIsInitialized() ◆ SCIPincludeBranchrule() 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
creates a branching rule and includes it in SCIP
Definition at line 71 of file scip_branch.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPbranchruleCreate(), SCIPcheckStage(), SCIPerrorMessage, SCIPfindBranchrule(), SCIPsetIncludeBranchrule(), and TRUE.
Referenced by SCIPincludeObjBranchrule().
◆ SCIPincludeBranchruleBasic()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().
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().
Definition at line 123 of file scip_branch.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPbranchruleCreate(), SCIPcheckStage(), SCIPerrorMessage, SCIPfindBranchrule(), SCIPsetIncludeBranchrule(), and TRUE.
Referenced by SCIPincludeBranchruleAllfullstrong(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleColoring(), SCIPincludeBranchruleDistribution(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleGomory(), SCIPincludeBranchruleInference(), SCIPincludeBranchruleLeastinf(), SCIPincludeBranchruleLookahead(), SCIPincludeBranchruleMostinf(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchruleMultinode(), SCIPincludeBranchruleNodereopt(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleRelpscost(), SCIPincludeBranchruleRyanFoster(), SCIPincludeBranchruleStrongcoloring(), and SCIPincludeBranchruleVanillafullstrong().
◆ SCIPsetBranchruleCopy()sets copy method of branching rule
Definition at line 160 of file scip_branch.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPbranchruleSetCopy(), SCIPcheckStage(), and TRUE.
Referenced by SCIPincludeBranchruleAllfullstrong(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleColoring(), SCIPincludeBranchruleDistribution(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleGomory(), SCIPincludeBranchruleInference(), SCIPincludeBranchruleLeastinf(), SCIPincludeBranchruleLookahead(), SCIPincludeBranchruleMostinf(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchruleNodereopt(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleRelpscost(), SCIPincludeBranchruleStrongcoloring(), and SCIPincludeBranchruleVanillafullstrong().
◆ SCIPsetBranchruleFree()sets destructor method of branching rule
Definition at line 176 of file scip_branch.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPbranchruleSetFree(), SCIPcheckStage(), and TRUE.
Referenced by SCIPincludeBranchruleAllfullstrong(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleDistribution(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleGomory(), SCIPincludeBranchruleInference(), SCIPincludeBranchruleLookahead(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleRelpscost(), SCIPincludeBranchruleStrongcoloring(), and SCIPincludeBranchruleVanillafullstrong().
◆ SCIPsetBranchruleInit()sets initialization method of branching rule
Definition at line 192 of file scip_branch.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPbranchruleSetInit(), SCIPcheckStage(), and TRUE.
Referenced by SCIPincludeBranchruleAllfullstrong(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleLookahead(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleStrongcoloring(), and SCIPincludeBranchruleVanillafullstrong().
◆ SCIPsetBranchruleExit()sets deinitialization method of branching rule
Definition at line 208 of file scip_branch.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPbranchruleSetExit(), SCIPcheckStage(), and TRUE.
Referenced by SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleLookahead(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleStrongcoloring(), and SCIPincludeBranchruleVanillafullstrong().
◆ SCIPsetBranchruleInitsol() ◆ SCIPsetBranchruleExitsol() ◆ SCIPsetBranchruleExecLp()sets branching execution method for fractional LP solutions
Definition at line 256 of file scip_branch.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPbranchruleSetExecLp(), SCIPcheckStage(), and TRUE.
Referenced by SCIPincludeBranchruleAllfullstrong(), SCIPincludeBranchruleCloud(), SCIPincludeBranchruleColoring(), SCIPincludeBranchruleDistribution(), SCIPincludeBranchruleFullstrong(), SCIPincludeBranchruleGomory(), SCIPincludeBranchruleInference(), SCIPincludeBranchruleLeastinf(), SCIPincludeBranchruleLookahead(), SCIPincludeBranchruleMostinf(), SCIPincludeBranchruleMultAggr(), SCIPincludeBranchruleMultinode(), SCIPincludeBranchruleNodereopt(), SCIPincludeBranchrulePscost(), SCIPincludeBranchruleRandom(), SCIPincludeBranchruleRelpscost(), SCIPincludeBranchruleRyanFoster(), SCIPincludeBranchruleStrongcoloring(), and SCIPincludeBranchruleVanillafullstrong().
◆ SCIPsetBranchruleExecExt()sets branching execution method for external candidates
Definition at line 272 of file scip_branch.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPbranchruleSetExecExt(), SCIPcheckStage(), and TRUE.
Referenced by SCIPincludeBranchruleInference(), SCIPincludeBranchruleLeastinf(), SCIPincludeBranchruleMostinf(), SCIPincludeBranchruleNodereopt(), SCIPincludeBranchrulePscost(), and SCIPincludeBranchruleRandom().
◆ SCIPsetBranchruleExecPs()sets branching execution method for not completely fixed pseudo solutions
Definition at line 288 of file scip_branch.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPbranchruleSetExecPs(), SCIPcheckStage(), and TRUE.
Referenced by SCIPincludeBranchruleAllfullstrong(), SCIPincludeBranchruleColoring(), SCIPincludeBranchruleInference(), SCIPincludeBranchruleNodereopt(), and SCIPincludeBranchruleRandom().
◆ SCIPfindBranchrule()returns the branching rule of the given name, or NULL if not existing
Definition at line 304 of file scip_branch.c.
References NULL, SCIPsetFindBranchrule(), and SCIPsetSortBranchrules().
Referenced by applyBdchgs(), applyRepair(), displayRelevantStats(), doSolveSubMIP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIPapplyRedSize(), SCIPexecRelpscostBranching(), SCIPfindObjBranchrule(), SCIPgetVanillafullstrongData(), SCIPincludeBranchrule(), SCIPincludeBranchruleBasic(), SCIPselectBranchVarPscost(), SCIPselectVarPseudoStrongBranching(), SCIPselectVarStrongBranching(), SCIPsetCommonSubscipParams(), selectVarMultAggrBranching(), setSubscipParameters(), setupAndSolve(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipMutation(), setupSCIPparamsStage3(), setupSubproblem(), setupSubScip(), solveCoveringProblem(), wrapperDins(), and wrapperRins().
◆ SCIPgetBranchrules() ◆ SCIPgetNBranchrules() int SCIPgetNBranchrules ( SCIP * scip ) ◆ SCIPsetBranchrulePriority() ◆ SCIPsetBranchruleMaxdepth()sets maximal depth level, up to which this branching rule should be used (-1 for no limit)
Definition at line 356 of file scip_branch.c.
References NULL, SCIP_OKAY, and SCIPbranchruleSetMaxdepth().
◆ SCIPsetBranchruleMaxbounddist()sets maximal relative distance from current node's dual bound to primal bound for applying branching rule
Definition at line 371 of file scip_branch.c.
References NULL, SCIP_OKAY, and SCIPbranchruleSetMaxbounddist().
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4