methods for primal heuristic plugins
Modules | |
Special Methods | |
methods commonly used by primal heuristics | |
SCIP_DECL_SORTPTRCOMP | ( | SCIPheurComp | ) |
compares two heuristics w. r. to their priority
compares two heuristics w. r. to their delay positions and their priority
Definition at line 41 of file heur.c.
References SCIP_Heur::delaypos, SCIP_Heur::freq, SCIP_Heur::ncalls, and SCIP_Heur::priority.
SCIP_DECL_SORTPTRCOMP | ( | SCIPheurCompName | ) |
comparison method for sorting heuristics w.r.t. to their name
Definition at line 65 of file heur.c.
References SCIPheurGetName().
SCIP_HEURDATA* SCIPheurGetData | ( | SCIP_HEUR * | heur | ) |
gets user data of primal heuristic
heur | primal heuristic |
Definition at line 1109 of file heur.c.
References SCIP_Heur::heurdata.
Referenced by applyRepair(), createNewSol(), createSolFromNLP(), createSolFromSubScipSol(), determineLimits(), SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIP_DECL_HEUREXITSOL(), SCIP_DECL_HEURFREE(), SCIP_DECL_HEURINIT(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_TABLEOUTPUT(), SCIPaddLinearConsToNlpHeurSubNlp(), SCIPapplyHeurDualval(), SCIPapplyHeurSubNlp(), SCIPapplyLockFixings(), SCIPapplyProximity(), SCIPapplyUndercover(), SCIPapplyZeroobj(), SCIPdeleteSubproblemProximity(), SCIPfindObjHeur(), SCIPgetObjHeur(), SCIPgetStartCandidateHeurSubNlp(), SCIPgetSubScipHeurSubNlp(), SCIPgetVarMappingScip2SubScipHeurSubNlp(), SCIPgetVarMappingSubScip2ScipHeurSubNlp(), SCIPheurPassIndicator(), SCIPheurPassSolAddSol(), SCIPheurPassSolTrySol(), SCIPheurSyncPassSol(), SCIPreoptsolsGetNCheckedsols(), SCIPreoptsolsGetNImprovingsols(), SCIPresolveSolHeurSubNlp(), SCIPupdateStartpointHeurSubNlp(), setupAndSolveSubscip(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupSubScip(), solveSubNLP(), solveSubproblem(), and storeSolution().
void SCIPheurSetData | ( | SCIP_HEUR * | heur, |
SCIP_HEURDATA * | heurdata | ||
) |
sets user data of primal heuristic; user has to free old data in advance!
heur | primal heuristic |
heurdata | new primal heuristic user data |
Definition at line 1119 of file heur.c.
References SCIP_Heur::heurdata.
Referenced by presolveTwoOpt(), SCIP_DECL_HEUREXIT(), SCIP_DECL_HEUREXITSOL(), SCIP_DECL_HEURFREE(), SCIP_DECL_HEURINIT(), and SCIP_DECL_HEURINITSOL().
const char* SCIPheurGetName | ( | SCIP_HEUR * | heur | ) |
gets name of primal heuristic
heur | primal heuristic |
Definition at line 1198 of file heur.c.
References SCIP_Heur::name.
Referenced by applyVbounds(), createNewSol(), paramsetSetHeuristicsAggressive(), paramsetSetHeuristicsDefault(), paramsetSetHeuristicsOff(), presolve(), presolveRound(), proposeFeasibleSolution(), SCIP_DECL_CONCSOLVERCOPYSOLVINGDATA(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIP_DECL_HEUREXITSOL(), SCIP_DECL_HEURFREE(), SCIP_DECL_HEURINIT(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_SORTPTRCOMP(), SCIPaddLinearConsToNlpHeurSubNlp(), SCIPapplyProximity(), SCIPcopyConcurrentSolvingStats(), SCIPdivesetCreate(), SCIPgetStartCandidateHeurSubNlp(), SCIPgetSubScipHeurSubNlp(), SCIPgetVarMappingScip2SubScipHeurSubNlp(), SCIPgetVarMappingSubScip2ScipHeurSubNlp(), SCIPheurCopyInclude(), SCIPheurPassIndicator(), SCIPheurPassSolAddSol(), SCIPheurPassSolTrySol(), SCIPheurSyncPassSol(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPparamsetSetEmphasis(), SCIPparamsetSetToSubscipsOff(), SCIPperformGenericDivingAlgorithm(), SCIPprimalHeuristics(), SCIPprintHeuristicStatistics(), SCIPprintSolutionStatistics(), SCIPreoptAddSol(), SCIPupdateStartpointHeurSubNlp(), soltreeAddSol(), solveComponent(), and updateFailureStatistic().
const char* SCIPheurGetDesc | ( | SCIP_HEUR * | heur | ) |
gets description of primal heuristic
heur | primal heuristic |
Definition at line 1208 of file heur.c.
References SCIP_Heur::desc.
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
char SCIPheurGetDispchar | ( | SCIP_HEUR * | heur | ) |
gets display character of primal heuristic
heur | primal heuristic |
Definition at line 1218 of file heur.c.
References SCIP_Heur::dispchar.
Referenced by SCIP_DECL_DIALOGEXEC(), and SCIP_DECL_DISPOUTPUT().
SCIP_HEURTIMING SCIPheurGetTimingmask | ( | SCIP_HEUR * | heur | ) |
returns the timing mask of the heuristic
heur | primal heuristic |
Definition at line 1228 of file heur.c.
References SCIP_Heur::timingmask.
void SCIPheurSetTimingmask | ( | SCIP_HEUR * | heur, |
SCIP_HEURTIMING | timingmask | ||
) |
sets new timing mask for heuristic
heur | primal heuristic |
timingmask | new timing mask of heuristic |
Definition at line 1238 of file heur.c.
References SCIP_Heur::timingmask.
Referenced by SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXITSOL(), SCIP_DECL_HEURINIT(), and SCIP_DECL_HEURINITSOL().
does the heuristic use a secondary SCIP instance?
heur | primal heuristic |
Definition at line 1249 of file heur.c.
References SCIP_Heur::usessubscip.
Referenced by SCIPparamsetSetEmphasis(), and SCIPparamsetSetToSubscipsOff().
int SCIPheurGetPriority | ( | SCIP_HEUR * | heur | ) |
gets priority of primal heuristic
heur | primal heuristic |
Definition at line 1259 of file heur.c.
References SCIP_Heur::priority.
Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPprimalHeuristics().
int SCIPheurGetFreq | ( | SCIP_HEUR * | heur | ) |
gets frequency of primal heuristic
heur | primal heuristic |
Definition at line 1283 of file heur.c.
References SCIP_Heur::freq.
Referenced by checkParameters(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINIT(), and SCIP_DECL_HEURINITSOL().
void SCIPheurSetFreq | ( | SCIP_HEUR * | heur, |
int | freq | ||
) |
sets frequency of primal heuristic
heur | primal heuristic |
freq | new frequency of heuristic |
Definition at line 1293 of file heur.c.
References SCIP_Heur::freq.
Referenced by SCIP_DECL_HEUREXEC(), SCIPheurSyncPassSol(), and storeSolution().
int SCIPheurGetFreqofs | ( | SCIP_HEUR * | heur | ) |
gets frequency offset of primal heuristic
heur | primal heuristic |
Definition at line 1304 of file heur.c.
References SCIP_Heur::freqofs.
Referenced by SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEURINIT(), and SCIP_DECL_HEURINITSOL().
int SCIPheurGetMaxdepth | ( | SCIP_HEUR * | heur | ) |
gets maximal depth level for calling primal heuristic (returns -1, if no depth limit exists)
heur | primal heuristic |
Definition at line 1314 of file heur.c.
References SCIP_Heur::maxdepth.
SCIP_Longint SCIPheurGetNCalls | ( | SCIP_HEUR * | heur | ) |
gets the number of times, the heuristic was called and tried to find a solution
heur | primal heuristic |
Definition at line 1324 of file heur.c.
References SCIP_Heur::ncalls.
Referenced by applyVbounds(), calcNodeLimit(), determineLimits(), SCIP_DECL_HEUREXEC(), SCIPapplyZeroobj(), SCIPprintHeuristicStatistics(), setupAndSolveSubscipCrossover(), and setupSubScip().
SCIP_Longint SCIPheurGetNSolsFound | ( | SCIP_HEUR * | heur | ) |
gets the number of primal feasible solutions found by this heuristic
heur | primal heuristic |
Definition at line 1334 of file heur.c.
References SCIP_Heur::nsolsfound.
Referenced by SCIP_DECL_HEUREXEC(), and SCIPprintHeuristicStatistics().
SCIP_Longint SCIPheurGetNBestSolsFound | ( | SCIP_HEUR * | heur | ) |
gets the number of new best primal feasible solutions found by this heuristic
heur | primal heuristic |
Definition at line 1344 of file heur.c.
References SCIP_Heur::nbestsolsfound.
Referenced by applyVbounds(), determineLimits(), SCIP_DECL_HEUREXEC(), and SCIPprintHeuristicStatistics().
is primal heuristic initialized?
heur | primal heuristic |
Definition at line 1354 of file heur.c.
References SCIP_Heur::initialized.
gets time in seconds used in this heuristic for setting up for next stages
heur | primal heuristic |
Definition at line 1376 of file heur.c.
References SCIPclockGetTime(), and SCIP_Heur::setuptime.
Referenced by SCIPprintHeuristicStatistics().
gets time in seconds used in this heuristic
heur | primal heuristic |
Definition at line 1386 of file heur.c.
References SCIP_Heur::heurclock, and SCIPclockGetTime().
Referenced by SCIPprintHeuristicStatistics().
SCIP_DIVESET** SCIPheurGetDivesets | ( | SCIP_HEUR * | heur | ) |
returns array of divesets of this primal heuristic, or NULL if it has no divesets
heur | primal heuristic |
Definition at line 1396 of file heur.c.
References SCIP_Heur::divesets.
Referenced by SCIPprintHeuristicStatistics().
int SCIPheurGetNDivesets | ( | SCIP_HEUR * | heur | ) |
returns the number of divesets of this primal heuristic
heur | primal heuristic |
Definition at line 1406 of file heur.c.
References SCIP_Heur::ndivesets.
Referenced by SCIPprintHeuristicStatistics().
SCIP_RETCODE SCIPincludeHeur | ( | SCIP * | scip, |
const char * | name, | ||
const char * | desc, | ||
char | dispchar, | ||
int | priority, | ||
int | freq, | ||
int | freqofs, | ||
int | maxdepth, | ||
SCIP_HEURTIMING | timingmask, | ||
SCIP_Bool | usessubscip, | ||
SCIP_DECL_HEURCOPY((*heurcopy)) | , | ||
SCIP_DECL_HEURFREE((*heurfree)) | , | ||
SCIP_DECL_HEURINIT((*heurinit)) | , | ||
SCIP_DECL_HEUREXIT((*heurexit)) | , | ||
SCIP_DECL_HEURINITSOL((*heurinitsol)) | , | ||
SCIP_DECL_HEUREXITSOL((*heurexitsol)) | , | ||
SCIP_DECL_HEUREXEC((*heurexec)) | , | ||
SCIP_HEURDATA * | heurdata | ||
) |
creates a primal heuristic and includes it in SCIP.
scip
is in one of the following stages:
scip | SCIP data structure |
name | name of primal heuristic |
desc | description of primal heuristic |
dispchar | display character of primal heuristic |
priority | priority of the primal heuristic |
freq | frequency for calling primal heuristic |
freqofs | frequency offset for calling primal heuristic |
maxdepth | maximal depth level to call heuristic at (-1: no limit) |
timingmask | positions in the node solving loop where heuristic should be executed; see definition of SCIP_HEURTIMING for possible values |
usessubscip | does the heuristic use a secondary SCIP instance? |
heurdata | primal heuristic data |
Definition at line 8034 of file scip.c.
References checkStage(), FALSE, Scip::mem, Scip::messagehdlr, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPerrorMessage, SCIPfindHeur(), SCIPheurCreate(), SCIPsetIncludeHeur(), Scip::set, SCIP_Mem::setmem, and TRUE.
Referenced by SCIPincludeObjHeur().
SCIP_RETCODE SCIPincludeHeurBasic | ( | SCIP * | scip, |
SCIP_HEUR ** | heur, | ||
const char * | name, | ||
const char * | desc, | ||
char | dispchar, | ||
int | priority, | ||
int | freq, | ||
int | freqofs, | ||
int | maxdepth, | ||
SCIP_HEURTIMING | timingmask, | ||
SCIP_Bool | usessubscip, | ||
SCIP_DECL_HEUREXEC((*heurexec)) | , | ||
SCIP_HEURDATA * | heurdata | ||
) |
creates a primal heuristic and includes it in SCIP with its most fundamental callbacks. All non-fundamental (or optional) callbacks as, e. g., init and exit callbacks, will be set to NULL. Optional callbacks can be set via specific setter functions, see SCIPsetHeurCopy(), SCIPsetHeurFree(), SCIPsetHeurInit(), SCIPsetHeurExit(), SCIPsetHeurInitsol(), and SCIPsetHeurExitsol()
scip | SCIP data structure |
heur | pointer to primal heuristic |
name | name of primal heuristic |
desc | description of primal heuristic |
dispchar | display character of primal heuristic |
priority | priority of the primal heuristic |
freq | frequency for calling primal heuristic |
freqofs | frequency offset for calling primal heuristic |
maxdepth | maximal depth level to call heuristic at (-1: no limit) |
timingmask | positions in the node solving loop where heuristic should be executed; see definition of SCIP_HEURTIMING for possible values |
usessubscip | does the heuristic use a secondary SCIP instance? |
heurdata | primal heuristic data |
Definition at line 8084 of file scip.c.
References checkStage(), FALSE, Scip::mem, Scip::messagehdlr, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPerrorMessage, SCIPfindHeur(), SCIPheurCreate(), SCIPsetIncludeHeur(), Scip::set, SCIP_Mem::setmem, and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurAlns(), SCIPincludeHeurBound(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurFixandinfer(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIndicator(), SCIPincludeHeurIntdiving(), SCIPincludeHeurIntshifting(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMpec(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurOfins(), SCIPincludeHeurOneopt(), SCIPincludeHeurProximity(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRens(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurShifting(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurSync(), SCIPincludeHeurTrivial(), SCIPincludeHeurTrivialnegation(), SCIPincludeHeurTrySol(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVeclendiving(), SCIPincludeHeurZeroobj(), and SCIPincludeHeurZirounding().
SCIP_RETCODE SCIPsetHeurCopy | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
SCIP_DECL_HEURCOPY((*heurcopy)) | |||
) |
sets copy method of primal heuristic
scip | SCIP data structure |
heur | primal heuristic |
Definition at line 8129 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPheurSetCopy(), and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurAlns(), SCIPincludeHeurBound(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurFixandinfer(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIndicator(), SCIPincludeHeurIntdiving(), SCIPincludeHeurIntshifting(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMpec(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurOfins(), SCIPincludeHeurOneopt(), SCIPincludeHeurProximity(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRens(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurShifting(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTrivial(), SCIPincludeHeurTrivialnegation(), SCIPincludeHeurTrySol(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVeclendiving(), SCIPincludeHeurZeroobj(), and SCIPincludeHeurZirounding().
SCIP_RETCODE SCIPsetHeurFree | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
SCIP_DECL_HEURFREE((*heurfree)) | |||
) |
sets destructor method of primal heuristic
scip | SCIP data structure |
heur | primal heuristic |
Definition at line 8145 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPheurSetFree(), and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurAlns(), SCIPincludeHeurBound(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurFixandinfer(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIndicator(), SCIPincludeHeurIntdiving(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMpec(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurOfins(), SCIPincludeHeurOneopt(), SCIPincludeHeurProximity(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRens(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurSync(), SCIPincludeHeurTrySol(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVeclendiving(), SCIPincludeHeurZeroobj(), and SCIPincludeHeurZirounding().
SCIP_RETCODE SCIPsetHeurInit | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
SCIP_DECL_HEURINIT((*heurinit)) | |||
) |
sets initialization method of primal heuristic
scip | SCIP data structure |
heur | primal heuristic |
Definition at line 8161 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPheurSetInit(), and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurAlns(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurCrossover(), SCIPincludeHeurDualval(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIndicator(), SCIPincludeHeurIntdiving(), SCIPincludeHeurIntshifting(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurOneopt(), SCIPincludeHeurProximity(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRens(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurShifting(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVeclendiving(), SCIPincludeHeurZeroobj(), and SCIPincludeHeurZirounding().
SCIP_RETCODE SCIPsetHeurExit | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
SCIP_DECL_HEUREXIT((*heurexit)) | |||
) |
sets deinitialization method of primal heuristic
scip | SCIP data structure |
heur | primal heuristic |
Definition at line 8177 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPheurSetExit(), and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurAlns(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurCrossover(), SCIPincludeHeurDualval(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIntdiving(), SCIPincludeHeurIntshifting(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurLpface(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurShifting(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSync(), SCIPincludeHeurTrySol(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVeclendiving(), and SCIPincludeHeurZirounding().
SCIP_RETCODE SCIPsetHeurInitsol | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
SCIP_DECL_HEURINITSOL((*heurinitsol)) | |||
) |
sets solving process initialization method of primal heuristic
scip | SCIP data structure |
heur | primal heuristic |
Definition at line 8193 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPheurSetInitsol(), and TRUE.
Referenced by SCIPincludeHeurAlns(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurIntshifting(), SCIPincludeHeurLpface(), SCIPincludeHeurMpec(), SCIPincludeHeurOneopt(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRounding(), SCIPincludeHeurShifting(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), and SCIPincludeHeurZirounding().
SCIP_RETCODE SCIPsetHeurExitsol | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
SCIP_DECL_HEUREXITSOL((*heurexitsol)) | |||
) |
sets solving process deinitialization method of primal heuristic
scip | SCIP data structure |
heur | primal heuristic |
Definition at line 8209 of file scip.c.
References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPheurSetExitsol(), and TRUE.
Referenced by SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurLpface(), SCIPincludeHeurMpec(), SCIPincludeHeurOneopt(), SCIPincludeHeurProximity(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRounding(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTwoopt(), and SCIPincludeHeurUndercover().
returns the primal heuristic of the given name, or NULL if not existing
scip | SCIP data structure |
name | name of primal heuristic |
Definition at line 8225 of file scip.c.
References SCIPsetFindHeur(), and Scip::set.
Referenced by checkSystemGF2(), extendToCover(), SCIP_DECL_CONCSOLVERCOPYSOLVINGDATA(), SCIP_DECL_CONSINIT(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_TABLEOUTPUT(), SCIPapplyLockFixings(), SCIPcopyConcurrentSolvingStats(), SCIPcreateConcurrent(), SCIPdeleteSubproblemProximity(), SCIPfindObjHeur(), SCIPincludeHeur(), SCIPincludeHeurBasic(), SCIPreoptsolsGetNCheckedsols(), SCIPreoptsolsGetNImprovingsols(), setupAndSolveSubscipRapidlearning(), and solveComponent().
returns the array of currently available primal heuristics
scip | SCIP data structure |
Definition at line 8238 of file scip.c.
References SCIP_Set::heurs, SCIPsetSortHeurs(), and Scip::set.
Referenced by checkParameters(), SCIP_DECL_DIALOGEXEC(), SCIPcopyConcurrentSolvingStats(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
int SCIPgetNHeurs | ( | SCIP * | scip | ) |
returns the number of currently available primal heuristics
scip | SCIP data structure |
Definition at line 8251 of file scip.c.
References SCIP_Set::nheurs, and Scip::set.
Referenced by checkParameters(), SCIP_DECL_DIALOGEXEC(), SCIPcopyConcurrentSolvingStats(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
SCIP_RETCODE SCIPsetHeurPriority | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
int | priority | ||
) |
sets the priority of a primal heuristic
scip | SCIP data structure |
heur | primal heuristic |
priority | new priority of the primal heuristic |
Definition at line 8262 of file scip.c.
References SCIP_OKAY, SCIPheurSetPriority(), and Scip::set.
Referenced by SCIP_DECL_PARAMCHGD().