C++ wrapper for primal heuristics.
Definition in file objheur.h.
Go to the source code of this file.
Functions | |
| SCIP_RETCODE | SCIPincludeObjHeur (SCIP *scip, scip::ObjHeur *objheur, SCIP_Bool deleteobject) |
| scip::ObjHeur * | SCIPfindObjHeur (SCIP *scip, const char *name) |
| scip::ObjHeur * | SCIPgetObjHeur (SCIP *scip, SCIP_HEUR *heur) |
| SCIP_RETCODE SCIPincludeObjHeur | ( | SCIP * | scip, |
| scip::ObjHeur * | objheur, | ||
| SCIP_Bool | deleteobject | ||
| ) |
creates the primal heuristic for the given primal heuristic object and includes it in SCIP
The method should be called in one of the following ways:
creates the primal heuristic for the given primal heuristic object and includes it in SCIP
| scip | SCIP data structure |
| objheur | primal heuristic object |
| deleteobject | should the primal heuristic object be deleted when heuristic is freed? |
Definition at line 195 of file objheur.cpp.
References SCIP_CALL, scip::ObjHeur::scip_desc_, scip::ObjHeur::scip_dispchar_, scip::ObjHeur::scip_freq_, scip::ObjHeur::scip_freqofs_, scip::ObjHeur::scip_maxdepth_, scip::ObjHeur::scip_name_, SCIP_OKAY, scip::ObjHeur::scip_priority_, scip::ObjHeur::scip_timingmask_, scip::ObjHeur::scip_usessubscip_, and SCIPincludeHeur().
Referenced by runSCIP(), SCIP_DECL_HEURCOPY(), and scip::ObjHeur::SCIP_DECL_HEUREXITSOL().
| scip::ObjHeur* SCIPfindObjHeur | ( | SCIP * | scip, |
| const char * | name | ||
| ) |
returns the heur object of the given name, or 0 if not existing
| scip | SCIP data structure |
| name | name of primal heuristic |
Definition at line 224 of file objheur.cpp.
References SCIPfindHeur(), and SCIPheurGetData().
Referenced by scip::ObjHeur::SCIP_DECL_HEUREXITSOL().
| scip::ObjHeur* SCIPgetObjHeur | ( | SCIP * | scip, |
| SCIP_HEUR * | heur | ||
| ) |
returns the heur object for the given primal heuristic
| scip | SCIP data structure |
| heur | primal heuristic |
Definition at line 243 of file objheur.cpp.
References SCIPheurGetData().
Referenced by scip::ObjHeur::SCIP_DECL_HEUREXITSOL().