Scippy

GCG

Branch-and-Price & Column Generation for Everyone

Pricing Problem

Detailed Description

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

Function Documentation

◆ GCGpricingprobGetPricingscip()

SCIP_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()

SCIP_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()

SCIP_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()

SCIP_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()

SCIP_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()

SCIP_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()

SCIP_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()

SCIP_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()

SCIP_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()

SCIP_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()

SCIP_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().