Detailed Description
classifies constraints according to their scip constypes
Definition in file clscons_scipconstypes.cpp.
#include "clscons_scipconstypes.h"#include "cons_decomp.h"#include "cons_decomp.hpp"#include <vector>#include <stdio.h>#include <sstream>#include "class_detprobdata.h"#include "class_conspartition.h"#include "scip_misc.h"Go to the source code of this file.
Data Structures | |
| struct | DEC_ClassifierData |
Macros | |
| #define | DEC_CLASSIFIERNAME "scipconstype" |
| #define | DEC_DESC "scip constypes" |
| #define | DEC_PRIORITY 0 |
| #define | DEC_ENABLED TRUE |
| #define | classifierFree NULL |
Functions | |
| static | DEC_DECL_CONSCLASSIFY (classifierClassify) |
| SCIP_RETCODE | SCIPincludeConsClassifierScipConstypes (SCIP *scip) |
Macro Definition Documentation
◆ DEC_CLASSIFIERNAME
| #define DEC_CLASSIFIERNAME "scipconstype" |
name of classifier
Definition at line 49 of file clscons_scipconstypes.cpp.
◆ DEC_DESC
| #define DEC_DESC "scip constypes" |
short description of classification
Definition at line 50 of file clscons_scipconstypes.cpp.
◆ DEC_PRIORITY
| #define DEC_PRIORITY 0 |
Definition at line 51 of file clscons_scipconstypes.cpp.
◆ DEC_ENABLED
| #define DEC_ENABLED TRUE |
Definition at line 53 of file clscons_scipconstypes.cpp.
◆ classifierFree
| #define classifierFree NULL |
destructor of classifier to free user data (called when GCG is exiting)
Definition at line 78 of file clscons_scipconstypes.cpp.
Function Documentation
◆ DEC_DECL_CONSCLASSIFY()
|
static |
Definition at line 81 of file clscons_scipconstypes.cpp.
References gcg::DETPROBDATA::addConsPartition(), gcg::ConsPartition::assignConsToClass(), GCGconsGetType(), GCGconshdlrDecompGetDetprobdataOrig(), GCGconshdlrDecompGetDetprobdataPresolved(), gcg::DETPROBDATA::getCons(), gcg::IndexPartition::getName(), gcg::IndexPartition::getNClasses(), gcg::ConsPartition::getNConss(), gcg::DETPROBDATA::getNConss(), knapsack, linear, logicor, nconsTypeItems, gcg::IndexPartition::setClassDescription(), gcg::IndexPartition::setClassName(), setcovering, setpacking, setpartitioning, sos1, sos2, unknown, and varbound.
◆ SCIPincludeConsClassifierScipConstypes()
| SCIP_RETCODE SCIPincludeConsClassifierScipConstypes | ( | SCIP * | scip | ) |
creates the handler for XYZ classifier and includes it in SCIP
- Parameters
-
scip SCIP data structure
Definition at line 188 of file clscons_scipconstypes.cpp.
References classifierFree, DEC_CLASSIFIERNAME, DEC_DESC, DEC_ENABLED, DEC_PRIORITY, and DECincludeConsClassifier().
Referenced by SCIPincludeGcgPlugins().
