All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 33 of file heur_vbounds.c. Referenced by applyVbounds(), SCIP_DECL_HEURCOPY(), and SCIPincludeHeurVbounds().
Definition at line 34 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 35 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 36 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 37 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 38 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 39 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 40 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
does the heuristic use a secondary SCIP instance? Definition at line 41 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().
Definition at line 48 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
Definition at line 49 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 50 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds(). Function Documentation
hash key retrieval function for variables Definition at line 92 of file heur_vbounds.c.
returns TRUE iff the indices of both variables are equal Definition at line 99 of file heur_vbounds.c.
returns the hash value of the key Definition at line 108 of file heur_vbounds.c. References SCIPvarGetIndex().
reset heuristic data structure
Definition at line 121 of file heur_vbounds.c. Referenced by SCIP_DECL_HEUREXITSOL(), and SCIPincludeHeurVbounds().
gets the requested variables bounds
Definition at line 138 of file heur_vbounds.c. References SCIPvarGetNVlbs(), SCIPvarGetNVubs(), SCIPvarGetVlbVars(), and SCIPvarGetVubVars(). Referenced by createTopoSortedVars(), and depthFirstSearch().
perform depth-first-search from the given variable using the variable lower or upper bounds of the variable
Definition at line 161 of file heur_vbounds.c. References getVariableBounds(), NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPdebugMessage, SCIPgetProbvarSum(), SCIPhashmapExists(), SCIPhashmapInsert(), SCIPhashtableExists(), SCIPhashtableRemove(), SCIPvarGetName(), SCIPvarGetProbindex(), and SCIPvarIsActive(). Referenced by createTopoSortedVars().
create a topological sorted variable array of the given variables and stores if (needed) the involved variables into the corresponding variable array and hash map
Definition at line 252 of file heur_vbounds.c. References depthFirstSearch(), getVariableBounds(), NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBufferArray, SCIPblkmem(), SCIPcalcHashtableSize(), SCIPdebugMessage, SCIPfreeBufferArray, SCIPhashtableCreate(), SCIPhashtableExists(), SCIPhashtableFree(), SCIPhashtableInsert(), SCIPvarGetName(), and SCIPvarIsActive(). Referenced by initializeCandsLists().
initialize candidate lists
Definition at line 367 of file heur_vbounds.c. References createTopoSortedVars(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBufferArray, SCIPblkmem(), SCIPcalcHashtableSize(), SCIPcaptureVar(), SCIPdebugMessage, SCIPduplicateMemoryArray, SCIPfreeBufferArray, SCIPgetNVars(), SCIPgetProbName(), SCIPgetVars(), SCIPhashtableCreate(), SCIPhashtableExists(), SCIPhashtableFree(), SCIPhashtableInsert(), SCIPisGE(), SCIPisLE(), SCIPstatisticMessage, SCIPvarGetObj(), and TRUE. Referenced by SCIP_DECL_HEUREXEC().
apply variable bound fixing during probing
Definition at line 495 of file heur_vbounds.c. References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_FOUNDSOL, SCIP_OKAY, SCIP_VARTYPE_CONTINUOUS, SCIPdebugMessage, SCIPfixVarProbing(), SCIPgetNPseudoBranchCands(), SCIPgetSolOrigObj(), SCIPisStopped(), SCIPlinkCurrentSol(), SCIPpropagateProbing(), SCIProundSol(), SCIPtrySol(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetType(), SCIPvarGetUbLocal(), and TRUE. Referenced by applyVbounds().
creates a new solution for the original problem by copying the solution of the subproblem
Definition at line 571 of file heur_vbounds.c. References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPfreeBufferArray, SCIPgetNOrigVars(), SCIPgetSolVals(), SCIPgetVarsData(), SCIPsetSolVals(), SCIPtrySol(), and TRUE. Referenced by applyVbounds().
main procedure of the vbounds heuristic
Definition at line 614 of file heur_vbounds.c. References applyVboundsFixings(), createNewSol(), FALSE, HEUR_NAME, MIN, NULL, SCIP_Bool, SCIP_CALL, SCIP_FOUNDSOL, SCIP_Longint, SCIP_OKAY, SCIP_PARAMSETTING_FAST, SCIP_PARAMSETTING_OFF, SCIP_Real, SCIPallocBufferArray, SCIPblkmem(), SCIPcalcHashtableSize(), SCIPcopy(), SCIPcopyCuts(), SCIPcreate(), SCIPcreateSol(), SCIPdebugMessage, SCIPendProbing(), SCIPfindConshdlr(), SCIPfree(), SCIPfreeBufferArray, SCIPfreeSol(), SCIPgetCurrentNode(), SCIPgetLowerbound(), SCIPgetMemExternEstim(), SCIPgetMemUsed(), SCIPgetNConss(), SCIPgetNNodes(), SCIPgetNSols(), SCIPgetNVars(), SCIPgetRealParam(), SCIPgetSols(), SCIPgetSolvingTime(), SCIPgetUpperbound(), SCIPgetVarsData(), SCIPhashmapCreate(), SCIPhashmapFree(), SCIPhashmapGetImage(), SCIPheurGetNBestSolsFound(), SCIPheurGetNCalls(), SCIPinfinity(), SCIPisInfinity(), SCIPisParamFixed(), SCIPisStopped(), SCIPnodeGetNumber(), SCIPpresolve(), SCIPprintStatistics(), SCIPsetBoolParam(), SCIPsetIntParam(), SCIPsetLongintParam(), SCIPsetObjlimit(), SCIPsetPresolving(), SCIPsetRealParam(), SCIPsetSeparating(), SCIPsetSubscipsOff(), SCIPsolve(), SCIPstartProbing(), SCIPsumepsilon(), SCIPwarningMessage(), and TRUE. Referenced by SCIP_DECL_HEUREXEC().
copy method for primal heuristic plugins (called when SCIP copies plugins) Definition at line 886 of file heur_vbounds.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurVbounds().
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 900 of file heur_vbounds.c. References NULL, SCIP_OKAY, SCIPfreeMemory, SCIPheurGetData(), and SCIPheurSetData().
solving process deinitialization method of primal heuristic (called before branch and bound process data is freed) Definition at line 916 of file heur_vbounds.c. References heurdataReset(), NULL, SCIP_CALL, SCIP_OKAY, SCIPfreeMemoryArrayNull, SCIPheurGetData(), and SCIPreleaseVar().
execution method of primal heuristic Definition at line 953 of file heur_vbounds.c. References applyVbounds(), initializeCandsLists(), NULL, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_OKAY, SCIPgetNPseudoBranchCands(), and SCIPheurGetData().
creates the vbounds primal heuristic and includes it in SCIP
Definition at line 996 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 SCIP_DECL_HEURCOPY(), and SCIPincludeDefaultPlugins(). |