Detailed Description
branching rule based on vanderbeck's generic branching scheme
Definition in file branch_generic.h.
Go to the source code of this file.
Data Structures | |
| struct | ComponentBoundSequence |
| struct | GCG_Strip |
Typedefs | |
| typedef struct ComponentBoundSequence | GCG_COMPSEQUENCE |
| typedef struct GCG_Strip | GCG_STRIP |
Enumerations | |
| enum | GCG_COMPSENSE { GCG_COMPSENSE_GE = 1 , GCG_COMPSENSE_LT = 0 } |
Functions | |
| GCG_EXPORT SCIP_RETCODE | GCGincludeBranchruleGeneric (GCG *gcg) |
| GCG_COMPSEQUENCE * | GCGbranchGenericBranchdataGetConsS (GCG_BRANCHDATA *branchdata) |
| int | GCGbranchGenericBranchdataGetConsSsize (GCG_BRANCHDATA *branchdata) |
| int | GCGbranchGenericBranchdataGetConsblocknr (GCG_BRANCHDATA *branchdata) |
| SCIP_CONS * | GCGbranchGenericBranchdataGetMastercons (GCG_BRANCHDATA *branchdata) |
| SCIP_Bool | GCGisBranchruleGeneric (GCG_BRANCHRULE *branchrule) |
Typedef Documentation
◆ GCG_COMPSEQUENCE
| typedef struct ComponentBoundSequence GCG_COMPSEQUENCE |
Definition at line 60 of file branch_generic.h.
◆ GCG_STRIP
Definition at line 71 of file branch_generic.h.
Enumeration Type Documentation
◆ GCG_COMPSENSE
| enum GCG_COMPSENSE |
| Enumerator | |
|---|---|
| GCG_COMPSENSE_GE | |
| GCG_COMPSENSE_LT | |
Definition at line 48 of file branch_generic.h.
Function Documentation
◆ GCGincludeBranchruleGeneric()
| GCG_EXPORT SCIP_RETCODE GCGincludeBranchruleGeneric | ( | GCG * | gcg | ) |
creates the generic branching rule and includes it in SCIP
- Parameters
-
gcg GCG data structure
Definition at line 3002 of file branch_generic.c.
References BRANCHRULE_DESC, BRANCHRULE_MAXBOUNDDIST, BRANCHRULE_MAXDEPTH, BRANCHRULE_NAME, BRANCHRULE_PRIORITY, EVENTHDLR_DESC, EVENTHDLR_NAME, SCIP_BranchruleData::gcg, SCIP_EventhdlrData::gcg, SCIP_BranchruleData::gcgbranchrule, GCGgetMasterprob(), GCGrelaxIncludeBranchrule(), NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBlockMemory, SCIPdebugMessage, SCIPfindBranchrule(), SCIPincludeEventhdlr(), SCIPsetBranchruleCopy(), SCIPsetBranchruleExecExt(), SCIPsetBranchruleExecLp(), SCIPsetBranchruleExecPs(), SCIPsetBranchruleFree(), and SCIPsetBranchruleInit().
Referenced by GCGincludeMasterPlugins().
◆ GCGbranchGenericBranchdataGetConsS()
| GCG_COMPSEQUENCE * GCGbranchGenericBranchdataGetConsS | ( | GCG_BRANCHDATA * | branchdata | ) |
get component bound sequence
- Parameters
-
branchdata branching data
Definition at line 3049 of file branch_generic.c.
References GCG_BranchData::consS, and NULL.
Referenced by getColCoefficient(), and SCIP_DECL_EVENTEXEC().
◆ GCGbranchGenericBranchdataGetConsSsize()
| int GCGbranchGenericBranchdataGetConsSsize | ( | GCG_BRANCHDATA * | branchdata | ) |
get size of component bound sequence
- Parameters
-
branchdata branching data
Definition at line 3058 of file branch_generic.c.
References GCG_BranchData::consSsize, and NULL.
Referenced by getColCoefficient(), and SCIP_DECL_EVENTEXEC().
◆ GCGbranchGenericBranchdataGetConsblocknr()
| int GCGbranchGenericBranchdataGetConsblocknr | ( | GCG_BRANCHDATA * | branchdata | ) |
get id of pricing problem (or block) to which the constraint belongs
- Parameters
-
branchdata branching data
Definition at line 3067 of file branch_generic.c.
References GCG_BranchData::consblocknr, and NULL.
Referenced by getColCoefficient(), and SCIP_DECL_EVENTEXEC().
◆ GCGbranchGenericBranchdataGetMastercons()
| SCIP_CONS * GCGbranchGenericBranchdataGetMastercons | ( | GCG_BRANCHDATA * | branchdata | ) |
get master constraint
- Parameters
-
branchdata branching data
Definition at line 3076 of file branch_generic.c.
References GCG_BranchData::mastercons, and NULL.
Referenced by addVarToMasterbranch().
◆ GCGisBranchruleGeneric()
| SCIP_Bool GCGisBranchruleGeneric | ( | GCG_BRANCHRULE * | branchrule | ) |
returns true when the branch rule is the generic branchrule
- Parameters
-
branchrule branchrule to check
Definition at line 3085 of file branch_generic.c.
References BRANCHRULE_NAME, GCGbranchGetScipBranchrule(), NULL, SCIP_Bool, and SCIPbranchruleGetName().
Referenced by ObjPricerGcg::pricingLoop(), and SCIP_DECL_EVENTEXEC().