Detailed Description
C++ wrapper for cut selectors.
This class defines the interface for cut selectors implemented in C++.
- Instructions for implementing a cut selector
- List of available cut selectors
- Corresponding C interface
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 |
Public Member Functions inherited from scip::ObjCloneable | |
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_ |
Constructor & Destructor Documentation
◆ ObjCutsel() [1/3]
|
inline |
default constructor
- Parameters
-
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_CALL_ABORT, and SCIPduplicateMemoryArray.
◆ ObjCutsel() [2/3]
|
inline |
copy constructor
Definition at line 87 of file objcutsel.h.
◆ ObjCutsel() [3/3]
|
inline |
move constructor
Definition at line 90 of file objcutsel.h.
◆ ~ObjCutsel()
|
inlinevirtual |
destructor
Definition at line 97 of file objcutsel.h.
References operator=(), and SCIPfreeMemoryArray.
Member Function Documentation
◆ operator=() [1/2]
assignment of polymorphic classes causes slicing and is therefore disabled.
Referenced by ~ObjCutsel().
◆ operator=() [2/2]
assignment of polymorphic classes causes slicing and is therefore disabled.
◆ SCIP_DECL_CUTSELFREE()
|
inlinevirtual |
destructor of cut selector to free user data (called when SCIP is exiting)
- See also
- SCIP_DECL_CUTSELFREE(x) in type_cutsel.h
Definition at line 114 of file objcutsel.h.
References SCIP_OKAY.
◆ SCIP_DECL_CUTSELINIT()
|
inlinevirtual |
initialization method of cut selector (called after problem was transformed)
- See also
- SCIP_DECL_CUTSELINIT(x) in type_cutsel.h
Definition at line 123 of file objcutsel.h.
References SCIP_OKAY.
◆ SCIP_DECL_CUTSELEXIT()
|
inlinevirtual |
deinitialization method of cut selector (called before transformed problem is freed)
- See also
- SCIP_DECL_CUTSELEXIT(x) in type_cutsel.h
Definition at line 132 of file objcutsel.h.
References SCIP_OKAY.
◆ SCIP_DECL_CUTSELINITSOL()
|
inlinevirtual |
solving process initialization method of cut selector (called when branch and bound process is about to begin)
- See also
- SCIP_DECL_CUTSELINITSOL(x) in type_cutsel.h
Definition at line 141 of file objcutsel.h.
References SCIP_OKAY.
◆ SCIP_DECL_CUTSELEXITSOL()
|
inlinevirtual |
solving process deinitialization method of cut selector (called before branch and bound process data is freed)
- See also
- SCIP_DECL_CUTSELEXITSOL(x) in type_cutsel.h
Definition at line 150 of file objcutsel.h.
References SCIP_Bool, SCIP_DECL_CUTSELSELECT(), SCIP_OKAY, SCIPfindObjCutsel(), SCIPgetObjCutsel(), and SCIPincludeObjCutsel().
◆ SCIP_DECL_CUTSELSELECT()
|
pure virtual |
cut selection method of cut selector
- See also
- SCIP_DECL_CUTSELSELECT(x) in type_cutsel.h
Referenced by SCIP_DECL_CUTSELEXITSOL().
Field Documentation
◆ scip_
SCIP* scip::ObjCutsel::scip_ |
SCIP data structure
Definition at line 59 of file objcutsel.h.
◆ scip_name_
char* scip::ObjCutsel::scip_name_ |
name of the cut selector
Definition at line 62 of file objcutsel.h.
Referenced by SCIPincludeObjCutsel().
◆ scip_desc_
char* scip::ObjCutsel::scip_desc_ |
description of the cut selector
Definition at line 65 of file objcutsel.h.
Referenced by SCIPincludeObjCutsel().
◆ scip_priority_
const int scip::ObjCutsel::scip_priority_ |
priority of the cut selector
Definition at line 68 of file objcutsel.h.
Referenced by SCIPincludeObjCutsel().