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_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 complete SCIP version number in the format "major . minor tech"

Returns
complete SCIP version

Definition at line 147 of file scip_general.c.

References SCIP_Real, and SCIP_VERSION.

◆ SCIPmajorVersion()

int SCIPmajorVersion ( void  )

returns SCIP major version

Returns
major SCIP version

Definition at line 158 of file scip_general.c.

References SCIP_VERSION.

Referenced by SCIPprintVersion().

◆ SCIPminorVersion()

int SCIPminorVersion ( void  )

returns SCIP minor version

Returns
minor SCIP version

Definition at line 169 of file scip_general.c.

References SCIP_VERSION.

Referenced by SCIPprintVersion().

◆ SCIPtechVersion()

int SCIPtechVersion ( void  )

returns SCIP technical version

Returns
technical SCIP version

Definition at line 180 of file scip_general.c.

References SCIP_VERSION.

Referenced by SCIPprintVersion().

◆ SCIPsubversion()

int SCIPsubversion ( void  )

returns SCIP sub version number

Returns
subversion SCIP version

Definition at line 191 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 202 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()

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

References Scip::messagehdlr, 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 267 of file scip_general.c.

References SCIPmessagePrintError(), and SCIPretcodePrintError().

Referenced by checkSolutionOrig(), and main().