35 struct SCIP_PresolData
60 assert(presoldata !=
NULL);
61 assert(presoldata->objpresol !=
NULL);
62 assert(presoldata->objpresol->scip_ != scip);
64 if( presoldata->objpresol->iscloneable() )
67 newobjpresol =
dynamic_cast<scip::ObjPresol*
> (presoldata->objpresol->clone(scip));
83 assert(presoldata !=
NULL);
84 assert(presoldata->objpresol !=
NULL);
85 assert(presoldata->objpresol->scip_ == scip);
88 SCIP_CALL( presoldata->objpresol->scip_free(scip, presol) );
91 if( presoldata->deleteobject )
92 delete presoldata->objpresol;
109 assert(presoldata !=
NULL);
110 assert(presoldata->objpresol !=
NULL);
111 assert(presoldata->objpresol->scip_ == scip);
114 SCIP_CALL( presoldata->objpresol->scip_init(scip, presol) );
127 assert(presoldata !=
NULL);
128 assert(presoldata->objpresol !=
NULL);
131 SCIP_CALL( presoldata->objpresol->scip_exit(scip, presol) );
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,
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;
219 presolFreeObj, presolInitObj, presolExitObj,
220 presolInitpreObj, presolExitpreObj, presolExecObj,
240 assert(presoldata !=
NULL);
242 return presoldata->objpresol;
254 assert(presoldata !=
NULL);
256 return presoldata->objpresol;