Detailed Description
generic branch and price strong branching as described in Pecin, D., Pessoa, A., Poggi, M., Uchoa, E. Improved branch-cut-and-price for capacitated vehicle routing. In: Math. Prog. Comp. 9:61-100. Springer (2017).
Definition in file branch_bpstrong.h.
Go to the source code of this file.
Functions | |
| GCG_EXPORT SCIP_RETCODE | GCGincludeBranchruleBPStrong (GCG *gcg) |
| SCIP_RETCODE | GCGbranchSelectCandidateStrongBranchingOrig (GCG *gcg, GCG_BRANCHRULE *origbranchrule, SCIP_VAR **branchvar, SCIP_Bool *upinf, SCIP_Bool *downinf, SCIP_RESULT *result, SCIP_Bool *stillusestrong) |
| SCIP_RETCODE | GCGbranchSelectCandidateStrongBranchingRyanfoster (GCG *gcg, GCG_BRANCHRULE *rfbranchrule, SCIP_VAR **ovar1s, SCIP_VAR **ovar2s, int *nspricingblock, int npairs, SCIP_VAR **ovar1, SCIP_VAR **ovar2, int *pricingblock, SCIP_Bool *sameinf, SCIP_Bool *differinf, SCIP_RESULT *result, SCIP_Bool *stillusestrong) |
Function Documentation
◆ GCGincludeBranchruleBPStrong()
| GCG_EXPORT SCIP_RETCODE GCGincludeBranchruleBPStrong | ( | GCG * | gcg | ) |
creates the xyz branching rule and includes it in SCIP
creates the b&p strong-branching branching rule and includes it in SCIP
- Parameters
-
gcg GCG data structure
Definition at line 1627 of file branch_bpstrong.c.
References assert(), branchActiveMasterBPStrong, branchDataDeleteBPStrong, branchDeactiveMasterBPStrong, branchMasterSolvedBPStrong, branchPropMasterBPStrong, BRANCHRULE_DESC, BRANCHRULE_MAXBOUNDDIST, BRANCHRULE_MAXDEPTH, BRANCHRULE_NAME, BRANCHRULE_PRIORITY, SCIP_BranchruleData::closepercentage, DEFAULT_CLOSEPERCENTAGE, DEFAULT_DEPTHLOGBASE, DEFAULT_DEPTHLOGPHASE0FRAC, DEFAULT_DEPTHLOGPHASE2FRAC, DEFAULT_DEPTHLOGWEIGHT, DEFAULT_FORCEP0, DEFAULT_HISTWEIGHT, DEFAULT_IMMEDIATEINF, DEFAULT_LOOKAHEADSCALES, DEFAULT_MAXCONSECHEURCLOSE, DEFAULT_MAXLOOKAHEAD, DEFAULT_MAXPHASE1DEPTH, DEFAULT_MAXPHASE2DEPTH, DEFAULT_MAXSBLPITERS, DEFAULT_MAXSBPRICEROUNDS, DEFAULT_MINCOLGENCANDS, DEFAULT_MINPHASE0DEPTH, DEFAULT_PHASE1RELIABLE, DEFAULT_PHASE2RELIABLE, DEFAULT_REEVALAGE, DEFAULT_RFUSEMOSTFRAC, DEFAULT_RFUSEPSEUDOCOSTS, DEFAULT_SBPSEUDOCOSTWEIGHT, DEFAULT_STRONGLITE, DEFAULT_STRONGTRAIN, SCIP_BranchruleData::forcephase0, SCIP_BranchruleData::gcg, GCGgetMasterprob(), GCGgetOrigprob(), GCGincludeBranchruleBPStrong(), GCGrelaxIncludeBranchrule(), SCIP_BranchruleData::histweight, SCIP_BranchruleData::immediateinf, SCIP_BranchruleData::initialized, SCIP_BranchruleData::lookaheadscales, masterprob, SCIP_BranchruleData::maxconsecheurclose, SCIP_BranchruleData::maxlookahead, SCIP_BranchruleData::maxphase1depth, SCIP_BranchruleData::maxphase2depth, SCIP_BranchruleData::mincolgencands, SCIP_BranchruleData::minphase0depth, SCIP_BranchruleData::phase1reliable, SCIP_BranchruleData::phase2reliable, SCIP_BranchruleData::reevalage, SCIP_BranchruleData::sbpseudocostweight, SCIP_CALL(), SCIPdebugMessage(), SCIP_BranchruleData::usestronglite, and SCIP_BranchruleData::usestrongtrain.
Referenced by GCGincludeBranchruleBPStrong(), and GCGincludeMasterPlugins().
◆ GCGbranchSelectCandidateStrongBranchingOrig()
| SCIP_RETCODE GCGbranchSelectCandidateStrongBranchingOrig | ( | GCG * | gcg, |
| GCG_BRANCHRULE * | origbranchrule, | ||
| SCIP_VAR ** | branchvar, | ||
| SCIP_Bool * | upinf, | ||
| SCIP_Bool * | downinf, | ||
| SCIP_RESULT * | result, | ||
| SCIP_Bool * | stillusestrong ) |
- Parameters
-
gcg GCG data structure origbranchrule pointer storing original branching rule branchvar pointer to store output var pointer upinf pointer to store whether strong branching detected infeasibility in the upbranch downinf pointer to store whether strong branching detected infeasibility in the downbranch result pointer to store result stillusestrong pointer to store whether strong branching has reached a permanent stopping condition for orig
Definition at line 1766 of file branch_bpstrong.c.
References assert(), BRANCHRULE_NAME, SCIP_BranchruleData::done, GCGbranchSelectCandidateStrongBranchingOrig(), GCGgetMasterprob(), GCGgetOrigprob(), SCIP_BranchruleData::initiator, masterprob, SCIP_BranchruleData::maxphase0outcands, SCIP_BranchruleData::maxphase0outcandsfrac, SCIP_BranchruleData::maxphase1outcands, SCIP_BranchruleData::maxphase1outcandsfrac, SCIP_BranchruleData::minphase0outcands, SCIP_BranchruleData::minphase1outcands, SCIP_BranchruleData::mostfrac, ORIG, origprob, SCIP_BranchruleData::phase1gapweight, SCIP_BranchruleData::phase2gapweight, result, SCIP_CALL(), selectCandidate(), and SCIP_BranchruleData::usepseudocosts.
Referenced by branchExtern(), and GCGbranchSelectCandidateStrongBranchingOrig().
◆ GCGbranchSelectCandidateStrongBranchingRyanfoster()
| SCIP_RETCODE GCGbranchSelectCandidateStrongBranchingRyanfoster | ( | GCG * | gcg, |
| GCG_BRANCHRULE * | rfbranchrule, | ||
| SCIP_VAR ** | ovar1s, | ||
| SCIP_VAR ** | ovar2s, | ||
| int * | nspricingblock, | ||
| int | npairs, | ||
| SCIP_VAR ** | ovar1, | ||
| SCIP_VAR ** | ovar2, | ||
| int * | pricingblock, | ||
| SCIP_Bool * | sameinf, | ||
| SCIP_Bool * | differinf, | ||
| SCIP_RESULT * | result, | ||
| SCIP_Bool * | stillusestrong ) |
interface method for Ryan-Foster branching to strong branching heuristics
- Parameters
-
gcg GCG data structure rfbranchrule Ryan-Foster branchrule ovar1s first elements of candidate pairs ovar2s second elements of candidate pairs nspricingblock pricing block numbers corresponding to input pairs npairs number of input pairs ovar1 pointer to store output var 1 pointer ovar2 pointer to store output var 2 pointer pricingblock pointer to store output pricing block number sameinf pointer to store whether strong branching detected infeasibility in the same branch differinf pointer to store whether strong branching detected infeasibility in the differ branch result pointer to store result stillusestrong pointer to store whether strong branching has reached a permanent stopping condition for Ryan-Foster
Definition at line 1822 of file branch_bpstrong.c.
References assert(), BRANCHRULE_NAME, SCIP_BranchruleData::done, GCGbranchSelectCandidateStrongBranchingRyanfoster(), GCGgetMasterprob(), GCGgetOrigprob(), SCIP_BranchruleData::initiator, SCIP_BranchruleData::initiatorbranchrule, SCIP_BranchruleData::maxphase0outcands, SCIP_BranchruleData::maxphase0outcandsfrac, SCIP_BranchruleData::maxphase1outcands, SCIP_BranchruleData::maxphase1outcandsfrac, SCIP_BranchruleData::minphase0outcands, SCIP_BranchruleData::minphase1outcands, SCIP_BranchruleData::mostfrac, origprob, SCIP_BranchruleData::phase1gapweight, SCIP_BranchruleData::phase2gapweight, result, RYANFOSTER, SCIP_CALL(), selectCandidate(), and SCIP_BranchruleData::usepseudocosts.
Referenced by GCGbranchSelectCandidateStrongBranchingRyanfoster(), and SCIP_DECL_BRANCHEXECLP().