Loading...
Searching...
No Matches
pricingprob.c
Go to the documentation of this file.
37/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
57 int nroundscol /**< number of previous pricing rounds for which the number of improving columns should be counted */
77 SCIP_CALL( SCIPallocClearBlockMemoryArray(scip, &(*pricingprob)->ncolsround, (*pricingprob)->maxcolsround) );
90 SCIPfreeBlockMemoryArrayNull(scip, &(*pricingprob)->branchduals, (*pricingprob)->branchconsssize);
91 SCIPfreeBlockMemoryArrayNull(scip, &(*pricingprob)->branchconss, (*pricingprob)->branchconsssize);
148 SCIP_CALL( SCIPreallocBlockMemoryArray(scip, &pricingprob->branchconss, pricingprob->branchconsssize, newsize) );
149 SCIP_CALL( SCIPreallocBlockMemoryArray(scip, &pricingprob->branchduals, pricingprob->branchconsssize, newsize) );
#define SCIP_Bool
#define SCIP_Real
#define TRUE
#define FALSE
GCG interface methods.
SCIP * GCGpricingprobGetPricingscip(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:200
#define SCIPfreeBlockMemoryArray(scip, ptr, num)
#define SCIPallocClearBlockMemoryArray(scip, ptr, num)
int SCIPcalcMemGrowSize(SCIP *scip, int num)
#define SCIPallocBlockMemoryArray(scip, ptr, num)
#define SCIPreallocBlockMemoryArray(scip, ptr, oldnum, newnum)
#define SCIPfreeBlockMemory(scip, ptr)
#define SCIPfreeBlockMemoryArrayNull(scip, ptr, num)
#define SCIPallocBlockMemory(scip, ptr)
SCIP_Real SCIPinfinity(SCIP *scip)
SCIP_Bool SCIPisDualfeasGT(SCIP *scip, SCIP_Real val1, SCIP_Real val2)
static assert(heur !=NULL)
SCIP_CALL(SCIPgetExternBranchCands(origprob, &lpcands, &lpcandssol, NULL, &nlpcands, NULL, NULL, NULL, NULL))
#define NULL
Definition class_conspartition.cpp:44
methods for storing priced cols (based on SCIP's separation storage)
void GCGpricingprobUpdate(GCG *gcg, GCG_PRICINGPROB *pricingprob, GCG_PRICINGSTATUS status, SCIP_Real lowerbound, int nimpcols)
Definition pricingprob.c:178
void GCGpricingprobNextBranchcons(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:264
void GCGpricingprobMarkBranchconsAdded(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:256
int GCGpricingprobGetBranchconsIdx(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:240
void GCGpricingprobInitPricing(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:98
SCIP_Real GCGpricingprobGetLowerbound(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:283
void GCGpricingprobGetGenericBranchData(GCG_PRICINGPROB *pricingprob, SCIP_CONS ***branchconss, SCIP_Real **branchduals, int *nbranchconss)
Definition pricingprob.c:216
int GCGpricingprobGetNImpCols(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:291
void GCGpricingprobReset(GCG *gcg, GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:164
SCIP_Bool GCGpricingprobBranchconsIsAdded(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:248
void GCGpricingprobFree(GCG *gcg, GCG_PRICINGPROB **pricingprob)
Definition pricingprob.c:84
SCIP_RETCODE GCGpricingprobAddGenericBranchData(GCG *gcg, GCG_PRICINGPROB *pricingprob, SCIP_CONS *branchcons, SCIP_Real branchdual)
Definition pricingprob.c:125
GCG_PRICINGSTATUS GCGpricingprobGetStatus(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:275
int GCGpricingprobGetProbnr(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:208
int GCGpricingprobGetNGenericBranchconss(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:232
int GCGpricingprobGetNSolves(GCG_PRICINGPROB *pricingprob)
Definition pricingprob.c:299
SCIP_RETCODE GCGpricingprobCreate(GCG *gcg, GCG_PRICINGPROB **pricingprob, SCIP *pricingscip, int probnr, int nroundscol)
Definition pricingprob.c:52
int GCGpricingprobGetNColsLastRounds(GCG_PRICINGPROB *pricingprob, int nroundscol)
Definition pricingprob.c:307
void GCGpricingprobExitPricing(GCG_PRICINGPROB *pricingprob, int nroundscol)
Definition pricingprob.c:110
private methods for working with pricing problems, to be used by the pricing controller only
public methods for storing cols in a col pool
public methods for working with gcg columns
public methods for working with pricing jobs
public methods for working with pricing problems
struct SCIP_Cons SCIP_CONS
enum SCIP_Retcode SCIP_RETCODE
struct Scip SCIP