C++ wrapper for presolvers.
Definition in file objpresol.h.
Go to the source code of this file.
Functions | |
SCIP_RETCODE | SCIPincludeObjPresol (SCIP *scip, scip::ObjPresol *objpresol, SCIP_Bool deleteobject) |
scip::ObjPresol * | SCIPfindObjPresol (SCIP *scip, const char *name) |
scip::ObjPresol * | SCIPgetObjPresol (SCIP *scip, SCIP_PRESOL *presol) |
SCIP_RETCODE SCIPincludeObjPresol | ( | SCIP * | scip, |
scip::ObjPresol * | objpresol, | ||
SCIP_Bool | deleteobject | ||
) |
creates the presolver for the given presolver object and includes it in SCIP
The method should be called in one of the following ways:
creates the presolver for the given presolver object and includes it in SCIP
scip | SCIP data structure |
objpresol | presolver object |
deleteobject | should the presolver object be deleted when presolver is freed? |
Definition at line 199 of file objpresol.cpp.
References SCIP_CALL, scip::ObjPresol::scip_desc_, scip::ObjPresol::scip_maxrounds_, scip::ObjPresol::scip_name_, SCIP_OKAY, scip::ObjPresol::scip_priority_, scip::ObjPresol::scip_timing_, and SCIPincludePresol().
Referenced by SCIP_DECL_PRESOLCOPY(), and scip::ObjPresol::SCIP_DECL_PRESOLEXITPRE().
scip::ObjPresol* SCIPfindObjPresol | ( | SCIP * | scip, |
const char * | name | ||
) |
returns the presol object of the given name, or 0 if not existing
scip | SCIP data structure |
name | name of presolver |
Definition at line 226 of file objpresol.cpp.
References SCIPfindPresol(), and SCIPpresolGetData().
Referenced by scip::ObjPresol::SCIP_DECL_PRESOLEXITPRE().
scip::ObjPresol* SCIPgetObjPresol | ( | SCIP * | scip, |
SCIP_PRESOL * | presol | ||
) |
returns the presol object for the given presolver
scip | SCIP data structure |
presol | presolver |
Definition at line 245 of file objpresol.cpp.
References SCIPpresolGetData().
Referenced by scip::ObjPresol::SCIP_DECL_PRESOLEXITPRE().