Detailed Description
classifies constraints according to their miplib constypes
Definition in file clscons_miplibconstypes.cpp.
#include "clscons_miplibconstypes.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 "miplibconstype" |
#define | DEC_DESC "miplib constypes" |
#define | DEC_PRIORITY 0 |
#define | DEC_ENABLED TRUE |
#define | classifierFree NULL |
Functions | |
static | DEC_DECL_CONSCLASSIFY (classifierClassify) |
SCIP_RETCODE | SCIPincludeConsClassifierMiplibConstypes (SCIP *scip) |
Macro Definition Documentation
◆ DEC_CLASSIFIERNAME
#define DEC_CLASSIFIERNAME "miplibconstype" |
name of classifier
Definition at line 48 of file clscons_miplibconstypes.cpp.
◆ DEC_DESC
#define DEC_DESC "miplib constypes" |
short description of classification
Definition at line 49 of file clscons_miplibconstypes.cpp.
◆ DEC_PRIORITY
#define DEC_PRIORITY 0 |
Definition at line 50 of file clscons_miplibconstypes.cpp.
◆ DEC_ENABLED
#define DEC_ENABLED TRUE |
Definition at line 52 of file clscons_miplibconstypes.cpp.
◆ classifierFree
#define classifierFree NULL |
destructor of classifier to free user data (called when GCG is exiting)
Definition at line 77 of file clscons_miplibconstypes.cpp.
Function Documentation
◆ DEC_DECL_CONSCLASSIFY()
|
static |
Definition at line 80 of file clscons_miplibconstypes.cpp.
References gcg::DETPROBDATA::addConsPartition(), gcg::ConsPartition::assignConsToClass(), GCGconsGetLhs(), GCGconsGetNVars(), GCGconsGetRhs(), GCGconsGetVals(), GCGconsGetVars(), GCGconshdlrDecompGetDetprobdataOrig(), GCGconshdlrDecompGetDetprobdataPresolved(), gcg::DETPROBDATA::getCons(), gcg::IndexPartition::getName(), gcg::IndexPartition::getNClasses(), gcg::ConsPartition::getNConss(), gcg::DETPROBDATA::getNConss(), gcg::DETPROBDATA::isFiniteNonnegativeIntegral(), gcg::DETPROBDATA::isRangedRow(), gcg::IndexPartition::removeEmptyClasses(), SCIP_CONSTYPE_AGGREGATION, SCIP_CONSTYPE_BINPACKING, SCIP_CONSTYPE_CARDINALITY, SCIP_CONSTYPE_EMPTY, SCIP_CONSTYPE_EQKNAPSACK, SCIP_CONSTYPE_FREE, SCIP_CONSTYPE_GENERAL, SCIP_CONSTYPE_INTKNAPSACK, SCIP_CONSTYPE_INVKNAPSACK, SCIP_CONSTYPE_KNAPSACK, SCIP_CONSTYPE_MIXEDBINARY, SCIP_CONSTYPE_SETCOVERING, SCIP_CONSTYPE_SETPACKING, SCIP_CONSTYPE_SETPARTITION, SCIP_CONSTYPE_SINGLETON, SCIP_CONSTYPE_VARBOUND, gcg::IndexPartition::setClassDescription(), and gcg::IndexPartition::setClassName().
◆ SCIPincludeConsClassifierMiplibConstypes()
SCIP_RETCODE SCIPincludeConsClassifierMiplibConstypes | ( | SCIP * | scip | ) |
creates the miplibconstypes classifier and includes it in SCIP
- Parameters
-
scip SCIP data structure
Definition at line 518 of file clscons_miplibconstypes.cpp.
References classifierFree, DEC_CLASSIFIERNAME, DEC_DESC, DEC_ENABLED, DEC_PRIORITY, and DECincludeConsClassifier().
Referenced by SCIPincludeGcgPlugins().