main file for GMI cut example
Definition in file cmain.c.
Go to the source code of this file.
Functions | |
static SCIP_RETCODE | readParams (SCIP *scip, const char *filename) |
static SCIP_RETCODE | fromCommandLine (SCIP *scip, const char *filename) |
static SCIP_RETCODE | interactive (SCIP *scip) |
static SCIP_RETCODE | runSCIP (int argc, char **argv) |
int | main (int argc, char **argv) |
|
static |
reads parameters
scip | SCIP data structure |
filename | parameter file name, or NULL |
Definition at line 38 of file cmain.c.
References NULL, SCIP_CALL, SCIP_OKAY, SCIPfileExists(), SCIPinfoMessage(), and SCIPreadParams().
Referenced by runSCIP().
|
static |
starts SCIP
scip | SCIP data structure |
filename | input file name |
Definition at line 64 of file cmain.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPinfoMessage(), SCIPprintBestSol(), SCIPprintStatistics(), SCIPreadProb(), and SCIPsolve().
Referenced by runSCIP().
|
static |
starts user interactive mode
scip | SCIP data structure |
Definition at line 99 of file cmain.c.
References SCIP_CALL, SCIP_OKAY, and SCIPstartInteraction().
Referenced by fromAmpl(), processArguments(), runSCIP(), and SCIPprocessShellArguments().
|
static |
creates a SCIP instance with default plugins, evaluates command line parameters, runs SCIP appropriately, and frees the SCIP instance
argc | number of shell parameters |
argv | array with shell parameters |
Definition at line 112 of file cmain.c.
References BMScheckEmptyMemory, fromCommandLine(), interactive(), NULL, readParams(), SCIP_CALL, SCIP_OKAY, SCIPcreate(), SCIPenableDebugSol(), SCIPfree(), SCIPincludeDefaultPlugins(), SCIPincludeSepaGMI(), SCIPinfoMessage(), and SCIPprintVersion().
Referenced by main().