All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
heur.h File Reference Detailed Descriptioninternal methods for primal heuristics Definition in file heur.h. #include "scip/def.h" #include "blockmemshell/memory.h" #include "scip/type_retcode.h" #include "scip/type_result.h" #include "scip/type_set.h" #include "scip/type_primal.h" #include "scip/type_heur.h" #include "scip/pub_heur.h" Go to the source code of this file. Function Documentation
copies the given primal heuristic to a new scip
Definition at line 87 of file heur.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIPheurGetName(). Referenced by SCIPsetCopyPlugins().
creates a primal heuristic
Definition at line 106 of file heur.c. References BMSallocMemory, BMSduplicateMemoryArray, FALSE, NULL, paramname, SCIP_ALLOC, SCIP_CALL, SCIP_CLOCKTYPE_DEFAULT, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPclockCreate(), SCIPsetAddIntParam(), SCIPsnprintf(), and TRUE. Referenced by SCIPincludeHeur(), and SCIPincludeHeurBasic().
calls destructor and frees memory of primal heuristic
Definition at line 189 of file heur.c. References BMSfreeMemory, BMSfreeMemoryArray, NULL, SCIP_CALL, SCIP_OKAY, and SCIPclockFree(). Referenced by SCIPsetFree().
initializes primal heuristic
Definition at line 215 of file heur.c. References SCIP_Heur::delaypos, SCIP_Heur::heurclock, SCIP_Heur::initialized, SCIP_Heur::name, SCIP_Heur::nbestsolsfound, SCIP_Heur::ncalls, SCIP_Heur::nsolsfound, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPclockReset(), SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, SCIP_Heur::setuptime, and TRUE. Referenced by SCIPsetInitPlugins().
calls exit method of primal heuristic
Definition at line 256 of file heur.c. References FALSE, SCIP_Heur::initialized, SCIP_Heur::name, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, and SCIP_Heur::setuptime. Referenced by SCIPsetExitPlugins().
informs primal heuristic that the branch and bound process is being started
Definition at line 286 of file heur.c. References SCIP_Heur::delaypos, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIP_Heur::setuptime. Referenced by SCIPsetInitsolPlugins().
informs primal heuristic that the branch and bound process data is being freed
Definition at line 316 of file heur.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIP_Heur::setuptime. Referenced by SCIPsetExitsolPlugins().
should the heuristic be executed at the given depth, frequency, timing, ...
Definition at line 340 of file heur.c. References SCIP_Heur::delaypos, FALSE, SCIP_Heur::freq, SCIP_Heur::freqofs, SCIP_Heur::maxdepth, SCIP_Bool, SCIP_HEURTIMING_AFTERLPNODE, SCIP_HEURTIMING_AFTERLPPLUNGE, SCIP_HEURTIMING_AFTERPSEUDONODE, SCIP_HEURTIMING_AFTERPSEUDOPLUNGE, SCIP_HEURTIMING_BEFOREPRESOL, SCIP_HEURTIMING_DURINGPRESOLLOOP, SCIP_Heur::timingmask, and TRUE. Referenced by SCIPheurExec(), and SCIPprimalHeuristics().
calls execution method of primal heuristic
Definition at line 402 of file heur.c. References SCIP_Heur::delaypos, FALSE, SCIP_Heur::freq, SCIP_Heur::freqofs, SCIP_Heur::heurclock, SCIP_Heur::maxdepth, SCIP_Heur::name, SCIP_Heur::nbestsolsfound, SCIP_Primal::nbestsolsfound, SCIP_Heur::ncalls, SCIP_Primal::nsolsfound, SCIP_Heur::nsolsfound, NULL, SCIP_Bool, SCIP_CALL, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_FOUNDSOL, SCIP_HEURTIMING_BEFOREPRESOL, SCIP_HEURTIMING_DURINGPRESOLLOOP, SCIP_INVALIDRESULT, SCIP_Longint, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIPdebugMessage, SCIPerrorMessage, and SCIPheurShouldBeExecuted(). Referenced by SCIPprimalHeuristics(). sets priority of primal heuristic
Definition at line 662 of file heur.c. References FALSE, NULL, and SCIP_Heur::priority. Referenced by SCIPsetHeurPriority().
sets copy callback of primal heuristic
Definition at line 525 of file heur.c. References NULL. Referenced by SCIPsetHeurCopy().
sets destructor callback of primal heuristic
Definition at line 536 of file heur.c. References NULL. Referenced by SCIPsetHeurFree().
sets initialization callback of primal heuristic
Definition at line 547 of file heur.c. References NULL. Referenced by SCIPsetHeurInit().
sets deinitialization callback of primal heuristic
Definition at line 558 of file heur.c. References NULL. Referenced by SCIPsetHeurExit().
sets solving process initialization callback of primal heuristic
Definition at line 569 of file heur.c. References NULL. Referenced by SCIPsetHeurInitsol().
sets solving process deinitialization callback of primal heuristic
Definition at line 580 of file heur.c. References NULL. Referenced by SCIPsetHeurExitsol(). |