|
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(), 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 94 of file heur_vbounds.c.
returns TRUE iff the indices of both variables are equal Definition at line 101 of file heur_vbounds.c.
returns the hash value of the key Definition at line 110 of file heur_vbounds.c.
reset heuristic data structure
Definition at line 123 of file heur_vbounds.c. Referenced by SCIPincludeHeurVbounds().
gets the requested variables bounds
Definition at line 140 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 163 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 254 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 369 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.
apply variable bound fixing during probing
Definition at line 497 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 573 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 616 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.
copy method for primal heuristic plugins (called when SCIP copies plugins) Definition at line 891 of file heur_vbounds.c.
destructor of primal heuristic to free user data (called when SCIP is exiting) Definition at line 905 of file heur_vbounds.c.
solving process deinitialization method of primal heuristic (called before branch and bound process data is freed) Definition at line 921 of file heur_vbounds.c.
execution method of primal heuristic Definition at line 958 of file heur_vbounds.c.
creates the vbounds primal heuristic and includes it in SCIP
Definition at line 1001 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(). |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||