GCG 4.1.1 (dev)

Generic Column Generation

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

Detailed Description

variables which have the same symbol are put into same class

Author
Stefanie Koß

Definition in file clsvar_gamssymbol.h.

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

Go to the source code of this file.

Functions

SCIP_RETCODE GCGvarClassifierGamssymbolAddEntry (GCG_VARCLASSIFIER *classifier, SCIP_VAR *var, int symbolIdx)
GCG_EXPORT SCIP_RETCODE GCGincludeVarClassifierGamssymbol (GCG *gcg)

Function Documentation

◆ GCGvarClassifierGamssymbolAddEntry()

SCIP_RETCODE GCGvarClassifierGamssymbolAddEntry ( GCG_VARCLASSIFIER * classifier,
SCIP_VAR * var,
int symbolIdx )

adds an entry to clsdata->vartosymbol

Definition at line 194 of file clsvar_gamssymbol.cpp.

References assert(), GCGvarClassifierGamssymbolAddEntry(), GCGvarClassifierGetData(), var, and GCG_ClassifierData::vartosymbol.

Referenced by GCGvarClassifierGamssymbolAddEntry().

◆ GCGincludeVarClassifierGamssymbol()

GCG_EXPORT SCIP_RETCODE GCGincludeVarClassifierGamssymbol ( GCG * gcg)

creates the gamssymbol classifier and includes it in SCIP

creates the handler for gamssymbol classifier and includes it in SCIP

Parameters
gcgGCG data structure

Definition at line 215 of file clsvar_gamssymbol.cpp.

References assert(), classifierFree, CLSVAR_DESC, CLSVAR_ENABLED, CLSVAR_NAME, CLSVAR_PRIORITY, GCGgetOrigprob(), GCGincludeVarClassifier(), GCGincludeVarClassifierGamssymbol(), SCIP_CALL(), and GCG_ClassifierData::vartosymbol.

Referenced by GCGincludeGcgPlugins(), and GCGincludeVarClassifierGamssymbol().