Scippy

GCG

Branch-and-Price & Column Generation for Everyone

SCIP_PricerData Struct Reference

Detailed Description

variable pricer data

Definition at line 163 of file pricer_gcg.cpp.

Data Fields

int npricingprobs
 
SCIP ** pricingprobs
 
SCIP_Real * dualsolconv
 
SCIP_Real * solvals
 
int maxsolvals
 
int * npointsprob
 
int * nraysprob
 
SCIP_Longint currnodenr
 
SCIP_HASHMAP * mapcons2idx
 
int npricingprobsnotnull
 
int npricingloopiters
 
SCIP_VAR ** pricedvars
 
int npricedvars
 
int maxpricedvars
 
GCG_VARHISTORY * varhistory
 
SCIP_VAR ** artificialvars
 
int nartificialvars
 
int maxartificialvars
 
SCIP_Bool artificialused
 
SCIP_Real ** realdualvalues
 
int * nrealdualvalues
 
SCIP_Real dualweight
 
SCIP_Real * relaxweight
 
SCIP_Bool relaxobjective
 
SCIP_CLOCK * freeclock
 
SCIP_CLOCK * transformclock
 
SCIP_CLOCK * duplicatecolclock
 
int nduplicatecols
 
int solvedsubmipsoptimal
 
int solvedsubmipsheur
 
int calls
 
SCIP_Longint pricingiters
 
GCG_SOLVER ** solvers
 
int nsolvers
 
SCIP_EVENTHDLR * eventhdlr
 
GCG_PRICINGCB ** pricingcbs
 
int npricingcbs
 
SCIP_VARTYPE vartype
 
int nroundsredcost
 
SCIP_Bool abortpricingint
 
SCIP_Bool dispinfos
 
int disablecutoff
 
SCIP_Real abortpricinggap
 
SCIP_Bool stabilization
 
SCIP_Bool stabilizationtree
 
SCIP_Bool usecolpool
 
SCIP_Bool preventduplicatecols
 
SCIP_Bool useartificialvars
 
SCIP_Real maxobj
 
SCIP_Bool usemaxobj
 
SCIP_Bool onlyreliablebigm
 
SCIP_Real factorunreliable
 
SCIP_Real bigmartificial
 
SCIP_Bool hybridascent
 
SCIP_Bool hybridascentnoagg
 
int colpoolagelimit
 
SCIP_Real redcostfac
 
SCIP_Real objparalfac
 
SCIP_Real orthofac
 
SCIP_Real mincolorth
 
SCIP_Real maxpricecols
 
SCIP_Real maxpricecolsfarkas
 
GCG_EFFICIACYCHOICE efficiacychoice
 
int * nefficaciouscols
 
int oldvars
 
int * farkascallsdist
 
int * farkasfoundvars
 
double * farkasnodetimedist
 
int * redcostcallsdist
 
int * redcostfoundvars
 
double * redcostnodetimedist
 
double rootnodedegeneracy
 
double avgrootnodedegeneracy
 
int ndegeneracycalcs
 
int * nactivepricingmods
 
int * nappliedpricingmods
 

Field Documentation

◆ npricingprobs

◆ pricingprobs

◆ dualsolconv

◆ solvals

SCIP_Real* SCIP_PricerData::solvals

solution values of variables in the pricing problems

Definition at line 168 of file pricer_gcg.cpp.

Referenced by SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ maxsolvals

int SCIP_PricerData::maxsolvals

capacity of solvals

Definition at line 169 of file pricer_gcg.cpp.

Referenced by SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ npointsprob

int* SCIP_PricerData::npointsprob

number of variables representing points created by the pricing probs

