heur_vbounds.c File Reference Detailed DescriptionLNS heuristic uses the variable lower and upper bounds to determine the search neighborhood. Definition in file heur_vbounds.c. #include <assert.h> #include <string.h> #include "scip/scip.h" #include "scip/scipdefplugins.h" #include "scip/heur_vbounds.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 40 of file heur_vbounds.c. Referenced by applyVbounds(), and SCIPincludeHeurVbounds().
Definition at line 41 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 42 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 43 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 44 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 45 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 46 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 47 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
does the heuristic use a secondary SCIP instance? Definition at line 48 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 50 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 51 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 52 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 53 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 54 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 55 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 56 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
should all active cuts from the cutpool of the original scip be copied to constraints of the subscip Definition at line 57 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 100 of file heur_vbounds.c. Referenced by dfs().
Definition at line 101 of file heur_vbounds.c. Referenced by dfs().
Definition at line 102 of file heur_vbounds.c. Referenced by dfs(), and initializeCandsLists().
Definition at line 103 of file heur_vbounds.c. Referenced by initializeCandsLists().
Definition at line 104 of file heur_vbounds.c. Referenced by dfs(). Function Documentation
reset heuristic data structure
Definition at line 117 of file heur_vbounds.c. References dfs(), FALSE, and NULL. Referenced by SCIPincludeHeurVbounds().
performs depth-first-search in the implicitly given directed graph from the given start index
Definition at line 131 of file heur_vbounds.c. References FALSE, getLbIndex, getUbIndex, getVarIndex, isIndexLowerbound, NULL, SCIP_Bool, SCIP_OKAY, SCIP_Real, SCIP_VARTYPE_CONTINUOUS, SCIPgetNVars(), SCIPgetVars(), SCIPisPositive(), SCIPvarGetNVlbs(), SCIPvarGetNVubs(), SCIPvarGetProbindex(), SCIPvarGetType(), SCIPvarGetVlbCoefs(), SCIPvarGetVlbVars(), SCIPvarGetVubCoefs(), SCIPvarGetVubVars(), SCIPvarIsActive(), topologicalSort(), and TRUE. Referenced by heurdataReset(), and topologicalSort().
sort the bounds of variables topologically
Definition at line 249 of file heur_vbounds.c. References BMSclearMemoryArray, dfs(), initializeCandsLists(), NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPallocBufferArray, SCIPfreeBufferArray, and SCIPgetNVars(). Referenced by dfs(), and initializeCandsLists().
initialize candidate lists
Definition at line 292 of file heur_vbounds.c. References applyVboundsFixings(), getBoundtype, getVarIndex, SCIP_CALL, SCIP_OKAY, SCIPallocBufferArray, SCIPallocMemoryArray, SCIPcaptureVar(), SCIPdebugMessage, SCIPfreeBufferArray, SCIPgetNVars(), SCIPgetProbName(), SCIPgetVars(), SCIPstatisticMessage, topologicalSort(), and TRUE. Referenced by topologicalSort().
apply variable bound fixing during probing
Definition at line 349 of file heur_vbounds.c. References createNewSol(), FALSE, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_OKAY, SCIP_VARTYPE_CONTINUOUS, SCIPdebugMessage, SCIPfixVarProbing(), SCIPgetDepth(), SCIPgetDepthLimit(), SCIPgetNPseudoBranchCands(), SCIPnewProbingNode(), SCIPpropagateProbing(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetObj(), SCIPvarGetType(), SCIPvarGetUbLocal(), and TRUE. Referenced by applyVbounds(), and initializeCandsLists().
creates a new solution for the original problem by copying the solution of the subproblem
Definition at line 425 of file heur_vbounds.c. References applyVbounds(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPfreeBufferArray, SCIPgetNOrigVars(), SCIPgetSolVals(), SCIPgetVarsData(), SCIPsetSolVals(), SCIPtrySol(), and TRUE. Referenced by applyVbounds(), and applyVboundsFixings().
main procedure of the vbounds heuristic
Definition at line 468 of file heur_vbounds.c. References applyVboundsFixings(), createNewSol(), FALSE, HEUR_NAME, MIN, NULL, SCIP_Bool, SCIP_CALL, SCIP_DECL_HEURCOPY(), SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_FOUNDSOL, SCIP_Longint, SCIP_LPSOLSTAT_ERROR, SCIP_LPSOLSTAT_INFEASIBLE, SCIP_LPSOLSTAT_OBJLIMIT, SCIP_LPSOLSTAT_OPTIMAL, SCIP_OKAY, SCIP_PARAMSETTING_FAST, SCIP_PARAMSETTING_OFF, SCIP_Real, SCIPallocBufferArray, SCIPbacktrackProbing(), SCIPblkmem(), SCIPcalcHashtableSize(), SCIPclearSol(), SCIPclockGetTime(), SCIPconstructLP(), SCIPcopy(), SCIPcopyCuts(), SCIPcreate(), SCIPcreateClock(), SCIPcreateSol(), SCIPdebugMessage, SCIPendProbing(), SCIPfindBranchrule(), SCIPfindConshdlr(), SCIPfindNodesel(), SCIPfixVarProbing(), SCIPflushLP(), SCIPfree(), SCIPfreeBufferArray, SCIPfreeClock(), SCIPfreeSol(), SCIPgetCurrentNode(), SCIPgetLowerbound(), SCIPgetLPSolstat(), SCIPgetMemExternEstim(), SCIPgetMemUsed(), SCIPgetNConss(), SCIPgetNLPIterations(), SCIPgetNNodes(), SCIPgetNPseudoBranchCands(), SCIPgetNSols(), SCIPgetNVars(), SCIPgetProbingDepth(), SCIPgetRealParam(), SCIPgetSolOrigObj(), SCIPgetSols(), SCIPgetSolvingTime(), SCIPgetUpperbound(), SCIPgetVarsData(), SCIPhasCurrentNodeLP(), SCIPhashmapCreate(), SCIPhashmapFree(), SCIPhashmapGetImage(), SCIPheurGetNBestSolsFound(), SCIPheurGetNCalls(), SCIPinfinity(), SCIPisInfinity(), SCIPisLPConstructed(), SCIPisParamFixed(), SCIPisStopped(), SCIPlinkLPSol(), SCIPnodeGetNumber(), SCIPpresolve(), SCIPprintStatistics(), SCIPpropagateProbing(), SCIProundSol(), SCIPsetBoolParam(), SCIPsetIntParam(), SCIPsetLongintParam(), SCIPsetObjlimit(), SCIPsetPresolving(), SCIPsetRealParam(), SCIPsetSeparating(), SCIPsetSubscipsOff(), SCIPsolve(), SCIPsolveProbingLP(), SCIPstartClock(), SCIPstartProbing(), SCIPstatistic, SCIPstatisticMessage, SCIPstopClock(), SCIPsumepsilon(), SCIPtrySol(), SCIPvarGetLbLocal(), SCIPvarGetUbLocal(), SCIPwarningMessage(), and TRUE. Referenced by createNewSol().
copy method for primal heuristic plugins (called when SCIP copies plugins) Definition at line 917 of file heur_vbounds.c. Referenced by applyVbounds().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 931 of file heur_vbounds.c.
solving process deinitialization method of primal heuristic (called before branch and bound process data is freed) Definition at line 947 of file heur_vbounds.c.
execution method of primal heuristic Definition at line 973 of file heur_vbounds.c.
creates the vbounds primal heuristic and includes it in SCIP
Definition at line 1016 of file heur_vbounds.c. References DEFAULT_COPYCUTS, DEFAULT_MAXNODES, DEFAULT_MAXPROPROUNDS, DEFAULT_MINFIXINGRATE, DEFAULT_MINIMPROVE, DEFAULT_MINNODES, DEFAULT_NODESOFS, DEFAULT_NODESQUOT, FALSE, HEUR_DESC, HEUR_DISPCHAR, HEUR_FREQ, HEUR_FREQOFS, HEUR_MAXDEPTH, HEUR_NAME, HEUR_PRIORITY, HEUR_TIMING, HEUR_USESSUBSCIP, heurdataReset(), NULL, SCIP_CALL, SCIP_LONGINT_MAX, SCIP_OKAY, SCIPaddBoolParam(), SCIPaddIntParam(), SCIPaddLongintParam(), SCIPaddRealParam(), SCIPallocMemory, SCIPincludeHeurBasic(), SCIPsetHeurCopy(), SCIPsetHeurExitsol(), SCIPsetHeurFree(), and TRUE. Referenced by SCIPincludeDefaultPlugins(). |