GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
clscons_gamsdomain.h File Reference

Detailed Description

Classifies by domains from which constraints are created TODO: what is together in one class?

Author
Stefanie Koß

Definition in file clscons_gamsdomain.h.

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

Go to the source code of this file.

Functions

SCIP_RETCODE GCGconsClassifierGamsdomainAddEntry (GCG_CONSCLASSIFIER *classifier, SCIP_CONS *cons, int symDomIdx[], int *symDim)
GCG_EXPORT SCIP_RETCODE GCGincludeConsClassifierGamsdomain (GCG *gcg)

Function Documentation

◆ GCGconsClassifierGamsdomainAddEntry()

SCIP_RETCODE GCGconsClassifierGamsdomainAddEntry ( GCG_CONSCLASSIFIER * classifier,
SCIP_CONS * cons,
int symDomIdx[],
int * symDim )

adds an entry to clsdata->constodomain

Definition at line 203 of file clscons_gamsdomain.cpp.

References assert(), GCG_ClassifierData::constodomain, GCGconsClassifierGamsdomainAddEntry(), GCGconsClassifierGetData(), and i.

Referenced by GCGconsClassifierGamsdomainAddEntry().

◆ GCGincludeConsClassifierGamsdomain()

GCG_EXPORT SCIP_RETCODE GCGincludeConsClassifierGamsdomain ( GCG * gcg)

creates the gamsdomain classifier and includes it in SCIP

creates the handler for gamsdomain classifier and includes it in SCIP

Parameters
gcgGCG data structure

Definition at line 226 of file clscons_gamsdomain.cpp.

References assert(), classifierFree, CLSCONS_DESC, CLSCONS_ENABLED, CLSCONS_NAME, CLSCONS_PRIORITY, GCG_ClassifierData::constodomain, GCGincludeConsClassifier(), GCGincludeConsClassifierGamsdomain(), origprob, and SCIP_CALL().

Referenced by GCGincludeConsClassifierGamsdomain(), and GCGincludeGcgPlugins().