clscons_scipconstypes.cpp
Go to the documentation of this file.
34/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
122 classifier = new gcg::ConsPartition(gcg, "constypes", (int) foundConstypes.size(), detprobdata->getNConss());
196 GCGincludeConsClassifier(gcg, CLSCONS_NAME, CLSCONS_DESC, CLSCONS_PRIORITY, CLSCONS_ENABLED, classifierdata,
class representing a partition of a set of constraints
class storing partialdecs and the problem matrix
Definition: class_conspartition.h:60
GCG_EXPORT void assignConsToClass(int consindex, int classindex)
Definition: class_conspartition.cpp:81
Definition: class_detprobdata.h:110
GCG_EXPORT int getNConss()
returns the number of variables considered in the detprobdata
Definition: class_detprobdata.cpp:850
GCG_EXPORT void addConsPartition(ConsPartition *partition)
adds a constraint partition if it is no duplicate of an existing constraint partition
Definition: class_detprobdata.cpp:553
GCG_EXPORT SCIP_CONS * getCons(int consIndex)
returns the SCIP constraint related to a constraint index
Definition: class_detprobdata.cpp:746
GCG_EXPORT int getNClasses()
Definition: class_indexpartition.cpp:241
GCG_EXPORT const char * getName()
Definition: class_indexpartition.cpp:234
GCG_EXPORT void setClassDescription(int classindex, const char *desc)
Definition: class_indexpartition.cpp:366
GCG_EXPORT void setClassName(int classindex, const char *name)
Definition: class_indexpartition.cpp:374
static GCG_DECL_CONSCLASSIFY(classifierClassify)
Definition: clscons_scipconstypes.cpp:81
SCIP_RETCODE GCGincludeConsClassifierScipConstypes(GCG *gcg)
Definition: clscons_scipconstypes.cpp:189
classifies constraints according to their scip constypes
DETPROBDATA * GCGconshdlrDecompGetDetprobdataPresolved(GCG *gcg)
help method to access detprobdata for transformed problem
Definition: cons_decomp.cpp:3976
DETPROBDATA * GCGconshdlrDecompGetDetprobdataOrig(GCG *gcg)
help method to access detprobdata for unpresolved problem
Definition: cons_decomp.cpp:3962
SCIP_RETCODE GCGincludeConsClassifier(GCG *gcg, const char *name, const char *description, int priority, SCIP_Bool enabled, GCG_CLASSIFIERDATA *classifierdata, GCG_DECL_FREECONSCLASSIFIER((*freeClassifier)),)
Definition: cons_decomp.cpp:2494
constraint handler for structure detection
C++ interface of cons_decomp.
#define SCIP_CALL(x)
void SCIPverbMessage(SCIP *scip, SCIP_VERBLEVEL msgverblevel, FILE *file, const char *formatstr,...)
#define NULL
Definition: class_conspartition.cpp:44
various SCIP helper methods
Definition: struct_gcg.h:55
SCIP_VERBLEVEL_HIGH
SCIP_OKAY
enum SCIP_Retcode SCIP_RETCODE