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 |
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 assert(), BRANCHRULE_DESC, BRANCHRULE_MAXBOUNDDIST, BRANCHRULE_MAXDEPTH, BRANCHRULE_NAME, BRANCHRULE_PRIORITY, EVENTHDLR_DESC, EVENTHDLR_NAME, SCIP_BranchruleData::gcg, SCIP_EventhdlrData::gcg, SCIP_BranchruleData::gcgbranchrule, GCGgetMasterprob(), GCGincludeBranchruleGeneric(), GCGrelaxIncludeBranchrule(), masterprob, SCIP_CALL(), and SCIPdebugMessage().
Referenced by GCGincludeBranchruleGeneric(), and 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 assert(), GCG_BranchData::consS, and GCGbranchGenericBranchdataGetConsS().
Referenced by GCGbranchGenericBranchdataGetConsS(), 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 assert(), GCG_BranchData::consSsize, and GCGbranchGenericBranchdataGetConsSsize().
Referenced by GCGbranchGenericBranchdataGetConsSsize(), 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 assert(), GCG_BranchData::consblocknr, and GCGbranchGenericBranchdataGetConsblocknr().
Referenced by GCGbranchGenericBranchdataGetConsblocknr(), 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 assert(), GCGbranchGenericBranchdataGetMastercons(), and GCG_BranchData::mastercons.
Referenced by addVarToMasterbranch(), and GCGbranchGenericBranchdataGetMastercons().
◆ 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(), and GCGisBranchruleGeneric().
Referenced by GCGisBranchruleGeneric(), ObjPricerGcg::pricingLoop(), and SCIP_DECL_EVENTEXEC().