GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches

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

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 assert(), GCG_BranchData::consS, and GCGbranchGenericBranchdataGetConsS().

Referenced by GCGbranchGenericBranchdataGetConsS(), 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 assert(), GCG_BranchData::consSsize, and GCGbranchGenericBranchdataGetConsSsize().

Referenced by GCGbranchGenericBranchdataGetConsSsize(), 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 assert(), GCG_BranchData::consblocknr, and GCGbranchGenericBranchdataGetConsblocknr().

Referenced by GCGbranchGenericBranchdataGetConsblocknr(), 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 assert(), GCGbranchGenericBranchdataGetMastercons(), and GCG_BranchData::mastercons.

Referenced by addVarToMasterbranch(), and GCGbranchGenericBranchdataGetMastercons().

◆ 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(), and GCGisBranchruleGeneric().

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