GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
SCIP_RelaxData Struct Reference

Detailed Description

relaxator data

Definition at line 112 of file relax_gcg.c.

Data Fields

GCG * gcg
SCIP ** pricingprobs
int npricingprobs
int maxpricingprobs
int nrelpricingprobs
int * blockrepresentative
int * nblocksidentical
SCIP_CONS ** convconss
int ntransvars
int nlinkingvars
int nvarlinkconss
SCIP_Real pricingprobsmemused
SCIP_CONS ** masterconss
SCIP_CONS ** origmasterconss
SCIP_CONS ** linearmasterconss
SCIP_CONS ** varlinkconss
int * varlinkconsblock
int maxmasterconss
int nmasterconss
SCIP_SOL * currentorigsol
SCIP_Bool origsolfeasible
SCIP_Longint lastmasterlpiters
SCIP_Longint lastmasternode
SCIP_SOL * lastmastersol
SCIP_CONS ** markedmasterconss
int nmarkedmasterconss
int maxmarkedmasterconss
SCIP_Longint lastsolvednodenr
GCG_BRANCHRULE ** branchrules
int nbranchrules
GCG_BRANCHRULE ** activebranchrules
GCG_BRANCHDATA ** activebranchdata
GCG_EXTENDEDMASTERCONSDATA ** activebranchextendedmasterconss
int nactivebranchextendedmasterconss
int maxactivebranchextendedmasterconss
SCIP_Bool discretization
SCIP_Bool mipdiscretization
SCIP_Bool aggregation
SCIP_Bool masterissetpart
SCIP_Bool masterissetcover
SCIP_Bool dispinfos
GCG_DECMODE mode
int origverblevel
SCIP_Bool usesymmetrylib
int searchnodelimit
int generatorlimit
int aggregationnconsslimit
int aggregationnvarslimit
SCIP_Bool masterinprobing
SCIP_HEUR * probingheur
SCIP_SOL * storedorigsol
SCIP_Bool storedfeasibility
GCG_DECOMP * decomp
SCIP_Bool relaxisinitialized
SCIP_Longint simplexiters
SCIP_CLOCK * rootnodetime
GCG_PARAMDATA * paramsvisu
SCIP_Bool limitsettingsstashed
SCIP_Longint stashednodelimit
SCIP_Longint stashedstallnodelimit
SCIP_Real stashedgaplimit
int stashedsollimit
SCIP_Real stashedtimelimit
GCG_SEPA ** separators
int nseparators

Field Documentation

◆ gcg

◆ pricingprobs

◆ npricingprobs

◆ maxpricingprobs

int SCIP_RelaxData::maxpricingprobs

capacity of pricingprobs

Definition at line 118 of file relax_gcg.c.

Referenced by initRelaxdata(), initRelaxProblemdata(), and SCIP_DECL_RELAXFREE().

◆ nrelpricingprobs

int SCIP_RelaxData::nrelpricingprobs

the number of relevant pricing problems

Definition at line 119 of file relax_gcg.c.

Referenced by checkIdenticalBlocks(), GCGgetNRelPricingprobs(), initRelaxdata(), and resetRelaxdata().

◆ blockrepresentative

int* SCIP_RelaxData::blockrepresentative

number of the pricing problem, that represents the i-th problem

Definition at line 120 of file relax_gcg.c.

Referenced by checkIdenticalBlocks(), createMaster(), GCGgetBlockRepresentative(), GCGgetNIdenticalBlocks(), GCGisPricingprobRelevant(), initRelaxdata(), initRelaxProblemdata(), and SCIP_DECL_RELAXFREE().

◆ nblocksidentical

int* SCIP_RelaxData::nblocksidentical

number of pricing blocks represented by the i-th pricing problem

Definition at line 121 of file relax_gcg.c.

Referenced by checkIdenticalBlocks(), createMaster(), GCGgetBlockRepresentative(), GCGgetNIdenticalBlocks(), initRelaxdata(), initRelaxProblemdata(), and SCIP_DECL_RELAXFREE().

◆ convconss

SCIP_CONS** SCIP_RelaxData::convconss

array of convexity constraints, one for each block

