C++ wrapper for propagators.
Definition in file objprop.h.
Go to the source code of this file.
Functions | |
SCIP_RETCODE | SCIPincludeObjProp (SCIP *scip, scip::ObjProp *objprop, SCIP_Bool deleteobject) |
scip::ObjProp * | SCIPfindObjProp (SCIP *scip, const char *name) |
scip::ObjProp * | SCIPgetObjProp (SCIP *scip, SCIP_PROP *prop) |
SCIP_RETCODE SCIPincludeObjProp | ( | SCIP * | scip, |
scip::ObjProp * | objprop, | ||
SCIP_Bool | deleteobject | ||
) |
creates the propagator for the given propagator object and includes it in SCIP
The method should be called in one of the following ways:
creates the propagator for the given propagator object and includes it in SCIP
scip | SCIP data structure |
objprop | propagator object |
deleteobject | should the propagator object be deleted when propagator is freed? |
Definition at line 267 of file objprop.cpp.
References SCIP_CALL, scip::ObjProp::scip_delay_, scip::ObjProp::scip_desc_, scip::ObjProp::scip_freq_, scip::ObjProp::scip_name_, SCIP_OKAY, scip::ObjProp::scip_presol_maxrounds_, scip::ObjProp::scip_presol_priority_, scip::ObjProp::scip_presol_timing_, scip::ObjProp::scip_priority_, scip::ObjProp::scip_timingmask_, and SCIPincludeProp().
Referenced by SCIP_DECL_PROPCOPY(), and scip::ObjProp::SCIP_DECL_PROPRESPROP().
scip::ObjProp* SCIPfindObjProp | ( | SCIP * | scip, |
const char * | name | ||
) |
returns the prop object of the given name, or 0 if not existing
scip | SCIP data structure |
name | name of propagator |
Definition at line 295 of file objprop.cpp.
References SCIPfindProp(), and SCIPpropGetData().
Referenced by scip::ObjProp::SCIP_DECL_PROPRESPROP().
scip::ObjProp* SCIPgetObjProp | ( | SCIP * | scip, |
SCIP_PROP * | prop | ||
) |
returns the prop object for the given propagator
scip | SCIP data structure |
prop | propagator |
Definition at line 314 of file objprop.cpp.
References SCIPpropGetData().
Referenced by scip::ObjProp::SCIP_DECL_PROPRESPROP().