Scippy

SCIP

Solving Constraint Integer Programs

scip::ObjCutsel Class Referenceabstract

Detailed Description

C++ wrapper for cut selectors.

This class defines the interface for cut selectors implemented in C++.

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

SCIPscip_
 
char * scip_name_
 
char * scip_desc_
 
const int scip_priority_
 

Constructor & Destructor Documentation

◆ ObjCutsel()

scip::ObjCutsel::ObjCutsel ( SCIP scip,
const char *  name,
const char *  desc,
int  priority 
)
inline

default constructor

Parameters
scipSCIP data structure
namename of cut selector
descdescription of cut selector
prioritypriority of the cut

Definition at line 61 of file objcutsel.h.

References SCIP_CALL_ABORT, and SCIPduplicateMemoryArray.

◆ ~ObjCutsel()

virtual scip::ObjCutsel::~ObjCutsel ( )
inlinevirtual

destructor

Definition at line 77 of file objcutsel.h.

References SCIPfreeMemoryArray.

Member Function Documentation

◆ SCIP_DECL_CUTSELFREE()

virtual scip::ObjCutsel::SCIP_DECL_CUTSELFREE ( scip_free  )
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()

virtual scip::ObjCutsel::SCIP_DECL_CUTSELINIT ( scip_init  )
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()

virtual scip::ObjCutsel::SCIP_DECL_CUTSELEXIT ( scip_exit  )
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()

virtual scip::ObjCutsel::SCIP_DECL_CUTSELINITSOL ( scip_initsol  )
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()

virtual scip::ObjCutsel::SCIP_DECL_CUTSELEXITSOL ( scip_exitsol  )
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()

virtual scip::ObjCutsel::SCIP_DECL_CUTSELSELECT ( scip_select  )
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().