GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
type_score.h File Reference

Detailed Description

type definitions for score

Author
Jurgen Lentz

Definition in file type_score.h.

#include "scip/def.h"
#include "type_gcg.h"

Go to the source code of this file.

Macros

#define GCG_DECL_SCOREFREE(x)
#define GCG_DECL_SCORECALC(x)

Macro Definition Documentation

◆ GCG_DECL_SCOREFREE

#define GCG_DECL_SCOREFREE ( x)
Value:
SCIP_VAR ** x
struct Gcg GCG
Definition type_gcg.h:44
enum SCIP_Retcode SCIP_RETCODE
struct GCG_Score GCG_SCORE
Definition type_score.h:45

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

input:

  • gcg : GCG main data structure
  • score : score data structure

Definition at line 55 of file type_score.h.

Referenced by GCG_DECL_SCOREFREE(), GCGconshdlrDecompIncludeScore(), and GCGincludeScore().

◆ GCG_DECL_SCORECALC

#define GCG_DECL_SCORECALC ( x)
Value:
SCIP_RETCODE x (GCG* gcg, GCG_SCORE* score, int partialdecid, SCIP_Real* scorevalue)
#define SCIP_Real

calculates the score value of partialdecid and stores it in scorevalue

input:

  • gcg : GCG data structure
  • score : score data structure
  • partialdecid : id of partialdec to calculate its score
  • scorevalue : value of the score

Definition at line 66 of file type_score.h.

Referenced by GCG_DECL_SCORECALC(), GCG_DECL_SCORECALC(), GCG_DECL_SCORECALC(), GCG_DECL_SCORECALC(), GCG_DECL_SCORECALC(), GCG_DECL_SCORECALC(), GCG_DECL_SCORECALC(), GCG_DECL_SCORECALC(), GCG_DECL_SCORECALC(), GCGconshdlrDecompIncludeScore(), and GCGincludeScore().

Typedef Documentation

◆ GCG_SCORE

typedef struct GCG_Score GCG_SCORE

score data structure

Definition at line 45 of file type_score.h.

◆ GCG_SCOREDATA

typedef struct GCG_ScoreData GCG_SCOREDATA

score specific data

Definition at line 46 of file type_score.h.