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
 
 Nonlinear Data
 methods for nonlinear data
 
 Timing
 methods for timing
 
 Bandit Algorithms
 methods for bandit algorithms
 
 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_EXPORT SCIP_Real SCIPversion (void)
 
SCIP_EXPORT int SCIPmajorVersion (void)
 
SCIP_EXPORT int SCIPminorVersion (void)
 
SCIP_EXPORT int SCIPtechVersion (void)
 
SCIP_EXPORT int SCIPsubversion (void)
 
SCIP_EXPORT void SCIPprintVersion (SCIP *scip, FILE *file)
 
SCIP_EXPORT void SCIPprintBuildOptions (SCIP *scip, FILE *file)
 
SCIP_EXPORT void SCIPprintError (SCIP_RETCODE retcode)
 

Function Documentation

◆ SCIPversion()

SCIP_EXPORT SCIP_Real SCIPversion ( void  )

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

Returns
complete SCIP version

Definition at line 91 of file scip_general.c.

References SCIP_Real, and SCIP_VERSION.

◆ SCIPmajorVersion()

SCIP_EXPORT int SCIPmajorVersion ( void  )

returns SCIP major version

Returns
major SCIP version

Definition at line 102 of file scip_general.c.

References SCIP_VERSION.

Referenced by SCIPprintVersion().

◆ SCIPminorVersion()

SCIP_EXPORT int SCIPminorVersion ( void  )

returns SCIP minor version

Returns
minor SCIP version

Definition at line 113 of file scip_general.c.

References SCIP_VERSION.

Referenced by SCIPprintVersion().

◆ SCIPtechVersion()

SCIP_EXPORT int SCIPtechVersion ( void  )

returns SCIP technical version

Returns
technical SCIP version

Definition at line 124 of file scip_general.c.

References SCIP_VERSION.

Referenced by SCIPprintVersion().

◆ SCIPsubversion()

SCIP_EXPORT int SCIPsubversion ( void  )

returns SCIP sub version number

Returns
subversion SCIP version

Definition at line 135 of file scip_general.c.

References SCIP_SUBVERSION.

Referenced by SCIPprintVersion().

◆ SCIPprintVersion()

SCIP_EXPORT 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 146 of file scip_general.c.

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

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

◆ SCIPprintBuildOptions()

SCIP_EXPORT 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 181 of file scip_general.c.

References Scip::messagehdlr, NULL, SCIPgetBuildFlags(), and SCIPmessageFPrintInfo().

Referenced by SCIPprocessShellArguments().

◆ SCIPprintError()

SCIP_EXPORT 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 211 of file scip_general.c.

References SCIPmessagePrintError(), and SCIPretcodePrintError().

Referenced by checkSolutionOrig(), and main().