35 struct SCIP_PresolData
60 assert(presoldata !=
NULL);
61 assert(presoldata->objpresol !=
NULL);
62 assert(presoldata->objpresol->scip_ !=
scip);
64 if( presoldata->objpresol->iscloneable() )
83 assert(presoldata !=
NULL);
84 assert(presoldata->objpresol !=
NULL);
85 assert(presoldata->objpresol->scip_ ==
scip);
91 if( presoldata->deleteobject )
92 delete presoldata->objpresol;
109 assert(presoldata !=
NULL);
110 assert(presoldata->objpresol !=
NULL);
111 assert(presoldata->objpresol->scip_ ==
scip);
127 assert(presoldata !=
NULL);
128 assert(presoldata->objpresol !=
NULL);
144 assert(presoldata !=
NULL);
145 assert(presoldata->objpresol !=
NULL);
148 SCIP_CALL( presoldata->objpresol->scip_initpre(
scip, presol) );
161 assert(presoldata !=
NULL);
162 assert(presoldata->objpresol !=
NULL);
165 SCIP_CALL( presoldata->objpresol->scip_exitpre(
scip, presol) );
178 assert(presoldata !=
NULL);
179 assert(presoldata->objpresol !=
NULL);
182 SCIP_CALL( presoldata->objpresol->scip_exec(
scip, presol, nrounds, presoltiming,
183 nnewfixedvars, nnewaggrvars, nnewchgvartypes, nnewchgbds, nnewholes,
184 nnewdelconss, nnewaddconss, nnewupgdconss, nnewchgcoefs, nnewchgsides,
185 nfixedvars, naggrvars, nchgvartypes, nchgbds, naddholes,
186 ndelconss, naddconss, nupgdconss, nchgcoefs, nchgsides, result) );
207 assert(scip !=
NULL);
208 assert(objpresol !=
NULL);
212 presoldata->objpresol = objpresol;
213 presoldata->deleteobject = deleteobject;
218 presolCopyObj, presolFreeObj, presolInitObj, presolExitObj,
219 presolInitpreObj, presolExitpreObj, presolExecObj,
239 assert(presoldata !=
NULL);
241 return presoldata->objpresol;
253 assert(presoldata !=
NULL);
255 return presoldata->objpresol;
static SCIP_DECL_PRESOLEXEC(presolExecObj)
struct SCIP_PresolData SCIP_PRESOLDATA
SCIP_RETCODE SCIPincludeObjPresol(SCIP *scip, scip::ObjPresol *objpresol, SCIP_Bool deleteobject)
C++ wrapper for presolvers.
static SCIP_DECL_PRESOLFREE(presolFreeObj)
static SCIP_DECL_PRESOLEXIT(presolExitObj)
C++ wrapper for presolvers.
enum SCIP_Retcode SCIP_RETCODE
SCIP_PRESOLDATA * SCIPpresolGetData(SCIP_PRESOL *presol)
static SCIP_DECL_PRESOLEXITPRE(presolExitpreObj)
const SCIP_PRESOLTIMING scip_timing_
static SCIP_DECL_PRESOLINITPRE(presolInitpreObj)
scip::ObjPresol * SCIPfindObjPresol(SCIP *scip, const char *name)
void SCIPpresolSetData(SCIP_PRESOL *presol, SCIP_PRESOLDATA *presoldata)
SCIP_PRESOL * SCIPfindPresol(SCIP *scip, const char *name)
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)
const int scip_maxrounds_
static SCIP_DECL_PRESOLINIT(presolInitObj)
static SCIP_DECL_PRESOLCOPY(presolCopyObj)
scip::ObjPresol * SCIPgetObjPresol(SCIP *scip, SCIP_PRESOL *presol)