Scippy

GCG

Branch-and-Price & Column Generation for Everyone

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 "type_varclassifier.h"

Go to the source code of this file.

Functions

SCIP_RETCODE DECvarClassifierGamssymbolAddEntry (DEC_VARCLASSIFIER *classifier, SCIP_VAR *var, int symbolIdx)
 
SCIP_RETCODE SCIPincludeVarClassifierGamssymbol (SCIP *scip)
 

Function Documentation

◆ DECvarClassifierGamssymbolAddEntry()

SCIP_RETCODE DECvarClassifierGamssymbolAddEntry ( DEC_VARCLASSIFIER classifier,
SCIP_VAR *  var,
int  symbolIdx 
)

adds an entry to clsdata->vartosymbol

Definition at line 194 of file clsvar_gamssymbol.cpp.

References DECvarClassifierGetData(), and DEC_ClassifierData::vartosymbol.

◆ SCIPincludeVarClassifierGamssymbol()

SCIP_RETCODE SCIPincludeVarClassifierGamssymbol ( SCIP *  scip)

creates the gamssymbol classifier and includes it in SCIP

creates the handler for gamssymbol classifier and includes it in SCIP

Definition at line 215 of file clsvar_gamssymbol.cpp.

References classifierFree, DEC_CLASSIFIERNAME, DEC_DESC, DEC_ENABLED, DEC_PRIORITY, DECincludeVarClassifier(), and DEC_ClassifierData::vartosymbol.

Referenced by SCIPincludeGcgPlugins().