gcg pricingprob

Detailed Description

Functions

EXTERN SCIP * GCGpricingprobGetPricingscip (GCG_PRICINGPROB *pricingprob)
 
EXTERN int GCGpricingprobGetProbnr (GCG_PRICINGPROB *pricingprob)
 
EXTERN void GCGpricingprobGetGenericBranchData (GCG_PRICINGPROB *pricingprob, SCIP_CONS ***branchconss, SCIP_Real **branchduals, int *nbranchconss)
 
EXTERN int GCGpricingprobGetNGenericBranchconss (GCG_PRICINGPROB *pricingprob)
 
EXTERN int GCGpricingprobGetBranchconsIdx (GCG_PRICINGPROB *pricingprob)
 
EXTERN SCIP_Bool GCGpricingprobBranchconsIsAdded (GCG_PRICINGPROB *pricingprob)
 
EXTERN void GCGpricingprobMarkBranchconsAdded (GCG_PRICINGPROB *pricingprob)
 
EXTERN GCG_PRICINGSTATUS GCGpricingprobGetStatus (GCG_PRICINGPROB *pricingprob)
 
EXTERN SCIP_Real GCGpricingprobGetLowerbound (GCG_PRICINGPROB *pricingprob)
 
EXTERN int GCGpricingprobGetNImpCols (GCG_PRICINGPROB *pricingprob)
 
EXTERN int GCGpricingprobGetNSolves (GCG_PRICINGPROB *pricingprob)
 
EXTERN int GCGpricingprobGetNColsLastRounds (GCG_PRICINGPROB *pricingprob, int nroundscol)
 

Function Documentation

EXTERN SCIP_Bool GCGpricingprobBranchconsIsAdded ( GCG_PRICINGPROB pricingprob)

check if the current generic branching constraint has already been added

Parameters
pricingprobpricing problem structure

Definition at line 243 of file pricingprob.c.

Referenced by ObjPricerGcg::createNewMasterVarFromGcgCol().

EXTERN int GCGpricingprobGetBranchconsIdx ( GCG_PRICINGPROB pricingprob)

get index of current generic branching constraint considered the pricing problem

Parameters
pricingprobpricing problem structure

Definition at line 235 of file pricingprob.c.

Referenced by ObjPricerGcg::createNewMasterVarFromGcgCol().

EXTERN void GCGpricingprobGetGenericBranchData ( GCG_PRICINGPROB pricingprob,
SCIP_CONS ***  branchconss,
SCIP_Real **  branchduals,
int *  nbranchconss 
)

get generic branching data corresponding to the pricing problem

Parameters
pricingprobpricing problem structure
branchconsspointer to store branching constraints array, or NULL
branchdualspointer to store array of corresponding dual values, or NULL
nbranchconsspointer to store number of generic branching constraints, or NULL

Definition at line 211 of file pricingprob.c.

Referenced by ObjPricerGcg::computeColMastercuts(), ObjPricerGcg::computeRedCostGcgCol(), and ObjPricerGcg::createNewMasterVarFromGcgCol().

EXTERN SCIP_Real GCGpricingprobGetLowerbound ( GCG_PRICINGPROB pricingprob)

get the lower bound of a pricing problem

Parameters
pricingprobpricing problem structure

Definition at line 278 of file pricingprob.c.

Referenced by gcg::Pricingcontroller::collectResults().

EXTERN int GCGpricingprobGetNColsLastRounds ( GCG_PRICINGPROB pricingprob,
int  nroundscol 
)

get the total number of improving colums found in the last pricing rounds

Parameters
pricingprobpricing problem structure
nroundscolnumber of previous pricing rounds for which the number of improving columns should be counted

Definition at line 302 of file pricingprob.c.

Referenced by GCGpricingjobSetup().

EXTERN int GCGpricingprobGetNGenericBranchconss ( GCG_PRICINGPROB pricingprob)

get the number of generic branching constraints corresponding to the pricing problem

Parameters
pricingprobpricing problem structure

Definition at line 227 of file pricingprob.c.

EXTERN int GCGpricingprobGetNImpCols ( GCG_PRICINGPROB pricingprob)

get the number of improving columns found for this pricing problem

Parameters
pricingprobpricing problem structure

Definition at line 286 of file pricingprob.c.

Referenced by gcg::Pricingcontroller::collectResults(), and ObjPricerGcg::pricingLoop().

EXTERN int GCGpricingprobGetNSolves ( GCG_PRICINGPROB pricingprob)

get the number of times the pricing problem was solved during the loop

Parameters
pricingprobpricing problem structure

Definition at line 294 of file pricingprob.c.

EXTERN SCIP* GCGpricingprobGetPricingscip ( GCG_PRICINGPROB pricingprob)

get the SCIP instance corresponding to the pricing problem

Parameters
pricingprobpricing problem structure

Definition at line 195 of file pricingprob.c.

Referenced by ObjPricerGcg::createNewMasterVarFromGcgCol().

EXTERN int GCGpricingprobGetProbnr ( GCG_PRICINGPROB pricingprob)

get the index of the corresponding pricing problem

Parameters
pricingprobpricing problem structure

Definition at line 203 of file pricingprob.c.

Referenced by gcg::Pricingcontroller::collectResults(), ObjPricerGcg::createNewMasterVarFromGcgCol(), GCGpricingjobSetup(), and ObjPricerGcg::pricingLoop().

EXTERN GCG_PRICINGSTATUS GCGpricingprobGetStatus ( GCG_PRICINGPROB pricingprob)

get the status of a pricing problem

Parameters
pricingprobpricing problem structure

Definition at line 270 of file pricingprob.c.

Referenced by gcg::Pricingcontroller::collectResults().

EXTERN void GCGpricingprobMarkBranchconsAdded ( GCG_PRICINGPROB pricingprob)

mark the current generic branching constraint to be added

Parameters
pricingprobpricing problem structure

Definition at line 251 of file pricingprob.c.

Referenced by ObjPricerGcg::createNewMasterVarFromGcgCol().