Scippy

GCG

Branch-and-Price & Column Generation for Everyone

GCG_Col Struct Reference

Detailed Description

Column data structure

Definition at line 51 of file struct_gcgcol.h.

#include <struct_gcgcol.h>

Data Fields

SCIP * pricingprob
 
int probnr
 
SCIP_VAR ** vars
 
SCIP_Real * vals
 
int nvars
 
int maxvars
 
SCIP_VAR ** inferredpricingvars
 
SCIP_Real * inferredpricingvals
 
int ninferredpricingvars
 
int maxinferredpricingvars
 
SCIP_Bool isray
 
SCIP_Real redcost
 
int age
 
int pos
 
SCIP_Real * mastercoefs
 
int nmastercoefs
 
int maxmastercoefs
 
SCIP_Real * originalsepamastercuts
 
int noriginalsepamastercuts
 
int maxoriginalsepamastercuts
 
SCIP_Real * mastersepacutcoeffs
 
int nmastersepacutcoeffs
 
int mastersepacutscoeffssize
 
SCIP_Real norm
 
int * linkvars
 
int nlinkvars
 
int maxlinkvars
 
SCIP_Bool initcoefs
 

Field Documentation

◆ pricingprob

◆ probnr

int GCG_Col::probnr

◆ vars

SCIP_VAR** GCG_Col::vars

(sorted) array of variables of corresponding pricing problem

Definition at line 55 of file struct_gcgcol.h.

Referenced by GCGcolComputeOrth(), GCGcolGetSolVal(), GCGcolGetVars(), GCGcolpoolPropagateGlobalBounds(), GCGpricestoreAddCol(), and SCIP_DECL_HASHKEYVAL().

◆ vals

SCIP_Real* GCG_Col::vals

◆ nvars

int GCG_Col::nvars

◆ maxvars

int GCG_Col::maxvars

capacity of vars

Definition at line 58 of file struct_gcgcol.h.

◆ inferredpricingvars

SCIP_VAR** GCG_Col::inferredpricingvars

(sorted) array of inferrred (coefficient) pricing variables

Definition at line 59 of file struct_gcgcol.h.

Referenced by GCGcolComputeDualObjPara(), GCGcolComputeOrth(), GCGcolGetInferredPricingVars(), GCGcolGetSolVal(), GCGcolIsEq(), and GCGcolUpdateActiveMastersepacuts().

◆ inferredpricingvals

SCIP_Real* GCG_Col::inferredpricingvals

inferred (coefficient) pricing variables solution values

Definition at line 60 of file struct_gcgcol.h.

Referenced by GCGcolComputeDualObjPara(), GCGcolComputeNorm(), GCGcolComputeOrth(), GCGcolGetInferredPricingVals(), GCGcolGetSolVal(), GCGcolIsEq(), and GCGcolUpdateActiveMastersepacuts().

◆ ninferredpricingvars

int GCG_Col::ninferredpricingvars

◆ maxinferredpricingvars

int GCG_Col::maxinferredpricingvars

capacity of inferred pricing variables array

Definition at line 62 of file struct_gcgcol.h.

Referenced by GCGcolUpdateActiveMastersepacuts().

◆ isray

SCIP_Bool GCG_Col::isray

is the column a ray?

Definition at line 63 of file struct_gcgcol.h.

Referenced by GCGcolIsRay(), and SCIP_DECL_HASHKEYVAL().

◆ redcost

SCIP_Real GCG_Col::redcost

last known reduced cost

Definition at line 64 of file struct_gcgcol.h.

Referenced by GCGcolGetRedcost(), and GCGcolUpdateRedcost().

◆ age

int GCG_Col::age

age of column (number of iterations since it was created; each time reduced cost are calculated counts as an interation)

Definition at line 65 of file struct_gcgcol.h.

Referenced by GCGcolGetAge(), GCGcolIsAged(), GCGcolpoolPrice(), and GCGcolUpdateRedcost().

◆ pos

int GCG_Col::pos

◆ mastercoefs

SCIP_Real* GCG_Col::mastercoefs

array of master coefficients

Definition at line 68 of file struct_gcgcol.h.

Referenced by GCGcolComputeDualObjPara(), GCGcolComputeNorm(), GCGcolComputeOrth(), GCGcolGetMastercoefs(), and GCGcolSetMastercoefs().

