Scippy

GCG

Branch-and-Price & Column Generation for Everyone

SCIP_ConsData Struct Reference

Detailed Description

constraint data for masterbranch constraints

constraint data for branch orig constraints

Definition at line 74 of file cons_masterbranch.c.

Data Fields

char * name
 
int npropvars
 
SCIP_Bool needprop
 
SCIP_NODE * node
 
int nactivated
 
SCIP_CONS * parentcons
 
SCIP_CONS ** childconss
 
int nchildconss
 
int maxchildconss
 
SCIP_CONS * probingtmpcons
 
SCIP_CONS * origcons
 
GCG_BRANCHDATA * branchdata
 
GCG_BRANCHRULE * branchrule
 
GCG_VARHISTORY * knownvarhistory
 
SCIP_VAR ** localbndvars
 
SCIP_BOUNDTYPE * localbndtypes
 
SCIP_Real * localnewbnds
 
SCIP_Real * localoldbnds
 
int * nlocalbndchgstreated
 
int maxlocalbndchgstreated
 
int nlocalbndchgs
 
int maxlocalbndchgs
 
int nbranchingchgs
 
SCIP_VAR ** copiedvars
 
GCG_BOUNDTYPE * copiedvarbndtypes
 
SCIP_Real * copiedvarbnds
 
int ncopiedvarbnds
 
int maxcopiedvarbnds
 
SCIP_CONS ** origbranchconss
 
int norigbranchconss
 
int maxorigbranchconss
 
GCG_EXTENDEDMASTERCONSDATA ** addedcuts
 
int naddedcuts
 
int firstnewcut
 
SCIP_Bool addedcutsinit
 
SCIP_Bool nodestoredcuts
 
SCIP_CONS * mastercons
 

Field Documentation

◆ name

char* SCIP_ConsData::name

◆ npropvars

int SCIP_ConsData::npropvars

number of variables that existed the last time the related node was propagated, used to determine whether the constraint should be repropagated

Definition at line 77 of file cons_masterbranch.c.

