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

Parameters
pricingprobpricing problem structure

Definition at line 200 of file pricingprob.c.

References GCG_PricingProb::pricingscip.

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

◆ GCGpricingprobGetProbnr()

GCG_EXPORT int GCGpricingprobGetProbnr ( GCG_PRICINGPROB *  pricingprob)

◆ 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

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 216 of file pricingprob.c.

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

Referenced by ObjPricerGcg::computeRedCostGcgCol().

◆ GCGpricingprobGetNGenericBranchconss()

GCG_EXPORT int GCGpricingprobGetNGenericBranchconss ( GCG_PRICINGPROB *  pricingprob)

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

Parameters
pricingprobpricing problem structure

Definition at line 232 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

Parameters
pricingprobpricing problem structure

Definition at line 240 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

Parameters
pricingprobpricing problem structure

Definition at line 248 of file pricingprob.c.

References GCG_PricingProb::consisadded, and SCIP_Bool.

◆ GCGpricingprobMarkBranchconsAdded()

GCG_EXPORT void GCGpricingprobMarkBranchconsAdded ( GCG_PRICINGPROB *  pricingprob)

mark the current generic branching constraint to be added

Parameters
pricingprobpricing problem structure

Definition at line 256 of file pricingprob.c.

References GCG_PricingProb::consisadded, and TRUE.

◆ GCGpricingprobGetStatus()

GCG_EXPORT GCG_PRICINGSTATUS GCGpricingprobGetStatus ( GCG_PRICINGPROB *  pricingprob)

get the status of a pricing problem

Parameters
pricingprobpricing problem structure

Definition at line 275 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

Parameters
pricingprobpricing problem structure

Definition at line 283 of file pricingprob.c.

References GCG_PricingProb::lowerbound, and SCIP_Real.

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

◆ GCGpricingprobGetNImpCols()

GCG_EXPORT int GCGpricingprobGetNImpCols ( GCG_PRICINGPROB *  pricingprob)

get the number of improving columns found for this pricing problem

Parameters
pricingprobpricing problem structure

Definition at line 291 of file pricingprob.c.

References GCG_PricingProb::nimpcols.

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

◆ GCGpricingprobGetNSolves()

GCG_EXPORT 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 299 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

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

Definition at line 307 of file pricingprob.c.

References GCG_PricingProb::ncolsround.

Referenced by GCGpricingjobSetup().