Detailed Description
constraint handler for the integrality constraint
Definition in file cons_integralorig.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
-
gcg GCG 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 | ||
| ) |
insert branchrule in constraint handler data
Definition at line 69 of file cons_integralorig.c.
References SCIP_ConshdlrData::branchrules, CONSHDLR_NAME, GCGgetMasterprob(), SCIP_ConshdlrData::nbranchrules, NULL, SCIP_CALL, SCIP_OKAY, SCIPallocMemoryArray, SCIPconshdlrGetData(), SCIPfindConshdlr(), and SCIPreallocMemoryArray.
Referenced by GCGrelaxIncludeBranchrule().