Definition at line 170 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::createNewMasterVar(), ObjPricerGcg::createNewMasterVarFromGcgCol(), GCGpricerGetNPointsProb(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ nraysprob

int* SCIP_PricerData::nraysprob

number of variables representing rays created by the pricing probs

Definition at line 171 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::createNewMasterVar(), ObjPricerGcg::createNewMasterVarFromGcgCol(), GCGpricerExistRays(), GCGpricerGetNRaysProb(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ currnodenr

SCIP_Longint SCIP_PricerData::currnodenr

current node number in the masterproblem

Definition at line 172 of file pricer_gcg.cpp.

Referenced by SCIP_DECL_PRICERFARKAS(), SCIP_DECL_PRICERINITSOL(), and SCIP_DECL_PRICERREDCOST().

◆ mapcons2idx

SCIP_HASHMAP* SCIP_PricerData::mapcons2idx

hashmap mapping constraints to their index in the conss array

Definition at line 173 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::computeColMastercoefs(), GCGmasterAddMasterconsToHashmap(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ npricingprobsnotnull

int SCIP_PricerData::npricingprobsnotnull

number of non-Null pricing problems

Definition at line 174 of file pricer_gcg.cpp.

Referenced by SCIP_DECL_PRICERINITSOL().

◆ npricingloopiters

int SCIP_PricerData::npricingloopiters

number of started pricing/stabilization loop iterations (resets before the loop starts)

Definition at line 175 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::pricingLoop(), and SCIP_DECL_PRICERINITSOL().

◆ pricedvars

SCIP_VAR** SCIP_PricerData::pricedvars

◆ npricedvars

int SCIP_PricerData::npricedvars

number of priced variables

Definition at line 178 of file pricer_gcg.cpp.

Referenced by GCGmasterGetNPricedvars(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ maxpricedvars

int SCIP_PricerData::maxpricedvars

maximal number of priced variables

Definition at line 179 of file pricer_gcg.cpp.

Referenced by SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ varhistory

GCG_VARHISTORY* SCIP_PricerData::varhistory

pointer to the history of priced variables

Definition at line 182 of file pricer_gcg.cpp.

Referenced by GCGgetCurrentVarhistoryReference(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ artificialvars

◆ nartificialvars

int SCIP_PricerData::nartificialvars

◆ maxartificialvars

int SCIP_PricerData::maxartificialvars

capacity of artificialvars

Definition at line 186 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINIT().

◆ artificialused

SCIP_Bool SCIP_PricerData::artificialused

returns if artificial variables are used in current node's LP solution

Definition at line 187 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::addArtificialVars(), SCIP_DECL_PRICERINIT(), SCIP_DECL_PRICERINITSOL(), and SCIP_DECL_PRICERREDCOST().

◆ realdualvalues

SCIP_Real** SCIP_PricerData::realdualvalues

◆ nrealdualvalues

int* SCIP_PricerData::nrealdualvalues

◆ dualweight

SCIP_Real SCIP_PricerData::dualweight

the weighting applied to the dual variables

Definition at line 192 of file pricer_gcg.cpp.

Referenced by GCGsetPricingObjDualWeight(), ObjPricerGcg::pricingLoop(), SCIP_DECL_PRICEREXITSOL(), SCIP_DECL_PRICERINITSOL(), and ObjPricerGcg::setPricingObjs().

◆ relaxweight

SCIP_Real* SCIP_PricerData::relaxweight

the Lagrangian relaxation weight applied to master constraints, or NULL

Definition at line 193 of file pricer_gcg.cpp.

Referenced by GCGsetPricingObjRelaxWeight(), SCIP_DECL_PRICEREXITSOL(), SCIP_DECL_PRICERINITSOL(), and ObjPricerGcg::setPricingObjs().

◆ relaxobjective

SCIP_Bool SCIP_PricerData::relaxobjective

are relaxation weights applied to the pricing objective

Definition at line 194 of file pricer_gcg.cpp.

Referenced by GCGsetPricingObjRelaxWeight(), ObjPricerGcg::pricingLoop(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ freeclock

SCIP_CLOCK* SCIP_PricerData::freeclock

time for freeing pricing problems

Definition at line 197 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ transformclock

SCIP_CLOCK* SCIP_PricerData::transformclock

time for transforming pricing problems

Definition at line 198 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ duplicatecolclock

SCIP_CLOCK* SCIP_PricerData::duplicatecolclock

time for detecting duplicate columns when transferring original solutions

Definition at line 199 of file pricer_gcg.cpp.

Referenced by GCGmasterTransOrigSolToMasterVars(), GCGpricerPrintStatistics(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ nduplicatecols

int SCIP_PricerData::nduplicatecols

number of master variables not created because an identical column existed

Definition at line 200 of file pricer_gcg.cpp.

Referenced by GCGmasterTransOrigSolToMasterVars(), GCGpricerPrintStatistics(), and SCIP_DECL_PRICERINITSOL().

◆ solvedsubmipsoptimal

int SCIP_PricerData::solvedsubmipsoptimal

number of optimal pricing runs

Definition at line 201 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics(), and SCIP_DECL_PRICERINITSOL().

◆ solvedsubmipsheur

int SCIP_PricerData::solvedsubmipsheur

number of heuristical pricing runs

Definition at line 202 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics(), and SCIP_DECL_PRICERINITSOL().

◆ calls

int SCIP_PricerData::calls

number of total pricing calls

Definition at line 203 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics(), ObjPricerGcg::priceNewVariables(), and SCIP_DECL_PRICERINITSOL().

◆ pricingiters

SCIP_Longint SCIP_PricerData::pricingiters

sum of all pricing simplex iterations

Definition at line 204 of file pricer_gcg.cpp.

Referenced by GCGmasterGetPricingSimplexIters(), GCGmasterPrintSimplexIters(), and SCIP_DECL_PRICERINITSOL().

◆ solvers

◆ nsolvers

◆ eventhdlr

◆ pricingcbs

GCG_PRICINGCB** SCIP_PricerData::pricingcbs

an array to store the pricing callback plugins

Definition at line 214 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg(), GCGpricerFindPricingcb(), GCGpricerGetPricingcbs(), GCGpricerIncludePricingcb(), SCIP_DECL_PRICERFREE(), and SCIP_DECL_PRICERINITSOL().

◆ npricingcbs

int SCIP_PricerData::npricingcbs

the number of available pricing callback plugins

Definition at line 215 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg(), GCGpricerFindPricingcb(), GCGpricerGetNPricingcbs(), GCGpricerIncludePricingcb(), and SCIP_DECL_PRICERINITSOL().

◆ vartype

SCIP_VARTYPE SCIP_PricerData::vartype

vartype of created master variables

Definition at line 218 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::createNewMasterVar(), ObjPricerGcg::createNewMasterVarFromGcgCol(), and SCIP_DECL_PRICERINITSOL().

◆ nroundsredcost

int SCIP_PricerData::nroundsredcost

number of reduced cost rounds

Definition at line 219 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::pricingLoop(), SCIP_DECL_PRICERINITSOL(), and SCIP_DECL_PRICERREDCOST().

◆ abortpricingint

SCIP_Bool SCIP_PricerData::abortpricingint

should the pricing be aborted on integral solutions?

Definition at line 220 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ dispinfos

SCIP_Bool SCIP_PricerData::dispinfos

should pricing information be displayed?

Definition at line 221 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ disablecutoff

int SCIP_PricerData::disablecutoff

should the cutoffbound be applied in master LP solving (0: on, 1:off, 2:auto)?

Definition at line 222 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ abortpricinggap

SCIP_Real SCIP_PricerData::abortpricinggap

gap between dual bound and RMP objective at which pricing is aborted

Definition at line 223 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg().

◆ stabilization

SCIP_Bool SCIP_PricerData::stabilization

should stabilization be used

Definition at line 224 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg(), GCGsetPricingObjs(), and ObjPricerGcg::pricingLoop().

◆ stabilizationtree

SCIP_Bool SCIP_PricerData::stabilizationtree

should stabilization be used in nodes other than the root node

Definition at line 225 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg(), and ObjPricerGcg::pricingLoop().

◆ usecolpool

SCIP_Bool SCIP_PricerData::usecolpool

should the colpool be checked for negative redcost cols before solving the pricing problems?

Definition at line 226 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg(), ObjPricerGcg::pricingLoop(), SCIP_DECL_PRICEREXITSOL(), SCIP_DECL_PRICERFARKAS(), SCIP_DECL_PRICERINITSOL(), and SCIP_DECL_PRICERREDCOST().

◆ preventduplicatecols

SCIP_Bool SCIP_PricerData::preventduplicatecols

should existing master variables be reused when transferring an original solution instead of creating duplicate columns?

Definition at line 227 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg(), and GCGmasterTransOrigSolToMasterVars().

◆ useartificialvars

SCIP_Bool SCIP_PricerData::useartificialvars

use artificial variables to make RMP feasible (instead of applying Farkas pricing)

Definition at line 229 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg(), SCIP_DECL_PRICERFARKAS(), and SCIP_DECL_PRICERINITSOL().

◆ maxobj

SCIP_Real SCIP_PricerData::maxobj

maxobj bound that can be used for big M objective of artificial variables

Definition at line 230 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::addArtificialVars(), and SCIP_DECL_PRICERINITSOL().

◆ usemaxobj

SCIP_Bool SCIP_PricerData::usemaxobj

use maxobj for big M objective of artificial variables

Definition at line 231 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::addArtificialVars(), GCGincludePricerGcg(), and SCIP_DECL_PRICERINITSOL().

◆ onlyreliablebigm

SCIP_Bool SCIP_PricerData::onlyreliablebigm

only use maxobj for big M objective of artificial variables if it is reliable

Definition at line 232 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg(), and SCIP_DECL_PRICERINITSOL().

◆ factorunreliable

SCIP_Real SCIP_PricerData::factorunreliable

factor to use for objective of unbounded variables

Definition at line 233 of file pricer_gcg.cpp.

Referenced by GCGincludePricerGcg(), and SCIP_DECL_PRICERINITSOL().

◆ bigmartificial

SCIP_Real SCIP_PricerData::bigmartificial

value for for big M objective of artificial variables (if maxobj is not used)

Definition at line 234 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::addArtificialVars(), and GCGincludePricerGcg().

◆ hybridascent

SCIP_Bool SCIP_PricerData::hybridascent

should hybridization of smoothing with an ascent method be enabled

Definition at line 235 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::createStabilization(), and GCGincludePricerGcg().

◆ hybridascentnoagg

SCIP_Bool SCIP_PricerData::hybridascentnoagg

should hybridization of smoothing with an ascent method be enabled if pricing problems cannot be aggregation

Definition at line 236 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::createStabilization(), and GCGincludePricerGcg().

◆ colpoolagelimit

int SCIP_PricerData::colpoolagelimit

agelimit of columns in colpool

Definition at line 238 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::createColpool(), and GCGincludePricerGcg().

◆ redcostfac

SCIP_Real SCIP_PricerData::redcostfac

factor of -redcost/norm in score function

Definition at line 241 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::createPricestore(), and GCGincludePricerGcg().

◆ objparalfac

SCIP_Real SCIP_PricerData::objparalfac

factor of objective parallelism in score function

Definition at line 242 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::createPricestore(), and GCGincludePricerGcg().

◆ orthofac

SCIP_Real SCIP_PricerData::orthofac

factor of orthogonalities in score function

Definition at line 243 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::createPricestore(), and GCGincludePricerGcg().

◆ mincolorth

SCIP_Real SCIP_PricerData::mincolorth

minimal orthogonality of columns to add (with respect to columns added in the current round)

Definition at line 244 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::createPricestore(), and GCGincludePricerGcg().

◆ maxpricecols

SCIP_Real SCIP_PricerData::maxpricecols

maximum number of columns per round

Definition at line 246 of file pricer_gcg.cpp.

◆ maxpricecolsfarkas

SCIP_Real SCIP_PricerData::maxpricecolsfarkas

maximum number of columns per Farkas round

Definition at line 247 of file pricer_gcg.cpp.

◆ efficiacychoice

GCG_EFFICIACYCHOICE SCIP_PricerData::efficiacychoice

choice to base efficiacy on

Definition at line 248 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::createPricestore(), and GCGincludePricerGcg().

◆ nefficaciouscols

int* SCIP_PricerData::nefficaciouscols

number of found (efficacious) cols per pricing problem

Definition at line 249 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::addColToPricestore(), ObjPricerGcg::pricingLoop(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ oldvars

int SCIP_PricerData::oldvars

Vars of last pricing iteration

Definition at line 252 of file pricer_gcg.cpp.

Referenced by SCIP_DECL_EVENTEXEC(), and SCIP_DECL_PRICERINITSOL().

◆ farkascallsdist

int* SCIP_PricerData::farkascallsdist

Calls of each farkas pricing problem

Definition at line 253 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ farkasfoundvars

int* SCIP_PricerData::farkasfoundvars

Found vars of each farkas pricing problem

Definition at line 254 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ farkasnodetimedist

double* SCIP_PricerData::farkasnodetimedist

Time spend in each farkas pricing problem

Definition at line 255 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ redcostcallsdist

int* SCIP_PricerData::redcostcallsdist

Calls of each redcost pricing problem

Definition at line 257 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ redcostfoundvars

int* SCIP_PricerData::redcostfoundvars

Found vars of each redcost pricing problem

Definition at line 258 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ redcostnodetimedist

double* SCIP_PricerData::redcostnodetimedist

Time spend in each redcost pricing problem

Definition at line 259 of file pricer_gcg.cpp.

Referenced by GCGpricerPrintStatistics(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ rootnodedegeneracy

double SCIP_PricerData::rootnodedegeneracy

degeneracy of the root node

Definition at line 260 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::priceNewVariables(), and SCIP_DECL_PRICERINITSOL().

◆ avgrootnodedegeneracy

double SCIP_PricerData::avgrootnodedegeneracy

average degeneray of all nodes

Definition at line 261 of file pricer_gcg.cpp.

Referenced by GCGmasterGetDegeneracy(), ObjPricerGcg::priceNewVariables(), and SCIP_DECL_PRICERINITSOL().

◆ ndegeneracycalcs

int SCIP_PricerData::ndegeneracycalcs

number of observations

Definition at line 262 of file pricer_gcg.cpp.

Referenced by ObjPricerGcg::priceNewVariables(), and SCIP_DECL_PRICERINITSOL().

◆ nactivepricingmods

int* SCIP_PricerData::nactivepricingmods

number of active pricing modifications per pricing problem

Definition at line 264 of file pricer_gcg.cpp.

Referenced by GCGgetNActivePricingproblemModifications(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().

◆ nappliedpricingmods

int* SCIP_PricerData::nappliedpricingmods

number of actually applied pricing modifications per pricing problem

Definition at line 265 of file pricer_gcg.cpp.

Referenced by GCGgetNAppliedPricingproblemModifications(), ObjPricerGcg::pricingLoop(), SCIP_DECL_PRICEREXITSOL(), and SCIP_DECL_PRICERINITSOL().