Detailed Description
classifies variables according to their objective function values
Definition in file clsvar_objvalues.cpp.
#include "gcg/clsvar_objvalues.h"#include "gcg/cons_decomp.h"#include "gcg/cons_decomp.hpp"#include <vector>#include <stdio.h>#include <sstream>#include <iomanip>#include "gcg/class_detprobdata.h"#include "gcg/class_varpartition.h"#include "gcg/scip_misc.h"Go to the source code of this file.
Data Structures | |
| struct | GCG_ClassifierData |
Macros | |
| #define | CLSVAR_NAME "objectivevalues" |
| #define | CLSVAR_DESC "objective function values" |
| #define | CLSVAR_PRIORITY 0 |
| #define | CLSVAR_ENABLED TRUE |
| #define | classifierFree NULL |
Functions | |
| static | GCG_DECL_VARCLASSIFY (classifierClassify) |
| SCIP_RETCODE | GCGincludeVarClassifierObjValues (GCG *gcg) |
Macro Definition Documentation
◆ CLSVAR_NAME
| #define CLSVAR_NAME "objectivevalues" |
name of classifier
Definition at line 50 of file clsvar_objvalues.cpp.
◆ CLSVAR_DESC
| #define CLSVAR_DESC "objective function values" |
short description of classification
Definition at line 51 of file clsvar_objvalues.cpp.
◆ CLSVAR_PRIORITY
| #define CLSVAR_PRIORITY 0 |
Definition at line 52 of file clsvar_objvalues.cpp.
◆ CLSVAR_ENABLED
| #define CLSVAR_ENABLED TRUE |
Definition at line 54 of file clsvar_objvalues.cpp.
◆ classifierFree
| #define classifierFree NULL |
destructor of classifier to free user data (called when GCG is exiting)
Definition at line 79 of file clsvar_objvalues.cpp.
Function Documentation
◆ GCG_DECL_VARCLASSIFY()
|
static |
Definition at line 82 of file clsvar_objvalues.cpp.
References gcg::DETPROBDATA::addVarPartition(), assert(), gcg::VarPartition::assignVarToClass(), c, GCG_DECL_VARCLASSIFY, GCGconshdlrDecompGetDetprobdataOrig(), GCGconshdlrDecompGetDetprobdataPresolved(), GCGgetOrigprob(), gcg::IndexPartition::getName(), gcg::IndexPartition::getNClasses(), gcg::DETPROBDATA::getNVars(), gcg::VarPartition::getNVars(), gcg::DETPROBDATA::getVar(), origprob, gcg::IndexPartition::setClassDescription(), and gcg::IndexPartition::setClassName().
◆ GCGincludeVarClassifierObjValues()
| SCIP_RETCODE GCGincludeVarClassifierObjValues | ( | GCG * | gcg | ) |
- Parameters
-
gcg GCG data structure
Definition at line 162 of file clsvar_objvalues.cpp.
References classifierFree, CLSVAR_DESC, CLSVAR_ENABLED, CLSVAR_NAME, CLSVAR_PRIORITY, GCGincludeVarClassifier(), GCGincludeVarClassifierObjValues(), and SCIP_CALL().
Referenced by GCGincludeGcgPlugins(), and GCGincludeVarClassifierObjValues().