GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
score.c File Reference

Detailed Description

interface for score

Author
Jurgen Lentz

Definition in file score.c.

#include "gcg/pub_score.h"
#include "gcg/gcg.h"
#include "scip/scip.h"
#include "gcg/struct_score.h"
#include "gcg/cons_decomp.h"
#include <assert.h>

Go to the source code of this file.

Functions

SCIP_RETCODE GCGincludeScore (GCG *gcg, const char *name, const char *shortname, const char *description, GCG_SCOREDATA *scoredata, GCG_DECL_SCOREFREE((*scorefree)),)
 creates a score and includes it in GCG
GCG_SCORE * GCGfindScore (GCG *gcg, const char *name)
 searches for the score with the given name and returns it or NULL if score is not found
GCG_SCORE * GCGfindScoreByShortname (GCG *gcg, const char *shortname)
 searches for the score with the given shortname and returns it or NULL if score is not found
GCG_SCORE ** GCGgetScores (GCG *gcg)
int GCGgetNScores (GCG *gcg)
GCG_SCOREDATA * GCGscoreGetData (GCG_SCORE *score)
void GCGscoreSetData (GCG_SCORE *score, GCG_SCOREDATA *scoredata)
const char * GCGscoreGetName (GCG_SCORE *score)
const char * GCGscoreGetShortname (GCG_SCORE *score)
const char * GCGscoreGetDesc (GCG_SCORE *score)