Detailed Description
branching rule for original problem in GCG
Definition in file branch_orig.h.
Go to the source code of this file.
Functions | |
| GCG_EXPORT SCIP_RETCODE | GCGincludeBranchruleOrig (GCG *gcg) |
| SCIP_VAR * | GCGbranchOrigGetOrigvar (GCG_BRANCHDATA *branchdata) |
| GCG_BOUNDTYPE | GCGbranchOrigGetBoundtype (GCG_BRANCHDATA *branchdata) |
| SCIP_Real | GCGbranchOrigGetNewbound (GCG_BRANCHDATA *branchdata) |
| SCIP_RETCODE | GCGbranchOrigUpdateExternBranchcands (GCG *gcg) |
Function Documentation
◆ GCGincludeBranchruleOrig()
| GCG_EXPORT SCIP_RETCODE GCGincludeBranchruleOrig | ( | GCG * | gcg | ) |
creates the branching on original variable branching rule and includes it in SCIP
- Parameters
-
gcg GCG data structure
Definition at line 993 of file branch_orig.c.
References assert(), branchDeactiveMasterOrig, branchPropMasterOrig, BRANCHRULE_DESC, BRANCHRULE_MAXBOUNDDIST, BRANCHRULE_MAXDEPTH, BRANCHRULE_NAME, BRANCHRULE_PRIORITY, DEFAULT_ENFORCEBYCONS, DEFAULT_MAXPHASE0OUTCANDS, DEFAULT_MAXPHASE0OUTCANDSFRAC, DEFAULT_MAXPHASE1OUTCANDS, DEFAULT_MAXPHASE1OUTCANDSFRAC, DEFAULT_MINPHASE0OUTCANDS, DEFAULT_MINPHASE1OUTCANDS, DEFAULT_MOSTFRAC, DEFAULT_PHASE1GAPWEIGHT, DEFAULT_PHASE2GAPWEIGHT, DEFAULT_USEPSEUDO, DEFAULT_USEPSSTRONG, DEFAULT_USERANDOM, DEFAULT_USESTRONG, SCIP_BranchruleData::enforcebycons, SCIP_BranchruleData::gcg, SCIP_BranchruleData::gcgbranchrule, GCGgetMasterprob(), GCGgetOrigprob(), GCGincludeBranchruleOrig(), GCGrelaxIncludeBranchrule(), masterprob, SCIP_BranchruleData::mostfrac, origprob, SCIP_CALL(), SCIPdebugMessage(), SCIP_BranchruleData::usepseudocosts, SCIP_BranchruleData::usepsstrong, SCIP_BranchruleData::userandom, and SCIP_BranchruleData::usestrong.
Referenced by GCGincludeBranchruleOrig(), and GCGincludeMasterPlugins().
◆ GCGbranchOrigGetOrigvar()
| SCIP_VAR * GCGbranchOrigGetOrigvar | ( | GCG_BRANCHDATA * | branchdata | ) |
get the original variable on which the branching was performed
- Parameters
-
branchdata branching data
Definition at line 1094 of file branch_orig.c.
References assert(), GCGbranchOrigGetOrigvar(), and GCG_BranchData::origvar.
Referenced by applyOriginalBranching(), and GCGbranchOrigGetOrigvar().
◆ GCGbranchOrigGetBoundtype()
| GCG_BOUNDTYPE GCGbranchOrigGetBoundtype | ( | GCG_BRANCHDATA * | branchdata | ) |
get the type of the new bound which resulted of the performed branching
- Parameters
-
branchdata branching data
Definition at line 1104 of file branch_orig.c.
References assert(), GCG_BranchData::boundtype, and GCGbranchOrigGetBoundtype().
Referenced by applyOriginalBranching(), and GCGbranchOrigGetBoundtype().
◆ GCGbranchOrigGetNewbound()
| SCIP_Real GCGbranchOrigGetNewbound | ( | GCG_BRANCHDATA * | branchdata | ) |
get the new bound which resulted of the performed branching
- Parameters
-
branchdata branching data
Definition at line 1114 of file branch_orig.c.
References assert(), GCGbranchOrigGetNewbound(), and GCG_BranchData::newbound.
Referenced by applyOriginalBranching(), and GCGbranchOrigGetNewbound().
◆ GCGbranchOrigUpdateExternBranchcands()
| SCIP_RETCODE GCGbranchOrigUpdateExternBranchcands | ( | GCG * | gcg | ) |
updates extern branching candidates before branching
- Parameters
-
gcg GCG data structure
Definition at line 1124 of file branch_orig.c.
References assert(), GCGbranchOrigUpdateExternBranchcands(), GCGgetOrigprob(), GCGisOriginal(), i, SCIP_CALL(), and SCIPdebugMessage().
Referenced by GCGbranchOrigUpdateExternBranchcands().