46 scip::ObjPresol* objpresol;
73 if( presoldata->objpresol->iscloneable() )
100 if( presoldata->deleteobject )
101 delete presoldata->objpresol;
157 SCIP_CALL( presoldata->objpresol->scip_initpre(
scip, presol) );
174 SCIP_CALL( presoldata->objpresol->scip_exitpre(
scip, presol) );
191 SCIP_CALL( presoldata->objpresol->scip_exec(
scip, presol, nrounds, presoltiming,
192 nnewfixedvars, nnewaggrvars, nnewchgvartypes, nnewchgbds, nnewholes,
193 nnewdelconss, nnewaddconss, nnewupgdconss, nnewchgcoefs, nnewchgsides,
194 nfixedvars, naggrvars, nchgvartypes, nchgbds, naddholes,
195 ndelconss, naddconss, nupgdconss, nchgcoefs, nchgsides,
result) );
221 presoldata->objpresol = objpresol;
222 presoldata->deleteobject = deleteobject;
227 presolCopyObj, presolFreeObj, presolInitObj, presolExitObj,
228 presolInitpreObj, presolExitpreObj, presolExecObj,
250 return presoldata->objpresol;
265 return presoldata->objpresol;
C++ wrapper for presolvers.
const int scip_maxrounds_
const SCIP_PRESOLTIMING scip_timing_
SCIP_RETCODE SCIPincludePresol(SCIP *scip, const char *name, const char *desc, int priority, int maxrounds, SCIP_PRESOLTIMING timing, SCIP_DECL_PRESOLCOPY((*presolcopy)), SCIP_DECL_PRESOLFREE((*presolfree)), SCIP_DECL_PRESOLINIT((*presolinit)), SCIP_DECL_PRESOLEXIT((*presolexit)), SCIP_DECL_PRESOLINITPRE((*presolinitpre)), SCIP_DECL_PRESOLEXITPRE((*presolexitpre)), SCIP_DECL_PRESOLEXEC((*presolexec)), SCIP_PRESOLDATA *presoldata)
void SCIPpresolSetData(SCIP_PRESOL *presol, SCIP_PRESOLDATA *presoldata)
SCIP_PRESOLDATA * SCIPpresolGetData(SCIP_PRESOL *presol)
SCIP_PRESOL * SCIPfindPresol(SCIP *scip, const char *name)
assert(minobj< SCIPgetCutoffbound(scip))
scip::ObjPresol * SCIPgetObjPresol(SCIP *scip, SCIP_PRESOL *presol)
scip::ObjPresol * SCIPfindObjPresol(SCIP *scip, const char *name)
SCIP_RETCODE SCIPincludeObjPresol(SCIP *scip, scip::ObjPresol *objpresol, SCIP_Bool deleteobject)
C++ wrapper for presolvers.
#define SCIP_DECL_PRESOLCOPY(x)
struct SCIP_PresolData SCIP_PRESOLDATA
#define SCIP_DECL_PRESOLFREE(x)
#define SCIP_DECL_PRESOLINITPRE(x)
struct SCIP_Presol SCIP_PRESOL
#define SCIP_DECL_PRESOLEXITPRE(x)
#define SCIP_DECL_PRESOLINIT(x)
#define SCIP_DECL_PRESOLEXIT(x)
#define SCIP_DECL_PRESOLEXEC(x)
enum SCIP_Retcode SCIP_RETCODE