35 struct SCIP_PricerData
60 assert(pricerdata !=
NULL);
61 assert(pricerdata->objpricer !=
NULL);
62 assert(pricerdata->objpricer->scip_ != scip);
64 if( pricerdata->objpricer->iscloneable() )
67 newobjpricer =
dynamic_cast<scip::ObjPricer*
> (pricerdata->objpricer->clone(scip, valid));
83 assert(pricerdata !=
NULL);
84 assert(pricerdata->objpricer !=
NULL);
85 assert(pricerdata->objpricer->scip_ == scip);
88 SCIP_CALL( pricerdata->objpricer->scip_free(scip, pricer) );
91 if( pricerdata->deleteobject )
92 delete pricerdata->objpricer;
109 assert(pricerdata !=
NULL);
110 assert(pricerdata->objpricer !=
NULL);
111 assert(pricerdata->objpricer->scip_ == scip);
114 SCIP_CALL( pricerdata->objpricer->scip_init(scip, pricer) );
127 assert(pricerdata !=
NULL);
128 assert(pricerdata->objpricer !=
NULL);
131 SCIP_CALL( pricerdata->objpricer->scip_exit(scip, pricer) );
144 assert(pricerdata !=
NULL);
145 assert(pricerdata->objpricer !=
NULL);
148 SCIP_CALL( pricerdata->objpricer->scip_initsol(scip, pricer) );
161 assert(pricerdata !=
NULL);
162 assert(pricerdata->objpricer !=
NULL);
165 SCIP_CALL( pricerdata->objpricer->scip_exitsol(scip, pricer) );
178 assert(pricerdata !=
NULL);
179 assert(pricerdata->objpricer !=
NULL);
182 SCIP_CALL( pricerdata->objpricer->scip_redcost(scip, pricer, lowerbound, stopearly, result) );
195 assert(pricerdata !=
NULL);
196 assert(pricerdata->objpricer !=
NULL);
199 SCIP_CALL( pricerdata->objpricer->scip_farkas(scip, pricer) );
220 assert(scip !=
NULL);
221 assert(objpricer !=
NULL);
225 pricerdata->objpricer = objpricer;
226 pricerdata->deleteobject = deleteobject;
232 pricerFreeObj, pricerInitObj, pricerExitObj,
233 pricerInitsolObj, pricerExitsolObj, pricerRedcostObj, pricerFarkasObj,
253 assert(pricerdata !=
NULL);
255 return pricerdata->objpricer;
267 assert(pricerdata !=
NULL);
269 return pricerdata->objpricer;