Scippy

GCG

Branch-and-Price & Column Generation for Everyone

clsvar_scipvartypes.cpp File Reference

Detailed Description

classifies variables according to their scip vartypes

Definition in file clsvar_scipvartypes.cpp.

#include "gcg/clsvar_scipvartypes.h"
#include "gcg/cons_decomp.h"
#include "gcg/cons_decomp.hpp"
#include <vector>
#include <stdio.h>
#include <sstream>
#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   "scipvartype"
 
#define CLSVAR_DESC   "scipvartypes"
 
#define CLSVAR_PRIORITY   0
 
#define CLSVAR_ENABLED   TRUE
 
#define classifierFree   NULL
 

Enumerations

enum  GCG_CLSVAR_VARTYPE_CLASS {
  GCG_CLSVAR_VARTYPE_CLASS_BINARY = 0 ,
  GCG_CLSVAR_VARTYPE_CLASS_INTEGER = 1 ,
  GCG_CLSVAR_VARTYPE_CLASS_CONTINUOUS_IMPLINT = 2 ,
  GCG_CLSVAR_VARTYPE_CLASS_CONTINUOUS = 3 ,
  GCG_CLSVAR_VARTYPE_CLASS_UNKNOWN = 4
}
 

Functions

static GCG_DECL_VARCLASSIFY (classifierClassify)
 
SCIP_RETCODE GCGincludeVarClassifierScipVartypes (GCG *gcg)
 

Macro Definition Documentation

◆ CLSVAR_NAME

#define CLSVAR_NAME   "scipvartype"

name of classifier

Definition at line 49 of file clsvar_scipvartypes.cpp.

◆ CLSVAR_DESC

#define CLSVAR_DESC   "scipvartypes"

short description of classification

Definition at line 50 of file clsvar_scipvartypes.cpp.

◆ CLSVAR_PRIORITY

#define CLSVAR_PRIORITY   0

Definition at line 51 of file clsvar_scipvartypes.cpp.

◆ CLSVAR_ENABLED

#define CLSVAR_ENABLED   TRUE

Definition at line 53 of file clsvar_scipvartypes.cpp.

◆ classifierFree

#define classifierFree   NULL

destructor of classifier to free user data (called when GCG is exiting)

Definition at line 88 of file clsvar_scipvartypes.cpp.

Enumeration Type Documentation

◆ GCG_CLSVAR_VARTYPE_CLASS

Enumerator
GCG_CLSVAR_VARTYPE_CLASS_BINARY 
GCG_CLSVAR_VARTYPE_CLASS_INTEGER 
GCG_CLSVAR_VARTYPE_CLASS_CONTINUOUS_IMPLINT 
GCG_CLSVAR_VARTYPE_CLASS_CONTINUOUS 
GCG_CLSVAR_VARTYPE_CLASS_UNKNOWN 

Definition at line 66 of file clsvar_scipvartypes.cpp.

Function Documentation

◆ GCG_DECL_VARCLASSIFY()

◆ GCGincludeVarClassifierScipVartypes()

SCIP_RETCODE GCGincludeVarClassifierScipVartypes ( GCG *  gcg)
Parameters
gcgGCG data structure

Definition at line 230 of file clsvar_scipvartypes.cpp.

References classifierFree, CLSVAR_DESC, CLSVAR_ENABLED, CLSVAR_NAME, CLSVAR_PRIORITY, GCGincludeVarClassifier(), NULL, SCIP_CALL, and SCIP_OKAY.

Referenced by GCGincludeGcgPlugins().