C++ wrapper for cut separators.
This class defines the interface for cut separators implemented in C++.
C++ wrapper for cut separators. More...
#include <objsepa.h>
Public Member Functions | |
ObjSepa (SCIP *scip, const char *name, const char *desc, int priority, int freq, SCIP_Real maxbounddist, SCIP_Bool usessubscip, SCIP_Bool delay) | |
ObjSepa (const ObjSepa &o) | |
ObjSepa (ObjSepa &&o) | |
virtual | ~ObjSepa () |
ObjSepa & | operator= (const ObjSepa &o)=delete |
ObjSepa & | operator= (ObjSepa &&o)=delete |
virtual | SCIP_DECL_SEPAFREE (scip_free) |
virtual | SCIP_DECL_SEPAINIT (scip_init) |
virtual | SCIP_DECL_SEPAEXIT (scip_exit) |
virtual | SCIP_DECL_SEPAINITSOL (scip_initsol) |
virtual | SCIP_DECL_SEPAEXITSOL (scip_exitsol) |
virtual | SCIP_DECL_SEPAEXECLP (scip_execlp) |
virtual | SCIP_DECL_SEPAEXECSOL (scip_execsol) |
![]() | |
virtual | ~ObjCloneable () |
ObjCloneable & | operator= (const ObjCloneable &o)=delete |
ObjCloneable & | operator= (ObjCloneable &&o)=delete |
virtual | SCIP_DECL_OBJCLONEABLECLONE (ObjCloneable *clone) |
virtual | SCIP_DECL_OBJCLONEABLEISCLONEABLE (iscloneable) |
Data Fields | |
SCIP * | scip_ |
char * | scip_name_ |
char * | scip_desc_ |
const int | scip_priority_ |
const int | scip_freq_ |
const SCIP_Real | scip_maxbounddist_ |
const SCIP_Bool | scip_usessubscip_ |
const SCIP_Bool | scip_delay_ |
|
inline |
default constructor
scip | SCIP data structure |
name | name of cut separator |
desc | description of cut separator |
priority | priority of the cut separator |
freq | frequency for calling separator |
maxbounddist | maximal relative distance from current node's dual bound to primal bound compared to best node's dual bound for applying separation |
usessubscip | does the separator use a secondary SCIP instance? |
delay | should separator be delayed, if other separators found cuts? |
Definition at line 84 of file objsepa.h.
References scip_, SCIP_Bool, SCIP_CALL_ABORT, scip_delay_, scip_desc_, scip_freq_, scip_maxbounddist_, scip_name_, scip_priority_, SCIP_Real, scip_usessubscip_, and SCIPduplicateMemoryArray.
Referenced by ObjSepa(), ObjSepa(), operator=(), and operator=().
|
inline |
copy constructor
Definition at line 110 of file objsepa.h.
References ObjSepa(), scip_, scip_delay_, scip_desc_, scip_freq_, scip_maxbounddist_, scip_name_, scip_priority_, and scip_usessubscip_.
|
inline |
move constructor
Definition at line 117 of file objsepa.h.
References ObjSepa(), scip_, scip_delay_, scip_desc_, scip_freq_, scip_maxbounddist_, scip_name_, scip_priority_, and scip_usessubscip_.
|
inlinevirtual |
destructor
Definition at line 132 of file objsepa.h.
References scip_, scip_desc_, scip_name_, and SCIPfreeMemoryArray.
assignment of polymorphic classes causes slicing and is therefore disabled.
References ObjSepa().
assignment of polymorphic classes causes slicing and is therefore disabled.
References ObjSepa().
|
inlinevirtual |
destructor of cut separator to free user data (called when SCIP is exiting)
Definition at line 150 of file objsepa.h.
References SCIP_OKAY.
|
inlinevirtual |
initialization method of cut separator (called after problem was transformed)
Definition at line 159 of file objsepa.h.
References SCIP_OKAY.
|
inlinevirtual |
deinitialization method of cut separator (called before transformed problem is freed)
Definition at line 168 of file objsepa.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process initialization method of separator (called when branch and bound process is about to begin)
Definition at line 177 of file objsepa.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process deinitialization method of separator (called before branch and bound process data is freed)
Definition at line 186 of file objsepa.h.
References SCIP_OKAY.
|
inlinevirtual |
LP solution separation method of separator
Definition at line 195 of file objsepa.h.
References assert(), NULL, result, SCIP_DIDNOTRUN, and SCIP_OKAY.
|
inlinevirtual |
arbitrary primal solution separation method of separator
Definition at line 206 of file objsepa.h.
References assert(), NULL, result, SCIP_DIDNOTRUN, and SCIP_OKAY.
SCIP* scip::ObjSepa::scip_ |
char* scip::ObjSepa::scip_name_ |
name of the cut separator
Definition at line 61 of file objsepa.h.
Referenced by ObjSepa(), ObjSepa(), ObjSepa(), SCIPincludeObjSepa(), and ~ObjSepa().
char* scip::ObjSepa::scip_desc_ |
description of the cut separator
Definition at line 64 of file objsepa.h.
Referenced by ObjSepa(), ObjSepa(), ObjSepa(), SCIPincludeObjSepa(), and ~ObjSepa().
const int scip::ObjSepa::scip_priority_ |
const int scip::ObjSepa::scip_freq_ |
const SCIP_Real scip::ObjSepa::scip_maxbounddist_ |
const SCIP_Bool scip::ObjSepa::scip_usessubscip_ |