scip::ObjHeur Class Referenceabstract Detailed DescriptionC++ wrapper for primal heuristics. This class defines the interface for primal heuristics implemented in C++. Note that there is a pure virtual function (this function has to be implemented). This function is: scip_exec().
Constructor & Destructor Documentation
default constructor
Definition at line 79 of file objheur.h. References SCIP_CALL_ABORT, and SCIPduplicateMemoryArray.
Member Function Documentation
destructor of primal heuristic to free user data (called when SCIP is exiting)
Definition at line 121 of file objheur.h. References SCIP_OKAY.
initialization method of primal heuristic (called after problem was transformed)
Definition at line 130 of file objheur.h. References SCIP_OKAY.
deinitialization method of primal heuristic (called before transformed problem is freed)
Definition at line 139 of file objheur.h. References SCIP_OKAY.
solving process initialization method of primal heuristic (called when branch and bound process is about to begin)
Definition at line 148 of file objheur.h. References SCIP_OKAY.
solving process deinitialization method of primal heuristic (called before branch and bound process data is freed)
Definition at line 157 of file objheur.h. References SCIP_Bool, SCIP_DECL_HEUREXEC(), SCIP_OKAY, SCIPfindObjHeur(), SCIPgetObjHeur(), and SCIPincludeObjHeur().
execution method of primal heuristic
Referenced by SCIP_DECL_HEUREXITSOL(). Field Documentation
name of the primal heuristic Definition at line 52 of file objheur.h. Referenced by SCIPincludeObjHeur().
description of the primal heuristic Definition at line 55 of file objheur.h. Referenced by SCIPincludeObjHeur().
display character of primal heuristic Definition at line 58 of file objheur.h. Referenced by SCIPincludeObjHeur().
default priority of the primal heuristic Definition at line 61 of file objheur.h. Referenced by SCIPincludeObjHeur().
frequency for calling primal heuristic Definition at line 64 of file objheur.h. Referenced by SCIPincludeObjHeur().
frequency offset for calling primal heuristic Definition at line 67 of file objheur.h. Referenced by SCIPincludeObjHeur().
maximal depth level to call heuristic at (-1: no limit) Definition at line 70 of file objheur.h. Referenced by SCIPincludeObjHeur().
positions in the node solving loop where heuristic should be executed Definition at line 73 of file objheur.h. Referenced by SCIPincludeObjHeur().
does the heuristic use a secondary SCIP instance? Definition at line 76 of file objheur.h. Referenced by SCIPincludeObjHeur(). |