Detailed Description
methods for primal heuristic plugins
Modules | |
Special Methods | |
methods commonly used by primal heuristics | |
Function Documentation
◆ SCIP_DECL_SORTPTRCOMP() [1/3]
SCIP_DECL_SORTPTRCOMP | ( | SCIPheurComp | ) |
compares two heuristics w.r.t. to their delay positions and priorities
Definition at line 51 of file heur.c.
References SCIP_Heur::delaypos, SCIP_Heur::freq, SCIP_Heur::name, SCIP_Heur::ncalls, NULL, and SCIP_Heur::priority.
◆ SCIP_DECL_SORTPTRCOMP() [2/3]
SCIP_DECL_SORTPTRCOMP | ( | SCIPheurCompPriority | ) |
compares two heuristics w.r.t. to their priority values
Definition at line 77 of file heur.c.
References SCIPheurGetPriority().
◆ SCIP_DECL_SORTPTRCOMP() [3/3]
SCIP_DECL_SORTPTRCOMP | ( | SCIPheurCompName | ) |
comparison method for sorting heuristics w.r.t. to their name
Definition at line 84 of file heur.c.
References SCIPheurGetName().
◆ SCIPheurGetData()
SCIP_HEURDATA * SCIPheurGetData | ( | SCIP_HEUR * | heur | ) |
gets user data of primal heuristic
- Parameters
-
heur primal heuristic
Definition at line 1364 of file heur.c.
References SCIP_Heur::heurdata, and NULL.
Referenced by addCandSolCyckerlin(), addLocalbranchingConstraintAndObjcutoff(), applyRepair(), createNewSol(), createSolFromNLP(), createSolFromSubScipSol(), determineLimits(), executeDivingHeuristic(), executeHeuristic(), executeLNSHeuristic(), initRest(), processNLPSol(), reoptimize(), SCIP_DECL_DIVESETAVAILABLE(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_HEURCOPY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIP_DECL_HEUREXITSOL(), SCIP_DECL_HEURFREE(), SCIP_DECL_HEURINIT(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_TABLEOUTPUT(), SCIPapplyHeurDualval(), SCIPapplyHeurSubNlp(), SCIPapplyLockFixings(), SCIPapplyProximity(), SCIPapplyUndercover(), SCIPapplyZeroobj(), SCIPdeleteSubproblemProximity(), SCIPfindObjHeur(), SCIPgetObjHeur(), SCIPgetStartCandidateHeurSubNlp(), SCIPheurPassIndicator(), SCIPheurPassSolAddSol(), SCIPheurPassSolTrySol(), SCIPheurSyncPassSol(), SCIPinitHeurOptcumulative(), SCIPinitializeHeurListScheduling(), SCIPreoptsolsGetNCheckedsols(), SCIPreoptsolsGetNImprovingsols(), SCIPupdateStartpointHeurSubNlp(), setupAndSolveSubscip(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipTrustregion(), setupSubScip(), solveSubNLP(), solveSubproblem(), and storeSolution().
◆ SCIPheurSetData()
void SCIPheurSetData | ( | SCIP_HEUR * | heur, |
SCIP_HEURDATA * | heurdata | ||
) |
sets user data of primal heuristic; user has to free old data in advance!
- Parameters
-
heur primal heuristic heurdata new primal heuristic user data
Definition at line 1374 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().
◆ SCIPheurGetName()
const char * SCIPheurGetName | ( | SCIP_HEUR * | heur | ) |
gets name of primal heuristic
- Parameters
-
heur primal heuristic
Definition at line 1453 of file heur.c.
References SCIP_Heur::name, and NULL.
Referenced by notifyNlhdlrNewsol(), paramsetSetHeuristicsAggressive(), paramsetSetHeuristicsDefault(), paramsetSetHeuristicsFast(), paramsetSetHeuristicsOff(), presolve(), presolveRound(), proposeFeasibleSolution(), SCIP_DECL_CONCSOLVERCOPYSOLVINGDATA(), SCIP_DECL_CONSCHECK(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_DISPOUTPUT(), 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(), SCIPapplyProximity(), SCIPcopyConcurrentSolvingStats(), SCIPdivesetCreate(), SCIPgetStartCandidateHeurSubNlp(), SCIPheurCopyInclude(), SCIPheurPassIndicator(), SCIPheurPassSolAddSol(), SCIPheurPassSolTrySol(), SCIPheurSyncPassSol(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPparamsetSetEmphasis(), SCIPparamsetSetToSubscipsOff(), SCIPperformGenericDivingAlgorithm(), SCIPprimalHeuristics(), SCIPprintHeuristicStatistics(), SCIPprintSolutionStatistics(), SCIPreoptAddSol(), SCIPupdateStartpointHeurSubNlp(), soltreeAddSol(), and solveComponent().
◆ SCIPheurGetDesc()
const char * SCIPheurGetDesc | ( | SCIP_HEUR * | heur | ) |
gets description of primal heuristic
- Parameters
-
heur primal heuristic
Definition at line 1463 of file heur.c.
References SCIP_Heur::desc, and NULL.
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
◆ SCIPheurGetDispchar()
char SCIPheurGetDispchar | ( | SCIP_HEUR * | heur | ) |
gets display character of primal heuristic
- Parameters
-
heur primal heuristic
Definition at line 1473 of file heur.c.
References SCIP_Heur::dispchar, and NULL.
Referenced by SCIP_DECL_DIALOGEXEC(), and SCIP_DECL_DISPOUTPUT().
◆ SCIPheurGetTimingmask()
SCIP_HEURTIMING SCIPheurGetTimingmask | ( | SCIP_HEUR * | heur | ) |
returns the timing mask of the heuristic
- Parameters
-
heur primal heuristic
Definition at line 1483 of file heur.c.
References NULL, and SCIP_Heur::timingmask.
◆ SCIPheurSetTimingmask()
void SCIPheurSetTimingmask | ( | SCIP_HEUR * | heur, |
SCIP_HEURTIMING | timingmask | ||
) |
sets new timing mask for heuristic
- Parameters
-
heur primal heuristic timingmask new timing mask of heuristic
Definition at line 1493 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().
◆ SCIPheurUsesSubscip()
does the heuristic use a secondary SCIP instance?
- Parameters
-
heur primal heuristic
Definition at line 1504 of file heur.c.
References NULL, and SCIP_Heur::usessubscip.
Referenced by paramsetSetHeuristicsFast(), SCIPparamsetSetEmphasis(), and SCIPparamsetSetToSubscipsOff().
◆ SCIPheurGetPriority()
int SCIPheurGetPriority | ( | SCIP_HEUR * | heur | ) |
gets priority of primal heuristic
- Parameters
-
heur primal heuristic
Definition at line 1514 of file heur.c.
References NULL, and SCIP_Heur::priority.
Referenced by includeDivingHeurs(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_SORTPTRCOMP(), and SCIPprimalHeuristics().
◆ SCIPheurGetFreq()
int SCIPheurGetFreq | ( | SCIP_HEUR * | heur | ) |
gets frequency of primal heuristic
- Parameters
-
heur primal heuristic
Definition at line 1538 of file heur.c.
References SCIP_Heur::freq, and NULL.
Referenced by checkParameters(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINIT(), SCIP_DECL_HEURINITSOL(), and SCIPupdateStartpointHeurSubNlp().
◆ SCIPheurSetFreq()
void SCIPheurSetFreq | ( | SCIP_HEUR * | heur, |
int | freq | ||
) |
sets frequency of primal heuristic
- Parameters
-
heur primal heuristic freq new frequency of heuristic
Definition at line 1548 of file heur.c.
References SCIP_Heur::freq, and NULL.
Referenced by SCIP_DECL_HEUREXEC(), SCIPheurSyncPassSol(), and storeSolution().
◆ SCIPheurGetFreqofs()
int SCIPheurGetFreqofs | ( | SCIP_HEUR * | heur | ) |
gets frequency offset of primal heuristic
- Parameters
-
heur primal heuristic
Definition at line 1559 of file heur.c.
References SCIP_Heur::freqofs, and NULL.
Referenced by SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEURINIT(), and SCIP_DECL_HEURINITSOL().
◆ SCIPheurGetMaxdepth()
int SCIPheurGetMaxdepth | ( | SCIP_HEUR * | heur | ) |
gets maximal depth level for calling primal heuristic (returns -1, if no depth limit exists)
- Parameters
-
heur primal heuristic
Definition at line 1569 of file heur.c.
References SCIP_Heur::maxdepth, and NULL.
◆ SCIPheurGetNCalls()
SCIP_Longint SCIPheurGetNCalls | ( | SCIP_HEUR * | heur | ) |
gets the number of times, the heuristic was called and tried to find a solution
- Parameters
-
heur primal heuristic
Definition at line 1579 of file heur.c.
References SCIP_Heur::ncalls, and NULL.
Referenced by applyVbounds(), calcNodeLimit(), determineLimits(), getLPIterlimit(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), SCIPapplyZeroobj(), SCIPprintHeuristicStatistics(), selectDiving(), setupAndSolveSubscipCrossover(), and setupSubScip().
◆ SCIPheurGetNSolsFound()
SCIP_Longint SCIPheurGetNSolsFound | ( | SCIP_HEUR * | heur | ) |
gets the number of primal feasible solutions found by this heuristic
- Parameters
-
heur primal heuristic
Definition at line 1589 of file heur.c.
References SCIP_Heur::nsolsfound, and NULL.
Referenced by getLPIterlimit(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXIT(), and SCIPprintHeuristicStatistics().
◆ SCIPheurGetNBestSolsFound()
SCIP_Longint SCIPheurGetNBestSolsFound | ( | SCIP_HEUR * | heur | ) |
gets the number of new best primal feasible solutions found by this heuristic
- Parameters
-
heur primal heuristic
Definition at line 1599 of file heur.c.
References SCIP_Heur::nbestsolsfound, and NULL.
Referenced by applyVbounds(), determineLimits(), getLPIterlimit(), SCIP_DECL_HEUREXEC(), and SCIPprintHeuristicStatistics().
◆ SCIPheurIsInitialized()
is primal heuristic initialized?
- Parameters
-
heur primal heuristic
Definition at line 1609 of file heur.c.
References SCIP_Heur::initialized, and NULL.
◆ SCIPheurGetSetupTime()
gets time in seconds used in this heuristic for setting up for next stages
- Parameters
-
heur primal heuristic
Definition at line 1631 of file heur.c.
References NULL, SCIPclockGetTime(), and SCIP_Heur::setuptime.
Referenced by SCIPprintHeuristicStatistics().
◆ SCIPheurGetTime()
gets time in seconds used in this heuristic
- Parameters
-
heur primal heuristic
Definition at line 1641 of file heur.c.
References SCIP_Heur::heurclock, NULL, and SCIPclockGetTime().
Referenced by reoptimize(), SCIP_DECL_HEUREXIT(), and SCIPprintHeuristicStatistics().
◆ SCIPheurGetDivesets()
SCIP_DIVESET ** SCIPheurGetDivesets | ( | SCIP_HEUR * | heur | ) |
returns array of divesets of this primal heuristic, or NULL if it has no divesets
- Parameters
-
heur primal heuristic
Definition at line 1651 of file heur.c.
References SCIP_Heur::divesets, and NULL.
Referenced by findAndStoreDivesets(), includeDivingHeurs(), SCIP_DECL_HEUREXEC(), and SCIPprintHeuristicStatistics().
◆ SCIPheurGetNDivesets()
int SCIPheurGetNDivesets | ( | SCIP_HEUR * | heur | ) |
returns the number of divesets of this primal heuristic
- Parameters
-
heur primal heuristic
Definition at line 1661 of file heur.c.
References SCIP_Heur::ndivesets, and NULL.
Referenced by findAndStoreDivesets(), includeDivingHeurs(), SCIP_DECL_HEUREXEC(), and SCIPprintHeuristicStatistics().
◆ SCIPincludeHeur()
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.
- Note
- method has all heuristic callbacks as arguments and is thus changed every time a new callback is added in future releases; consider using SCIPincludeHeurBasic() and setter functions if you seek for a method which is less likely to change in future releases
- Returns
- SCIP_OKAY is returned if everything worked. otherwise a suitable error code is passed. see SCIP_RETCODE for a complete list of error codes.
- Precondition
- This method can be called if
scip
is in one of the following stages:
- Parameters
-
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 67 of file scip_heur.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPcheckStage(), SCIPerrorMessage, SCIPfindHeur(), SCIPheurCreate(), SCIPsetIncludeHeur(), and TRUE.
Referenced by SCIPincludeHeurLocks(), SCIPincludeHeurOptcumulative(), and SCIPincludeObjHeur().
◆ SCIPincludeHeurBasic()
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()
- Note
- if you want to set all callbacks with a single method call, consider using SCIPincludeHeur() instead
- Parameters
-
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 117 of file scip_heur.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPcheckStage(), SCIPerrorMessage, SCIPfindHeur(), SCIPheurCreate(), SCIPsetIncludeHeur(), and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurAdaptivediving(), SCIPincludeHeurAlns(), SCIPincludeHeurBound(), SCIPincludeHeurClique(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurCompletesol(), SCIPincludeHeurConflictdiving(), SCIPincludeHeurCrossover(), SCIPincludeHeurCycGreedy(), SCIPincludeHeurCycKerlin(), SCIPincludeHeurDins(), SCIPincludeHeurDistributiondiving(), SCIPincludeHeurDps(), SCIPincludeHeurDualval(), SCIPincludeHeurFarkasdiving(), SCIPincludeHeurFeaspump(), SCIPincludeHeurFixandinfer(), SCIPincludeHeurFracdiving(), SCIPincludeHeurFuzzyround(), SCIPincludeHeurGins(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIndicator(), SCIPincludeHeurIndicatordiving(), SCIPincludeHeurInit(), SCIPincludeHeurIntdiving(), SCIPincludeHeurIntshifting(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurListScheduling(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMpec(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurNlpdiving(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurOfins(), SCIPincludeHeurOneopt(), SCIPincludeHeurPADM(), SCIPincludeHeurProximity(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRedsize(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRepair(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurScheduler(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurShifting(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurSync(), SCIPincludeHeurTrivial(), SCIPincludeHeurTrivialnegation(), SCIPincludeHeurTrustregion(), SCIPincludeHeurTrySol(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVbounds(), SCIPincludeHeurVeclendiving(), SCIPincludeHeurZeroobj(), and SCIPincludeHeurZirounding().
◆ SCIPsetHeurCopy()
SCIP_RETCODE SCIPsetHeurCopy | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
SCIP_DECL_HEURCOPY((*heurcopy)) | |||
) |
sets copy method of primal heuristic
- Parameters
-
scip SCIP data structure heur primal heuristic
Definition at line 162 of file scip_heur.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPheurSetCopy(), and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurAdaptivediving(), SCIPincludeHeurAlns(), SCIPincludeHeurBound(), SCIPincludeHeurClique(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurCompletesol(), SCIPincludeHeurConflictdiving(), SCIPincludeHeurCrossover(), SCIPincludeHeurCycGreedy(), SCIPincludeHeurCycKerlin(), SCIPincludeHeurDins(), SCIPincludeHeurDistributiondiving(), SCIPincludeHeurDps(), SCIPincludeHeurFarkasdiving(), SCIPincludeHeurFeaspump(), SCIPincludeHeurFixandinfer(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGins(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIndicator(), SCIPincludeHeurIndicatordiving(), SCIPincludeHeurInit(), SCIPincludeHeurIntdiving(), SCIPincludeHeurIntshifting(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMpec(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurNlpdiving(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurOfins(), SCIPincludeHeurOneopt(), SCIPincludeHeurPADM(), SCIPincludeHeurProximity(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRedsize(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurScheduler(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurShifting(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTrivial(), SCIPincludeHeurTrivialnegation(), SCIPincludeHeurTrustregion(), SCIPincludeHeurTrySol(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVbounds(), SCIPincludeHeurVeclendiving(), SCIPincludeHeurZeroobj(), and SCIPincludeHeurZirounding().
◆ SCIPsetHeurFree()
SCIP_RETCODE SCIPsetHeurFree | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
SCIP_DECL_HEURFREE((*heurfree)) | |||
) |
sets destructor method of primal heuristic
- Parameters
-
scip SCIP data structure heur primal heuristic
Definition at line 178 of file scip_heur.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPheurSetFree(), and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurAdaptivediving(), SCIPincludeHeurAlns(), SCIPincludeHeurBound(), SCIPincludeHeurClique(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurCompletesol(), SCIPincludeHeurConflictdiving(), SCIPincludeHeurCrossover(), SCIPincludeHeurCycGreedy(), SCIPincludeHeurCycKerlin(), SCIPincludeHeurDins(), SCIPincludeHeurDistributiondiving(), SCIPincludeHeurDps(), SCIPincludeHeurDualval(), SCIPincludeHeurFarkasdiving(), SCIPincludeHeurFeaspump(), SCIPincludeHeurFixandinfer(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGins(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIndicator(), SCIPincludeHeurIndicatordiving(), SCIPincludeHeurInit(), SCIPincludeHeurIntdiving(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurListScheduling(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMpec(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurNlpdiving(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurOfins(), SCIPincludeHeurOneopt(), SCIPincludeHeurPADM(), SCIPincludeHeurProximity(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRedsize(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRepair(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurScheduler(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurSync(), SCIPincludeHeurTrustregion(), SCIPincludeHeurTrySol(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVbounds(), SCIPincludeHeurVeclendiving(), SCIPincludeHeurZeroobj(), and SCIPincludeHeurZirounding().
◆ SCIPsetHeurInit()
SCIP_RETCODE SCIPsetHeurInit | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
SCIP_DECL_HEURINIT((*heurinit)) | |||
) |
sets initialization method of primal heuristic
- Parameters
-
scip SCIP data structure heur primal heuristic
Definition at line 194 of file scip_heur.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPheurSetInit(), and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurAdaptivediving(), SCIPincludeHeurAlns(), SCIPincludeHeurClique(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurConflictdiving(), SCIPincludeHeurCrossover(), SCIPincludeHeurCycGreedy(), SCIPincludeHeurCycKerlin(), SCIPincludeHeurDistributiondiving(), SCIPincludeHeurDualval(), SCIPincludeHeurFarkasdiving(), SCIPincludeHeurFeaspump(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGins(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIndicator(), SCIPincludeHeurIndicatordiving(), SCIPincludeHeurIntdiving(), SCIPincludeHeurIntshifting(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurLocalbranching(), SCIPincludeHeurLpface(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurNlpdiving(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurOneopt(), SCIPincludeHeurProximity(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurReoptsols(), SCIPincludeHeurRepair(), SCIPincludeHeurRins(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurScheduler(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurShifting(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTrustregion(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVeclendiving(), SCIPincludeHeurZeroobj(), and SCIPincludeHeurZirounding().
◆ SCIPsetHeurExit()
SCIP_RETCODE SCIPsetHeurExit | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
SCIP_DECL_HEUREXIT((*heurexit)) | |||
) |
sets deinitialization method of primal heuristic
- Parameters
-
scip SCIP data structure heur primal heuristic
Definition at line 210 of file scip_heur.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPheurSetExit(), and TRUE.
Referenced by SCIPincludeHeurActconsdiving(), SCIPincludeHeurAdaptivediving(), SCIPincludeHeurAlns(), SCIPincludeHeurCoefdiving(), SCIPincludeHeurConflictdiving(), SCIPincludeHeurCrossover(), SCIPincludeHeurDistributiondiving(), SCIPincludeHeurDualval(), SCIPincludeHeurFarkasdiving(), SCIPincludeHeurFeaspump(), SCIPincludeHeurFracdiving(), SCIPincludeHeurGins(), SCIPincludeHeurGuideddiving(), SCIPincludeHeurIndicatordiving(), SCIPincludeHeurIntdiving(), SCIPincludeHeurIntshifting(), SCIPincludeHeurLinesearchdiving(), SCIPincludeHeurLpface(), SCIPincludeHeurMultistart(), SCIPincludeHeurMutation(), SCIPincludeHeurNlpdiving(), SCIPincludeHeurObjpscostdiving(), SCIPincludeHeurOctane(), SCIPincludeHeurPscostdiving(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRepair(), SCIPincludeHeurRootsoldiving(), SCIPincludeHeurRounding(), SCIPincludeHeurScheduler(), SCIPincludeHeurShiftandpropagate(), SCIPincludeHeurShifting(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSync(), SCIPincludeHeurTrySol(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), SCIPincludeHeurVeclendiving(), and SCIPincludeHeurZirounding().
◆ SCIPsetHeurInitsol()
SCIP_RETCODE SCIPsetHeurInitsol | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
SCIP_DECL_HEURINITSOL((*heurinitsol)) | |||
) |
sets solving process initialization method of primal heuristic
- Parameters
-
scip SCIP data structure heur primal heuristic
Definition at line 226 of file scip_heur.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPheurSetInitsol(), and TRUE.
Referenced by SCIPincludeHeurAlns(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurFarkasdiving(), SCIPincludeHeurFeaspump(), SCIPincludeHeurIntshifting(), SCIPincludeHeurLpface(), SCIPincludeHeurMpec(), SCIPincludeHeurOneopt(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRounding(), SCIPincludeHeurScheduler(), SCIPincludeHeurShifting(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), and SCIPincludeHeurZirounding().
◆ SCIPsetHeurExitsol()
SCIP_RETCODE SCIPsetHeurExitsol | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
SCIP_DECL_HEUREXITSOL((*heurexitsol)) | |||
) |
sets solving process deinitialization method of primal heuristic
- Parameters
-
scip SCIP data structure heur primal heuristic
Definition at line 242 of file scip_heur.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPheurSetExitsol(), and TRUE.
Referenced by SCIPincludeHeurCycGreedy(), SCIPincludeHeurCycKerlin(), SCIPincludeHeurDins(), SCIPincludeHeurDualval(), SCIPincludeHeurFeaspump(), SCIPincludeHeurGins(), SCIPincludeHeurLpface(), SCIPincludeHeurMpec(), SCIPincludeHeurOneopt(), SCIPincludeHeurProximity(), SCIPincludeHeurRandrounding(), SCIPincludeHeurRounding(), SCIPincludeHeurSimplerounding(), SCIPincludeHeurSubNlp(), SCIPincludeHeurTwoopt(), SCIPincludeHeurUndercover(), and SCIPincludeHeurVbounds().
◆ SCIPfindHeur()
returns the primal heuristic of the given name, or NULL if not existing
- Parameters
-
scip SCIP data structure name name of primal heuristic
Definition at line 258 of file scip_heur.c.
References NULL, and SCIPsetFindHeur().
Referenced by addCandSolCyckerlin(), checkSystemGF2(), constructValidSolution(), extendToCover(), SCIP_DECL_CONCSOLVERCOPYSOLVINGDATA(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_HEURINIT(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_SEPAINIT(), SCIP_DECL_TABLEOUTPUT(), SCIPapplyLockFixings(), SCIPcopyConcurrentSolvingStats(), SCIPcreateConcurrent(), SCIPdeleteSubproblemProximity(), SCIPfindObjHeur(), SCIPincludeHeur(), SCIPincludeHeurBasic(), SCIPinitHeurOptcumulative(), SCIPinitializeHeurListScheduling(), SCIPreoptsolsGetNCheckedsols(), SCIPreoptsolsGetNImprovingsols(), and solveComponent().
◆ SCIPgetHeurs()
returns the array of currently available primal heuristics
- Parameters
-
scip SCIP data structure
Definition at line 271 of file scip_heur.c.
References NULL.
Referenced by checkParameters(), findAndStoreDivesets(), includeDivingHeurs(), paramsetSetHeuristicsFast(), SCIP_DECL_DIALOGEXEC(), SCIPcopyConcurrentSolvingStats(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
◆ SCIPgetNHeurs()
int SCIPgetNHeurs | ( | SCIP * | scip | ) |
returns the number of currently available primal heuristics
- Parameters
-
scip SCIP data structure
Definition at line 282 of file scip_heur.c.
References NULL.
Referenced by checkParameters(), findAndStoreDivesets(), includeDivingHeurs(), paramsetSetHeuristicsFast(), SCIP_DECL_DIALOGEXEC(), SCIPcopyConcurrentSolvingStats(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
◆ SCIPsetHeurPriority()
SCIP_RETCODE SCIPsetHeurPriority | ( | SCIP * | scip, |
SCIP_HEUR * | heur, | ||
int | priority | ||
) |
sets the priority of a primal heuristic
- Parameters
-
scip SCIP data structure heur primal heuristic priority new priority of the primal heuristic
Definition at line 293 of file scip_heur.c.
References NULL, SCIP_OKAY, and SCIPheurSetPriority().
Referenced by SCIP_DECL_PARAMCHGD().