Definition at line 122 of file relax_gcg.c.

Referenced by createMaster(), GCGgetConvCons(), initRelaxdata(), initRelaxProblemdata(), SCIP_DECL_RELAXEXITSOL(), SCIP_DECL_RELAXFREE(), and transformMaster().

◆ ntransvars

int SCIP_RelaxData::ntransvars

number of variables directly transferred to the master problem

Definition at line 123 of file relax_gcg.c.

Referenced by createPricingVariables(), GCGgetNTransvars(), initRelaxdata(), and resetRelaxdata().

◆ nlinkingvars

int SCIP_RelaxData::nlinkingvars

number of linking variables

Definition at line 124 of file relax_gcg.c.

Referenced by createPricingVariables(), GCGgetNLinkingvars(), initRelaxdata(), and resetRelaxdata().

◆ nvarlinkconss

int SCIP_RelaxData::nvarlinkconss

number of constraints that ensure that copies of linking variables have the same value

Definition at line 125 of file relax_gcg.c.

Referenced by checkSetppcStructure(), createLinkingPricingVars(), GCGgetNVarLinkingconss(), initRelaxdata(), resetRelaxdata(), SCIP_DECL_RELAXEXITSOL(), and transformMaster().

◆ pricingprobsmemused

SCIP_Real SCIP_RelaxData::pricingprobsmemused

sum of memory used after problem creation stage of all pricing problems

Definition at line 126 of file relax_gcg.c.

Referenced by createMaster(), initRelaxdata(), and resetRelaxdata().

◆ masterconss

◆ origmasterconss

SCIP_CONS** SCIP_RelaxData::origmasterconss

array of constraints in the original problem that belong to the master problem

Definition at line 130 of file relax_gcg.c.

Referenced by createMasterprobConss(), ensureSizeMasterConss(), GCGgetOrigMasterConss(), GCGrelaxTransOrigToMasterCons(), initRelaxdata(), initRelaxProblemdata(), resetRelaxdata(), and SCIP_DECL_RELAXEXITSOL().

◆ linearmasterconss

SCIP_CONS** SCIP_RelaxData::linearmasterconss

array of linear constraints equivalent to the cons in the original problem that belong to the master problem

Definition at line 132 of file relax_gcg.c.

◆ varlinkconss

SCIP_CONS** SCIP_RelaxData::varlinkconss

array of constraints ensuring linking vars equality

Definition at line 134 of file relax_gcg.c.

Referenced by createLinkingPricingVars(), GCGgetVarLinkingconss(), initRelaxdata(), resetRelaxdata(), SCIP_DECL_RELAXEXITSOL(), and transformMaster().

◆ varlinkconsblock

int* SCIP_RelaxData::varlinkconsblock

array of constraints ensuring linking vars equality

Definition at line 135 of file relax_gcg.c.

Referenced by createLinkingPricingVars(), GCGgetVarLinkingconssBlock(), initRelaxdata(), resetRelaxdata(), and SCIP_DECL_RELAXEXITSOL().

◆ maxmasterconss

int SCIP_RelaxData::maxmasterconss

length of the array mastercons

Definition at line 136 of file relax_gcg.c.

Referenced by ensureSizeMasterConss(), initRelaxProblemdata(), and SCIP_DECL_RELAXEXITSOL().

◆ nmasterconss

int SCIP_RelaxData::nmasterconss

◆ currentorigsol

SCIP_SOL* SCIP_RelaxData::currentorigsol

◆ origsolfeasible

SCIP_Bool SCIP_RelaxData::origsolfeasible

is the current lp solution primal feasible in the original space?

Definition at line 140 of file relax_gcg.c.

Referenced by freeCurrentOrigSol(), GCGrelaxEndProbing(), GCGrelaxIsOrigSolFeasible(), GCGrelaxStartProbing(), GCGrelaxUpdateCurrentSol(), initRelaxdata(), and resetRelaxdata().

◆ lastmasterlpiters

SCIP_Longint SCIP_RelaxData::lastmasterlpiters

number of lp iterations when currentorigsol was updated the last time

Definition at line 141 of file relax_gcg.c.

