Scippy

GCG

Branch-and-Price & Column Generation for Everyone

type_varclassifier.h File Reference

Detailed Description

type definitions for variable classifier in GCG projects

Author
William Ma

Definition in file type_varclassifier.h.

#include <scip/def.h>
#include "scip/type_retcode.h"
#include "scip/type_scip.h"
#include "scip/type_result.h"
#include "gcg/type_classifier.h"
#include "gcg/type_gcg.h"

Go to the source code of this file.

Macros

#define GCG_DECL_FREEVARCLASSIFIER(x)   SCIP_RETCODE x (GCG* gcg, GCG_VARCLASSIFIER* classifier)
 
#define GCG_DECL_VARCLASSIFY(x)   SCIP_RETCODE x (GCG* gcg, GCG_VARCLASSIFIER* varclassifier, SCIP_Bool transformed)
 

Typedefs

typedef struct GCG_VarClassifier GCG_VARCLASSIFIER
 

Macro Definition Documentation

◆ GCG_DECL_FREEVARCLASSIFIER

#define GCG_DECL_FREEVARCLASSIFIER (   x)    SCIP_RETCODE x (GCG* gcg, GCG_VARCLASSIFIER* 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 53 of file type_varclassifier.h.

◆ GCG_DECL_VARCLASSIFY

#define GCG_DECL_VARCLASSIFY (   x)    SCIP_RETCODE x (GCG* gcg, GCG_VARCLASSIFIER* varclassifier, SCIP_Bool transformed)

Tries to classify variables 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 63 of file type_varclassifier.h.

Typedef Documentation

◆ GCG_VARCLASSIFIER

Definition at line 45 of file type_varclassifier.h.