Referenced by applyLocalBndchgsToPricedMastervars(), GCGcreateConsMasterbranch(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSDEACTIVE(), and SCIP_DECL_CONSPROP().

◆ needprop

SCIP_Bool SCIP_ConsData::needprop

should the constraint be propagated?

Definition at line 79 of file cons_masterbranch.c.

Referenced by GCGcreateConsMasterbranch(), initializeConsdata(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSDEACTIVE(), and SCIP_DECL_CONSPROP().

◆ node

◆ nactivated

int SCIP_ConsData::nactivated

number of times the constraint has been activated so far

Definition at line 81 of file cons_masterbranch.c.

Referenced by GCGcreateConsMasterbranch(), resetPricingVarBound(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSDEACTIVE(), and tightenPricingVarBound().

◆ parentcons

◆ childconss

◆ nchildconss

◆ maxchildconss

int SCIP_ConsData::maxchildconss

capacity of childconss array

capacity of childconss

Definition at line 86 of file cons_masterbranch.c.

Referenced by GCGcreateConsMasterbranch(), and GCGcreateConsOrigbranch().

◆ probingtmpcons

SCIP_CONS * SCIP_ConsData::probingtmpcons

pointer to save the last child in the childconss array if it is overwritten in probing mode

Definition at line 87 of file cons_masterbranch.c.

Referenced by GCGconsMasterbranchCheckConsistency(), GCGconsOrigbranchCheckConsistency(), GCGcreateConsMasterbranch(), GCGcreateConsOrigbranch(), and SCIP_DECL_CONSDELETE().

◆ origcons

SCIP_CONS* SCIP_ConsData::origcons

the corresponding origbranch cons in the original program

Definition at line 88 of file cons_masterbranch.c.

Referenced by GCGconsMasterbranchCheckConsistency(), GCGconsMasterbranchGetOrigcons(), GCGconsMasterbranchSetOrigcons(), GCGcreateConsMasterbranch(), and initializeConsdata().

◆ branchdata

GCG_BRANCHDATA * SCIP_ConsData::branchdata

branching data stored by the branching rule at the corresponding origcons constraint containing information about the branching restrictions

branching data stored by the branching rule containing information about the branching restrictions

Definition at line 90 of file cons_masterbranch.c.

Referenced by forwardUpdateSeenHistory(), GCGconsMasterbranchGetBranchdata(), GCGconsMasterbranchSetBranchdata(), GCGconsOrigbranchGetBranchdata(), GCGconsOrigbranchSetBranchdata(), GCGcreateConsMasterbranch(), GCGcreateConsOrigbranch(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSDEACTIVE(), and SCIP_DECL_CONSPROP().

◆ branchrule

GCG_BRANCHRULE * SCIP_ConsData::branchrule

branching rule that created the corresponding node in the original problem and imposed branching restrictions

branching rule that created the corresponding node and imposed branching restrictions

Definition at line 92 of file cons_masterbranch.c.

Referenced by forwardUpdateSeenHistory(), GCGconsMasterbranchGetBranchrule(), GCGconsOrigbranchGetBranchrule(), GCGcreateConsMasterbranch(), GCGcreateConsOrigbranch(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSDEACTIVE(), and SCIP_DECL_CONSPROP().

◆ knownvarhistory

GCG_VARHISTORY* SCIP_ConsData::knownvarhistory

pointer to the history of priced variables

Definition at line 96 of file cons_masterbranch.c.

Referenced by forwardUpdateSeenHistory(), GCGcreateConsMasterbranch(), SCIP_DECL_CONSACTIVE(), and SCIP_DECL_CONSDEACTIVE().

◆ localbndvars

◆ localbndtypes

◆ localnewbnds

◆ localoldbnds

SCIP_Real* SCIP_ConsData::localoldbnds

old bounds for the bound changes stored at the current node

Definition at line 102 of file cons_masterbranch.c.

Referenced by GCGcreateConsMasterbranch(), initializeConsdata(), resetPricingVarBound(), and tightenPricingVarBound().

◆ nlocalbndchgstreated

int* SCIP_ConsData::nlocalbndchgstreated

number of bound changes of the nodes on the way from the current node to the root node that have been treated so far

Definition at line 104 of file cons_masterbranch.c.

Referenced by GCGcreateConsMasterbranch(), initializeConsdata(), and SCIP_DECL_CONSACTIVE().

◆ maxlocalbndchgstreated

int SCIP_ConsData::maxlocalbndchgstreated

capacity of nlocalbndchgstreated

Definition at line 106 of file cons_masterbranch.c.

Referenced by GCGcreateConsMasterbranch(), and initializeConsdata().

◆ nlocalbndchgs

◆ maxlocalbndchgs

int SCIP_ConsData::maxlocalbndchgs

capacity of corresponding arrays

Definition at line 108 of file cons_masterbranch.c.

Referenced by GCGcreateConsMasterbranch(), and initializeConsdata().

◆ nbranchingchgs

int SCIP_ConsData::nbranchingchgs

number of bound changes due to branching (<= nlocalbndchgs)

Definition at line 109 of file cons_masterbranch.c.

Referenced by applyLocalBndchgsToPricedMastervars(), GCGcreateConsMasterbranch(), and initializeConsdata().

◆ copiedvars

SCIP_VAR** SCIP_ConsData::copiedvars

original variables on which local bounds were changed

Definition at line 112 of file cons_masterbranch.c.

Referenced by GCGconsMasterbranchAddCopiedVarBndchg(), and GCGcreateConsMasterbranch().

◆ copiedvarbndtypes

GCG_BOUNDTYPE* SCIP_ConsData::copiedvarbndtypes

types of the new local bounds of the coped original variables

Definition at line 113 of file cons_masterbranch.c.

Referenced by GCGconsMasterbranchAddCopiedVarBndchg(), and GCGcreateConsMasterbranch().

◆ copiedvarbnds

SCIP_Real* SCIP_ConsData::copiedvarbnds

new lower/upper bounds of the coped original variables

Definition at line 114 of file cons_masterbranch.c.

Referenced by GCGconsMasterbranchAddCopiedVarBndchg(), and GCGcreateConsMasterbranch().

◆ ncopiedvarbnds

int SCIP_ConsData::ncopiedvarbnds

number of new local bounds stored

Definition at line 115 of file cons_masterbranch.c.

Referenced by GCGconsMasterbranchAddCopiedVarBndchg(), GCGcreateConsMasterbranch(), SCIP_DECL_CONSACTIVE(), and SCIP_DECL_CONSPROP().

◆ maxcopiedvarbnds

int SCIP_ConsData::maxcopiedvarbnds

size of copiedvars, copiedvarbndtypes, and copiedvarbnds arrays

Definition at line 116 of file cons_masterbranch.c.

Referenced by GCGconsMasterbranchAddCopiedVarBndchg(), and GCGcreateConsMasterbranch().

◆ origbranchconss

SCIP_CONS** SCIP_ConsData::origbranchconss

constraints in the original problem that enforce the branching decision

Definition at line 119 of file cons_masterbranch.c.

Referenced by GCGconsMasterbranchGetOrigbranchConss(), GCGconsMasterbranchReleaseOrigbranchConss(), and GCGcreateConsMasterbranch().

◆ norigbranchconss

int SCIP_ConsData::norigbranchconss

number of constraints in the original problem that enforce the branching decision

Definition at line 120 of file cons_masterbranch.c.

Referenced by GCGconsMasterbranchGetNOrigbranchConss(), GCGconsMasterbranchReleaseOrigbranchConss(), and GCGcreateConsMasterbranch().

◆ maxorigbranchconss

int SCIP_ConsData::maxorigbranchconss

capacity of origbranchconss array

Definition at line 121 of file cons_masterbranch.c.

Referenced by GCGconsMasterbranchReleaseOrigbranchConss(), and GCGcreateConsMasterbranch().

◆ addedcuts

GCG_EXTENDEDMASTERCONSDATA** SCIP_ConsData::addedcuts

master separator cuts which were created in the node defined by this branch

Definition at line 124 of file cons_masterbranch.c.

Referenced by addStoredCutsToActiveCuts(), GCGcreateConsMasterbranch(), initializeAddedCuts(), and SCIP_DECL_CONSEXITSOL().

◆ naddedcuts

int SCIP_ConsData::naddedcuts

number of master separator cuts which were added in this node

Definition at line 125 of file cons_masterbranch.c.

Referenced by addStoredCutsToActiveCuts(), GCGcreateConsMasterbranch(), initializeAddedCuts(), and SCIP_DECL_CONSEXITSOL().

◆ firstnewcut

int SCIP_ConsData::firstnewcut

◆ addedcutsinit

SCIP_Bool SCIP_ConsData::addedcutsinit

◆ nodestoredcuts

SCIP_Bool SCIP_ConsData::nodestoredcuts

indicates if any cuts were stored at this node

Definition at line 128 of file cons_masterbranch.c.

Referenced by addStoredCutsToActiveCuts(), GCGcreateConsMasterbranch(), initializeAddedCuts(), and SCIP_DECL_CONSEXITSOL().

◆ mastercons

SCIP_CONS* SCIP_ConsData::mastercons

the masterbranch constraint of the corresponding node in the master program

Definition at line 81 of file cons_origbranch.c.

Referenced by GCGconsOrigbranchCheckConsistency(), GCGconsOrigbranchGetMastercons(), GCGconsOrigbranchSetMastercons(), and GCGcreateConsOrigbranch().