Referenced by GCGrelaxUpdateCurrentSol(), initRelaxdata(), and resetRelaxdata().

◆ lastmasternode

SCIP_Longint SCIP_RelaxData::lastmasternode

number of current node when currentorigsol was updated the last time

Definition at line 142 of file relax_gcg.c.

Referenced by GCGrelaxUpdateCurrentSol(), initRelaxdata(), and resetRelaxdata().

◆ lastmastersol

SCIP_SOL* SCIP_RelaxData::lastmastersol

last feasible master solution that was added to the original problem

Definition at line 143 of file relax_gcg.c.

Referenced by GCGrelaxEndProbing(), initRelaxdata(), relaxExecGcgDantzigWolfe(), resetRelaxdata(), and solveMasterProblemAndEvaluate().

◆ markedmasterconss

SCIP_CONS** SCIP_RelaxData::markedmasterconss

array of conss that are marked to be in the master

Definition at line 144 of file relax_gcg.c.

Referenced by initRelaxdata(), markConsMaster(), resetRelaxdata(), and SCIP_DECL_RELAXEXITSOL().

◆ nmarkedmasterconss

int SCIP_RelaxData::nmarkedmasterconss

number of elements in array of conss that are marked to be in the master

Definition at line 145 of file relax_gcg.c.

Referenced by markConsMaster().

◆ maxmarkedmasterconss

int SCIP_RelaxData::maxmarkedmasterconss

capacity of markedmasterconss

Definition at line 146 of file relax_gcg.c.

Referenced by initRelaxdata(), markConsMaster(), resetRelaxdata(), and SCIP_DECL_RELAXEXITSOL().

◆ lastsolvednodenr

SCIP_Longint SCIP_RelaxData::lastsolvednodenr

node number of the node that was solved at the last call of the relaxator

Definition at line 147 of file relax_gcg.c.

Referenced by initRelaxator(), initRelaxdata(), relaxExecGcgDantzigWolfe(), resetRelaxdata(), and solveMasterProblem().

◆ branchrules

GCG_BRANCHRULE** SCIP_RelaxData::branchrules

branching rules registered in the relaxator

Definition at line 150 of file relax_gcg.c.

Referenced by ensureSizeBranchrules(), GCGrelaxIncludeBranchrule(), initRelaxdata(), and SCIP_DECL_RELAXFREE().

◆ nbranchrules

int SCIP_RelaxData::nbranchrules

number of branching rules registered in the relaxator

Definition at line 151 of file relax_gcg.c.

Referenced by ensureSizeBranchrules(), GCGrelaxIncludeBranchrule(), initRelaxdata(), and SCIP_DECL_RELAXFREE().

◆ activebranchrules

GCG_BRANCHRULE** SCIP_RelaxData::activebranchrules

branching rules that created extended master conss (cache)

Definition at line 152 of file relax_gcg.c.

Referenced by addActiveBranchExtendedmastercons(), dropActiveBranchExtendedmastercons(), GCGrelaxBranchGetAllActiveExtendedMasterConss(), initRelaxdata(), and SCIP_DECL_RELAXEXITSOL().

◆ activebranchdata

GCG_BRANCHDATA** SCIP_RelaxData::activebranchdata

data represeting the branching decisions of the active nodes (cache)

Definition at line 153 of file relax_gcg.c.

Referenced by addActiveBranchExtendedmastercons(), dropActiveBranchExtendedmastercons(), GCGrelaxBranchGetAllActiveExtendedMasterConss(), initRelaxdata(), and SCIP_DECL_RELAXEXITSOL().

◆ activebranchextendedmasterconss

GCG_EXTENDEDMASTERCONSDATA** SCIP_RelaxData::activebranchextendedmasterconss

array of extended master conss that are active in the current node (cache)

Definition at line 154 of file relax_gcg.c.

Referenced by addActiveBranchExtendedmastercons(), dropActiveBranchExtendedmastercons(), GCGrelaxBranchGetAllActiveExtendedMasterConss(), initRelaxdata(), and SCIP_DECL_RELAXEXITSOL().

◆ nactivebranchextendedmasterconss

int SCIP_RelaxData::nactivebranchextendedmasterconss

