Detailed Descriptionpseudo costs branching rule Definition in file branch_pscost.c. Go to the source code of this file.
Macro Definition Documentation
Definition at line 29 of file branch_pscost.c. Referenced by SCIP_DECL_BRANCHCOPY(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECLP(), SCIPincludeBranchrulePscost(), and SCIPselectBranchVarPscost().
Definition at line 30 of file branch_pscost.c. Referenced by SCIPincludeBranchrulePscost().
Definition at line 31 of file branch_pscost.c. Referenced by SCIPincludeBranchrulePscost().
Definition at line 32 of file branch_pscost.c. Referenced by SCIPincludeBranchrulePscost().
Definition at line 33 of file branch_pscost.c. Referenced by SCIPincludeBranchrulePscost().
possible pseudo cost multiplication strategies for branching on external candidates Definition at line 35 of file branch_pscost.c. Referenced by SCIPincludeBranchrulePscost().
default pseudo cost multiplication strategy Definition at line 36 of file branch_pscost.c. Referenced by SCIPincludeBranchrulePscost().
default weight for minimum of scores of a branching candidate Definition at line 37 of file branch_pscost.c. Referenced by SCIPincludeBranchrulePscost().
default weight for maximum of scores of a branching candidate Definition at line 38 of file branch_pscost.c. Referenced by SCIPincludeBranchrulePscost().
default weight for sum of scores of a branching candidate Definition at line 39 of file branch_pscost.c. Referenced by SCIPincludeBranchrulePscost().
default number of children in n-ary branching Definition at line 40 of file branch_pscost.c. Referenced by SCIPincludeBranchrulePscost().
default maximal depth where to do n-ary branching Definition at line 41 of file branch_pscost.c. Referenced by SCIPincludeBranchrulePscost().
default minimal domain width in children when doing n-ary branching Definition at line 42 of file branch_pscost.c. Referenced by SCIPincludeBranchrulePscost().
default factor of domain width in n-ary branching Definition at line 43 of file branch_pscost.c. Referenced by SCIPincludeBranchrulePscost().
Definition at line 45 of file branch_pscost.c. Referenced by updateBestCandidate(). Function Documentation
checks if a given branching candidate is better than a previous one and updates the best branching candidate accordingly
Definition at line 70 of file branch_pscost.c. References FALSE, NULL, REALABS, SCIP_Bool, SCIP_CALL, SCIP_INVALID, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_Real, SCIP_VARSTATUS_MULTAGGR, SCIP_VARTYPE_CONTINUOUS, SCIPABORT, SCIPadjustedVarLb(), SCIPadjustedVarUb(), SCIPcomputeVarLbLocal(), SCIPcomputeVarUbLocal(), SCIPdebugMessage, SCIPerrorMessage, SCIPgetBranchingPoint(), SCIPgetBranchScore(), SCIPgetSolVal(), SCIPgetVarPseudocostVal(), SCIPinfinity(), SCIPisEQ(), SCIPisFeasGE(), SCIPisFeasLE(), SCIPisHugeValue(), SCIPisInfinity(), SCIPisIntegral(), SCIPisNegative(), SCIPisSumEQ(), SCIPisSumGT(), SCIPrelDiff(), SCIPvarGetLbLocal(), SCIPvarGetMultaggrNVars(), SCIPvarGetMultaggrScalars(), SCIPvarGetMultaggrVars(), SCIPvarGetName(), SCIPvarGetProbvar(), SCIPvarGetStatus(), SCIPvarGetType(), SCIPvarGetUbLocal(), SCIPvarIsActive(), TRUE, and WEIGHTEDSCORING. Referenced by selectBranchVar().
selects the branching variable from given candidate array
Definition at line 356 of file branch_pscost.c. References NULL, REALABS, SCIP_BRANCHERROR, SCIP_CALL, SCIP_INVALID, SCIP_OKAY, SCIP_Real, SCIPABORT, SCIPallocBufferArray, SCIPbranchruleGetData(), SCIPduplicateBufferArray, SCIPerrorMessage, SCIPfreeBufferArray, SCIPisEQ(), SCIPisInfinity(), SCIPsortPtrInt(), SCIPvarCompare(), SCIPvarGetLbLocal(), SCIPvarGetUbLocal(), and updateBestCandidate(). Referenced by SCIP_DECL_BRANCHEXECEXT(), and SCIPselectBranchVarPscost().
copy method for branchrule plugins (called when SCIP copies plugins) Definition at line 464 of file branch_pscost.c. References BRANCHRULE_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPbranchruleGetName(), and SCIPincludeBranchrulePscost().
destructor of branching rule to free user data (called when SCIP is exiting) Definition at line 478 of file branch_pscost.c. References NULL, SCIP_OKAY, SCIPbranchruleGetData(), SCIPbranchruleSetData(), and SCIPfreeMemory.
branching execution method for fractional LP solutions Definition at line 493 of file branch_pscost.c. References BRANCHRULE_NAME, NULL, REALABS, SCIP_BRANCHED, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPbranchruleGetName(), SCIPbranchVar(), SCIPdebugMessage, SCIPgetLPBranchCands(), SCIPgetVarPseudocostScore(), SCIPinfinity(), SCIPisFeasIntegral(), SCIPisSumEQ(), SCIPisSumGT(), SCIPvarGetName(), SCIPvarGetRootSol(), SCIPvarGetSol(), and TRUE.
branching execution method for external candidates Definition at line 551 of file branch_pscost.c. References BRANCHRULE_NAME, NULL, SCIP_BRANCHED, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_OKAY, SCIP_Real, SCIP_REDUCEDDOM, SCIPadjustedVarLb(), SCIPadjustedVarUb(), SCIPbranchruleGetData(), SCIPbranchruleGetName(), SCIPbranchVarValNary(), SCIPdebugMessage, SCIPerrorMessage, SCIPgetCharParam(), SCIPgetCurrentNode(), SCIPgetExternBranchCands(), SCIPisEQ(), SCIPisInfinity(), SCIPnodeGetDepth(), SCIPvarGetLbGlobal(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetProbvar(), SCIPvarGetUbGlobal(), SCIPvarGetUbLocal(), SCIPvarIsActive(), and selectBranchVar().
creates the pseudo cost branching rule and includes it in SCIP
Definition at line 634 of file branch_pscost.c. References BRANCHRULE_DESC, BRANCHRULE_MAXBOUNDDIST, BRANCHRULE_MAXDEPTH, BRANCHRULE_NAME, BRANCHRULE_NARYMAXDEPTH_DEFAULT, BRANCHRULE_NARYMINWIDTH_DEFAULT, BRANCHRULE_NARYWIDTHFAC_DEFAULT, BRANCHRULE_NCHILDREN_DEFAULT, BRANCHRULE_PRIORITY, BRANCHRULE_SCOREMAXWEIGHT_DEFAULT, BRANCHRULE_SCOREMINWEIGHT_DEFAULT, BRANCHRULE_SCORESUMWEIGHT_DEFAULT, BRANCHRULE_STRATEGIES, BRANCHRULE_STRATEGY_DEFAULT, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_REAL_MAX, SCIPaddCharParam(), SCIPaddIntParam(), SCIPaddRealParam(), SCIPallocMemory, SCIPincludeBranchruleBasic(), SCIPinfinity(), SCIPsetBranchruleCopy(), SCIPsetBranchruleExecExt(), SCIPsetBranchruleExecLp(), SCIPsetBranchruleFree(), and TRUE. Referenced by SCIP_DECL_BRANCHCOPY(), and SCIPincludeDefaultPlugins().
selects a branching variable, due to pseudo cost, from the given candidate array and returns this variable together with a branching point
Definition at line 693 of file branch_pscost.c. References BRANCHRULE_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPfindBranchrule(), and selectBranchVar(). |