Scippy

GCG

Branch-and-Price & Column Generation for Everyone

Pricing Problem

Detailed Description

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

Function Documentation

◆ GCGpricingprobGetPricingscip()

GCG_EXPORT SCIP* GCGpricingprobGetPricingscip ( GCG_PRICINGPROB pricingprob)

get the SCIP instance corresponding to the pricing problem

Definition at line 196 of file pricingprob.c.

References GCG_PricingProb::pricingscip.

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

◆ GCGpricingprobGetProbnr()

◆ GCGpricingprobGetGenericBranchData()

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

get generic branching data corresponding to the pricing problem

Definition at line 212 of file pricingprob.c.

References GCG_PricingProb::branchconss, GCG_PricingProb::branchduals, and GCG_PricingProb::nbranchconss.

Referenced by ObjPricerGcg::computeRedCostGcgCol().

◆ GCGpricingprobGetNGenericBranchconss()

GCG_EXPORT int GCGpricingprobGetNGenericBranchconss ( GCG_PRICINGPROB pricingprob)

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

Definition at line 228 of file pricingprob.c.

References GCG_PricingProb::nbranchconss.

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

◆ GCGpricingprobGetBranchconsIdx()

GCG_EXPORT int GCGpricingprobGetBranchconsIdx ( GCG_PRICINGPROB pricingprob)

get index of current generic branching constraint considered the pricing problem

Definition at line 236 of file pricingprob.c.

References GCG_PricingProb::branchconsidx.

◆ GCGpricingprobBranchconsIsAdded()

GCG_EXPORT SCIP_Bool GCGpricingprobBranchconsIsAdded ( GCG_PRICINGPROB pricingprob)

check if the current generic branching constraint has already been added

Definition at line 244 of file pricingprob.c.

References GCG_PricingProb::consisadded.

◆ GCGpricingprobMarkBranchconsAdded()

GCG_EXPORT void GCGpricingprobMarkBranchconsAdded ( GCG_PRICINGPROB pricingprob)

mark the current generic branching constraint to be added

Definition at line 252 of file pricingprob.c.

References GCG_PricingProb::consisadded.

◆ GCGpricingprobGetStatus()

GCG_EXPORT GCG_PRICINGSTATUS GCGpricingprobGetStatus ( GCG_PRICINGPROB pricingprob)

get the status of a pricing problem

Definition at line 271 of file pricingprob.c.

References GCG_PricingProb::status.

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

◆ GCGpricingprobGetLowerbound()

GCG_EXPORT SCIP_Real GCGpricingprobGetLowerbound ( GCG_PRICINGPROB pricingprob)

get the lower bound of a pricing problem

Definition at line 279 of file pricingprob.c.

References GCG_PricingProb::lowerbound.

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

◆ GCGpricingprobGetNImpCols()

GCG_EXPORT int GCGpricingprobGetNImpCols ( GCG_PRICINGPROB pricingprob)

get the number of improving columns found for this pricing problem

Definition at line 287 of file pricingprob.c.

References GCG_PricingProb::nimpcols.

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

◆ GCGpricingprobGetNSolves()

GCG_EXPORT int GCGpricingprobGetNSolves ( GCG_PRICINGPROB pricingprob)

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

Definition at line 295 of file pricingprob.c.

References GCG_PricingProb::nsolves.

◆ GCGpricingprobGetNColsLastRounds()

GCG_EXPORT int GCGpricingprobGetNColsLastRounds ( GCG_PRICINGPROB pricingprob,
int  nroundscol 
)

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

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

Definition at line 303 of file pricingprob.c.

References GCG_PricingProb::ncolsround.

Referenced by GCGpricingjobSetup().