Scippy

SCIP

Solving Constraint Integer Programs

Detailed Description

methods to access information about external codes used by SCIP

Functions

SCIP_RETCODE SCIPincludeExternalCodeInformation (SCIP *scip, const char *name, const char *description)
 
char ** SCIPgetExternalCodeNames (SCIP *scip)
 
char ** SCIPgetExternalCodeDescriptions (SCIP *scip)
 
int SCIPgetNExternalCodes (SCIP *scip)
 
void SCIPprintExternalCodes (SCIP *scip, FILE *file)
 

Function Documentation

◆ SCIPincludeExternalCodeInformation()

SCIP_RETCODE SCIPincludeExternalCodeInformation ( SCIP scip,
const char *  name,
const char *  description 
)

includes information about an external code linked into the SCIP library

Parameters
scipSCIP data structure
namename of external code
descriptiondescription of external code, or NULL

Definition at line 9505 of file scip.c.

References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPsetIncludeExternalCode(), Scip::set, and TRUE.

Referenced by includeConshdlrCountsols(), SCIPincludeDefaultPlugins(), and SCIPincludeReaderZpl().

◆ SCIPgetExternalCodeNames()

char** SCIPgetExternalCodeNames ( SCIP scip)

returns an array of names of currently included external codes

Parameters
scipSCIP data structure

Definition at line 9522 of file scip.c.

References SCIP_Set::extcodenames, NULL, and Scip::set.

◆ SCIPgetExternalCodeDescriptions()

char** SCIPgetExternalCodeDescriptions ( SCIP scip)

returns an array of the descriptions of currently included external codes

Note
some descriptions may be NULL
Parameters
scipSCIP data structure

Definition at line 9536 of file scip.c.

References SCIP_Set::extcodedescs, NULL, and Scip::set.

◆ SCIPgetNExternalCodes()

int SCIPgetNExternalCodes ( SCIP scip)

returns the number of currently included information on external codes

Parameters
scipSCIP data structure

Definition at line 9547 of file scip.c.

References SCIP_Set::nextcodes, NULL, and Scip::set.

◆ SCIPprintExternalCodes()

void SCIPprintExternalCodes ( SCIP scip,
FILE *  file 
)

prints information on external codes 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 9561 of file scip.c.

References SCIP_Set::extcodedescs, SCIP_Set::extcodenames, Scip::messagehdlr, SCIP_Set::nextcodes, NULL, SCIPinfoMessage(), SCIPmessageFPrintInfo(), and Scip::set.

Referenced by SCIPprocessShellArguments().