GCG 4.1.1 (dev)

Generic Column Generation

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

Detailed Description

public methods for score

Author
Jurgen Lentz

Definition in file pub_score.h.

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

Go to the source code of this file.

Functions

GCG_EXPORT 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_EXPORT 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_EXPORT 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_EXPORT GCG_SCORE ** GCGgetScores (GCG *gcg)
GCG_EXPORT int GCGgetNScores (GCG *gcg)
GCG_EXPORT GCG_SCOREDATA * GCGscoreGetData (GCG_SCORE *score)
GCG_EXPORT void GCGscoreSetData (GCG_SCORE *score, GCG_SCOREDATA *scoredata)
GCG_EXPORT const char * GCGscoreGetName (GCG_SCORE *score)
GCG_EXPORT const char * GCGscoreGetShortname (GCG_SCORE *score)
GCG_EXPORT const char * GCGscoreGetDesc (GCG_SCORE *score)