number of extended master conss that are active in the current node

Definition at line 155 of file relax_gcg.c.

Referenced by addActiveBranchExtendedmastercons(), dropActiveBranchExtendedmastercons(), GCGrelaxBranchGetAllActiveExtendedMasterConss(), initRelaxdata(), and SCIP_DECL_RELAXEXITSOL().

◆ maxactivebranchextendedmasterconss

int SCIP_RelaxData::maxactivebranchextendedmasterconss

capacity of activebranchextendedmasterconss

Definition at line 156 of file relax_gcg.c.

Referenced by addActiveBranchExtendedmastercons(), initRelaxdata(), and SCIP_DECL_RELAXEXITSOL().

◆ discretization

SCIP_Bool SCIP_RelaxData::discretization

TRUE: use discretization approach; FALSE: use convexification approach

Definition at line 159 of file relax_gcg.c.

Referenced by checkIdenticalBlocks(), GCGincludeRelaxGcg(), initializeMasterProblemSolve(), and initRelaxator().

◆ mipdiscretization

SCIP_Bool SCIP_RelaxData::mipdiscretization

TRUE: use discretization approach in MIPs; FALSE: use convexification approach in MIPs

Definition at line 160 of file relax_gcg.c.

Referenced by GCGincludeRelaxGcg(), and initRelaxator().

◆ aggregation

SCIP_Bool SCIP_RelaxData::aggregation

should identical blocks be aggregated (only for discretization approach)?

Definition at line 161 of file relax_gcg.c.

Referenced by checkIdenticalBlocks(), and GCGincludeRelaxGcg().

◆ masterissetpart

SCIP_Bool SCIP_RelaxData::masterissetpart

is the master a set partitioning problem?

Definition at line 162 of file relax_gcg.c.

Referenced by checkSetppcStructure(), and GCGisMasterSetPartitioning().

◆ masterissetcover

SCIP_Bool SCIP_RelaxData::masterissetcover

is the master a set covering problem?

Definition at line 163 of file relax_gcg.c.

Referenced by checkSetppcStructure(), and GCGisMasterSetCovering().

◆ dispinfos

SCIP_Bool SCIP_RelaxData::dispinfos

should additional information be displayed?

Definition at line 164 of file relax_gcg.c.

Referenced by createMaster(), and GCGincludeRelaxGcg().

◆ mode

GCG_DECMODE SCIP_RelaxData::mode

◆ origverblevel

int SCIP_RelaxData::origverblevel

the verbosity level of the original problem

Definition at line 166 of file relax_gcg.c.

Referenced by GCGincludeRelaxGcg(), SCIP_DECL_RELAXINITSOL(), solveBlockProblem(), and solveMasterProblemAndEvaluate().

◆ usesymmetrylib

SCIP_Bool SCIP_RelaxData::usesymmetrylib

should symmetry detection lib be used to check for identical blocks?

Definition at line 167 of file relax_gcg.c.

Referenced by GCGincludeRelaxGcg().

◆ searchnodelimit

int SCIP_RelaxData::searchnodelimit

bliss search node limit (requires patched bliss version)

Definition at line 168 of file relax_gcg.c.

Referenced by GCGincludeRelaxGcg().

◆ generatorlimit

int SCIP_RelaxData::generatorlimit

bliss generator limit (requires patched bliss version)

Definition at line 169 of file relax_gcg.c.

Referenced by GCGincludeRelaxGcg().

◆ aggregationnconsslimit

int SCIP_RelaxData::aggregationnconsslimit

if this limit on the number of constraints of a block is exceeded the aggregation information for this block is not calculated

Definition at line 170 of file relax_gcg.c.

Referenced by GCGincludeRelaxGcg().

◆ aggregationnvarslimit

int SCIP_RelaxData::aggregationnvarslimit

if this limit on the number of variables of a block is exceeded the aggregation information for this block is not calculated

Definition at line 171 of file relax_gcg.c.

Referenced by GCGincludeRelaxGcg().

◆ masterinprobing

◆ probingheur

SCIP_HEUR* SCIP_RelaxData::probingheur

heuristic that started probing in master problem, or NULL

