35 struct SCIP_PricerData
60 assert(pricerdata !=
NULL);
61 assert(pricerdata->objpricer !=
NULL);
62 assert(pricerdata->objpricer->scip_ !=
scip);
64 if( pricerdata->objpricer->iscloneable() )
83 assert(pricerdata !=
NULL);
84 assert(pricerdata->objpricer !=
NULL);
85 assert(pricerdata->objpricer->scip_ ==
scip);
91 if( pricerdata->deleteobject )
92 delete pricerdata->objpricer;
109 assert(pricerdata !=
NULL);
110 assert(pricerdata->objpricer !=
NULL);
111 assert(pricerdata->objpricer->scip_ ==
scip);
127 assert(pricerdata !=
NULL);
128 assert(pricerdata->objpricer !=
NULL);
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, result) );
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;
void SCIPpricerSetData(SCIP_PRICER *pricer, SCIP_PRICERDATA *pricerdata)
C++ wrapper for variable pricer.
scip::ObjPricer * SCIPgetObjPricer(SCIP *scip, SCIP_PRICER *pricer)
static SCIP_DECL_PRICERINIT(pricerInitObj)
SCIP_PRICER * SCIPfindPricer(SCIP *scip, const char *name)
enum SCIP_Retcode SCIP_RETCODE
SCIP_RETCODE SCIPincludeObjPricer(SCIP *scip, scip::ObjPricer *objpricer, SCIP_Bool deleteobject)
static SCIP_DECL_PRICEREXIT(pricerExitObj)
SCIP_PRICERDATA * SCIPpricerGetData(SCIP_PRICER *pricer)
static SCIP_DECL_PRICEREXITSOL(pricerExitsolObj)
static SCIP_DECL_PRICERREDCOST(pricerRedcostObj)
static SCIP_DECL_PRICERINITSOL(pricerInitsolObj)
static SCIP_DECL_PRICERFREE(pricerFreeObj)
const SCIP_Bool scip_delay_
static SCIP_DECL_PRICERCOPY(pricerCopyObj)
SCIP_RETCODE SCIPincludePricer(SCIP *scip, const char *name, const char *desc, int priority, SCIP_Bool delay, SCIP_DECL_PRICERCOPY((*pricercopy)), SCIP_DECL_PRICERFREE((*pricerfree)), SCIP_DECL_PRICERINIT((*pricerinit)), SCIP_DECL_PRICEREXIT((*pricerexit)), SCIP_DECL_PRICERINITSOL((*pricerinitsol)), SCIP_DECL_PRICEREXITSOL((*pricerexitsol)), SCIP_DECL_PRICERREDCOST((*pricerredcost)), SCIP_DECL_PRICERFARKAS((*pricerfarkas)), SCIP_PRICERDATA *pricerdata)
scip::ObjPricer * SCIPfindObjPricer(SCIP *scip, const char *name)
struct SCIP_PricerData SCIP_PRICERDATA
C++ wrapper for variable pricers.
static SCIP_DECL_PRICERFARKAS(pricerFarkasObj)