SCIP Doxygen Documentation
Loading...
Searching...
No Matches
Miscellaneous Methods

Detailed Description

commonly used functions from different categories

Below you find a list of miscellaneous functions grouped by different categories.

Topics

 Memory Management
 functions and macros to use the SCIP memory management
 Timing
 functions for timing
 Bandit Algorithms
 functions for bandit algorithms
 Interval Arithmetics
 methods for interval arithmetics
 Public Variable Graph Methods
 methods to create a variable graph and perform breadth-first search
 Statistical tests
 public methods for statistical tests
 Linear Regression
 methods for linear regression
 GML Graphical Printing
 GML graph printing methods.
 Numerical Methods
 commonly used numerical methods
 Random Numbers
 structures and methods for pseudo random number generation
 Permutations Shuffling
 methods for shuffling arrays
 Arrays
 miscellaneous methods for arrays
 String Methods
 commonly used methods for strings
 File Methods
 commonly used file methods
 Algorithms for (Weighted) Median Selection
 public methods for the selection of (weighted) k-median.
 Sorting Algorithms
 public methods for in place sorting of arrays

Functions

SCIP_Real SCIPversion (void)
int SCIPmajorVersion (void)
int SCIPminorVersion (void)
int SCIPtechVersion (void)
int SCIPsubversion (void)
void SCIPprintVersion (SCIP *scip, FILE *file)
void SCIPprintBuildOptions (SCIP *scip, FILE *file)
void SCIPprintError (SCIP_RETCODE retcode)

Function Documentation

◆ SCIPversion()

SCIP_Real SCIPversion ( void )

returns SCIP version number as major + minor / 100

Returns
SCIP major and minor version number

Definition at line 112 of file scip_general.c.

References SCIP_Real.

◆ SCIPmajorVersion()

int SCIPmajorVersion ( void )

returns SCIP major version

Returns
major SCIP version

Definition at line 123 of file scip_general.c.

Referenced by SCIPprintVersion().

◆ SCIPminorVersion()

int SCIPminorVersion ( void )

returns SCIP minor version

Returns
minor SCIP version

Definition at line 134 of file scip_general.c.

Referenced by SCIPprintVersion().

◆ SCIPtechVersion()

int SCIPtechVersion ( void )

returns SCIP technical (or patch) version

Returns
technical SCIP version

Definition at line 145 of file scip_general.c.

Referenced by SCIPprintVersion().

◆ SCIPsubversion()

int SCIPsubversion ( void )

returns SCIP sub version number

Returns
subversion SCIP version
Deprecated
SCIPsubversion() always returns 0 and will be removed in a future release.

returns SCIP sub version number

Returns
subversion SCIP version
Deprecated
SCIPsubversion() always returns 0 and will be removed in a future release.

Definition at line 158 of file scip_general.c.

References SCIP_SUBVERSION.

◆ SCIPprintVersion()

void SCIPprintVersion ( SCIP * scip,
FILE * file )

prints a version information line to a file stream via the message handler system

Note
If the message handler is set to a NULL pointer nothing will be printed
Parameters
scipSCIP data structure
fileoutput file (or NULL for standard output)

Definition at line 169 of file scip_general.c.

References assert(), NULL, SCIP_COPYRIGHT, SCIP_Real, SCIPgetGitHash(), SCIPlpiGetSolverName(), SCIPmajorVersion(), SCIPmessageFPrintInfo(), SCIPminorVersion(), and SCIPtechVersion().

Referenced by execmain(), fromAmpl(), processArguments(), processShellArguments(), runSCIP(), SCIPprocessShellArguments(), solveClassification(), and solveMinIISC().

◆ SCIPprintBuildOptions()

void SCIPprintBuildOptions ( SCIP * scip,
FILE * file )

prints detailed information on the compile-time flags

Note
If the message handler is set to a NULL pointer nothing will be printed
Parameters
scipSCIP data structure
fileoutput file (or NULL for standard output)

Definition at line 201 of file scip_general.c.

References assert(), NULL, SCIPgetBuildFlags(), and SCIPmessageFPrintInfo().

Referenced by SCIPprocessShellArguments().

◆ SCIPprintError()

void SCIPprintError ( SCIP_RETCODE retcode)

prints error message for the given SCIP_RETCODE via the error prints method

Parameters
retcodeSCIP return code causing the error

Definition at line 231 of file scip_general.c.

References SCIPmessagePrintError(), and SCIPretcodePrintError().

Referenced by checkSolutionOrig(), and main().