Definition at line 175 of file relax_gcg.c.

Referenced by GCGrelaxEndProbing(), GCGrelaxGetProbingheur(), GCGrelaxStartProbing(), initRelaxdata(), and resetRelaxdata().

◆ storedorigsol

SCIP_SOL* SCIP_RelaxData::storedorigsol

original solution that was stored before the probing

Definition at line 176 of file relax_gcg.c.

Referenced by GCGrelaxEndProbing(), GCGrelaxStartProbing(), initRelaxdata(), resetRelaxdata(), and SCIP_DECL_RELAXEXITSOL().

◆ storedfeasibility

SCIP_Bool SCIP_RelaxData::storedfeasibility

is the stored original solution feasible?

Definition at line 177 of file relax_gcg.c.

Referenced by GCGrelaxEndProbing(), GCGrelaxStartProbing(), initRelaxdata(), and resetRelaxdata().

◆ decomp

◆ relaxisinitialized

SCIP_Bool SCIP_RelaxData::relaxisinitialized

indicates whether the relaxator is initialized

Definition at line 181 of file relax_gcg.c.

Referenced by GCGrelaxIsInitialized(), initRelaxator(), initRelaxdata(), resetRelaxdata(), SCIP_DECL_RELAXEXIT(), and SCIP_DECL_RELAXEXITSOL().

◆ simplexiters

SCIP_Longint SCIP_RelaxData::simplexiters

cumulative simplex iterations

Definition at line 184 of file relax_gcg.c.

Referenced by initRelaxdata(), and resetRelaxdata().

◆ rootnodetime

SCIP_CLOCK* SCIP_RelaxData::rootnodetime

◆ paramsvisu

GCG_PARAMDATA* SCIP_RelaxData::paramsvisu

parameters for visualization

Definition at line 188 of file relax_gcg.c.

Referenced by GCGgetParamsVisu(), initRelaxdata(), and SCIP_DECL_RELAXFREE().

◆ limitsettingsstashed

SCIP_Bool SCIP_RelaxData::limitsettingsstashed

are limit settings currently stashed?

Definition at line 191 of file relax_gcg.c.

Referenced by GCGrestoreLimitSettings(), GCGstashLimitSettings(), initRelaxdata(), and SCIP_DECL_RELAXEXIT().

◆ stashednodelimit

SCIP_Longint SCIP_RelaxData::stashednodelimit

stashed node limit

Definition at line 192 of file relax_gcg.c.

Referenced by GCGrestoreLimitSettings(), and GCGstashLimitSettings().

◆ stashedstallnodelimit

SCIP_Longint SCIP_RelaxData::stashedstallnodelimit

stashed stalling node limit

Definition at line 193 of file relax_gcg.c.

Referenced by GCGrestoreLimitSettings(), and GCGstashLimitSettings().

◆ stashedgaplimit

SCIP_Real SCIP_RelaxData::stashedgaplimit

stashed gap limit

Definition at line 194 of file relax_gcg.c.

Referenced by GCGrestoreLimitSettings(), and GCGstashLimitSettings().

◆ stashedsollimit

int SCIP_RelaxData::stashedsollimit

stashed solution limit

Definition at line 195 of file relax_gcg.c.

Referenced by GCGrestoreLimitSettings(), and GCGstashLimitSettings().

◆ stashedtimelimit

SCIP_Real SCIP_RelaxData::stashedtimelimit

stashed time limit

Definition at line 196 of file relax_gcg.c.

Referenced by GCGrestoreLimitSettings(), and GCGstashLimitSettings().

◆ separators

GCG_SEPA** SCIP_RelaxData::separators

separators registered to the relaxator

Definition at line 199 of file relax_gcg.c.

Referenced by ensureSizeSeparators(), GCGrelaxIncludeSepa(), initRelaxdata(), and SCIP_DECL_RELAXFREE().

◆ nseparators

int SCIP_RelaxData::nseparators

number of separators registered to the relaxator

Definition at line 200 of file relax_gcg.c.

Referenced by ensureSizeSeparators(), GCGrelaxIncludeSepa(), initRelaxdata(), and SCIP_DECL_RELAXFREE().