Scippy

SCIP

Solving Constraint Integer Programs

Miscellaneous Methods

Detailed Description

commonly used methods from different categories

Below you find a list of miscellaneous methods grouped by different categories

Modules

 Memory Management
 methods and macros to use the SCIP memory management
 
 Timing
 methods for timing
 
 Bandit Algorithms
 methods 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 102 of file scip_general.c.

◆ SCIPmajorVersion()

int SCIPmajorVersion ( void  )

returns SCIP major version

Returns
major SCIP version

Definition at line 113 of file scip_general.c.

Referenced by SCIPprintVersion().

◆ SCIPminorVersion()

int SCIPminorVersion ( void  )

returns SCIP minor version

Returns
minor SCIP version

Definition at line 124 of file scip_general.c.

Referenced by SCIPprintVersion().

◆ SCIPtechVersion()

int SCIPtechVersion ( void  )

returns SCIP technical version

Returns
technical SCIP version

Definition at line 135 of file scip_general.c.

Referenced by SCIPprintVersion().

◆ SCIPsubversion()

int SCIPsubversion ( void  )

returns SCIP sub version number

Returns
subversion SCIP version

Definition at line 146 of file scip_general.c.

References SCIP_SUBVERSION.

Referenced by SCIPprintVersion().

◆ 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 157 of file scip_general.c.

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

Referenced by execmain(), fromAmpl(), processArguments(), 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 192 of file scip_general.c.

References 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 222 of file scip_general.c.

References SCIPmessagePrintError(), and SCIPretcodePrintError().

Referenced by checkSolutionOrig(), and main().