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 43 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) | |
virtual | ~ObjCutsel () |
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 () |
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()
|
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 61 of file objcutsel.h.
References SCIP_CALL_ABORT, and SCIPduplicateMemoryArray.
◆ ~ObjCutsel()
|
inlinevirtual |
Member Function Documentation
◆ 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 88 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 97 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 106 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 115 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 124 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 49 of file objcutsel.h.
◆ scip_name_
char* scip::ObjCutsel::scip_name_ |
name of the cut selector
Definition at line 52 of file objcutsel.h.
Referenced by SCIPincludeObjCutsel().
◆ scip_desc_
char* scip::ObjCutsel::scip_desc_ |
description of the cut selector
Definition at line 55 of file objcutsel.h.
Referenced by SCIPincludeObjCutsel().
◆ scip_priority_
const int scip::ObjCutsel::scip_priority_ |
priority of the cut selector
Definition at line 58 of file objcutsel.h.
Referenced by SCIPincludeObjCutsel().