◆ nmastercoefs

int GCG_Col::nmastercoefs

number of master coefficients

Definition at line 69 of file struct_gcgcol.h.

Referenced by GCGcolComputeDualObjPara(), GCGcolComputeNorm(), GCGcolComputeOrth(), GCGcolGetNMastercoefs(), and GCGcolSetMastercoefs().

◆ maxmastercoefs

int GCG_Col::maxmastercoefs

capacity of mastercoefs

Definition at line 70 of file struct_gcgcol.h.

Referenced by GCGcolSetMastercoefs().

◆ originalsepamastercuts

SCIP_Real* GCG_Col::originalsepamastercuts

array of original seperator cut coefficients in the master problem

Definition at line 71 of file struct_gcgcol.h.

Referenced by GCGcolComputeDualObjPara(), GCGcolComputeNorm(), GCGcolComputeOrth(), GCGcolGetOriginalSepaMastercuts(), and GCGcolUpdateOriginalSepaMastercuts().

◆ noriginalsepamastercuts

int GCG_Col::noriginalsepamastercuts

number of original seperator cut coefficients in the master problem

Definition at line 72 of file struct_gcgcol.h.

Referenced by GCGcolComputeDualObjPara(), GCGcolComputeNorm(), GCGcolComputeOrth(), GCGcolGetNOriginalSepaMastercuts(), and GCGcolUpdateOriginalSepaMastercuts().

◆ maxoriginalsepamastercuts

int GCG_Col::maxoriginalsepamastercuts

capacity of originalsepamastercuts

Definition at line 73 of file struct_gcgcol.h.

Referenced by GCGcolUpdateOriginalSepaMastercuts().

◆ mastersepacutcoeffs

SCIP_Real* GCG_Col::mastersepacutcoeffs

arrays of master separator cut coefficients

Definition at line 74 of file struct_gcgcol.h.

Referenced by GCGcolComputeDualObjPara(), GCGcolComputeNorm(), GCGcolComputeOrth(), GCGcolGetMastersepaCutCoeffs(), and GCGcolSetMastersepacutCoeffs().

◆ nmastersepacutcoeffs

int GCG_Col::nmastersepacutcoeffs

number of master separator cut coefficients

Definition at line 75 of file struct_gcgcol.h.

Referenced by GCGcolComputeDualObjPara(), GCGcolComputeNorm(), GCGcolComputeOrth(), GCGcolGetNMastersepacutCoeffs(), and GCGcolSetMastersepacutCoeffs().

◆ mastersepacutscoeffssize

int GCG_Col::mastersepacutscoeffssize

size of array of master separator cut coefficients

Definition at line 76 of file struct_gcgcol.h.

Referenced by GCGcolGetMastersepacutCoeffsSize(), and GCGcolSetMastersepacutCoeffs().

◆ norm

SCIP_Real GCG_Col::norm

norm of the coefficients in the master

Definition at line 77 of file struct_gcgcol.h.

Referenced by GCGcolComputeDualObjPara(), GCGcolComputeNorm(), GCGcolGetNorm(), and GCGcolSetNorm().

◆ linkvars

int* GCG_Col::linkvars

array of indices of variables in var-array which are linking variables

Definition at line 78 of file struct_gcgcol.h.

Referenced by GCGcolComputeNorm(), GCGcolComputeOrth(), GCGcolGetLinkvars(), and GCGcolSetLinkvars().

◆ nlinkvars

int GCG_Col::nlinkvars

number of variables in var-array which are linking variables

Definition at line 79 of file struct_gcgcol.h.

Referenced by GCGcolComputeNorm(), GCGcolComputeOrth(), GCGcolGetNLinkvars(), and GCGcolSetLinkvars().

◆ maxlinkvars

int GCG_Col::maxlinkvars

capacity of linkvars

Definition at line 80 of file struct_gcgcol.h.

Referenced by GCGcolSetLinkvars().

◆ initcoefs

SCIP_Bool GCG_Col::initcoefs

returns if mastercoefs and linkvars have been computed

Definition at line 81 of file struct_gcgcol.h.

Referenced by GCGcolGetInitializedCoefs(), and GCGcolSetInitializedCoefs().