GCG 4.1.1 (dev)

Generic Column Generation

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

Detailed Description

gcg general public methods

Author
Steffan Schlein

Definition in file gcg_general.h.

#include "scip/def.h"
#include "scip/type_scip.h"
#include "gcg/gcg.h"

Go to the source code of this file.

Functions

GCG_EXPORT SCIP_Real GCGversion (void)
GCG_EXPORT int GCGmajorVersion (void)
GCG_EXPORT int GCGminorVersion (void)
GCG_EXPORT int GCGtechVersion (void)
GCG_EXPORT int GCGsubversion (void)
GCG_EXPORT void GCGprintVersion (GCG *gcg, FILE *file)

Function Documentation

◆ GCGversion()

GCG_EXPORT SCIP_Real GCGversion ( void )

returns complete GCG version number in the format "major . minor tech"

Returns
complete GCG version

Definition at line 48 of file gcg_general.c.

References GCG_VERSION, and GCGversion().

Referenced by GCGversion().

◆ GCGmajorVersion()

GCG_EXPORT int GCGmajorVersion ( void )

returns GCG major version

Returns
major GCG version

Definition at line 59 of file gcg_general.c.

References GCG_VERSION, and GCGmajorVersion().

Referenced by GCGmajorVersion(), and GCGprintVersion().

◆ GCGminorVersion()

GCG_EXPORT int GCGminorVersion ( void )

returns GCG minor version

Returns
minor GCG version

Definition at line 70 of file gcg_general.c.

References GCG_VERSION, and GCGminorVersion().

Referenced by GCGminorVersion(), and GCGprintVersion().

◆ GCGtechVersion()

GCG_EXPORT int GCGtechVersion ( void )

returns GCG technical version

Returns
technical GCG version

Definition at line 81 of file gcg_general.c.

References GCG_VERSION, and GCGtechVersion().

Referenced by GCGprintVersion(), and GCGtechVersion().

◆ GCGsubversion()

GCG_EXPORT int GCGsubversion ( void )

returns GCG sub version number

Returns
subversion GCG version

Definition at line 92 of file gcg_general.c.

References GCG_SUBVERSION, and GCGsubversion().

Referenced by GCGprintVersion(), and GCGsubversion().

◆ GCGprintVersion()

GCG_EXPORT void GCGprintVersion ( GCG * gcg,
FILE * file )

prints out GCG version

Parameters
gcgGCG data structure
fileoutput file (or NULL for standard output)

Definition at line 101 of file gcg_general.c.

References assert(), GCGgetGitHash(), GCGgetOrigprob(), GCGmajorVersion(), GCGminorVersion(), GCGprintVersion(), GCGsubversion(), and GCGtechVersion().

Referenced by GCGprintVersion(), and GCGrunGCGShell().