type_consclassifier.h File Reference
Detailed Description
type definitions for constraints classifier in GCG projects
Definition in file type_consclassifier.h.
#include <scip/def.h>#include "scip/type_retcode.h"#include "gcg/type_classifier.h"#include "gcg/type_gcg.h"Go to the source code of this file.
Macros | |
| #define | GCG_DECL_FREECONSCLASSIFIER(x) SCIP_RETCODE x (GCG* gcg, GCG_CONSCLASSIFIER* classifier) |
| #define | GCG_DECL_CONSCLASSIFY(x) SCIP_RETCODE x (GCG* gcg, GCG_CONSCLASSIFIER* consclassifier, SCIP_Bool transformed) |
Typedefs | |
| typedef struct GCG_ConsClassifier | GCG_CONSCLASSIFIER |
Macro Definition Documentation
◆ GCG_DECL_FREECONSCLASSIFIER
| #define GCG_DECL_FREECONSCLASSIFIER | ( | x | ) | SCIP_RETCODE x (GCG* gcg, GCG_CONSCLASSIFIER* classifier) |
destructor of classifier to free classifier data (called when GCG is exiting)
input:
- gcg : GCG data structure
- classifier : classifier data structure
Definition at line 52 of file type_consclassifier.h.
◆ GCG_DECL_CONSCLASSIFY
| #define GCG_DECL_CONSCLASSIFY | ( | x | ) | SCIP_RETCODE x (GCG* gcg, GCG_CONSCLASSIFIER* consclassifier, SCIP_Bool transformed) |
Tries to classify constraints with data of the according detprobdata and store the classification in the detprobdata
input:
- gcg : GCG data structure
- classifier : classifier data structure
- transformed : should use data from transformed detprobdata or not
Definition at line 62 of file type_consclassifier.h.
Typedef Documentation
◆ GCG_CONSCLASSIFIER
| typedef struct GCG_ConsClassifier GCG_CONSCLASSIFIER |
Definition at line 43 of file type_consclassifier.h.