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 40 of file heur.c.
References SCIP_Heur::delaypos, SCIP_Heur::freq, SCIP_Heur::ncalls, NULL, and SCIP_Heur::priority.
SCIP_DECL_SORTPTRCOMP | ( | SCIPheurCompName | ) |
comparison method for sorting heuristics w.r.t. to their name
Definition at line 64 of file heur.c.
References SCIPheurGetName().
SCIP_HEURDATA* SCIPheurGetData | ( | SCIP_HEUR * | heur | ) |
gets user data of primal heuristic
heur | primal heuristic |
Definition at line 1092 of file heur.c.
References SCIP_Heur::heurdata, and NULL.
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(), SCIPaddLinearConsToNlpHeurSubNlp(), SCIPapplyHeurDualval(), SCIPapplyHeurSubNlp(), SCIPapplyProximity(), SCIPapplyRens(), SCIPapplyUndercover(), SCIPapplyZeroobj(), SCIPdeleteSubproblemProximity(), SCIPfindObjHeur(), SCIPgetObjHeur(), SCIPgetStartCandidateHeurSubNlp(), SCIPgetSubScipHeurSubNlp(), SCIPgetVarMappingScip2SubScipHeurSubNlp(), SCIPgetVarMappingSubScip2ScipHeurSubNlp(), SCIPheurPassIndicator(), SCIPheurPassSolAddSol(), SCIPheurPassSolTrySol(), SCIPheurSyncPassSol(), SCIPreoptsolsGetNCheckedsols(), SCIPreoptsolsGetNImprovingsols(), SCIPresolveSolHeurSubNlp(), SCIPupdateStartpointHeurSubNlp(), 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 1102 of file heur.c.
References SCIP_Heur::heurdata, and NULL.
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 1181 of file heur.c.
References SCIP_Heur::name, and NULL.
Referenced by createNewSol(), paramsetSetHeuristicsAggressive(), paramsetSetHeuristicsDefault(), paramsetSetHeuristicsOff(), presolve(), presolveRound(), printHeuristicStatistics(), printSolutionStatistics(), 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(), SCIPreoptAddSol(), SCIPsetIncludeConcsolver(), SCIPupdateStartpointHeurSubNlp(), soltreeAddSol(), solveComponent(), and updateFailureStatistic().
const char* SCIPheurGetDesc | ( | SCIP_HEUR * | heur | ) |
gets description of primal heuristic
heur | primal heuristic |
Definition at line 1191 of file heur.c.
References SCIP_Heur::desc, and NULL.
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 1201 of file heur.c.
References SCIP_Heur::dispchar, and NULL.
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 1211 of file heur.c.
References NULL, and 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 1221 of file heur.c.
References NULL, and 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 1232 of file heur.c.
References NULL, and SCIP_Heur::usessubscip.
Referenced by SCIPparamsetSetEmphasis(), and SCIPparamsetSetToSubscipsOff().
int SCIPheurGetPriority | ( | SCIP_HEUR * | heur | ) |
gets priority of primal heuristic
heur | primal heuristic |
Definition at line 1242 of file heur.c.
References NULL, and 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 1266 of file heur.c.
References SCIP_Heur::freq, and NULL.
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 1276 of file heur.c.
References SCIP_Heur::freq, and NULL.
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 1287 of file heur.c.
References SCIP_Heur::freqofs, and NULL.
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 1297 of file heur.c.
References SCIP_Heur::maxdepth, and NULL.
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 1307 of file heur.c.
References SCIP_Heur::ncalls, and NULL.
Referenced by applyVbounds(), calcNodeLimit(), printHeuristicStatistics(), SCIP_DECL_HEUREXEC(), and SCIPapplyZeroobj().
SCIP_Longint SCIPheurGetNSolsFound | ( | SCIP_HEUR * | heur | ) |
gets the number of primal feasible solutions found by this heuristic
heur | primal heuristic |
Definition at line 1317 of file heur.c.
References SCIP_Heur::nsolsfound, and NULL.
Referenced by printHeuristicStatistics(), and SCIP_DECL_HEUREXEC().
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 1327 of file heur.c.
References SCIP_Heur::nbestsolsfound, and NULL.
Referenced by applyVbounds(), determineLimits(), printHeuristicStatistics(), and SCIP_DECL_HEUREXEC().
is primal heuristic initialized?
heur | primal heuristic |
Definition at line 1337 of file heur.c.
References SCIP_Heur::initialized, and NULL.
Referenced by SCIPsetIncludeConcsolverType().
gets time in seconds used in this heuristic for setting up for next stages
heur | primal heuristic |
Definition at line 1359 of file heur.c.
References NULL, SCIPclockGetTime(), and SCIP_Heur::setuptime.
Referenced by printHeuristicStatistics().
gets time in seconds used in this heuristic
heur | primal heuristic |
Definition at line 1369 of file heur.c.
References SCIP_Heur::heurclock, NULL, and SCIPclockGetTime().
Referenced by printHeuristicStatistics().
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 1379 of file heur.c.
References SCIP_Heur::divesets, and NULL.
Referenced by printHeuristicStatistics().
int SCIPheurGetNDivesets | ( | SCIP_HEUR * | heur | ) |
returns the number of divesets of this primal heuristic
heur | primal heuristic |
Definition at line 1389 of file heur.c.
References SCIP_Heur::ndivesets, and NULL.
Referenced by printHeuristicStatistics().
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 7949 of file scip.c.
References checkStage(), FALSE, Scip::mem, Scip::messagehdlr, NULL, 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 7999 of file scip.c.
References checkStage(), FALSE, Scip::mem, Scip::messagehdlr, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPerrorMessage, SCIPfindHeur(), SCIPheurCreate(), SCIPsetIncludeHeur(), Scip::set, SCIP_Mem::setmem, and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurBound(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurFixandinfer(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIndicator(), SCIPincludeHeurIntdiving(), SCIPincludeHeurIntshifting(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurOfins(), SCIPincludeHeurOneopt(), SCIPincludeHeurProximity(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRens(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurShifting(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurSync(), SCIPincludeHeurTrivial(), SCIPincludeHeurTrivialnegation(), SCIPincludeHeurTrySol(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVbounds(), 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 8044 of file scip.c.
References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurSetCopy(), and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurBound(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurFixandinfer(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIndicator(), SCIPincludeHeurIntdiving(), SCIPincludeHeurIntshifting(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurOfins(), SCIPincludeHeurOneopt(), SCIPincludeHeurProximity(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRens(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurShifting(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTrivial(), SCIPincludeHeurTrivialnegation(), SCIPincludeHeurTrySol(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVbounds(), 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 8060 of file scip.c.
References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurSetFree(), and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurBound(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurCompletesol(), SCIPincludeHeurCrossover(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurFixandinfer(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIndicator(), SCIPincludeHeurIntdiving(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurOfins(), SCIPincludeHeurOneopt(), SCIPincludeHeurProximity(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRens(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurSync(), SCIPincludeHeurTrySol(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVbounds(), 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 8076 of file scip.c.
References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurSetInit(), and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), 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 8092 of file scip.c.
References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurSetExit(), and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), 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 8108 of file scip.c.
References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurSetInitsol(), and TRUE.
Referenced by SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurIntshifting(), SCIPincludeHeurLpface(), 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 8124 of file scip.c.
References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurSetExitsol(), and TRUE.
Referenced by SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurLpface(), SCIPincludeHeurOneopt(), SCIPincludeHeurProximity(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRounding(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), and SCIPincludeHeurVbounds().
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 8140 of file scip.c.
References NULL, SCIPsetFindHeur(), and Scip::set.
Referenced by checkSystemGF2(), extendToCover(), SCIP_DECL_CONCSOLVERCOPYSOLVINGDATA(), SCIP_DECL_CONSINIT(), SCIPcopyConcurrentSolvingStats(), SCIPcreateConcurrent(), SCIPdeleteSubproblemProximity(), SCIPfindObjHeur(), SCIPincludeHeur(), SCIPincludeHeurBasic(), SCIPreoptsolsGetNCheckedsols(), SCIPreoptsolsGetNImprovingsols(), and solveComponent().
returns the array of currently available primal heuristics
scip | SCIP data structure |
Definition at line 8153 of file scip.c.
References SCIP_Set::heurs, NULL, 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 8166 of file scip.c.
References SCIP_Set::nheurs, NULL, 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 8177 of file scip.c.
References NULL, SCIP_OKAY, SCIPheurSetPriority(), and Scip::set.
Referenced by SCIP_DECL_PARAMCHGD().