Scippy

GCG

Branch-and-Price & Column Generation for Everyone

Detailed Description

branching rule based on vanderbeck's generic branching scheme

Author
Marcel Schmickerath

Definition in file branch_generic.h.

#include "scip/scip.h"
#include "gcg/gcg.h"

Go to the source code of this file.

Data Structures

struct  ComponentBoundSequence
 
struct  GCG_Strip
 

Typedefs

typedef struct ComponentBoundSequence GCG_COMPSEQUENCE
 
typedef struct GCG_Strip GCG_STRIP
 

Enumerations

enum  GCG_COMPSENSE {
  GCG_COMPSENSE_GE = 1 ,
  GCG_COMPSENSE_LT = 0
}
 

Functions

GCG_EXPORT SCIP_RETCODE GCGincludeBranchruleGeneric (GCG *gcg)
 
GCG_COMPSEQUENCE * GCGbranchGenericBranchdataGetConsS (GCG_BRANCHDATA *branchdata)
 
int GCGbranchGenericBranchdataGetConsSsize (GCG_BRANCHDATA *branchdata)
 
int GCGbranchGenericBranchdataGetConsblocknr (GCG_BRANCHDATA *branchdata)
 
SCIP_CONS * GCGbranchGenericBranchdataGetMastercons (GCG_BRANCHDATA *branchdata)
 
SCIP_Bool GCGisBranchruleGeneric (GCG_BRANCHRULE *branchrule)
 

Typedef Documentation

◆ GCG_COMPSEQUENCE

Definition at line 60 of file branch_generic.h.

◆ GCG_STRIP

typedef struct GCG_Strip GCG_STRIP

Definition at line 71 of file branch_generic.h.

Enumeration Type Documentation

◆ GCG_COMPSENSE

Enumerator
GCG_COMPSENSE_GE 
GCG_COMPSENSE_LT 

Definition at line 48 of file branch_generic.h.

Function Documentation

◆ GCGincludeBranchruleGeneric()

◆ GCGbranchGenericBranchdataGetConsS()

GCG_COMPSEQUENCE * GCGbranchGenericBranchdataGetConsS ( GCG_BRANCHDATA *  branchdata)

get component bound sequence

Parameters
branchdatabranching data

Definition at line 3049 of file branch_generic.c.

References GCG_BranchData::consS, and NULL.

Referenced by getColCoefficient(), and SCIP_DECL_EVENTEXEC().

◆ GCGbranchGenericBranchdataGetConsSsize()

int GCGbranchGenericBranchdataGetConsSsize ( GCG_BRANCHDATA *  branchdata)

get size of component bound sequence

Parameters
branchdatabranching data

Definition at line 3058 of file branch_generic.c.

References GCG_BranchData::consSsize, and NULL.

Referenced by getColCoefficient(), and SCIP_DECL_EVENTEXEC().

◆ GCGbranchGenericBranchdataGetConsblocknr()

int GCGbranchGenericBranchdataGetConsblocknr ( GCG_BRANCHDATA *  branchdata)

get id of pricing problem (or block) to which the constraint belongs

Parameters
branchdatabranching data

Definition at line 3067 of file branch_generic.c.

References GCG_BranchData::consblocknr, and NULL.

Referenced by getColCoefficient(), and SCIP_DECL_EVENTEXEC().

◆ GCGbranchGenericBranchdataGetMastercons()

SCIP_CONS * GCGbranchGenericBranchdataGetMastercons ( GCG_BRANCHDATA *  branchdata)

get master constraint

Parameters
branchdatabranching data

Definition at line 3076 of file branch_generic.c.

References GCG_BranchData::mastercons, and NULL.

Referenced by addVarToMasterbranch().

◆ GCGisBranchruleGeneric()

SCIP_Bool GCGisBranchruleGeneric ( GCG_BRANCHRULE *  branchrule)

returns true when the branch rule is the generic branchrule

Parameters
branchrulebranchrule to check

Definition at line 3085 of file branch_generic.c.

References BRANCHRULE_NAME, GCGbranchGetScipBranchrule(), NULL, SCIP_Bool, and SCIPbranchruleGetName().

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