objheur.h
Go to the documentation of this file.
30 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
46 * This class defines the interface for primal heuristics implemented in C++. Note that there is a pure virtual
98 SCIP_HEURTIMING timingmask, /**< positions in the node solving loop where heuristic should be executed;
120 : ObjHeur(o.scip_, o.scip_name_, o.scip_desc_, o.scip_dispchar_, o.scip_priority_, o.scip_freq_, o.scip_freqofs_,
184 /** solving process initialization method of primal heuristic (called when branch and bound process is about to begin)
193 /** solving process deinitialization method of primal heuristic (called before branch and bound process data is freed)
237 SCIP_Bool deleteobject /**< should the primal heuristic object be deleted when heuristic is freed? */
#define SCIPduplicateMemoryArray(scip, ptr, source, num)
Definition: scip_mem.h:76
Definition: struct_scip.h:69
SCIP_RETCODE SCIPincludeObjHeur(SCIP *scip, scip::ObjHeur *objheur, SCIP_Bool deleteobject)
Definition: objheur.cpp:204
virtual SCIP_DECL_HEURINITSOL(scip_initsol)
Definition: objheur.h:188
scip::ObjHeur * SCIPfindObjHeur(SCIP *scip, const char *name)
Definition: objheur.cpp:233
definition of base class for all clonable classes
scip::ObjHeur * SCIPgetObjHeur(SCIP *scip, SCIP_HEUR *heur)
Definition: objheur.cpp:252
Definition: type_retcode.h:42
Definition: struct_heur.h:97
ObjHeur & operator=(const ObjHeur &o)=delete
ObjHeur(SCIP *scip, const char *name, const char *desc, char dispchar, int priority, int freq, int freqofs, int maxdepth, SCIP_HEURTIMING timingmask, SCIP_Bool usessubscip)
Definition: objheur.h:89
virtual SCIP_DECL_HEUREXITSOL(scip_exitsol)
Definition: objheur.h:197
virtual SCIP_DECL_HEUREXEC(scip_exec)=0
Definition: objbenders.h:43
SCIP callable library.