Detailed Description
Constraints which have the same symbol are put into same class.
Definition in file clscons_gamssymbol.h.
Go to the source code of this file.
Functions | |
| SCIP_RETCODE | GCGconsClassifierGamssymbolAddEntry (GCG_CONSCLASSIFIER *classifier, SCIP_CONS *cons, int symbolIdx) |
| GCG_EXPORT SCIP_RETCODE | GCGincludeConsClassifierGamssymbol (GCG *gcg) |
Function Documentation
◆ GCGconsClassifierGamssymbolAddEntry()
| SCIP_RETCODE GCGconsClassifierGamssymbolAddEntry | ( | GCG_CONSCLASSIFIER * | classifier, |
| SCIP_CONS * | cons, | ||
| int | symbolIdx ) |
adds an entry to clsdata->constosymbol
Definition at line 200 of file clscons_gamssymbol.cpp.
References assert(), GCG_ClassifierData::constosymbol, GCGconsClassifierGamssymbolAddEntry(), and GCGconsClassifierGetData().
Referenced by GCGconsClassifierGamssymbolAddEntry().
◆ GCGincludeConsClassifierGamssymbol()
| GCG_EXPORT SCIP_RETCODE GCGincludeConsClassifierGamssymbol | ( | GCG * | gcg | ) |
creates the gamssymbol classifier and includes it in SCIP
creates the handler for gamssymbol classifier and includes it in SCIP
- Parameters
-
gcg GCG data structure
Definition at line 217 of file clscons_gamssymbol.cpp.
References assert(), classifierFree, CLSCONS_DESC, CLSCONS_ENABLED, CLSCONS_NAME, CLSCONS_PRIORITY, GCG_ClassifierData::constosymbol, GCGgetOrigprob(), GCGincludeConsClassifier(), GCGincludeConsClassifierGamssymbol(), origprob, and SCIP_CALL().
Referenced by GCGincludeConsClassifierGamssymbol(), and GCGincludeGcgPlugins().