C++ wrapper for propagators.
This class defines the interface for propagators implemented in C++. Note that there is a pure virtual function (this function has to be implemented). This function is: scip_exec().
C++ wrapper for propagators. More...
#include <objprop.h>
Data Fields | |
SCIP * | scip_ |
char * | scip_name_ |
char * | scip_desc_ |
const int | scip_priority_ |
const int | scip_freq_ |
const SCIP_Bool | scip_delay_ |
const SCIP_PROPTIMING | scip_timingmask_ |
const int | scip_presol_priority_ |
const int | scip_presol_maxrounds_ |
const SCIP_PRESOLTIMING | scip_presol_timing_ |
|
inline |
default constructor
scip | SCIP data structure |
name | name of propagator |
desc | description of propagator |
priority | priority of the propagator |
freq | frequency for calling propagator |
delay | should propagator be delayed, if other propagators found reductions? |
timingmask | positions in the node solving loop where propagator should be executed |
presolpriority | presolving priority of the propagator (>= 0: before, < 0: after constraint handlers) |
presolmaxrounds | maximal number of presolving rounds the propagator participates in (-1: no limit) |
presoltiming | timing mask of the propagator's presolving method |
Definition at line 90 of file objprop.h.
References scip_, SCIP_CALL_ABORT, scip_desc_, scip_name_, and SCIPduplicateMemoryArray.
|
inline |
move constructor
Definition at line 126 of file objprop.h.
References i, scip_desc_, and scip_name_.
|
inlinevirtual |
destructor
Definition at line 143 of file objprop.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 propagator to free user data (called when SCIP is exiting)
Definition at line 161 of file objprop.h.
References SCIP_OKAY.
initialization method of propagator (called after problem was transformed)
Definition at line 170 of file objprop.h.
References SCIP_OKAY.
deinitialization method of propagator (called before transformed problem is freed)
Definition at line 179 of file objprop.h.
References SCIP_OKAY.
|
inlinevirtual |
presolving initialization method of propagator (called when presolving is about to begin)
Definition at line 188 of file objprop.h.
References SCIP_OKAY.
|
inlinevirtual |
presolving deinitialization method of propagator (called after presolving has been finished)
Definition at line 197 of file objprop.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process initialization method of propagator (called when branch and bound process is about to begin)
Definition at line 206 of file objprop.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process deinitialization method of propagator (called before branch and bound process data is freed)
Definition at line 215 of file objprop.h.
References SCIP_OKAY.
|
inlinevirtual |
presolving method of propagator
Definition at line 224 of file objprop.h.
References assert(), NULL, result, SCIP_DIDNOTRUN, and SCIP_OKAY.
execution method of propagator
|
inlinevirtual |
propagation conflict resolving method of propagator
Definition at line 241 of file objprop.h.
References assert(), NULL, result, SCIP_DIDNOTFIND, and SCIP_OKAY.
SCIP* scip::ObjProp::scip_ |
SCIP data structure
Definition at line 59 of file objprop.h.
Referenced by ObjProp(), and ~ObjProp().
char* scip::ObjProp::scip_name_ |
name of the propagator
Definition at line 62 of file objprop.h.
Referenced by ObjProp(), ObjProp(), SCIPincludeObjProp(), and ~ObjProp().
char* scip::ObjProp::scip_desc_ |
description of the propagator
Definition at line 65 of file objprop.h.
Referenced by ObjProp(), ObjProp(), SCIPincludeObjProp(), and ~ObjProp().
const int scip::ObjProp::scip_priority_ |
default priority of the propagator
Definition at line 68 of file objprop.h.
Referenced by SCIPincludeObjProp().
const int scip::ObjProp::scip_freq_ |
frequency for calling propagator
Definition at line 71 of file objprop.h.
Referenced by SCIPincludeObjProp().
should propagator be delayed, if other propagators found reductions?
Definition at line 74 of file objprop.h.
Referenced by SCIPincludeObjProp().
const SCIP_PROPTIMING scip::ObjProp::scip_timingmask_ |
positions in the node solving loop where propagator should be executed
Definition at line 77 of file objprop.h.
Referenced by SCIPincludeObjProp().
const int scip::ObjProp::scip_presol_priority_ |
default presolving priority of the propagator
Definition at line 80 of file objprop.h.
Referenced by SCIPincludeObjProp().
const int scip::ObjProp::scip_presol_maxrounds_ |
frequency for calling propagator timing mask of the propagator's presolving method
Definition at line 83 of file objprop.h.
Referenced by SCIPincludeObjProp().
const SCIP_PRESOLTIMING scip::ObjProp::scip_presol_timing_ |
Definition at line 86 of file objprop.h.
Referenced by SCIPincludeObjProp().