Loading...
Searching...
No Matches
score.c
Go to the documentation of this file.
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
67 SCIP_CALL( GCGconshdlrDecompIncludeScore(gcg, name, shortname, description, scoredata, scorefree, scorecalc) );
88 * @brief searches for the score with the given shortname and returns it or NULL if score is not found
GCG_SCORE ** GCGconshdlrDecompGetScores(GCG *gcg)
Gets an array of all scores.
Definition cons_decomp.cpp:3928
GCG_SCORE * GCGconshdlrDecompFindScoreByShortname(GCG *gcg, const char *shortname)
searches for the score with the given shortname and returns it or NULL if score is not found
Definition cons_decomp.cpp:2385
int GCGconshdlrDecompGetNScores(GCG *gcg)
Gets the number of all scores.
Definition cons_decomp.cpp:4091
SCIP_RETCODE GCGconshdlrDecompIncludeScore(GCG *gcg, const char *name, const char *shortname, const char *description, GCG_SCOREDATA *scoredata, GCG_DECL_SCOREFREE((*scorefree)),)
includes one score
Definition cons_decomp.cpp:2822
GCG_SCORE * GCGconshdlrDecompFindScore(GCG *gcg, const char *name)
searches for the score with the given name and returns it or NULL if score is not found
Definition cons_decomp.cpp:2357
constraint handler for structure detection
GCG interface methods.
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
Definition score.c:50
GCG_EXPORT void GCGscoreSetData(GCG_SCORE *score, GCG_SCOREDATA *scoredata)
Definition score.c:133
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
Definition score.c:91
GCG_EXPORT const char * GCGscoreGetShortname(GCG_SCORE *score)
Definition score.c:155
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
Definition score.c:76
static assert(heur !=NULL)
SCIP_CALL(SCIPgetExternBranchCands(origprob, &lpcands, &lpcandssol, NULL, &nlpcands, NULL, NULL, NULL, NULL))
#define NULL
Definition class_conspartition.cpp:44
#define SCIPerrorMessage
public methods for score
data structures for score
SCIP_INVALIDDATA
enum SCIP_Retcode SCIP_RETCODE