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 29 of file cmain.c.
References 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 55 of file cmain.c.
References FALSE, 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 92 of file cmain.c.
References SCIP_CALL, SCIP_OKAY, and SCIPstartInteraction().
Referenced by 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 105 of file cmain.c.
References BMScheckEmptyMemory, fromCommandLine(), interactive(), readParams(), SCIP_CALL, SCIP_OKAY, SCIPcreate(), SCIPenableDebugSol(), SCIPfree(), SCIPincludeDefaultPlugins(), SCIPincludeSepaGMI(), SCIPinfoMessage(), and SCIPprintVersion().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
main method starting SCIP
argc | number of arguments from the shell |
argv | array of shell arguments |
Definition at line 178 of file cmain.c.
References runSCIP(), SCIP_OKAY, and SCIPprintError().