Detailed Descriptionreliable pseudo costs branching rule Definition in file branch_relpscost.c. #include <assert.h> #include <string.h> #include "scip/branch_relpscost.h" #include "scip/cons_and.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 31 of file branch_relpscost.c. Referenced by applyBdchgs(), SCIPexecRelpscostBranching(), and SCIPincludeBranchruleRelpscost().
Definition at line 32 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
Definition at line 33 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
Definition at line 34 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
Definition at line 35 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
weight in score calculations for conflict score Definition at line 37 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
weight in score calculations for conflict length score Definition at line 38 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
weight in score calculations for inference score Definition at line 39 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
weight in score calculations for cutoff score Definition at line 40 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
weight in score calculations for pseudo cost score Definition at line 41 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
weight in score calculations for nlcount score Definition at line 42 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
minimal value for minimum pseudo cost size to regard pseudo cost value as reliable Definition at line 43 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
maximal value for minimum pseudo cost size to regard pseudo cost value as reliable Definition at line 44 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
maximal fraction of strong branching LP iterations compared to normal iterations Definition at line 45 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
additional number of allowed strong branching LP iterations Definition at line 46 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
maximal number of further variables evaluated without better score Definition at line 47 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
maximal number of candidates initialized with strong branching per node Definition at line 48 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
iteration limit for strong branching initialization of pseudo cost entries (0: auto) Definition at line 49 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
maximal number of bound tightenings before the node is reevaluated (-1: unlimited) Definition at line 50 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
maximum number of propagation rounds to be performed during strong branching before solving the LP (-1: no limit, -2: parameter settings) Definition at line 51 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
should valid bounds be identified in a probing-like fashion during strong branching (only with propagation)? Definition at line 54 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
should reliability be based on relative errors? Definition at line 57 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
lowest tolerance beneath which relative errors are reliable Definition at line 58 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
highest tolerance beneath which relative errors are reliable Definition at line 59 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
should the strong branching decision be based on a hypothesis test? Definition at line 60 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
should the confidence level be adjusted dynamically? Definition at line 61 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
should strong branching result be considered for pseudo costs if the other direction was infeasible? Definition at line 62 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
should the scoring function use only local cutoff and inference information obtained for strong branching candidates? Definition at line 63 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
The confidence level for statistical methods, between 0 (Min) and 4 (Max). Definition at line 64 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
should branching rule skip candidates that have a low probability to be better than the best strong-branching or pseudo-candidate? Definition at line 65 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
start random seed for random number generation Definition at line 68 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost().
should candidates be initialized in randomized order? Definition at line 69 of file branch_relpscost.c. Referenced by SCIPincludeBranchruleRelpscost(). Function Documentation
return probindex of variable or corresponding active variable (if negated or aggregated) or -1 (if multiaggregated)
Definition at line 118 of file branch_relpscost.c. References countNonlinearities(), NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_VARSTATUS_FIXED, SCIPgetBinvarRepresentative(), SCIPvarGetNegationVar(), SCIPvarGetProbindex(), SCIPvarGetStatus(), SCIPvarIsActive(), SCIPvarIsBinary(), and SCIPvarIsNegated(). Referenced by countNonlinearities().
counts number of nonlinear constraints in which each variable appears
Definition at line 152 of file branch_relpscost.c. References binvarGetActiveProbindex(), BMSclearMemoryArray, branchruledataEnsureNlcount(), NULL, SCIP_CALL, SCIP_OKAY, SCIP_VARSTATUS_FIXED, SCIPconshdlrGetConss(), SCIPconshdlrGetNActiveConss(), SCIPfindConshdlr(), SCIPgetNLPVarsNonlinearity(), SCIPgetNNLPVars(), SCIPgetNVarsAnd(), SCIPgetResultantAnd(), SCIPgetVarsAnd(), SCIPgetVarsData(), SCIPisNLPConstructed(), and SCIPvarGetStatus(). Referenced by binvarGetActiveProbindex(), and branchruledataEnsureNlcount().
Definition at line 235 of file branch_relpscost.c. References BMSclearMemoryArray, calcNlscore(), countNonlinearities(), NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBlockMemoryArray, SCIPfreeBlockMemoryArrayNull, SCIPgetNVars(), and SCIPreallocBlockMemoryArray. Referenced by countNonlinearities(), and execRelpscost(). calculates nlscore value between 0 and 1
Definition at line 282 of file branch_relpscost.c. References calcScore(), NULL, SCIP_Real, and SCIPgetNVars(). Referenced by branchruledataEnsureNlcount(), and execRelpscost().
calculates an overall score value for the given individual score values
Definition at line 309 of file branch_relpscost.c. References addBdchg(), MIN, NULL, SCIP_Real, and SCIPfeastol(). Referenced by calcNlscore(), and execRelpscost().
adds given index and direction to bound change arrays
Definition at line 347 of file branch_relpscost.c. References freeBdchgs(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPreallocBufferArray. Referenced by calcScore(), and execRelpscost().
frees bound change arrays
Definition at line 380 of file branch_relpscost.c. References applyBdchgs(), NULL, and SCIPfreeBufferArrayNull. Referenced by addBdchg(), and execRelpscost().
applies bound changes stored in bound change arrays
Definition at line 401 of file branch_relpscost.c. References BRANCHRULE_NAME, execRelpscost(), NULL, SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_CUTOFF, SCIP_OKAY, SCIPbranchruleGetData(), SCIPdebugMessage, SCIPfindBranchrule(), SCIPtightenVarLb(), SCIPtightenVarUb(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetUbLocal(), and TRUE. Referenced by execRelpscost(), and freeBdchgs().
execute reliability pseudo cost branching
Definition at line 478 of file branch_relpscost.c. References addBdchg(), applyBdchgs(), branchruledataEnsureNlcount(), calcNlscore(), calcScore(), FALSE, freeBdchgs(), MAX, MIN, NULL, SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_BRANCHED, SCIP_CALL, SCIP_CONFIDENCELEVEL_HIGH, SCIP_CONFIDENCELEVEL_LOW, SCIP_CONFIDENCELEVEL_MAX, SCIP_CONFIDENCELEVEL_MEDIUM, SCIP_CONFIDENCELEVEL_MIN, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DECL_BRANCHCOPY(), SCIP_DIDNOTRUN, SCIP_INVALID, SCIP_Longint, SCIP_LPSOLSTAT_INFEASIBLE, SCIP_LPSOLSTAT_OBJLIMIT, SCIP_LPSOLSTAT_OPTIMAL, SCIP_OKAY, SCIP_Real, SCIP_REDUCEDDOM, SCIP_VERBLEVEL_HIGH, SCIPallColsInLP(), SCIPallocBufferArray, SCIPbranchruleGetData(), SCIPbranchVarVal(), SCIPdebugMessage, SCIPendStrongbranch(), SCIPfeasCeil(), SCIPfeasFloor(), SCIPfreeBufferArray, SCIPgetAvgConflictlengthScore(), SCIPgetAvgConflictScore(), SCIPgetAvgCutoffScore(), SCIPgetAvgInferenceScore(), SCIPgetAvgPseudocostScore(), SCIPgetBestSol(), SCIPgetBranchScore(), SCIPgetCurrentNode(), SCIPgetCutoffbound(), SCIPgetLPObjval(), SCIPgetLPSolstat(), SCIPgetNDualResolveLPIterations(), SCIPgetNDualResolveLPs(), SCIPgetNNodeInitLPIterations(), SCIPgetNNodeInitLPs(), SCIPgetNNodeLPIterations(), SCIPgetNNodes(), SCIPgetNodeLowerbound(), SCIPgetNRootStrongbranchLPIterations(), SCIPgetNStrongbranchLPIterations(), SCIPgetNVars(), SCIPgetRandomReal(), SCIPgetVarAvgCutoffScore(), SCIPgetVarAvgInferenceScore(), SCIPgetVarConflictlengthScore(), SCIPgetVarConflictScore(), SCIPgetVarPseudocostCountCurrentRun(), SCIPgetVarPseudocostCurrentRun(), SCIPgetVarPseudocostScore(), SCIPgetVarPseudocostScoreCurrentRun(), SCIPgetVars(), SCIPgetVarStrongbranchFrac(), SCIPgetVarStrongbranchLast(), SCIPgetVarStrongbranchNode(), SCIPgetVarStrongbranchWithPropagation(), SCIPhasCurrentNodeLP(), SCIPinfinity(), SCIPisExactSolve(), SCIPisFeasIntegral(), SCIPisGE(), SCIPisGT(), SCIPisLPSolBasic(), SCIPisLT(), SCIPisStopped(), SCIPisSumGE(), SCIPisSumGT(), SCIPisVarPscostRelerrorReliable(), SCIPnodeGetLowerbound(), SCIPpscostThresholdProbabilityTest(), SCIPsignificantVarPscostDifference(), SCIPsolGetIndex(), SCIPstartStrongbranch(), SCIPupdateNodeLowerbound(), SCIPupdateVarPseudocost(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetProbindex(), SCIPvarGetUbLocal(), SCIPverbMessage(), and TRUE. Referenced by applyBdchgs(), and SCIPexecRelpscostBranching().
copy method for branchrule plugins (called when SCIP copies plugins) Definition at line 1423 of file branch_relpscost.c. Referenced by execRelpscost().
destructor of branching rule to free user data (called when SCIP is exiting) Definition at line 1437 of file branch_relpscost.c.
solving process initialization method of branching rule (called when branch and bound process is about to begin) Definition at line 1452 of file branch_relpscost.c.
solving process deinitialization method of branching rule (called before branch and bound process data is freed) Definition at line 1470 of file branch_relpscost.c.
branching execution method for fractional LP solutions Definition at line 1484 of file branch_relpscost.c.
creates the reliable pseudo cost branching rule and includes it in SCIP
Definition at line 1528 of file branch_relpscost.c. References BRANCHRULE_DESC, BRANCHRULE_MAXBOUNDDIST, BRANCHRULE_MAXDEPTH, BRANCHRULE_NAME, BRANCHRULE_PRIORITY, DEFAULT_CONFIDENCELEVEL, DEFAULT_CONFLENGTHWEIGHT, DEFAULT_CONFLICTWEIGHT, DEFAULT_CUTOFFWEIGHT, DEFAULT_HIGHERRORTOL, DEFAULT_INFERENCEWEIGHT, DEFAULT_INITCAND, DEFAULT_INITITER, DEFAULT_LOWERRORTOL, DEFAULT_MAXBDCHGS, DEFAULT_MAXLOOKAHEAD, DEFAULT_MAXPROPROUNDS, DEFAULT_MAXRELIABLE, DEFAULT_MINRELIABLE, DEFAULT_NLSCOREWEIGHT, DEFAULT_PROBINGBOUNDS, DEFAULT_PSCOSTWEIGHT, DEFAULT_RANDINITORDER, DEFAULT_SBITEROFS, DEFAULT_SBITERQUOT, DEFAULT_SKIPBADINITCANDS, DEFAULT_STARTRANDSEED, DEFAULT_STORESEMIINITCOSTS, DEFAULT_USEDYNAMICCONFIDENCE, DEFAULT_USEHYPTESTFORRELIABILITY, DEFAULT_USERELERRORFORRELIABILITY, DEFAULT_USESBLOCALINFO, FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_REAL_MAX, SCIP_REAL_MIN, SCIPaddBoolParam(), SCIPaddIntParam(), SCIPaddRealParam(), SCIPallocMemory, SCIPexecRelpscostBranching(), SCIPincludeBranchruleBasic(), SCIPsetBranchruleCopy(), SCIPsetBranchruleExecLp(), SCIPsetBranchruleExitsol(), SCIPsetBranchruleFree(), SCIPsetBranchruleInitsol(), and TRUE. Referenced by SCIPincludeDefaultPlugins().
execution reliability pseudo cost branching with the given branching candidates
Definition at line 1667 of file branch_relpscost.c. References BRANCHRULE_NAME, execRelpscost(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPfindBranchrule(). Referenced by SCIP_DECL_BRANCHEXECLP(), and SCIPincludeBranchruleRelpscost(). |