Scippy

GCG

Branch-and-Price & Column Generation for Everyone

cons_integralorig.h File Reference

Detailed Description

constraint handler for the integrality constraint

Author
Gerald Gamrath

Definition in file cons_integralorig.h.

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

Go to the source code of this file.

Functions

GCG_EXPORT SCIP_RETCODE GCGincludeConshdlrIntegralOrig (GCG *gcg)
 
GCG_EXPORT SCIP_RETCODE GCGconsIntegralorigAddBranchrule (GCG *gcg, SCIP_BRANCHRULE *branchrule)
 

Function Documentation

◆ GCGincludeConshdlrIntegralOrig()

GCG_EXPORT SCIP_RETCODE GCGincludeConshdlrIntegralOrig ( GCG *  gcg)

creates the handler for the integrality constraint and includes it in SCIP

creates the handler for integrality constraint and includes it in SCIP

Parameters
gcgGCG data structure

Definition at line 387 of file cons_integralorig.c.

References SCIP_ConshdlrData::branchrules, CONSHDLR_CHECKPRIORITY, CONSHDLR_DESC, CONSHDLR_EAGERFREQ, CONSHDLR_ENFOPRIORITY, CONSHDLR_NAME, CONSHDLR_NEEDSCONS, SCIP_ConshdlrData::gcg, GCGgetMasterprob(), SCIP_ConshdlrData::nbranchrules, NULL, SCIP_CALL, SCIP_OKAY, SCIPallocMemory, SCIPincludeConshdlrBasic(), and SCIPsetConshdlrFree().

Referenced by GCGincludeMasterPlugins().

◆ GCGconsIntegralorigAddBranchrule()

GCG_EXPORT SCIP_RETCODE GCGconsIntegralorigAddBranchrule ( GCG *  gcg,
SCIP_BRANCHRULE *  branchrule 
)