C++ wrapper for cut selectors.
This class defines the interface for cut selectors implemented in C++.
Definition at line 53 of file objcutsel.h.
C++ wrapper for cut selectors. More...
#include <objcutsel.h>
Public Member Functions | |
ObjCutsel (SCIP *scip, const char *name, const char *desc, int priority) | |
ObjCutsel (const ObjCutsel &o) | |
ObjCutsel (ObjCutsel &&o) | |
virtual | ~ObjCutsel () |
ObjCutsel & | operator= (const ObjCutsel &o)=delete |
ObjCutsel & | operator= (ObjCutsel &&o)=delete |
virtual | SCIP_DECL_CUTSELFREE (scip_free) |
virtual | SCIP_DECL_CUTSELINIT (scip_init) |
virtual | SCIP_DECL_CUTSELEXIT (scip_exit) |
virtual | SCIP_DECL_CUTSELINITSOL (scip_initsol) |
virtual | SCIP_DECL_CUTSELEXITSOL (scip_exitsol) |
virtual | SCIP_DECL_CUTSELSELECT (scip_select)=0 |
![]() | |
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_ |
|
inline |
default constructor
scip | SCIP data structure |
name | name of cut selector |
desc | description of cut selector |
priority | priority of the cut |
Definition at line 71 of file objcutsel.h.
References scip_, SCIP_CALL_ABORT, scip_desc_, scip_name_, and SCIPduplicateMemoryArray.
copy constructor
Definition at line 87 of file objcutsel.h.
|
inline |
move constructor
Definition at line 90 of file objcutsel.h.
References i, scip_desc_, and scip_name_.
|
inlinevirtual |
destructor
Definition at line 97 of file objcutsel.h.
References scip_, scip_desc_, scip_name_, and SCIPfreeMemoryArray.
assignment of polymorphic classes causes slicing and is therefore disabled.
assignment of polymorphic classes causes slicing and is therefore disabled.
destructor of cut selector to free user data (called when SCIP is exiting)
Definition at line 114 of file objcutsel.h.
References SCIP_OKAY.
initialization method of cut selector (called after problem was transformed)
Definition at line 123 of file objcutsel.h.
References SCIP_OKAY.
deinitialization method of cut selector (called before transformed problem is freed)
Definition at line 132 of file objcutsel.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process initialization method of cut selector (called when branch and bound process is about to begin)
Definition at line 141 of file objcutsel.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process deinitialization method of cut selector (called before branch and bound process data is freed)
Definition at line 150 of file objcutsel.h.
References SCIP_OKAY.
|
pure virtual |
cut selection method of cut selector
SCIP* scip::ObjCutsel::scip_ |
SCIP data structure
Definition at line 59 of file objcutsel.h.
Referenced by ObjCutsel(), and ~ObjCutsel().
char* scip::ObjCutsel::scip_name_ |
name of the cut selector
Definition at line 62 of file objcutsel.h.
Referenced by ObjCutsel(), ObjCutsel(), SCIPincludeObjCutsel(), and ~ObjCutsel().
char* scip::ObjCutsel::scip_desc_ |
description of the cut selector
Definition at line 65 of file objcutsel.h.
Referenced by ObjCutsel(), ObjCutsel(), SCIPincludeObjCutsel(), and ~ObjCutsel().
const int scip::ObjCutsel::scip_priority_ |
priority of the cut selector
Definition at line 68 of file objcutsel.h.
Referenced by SCIPincludeObjCutsel().