Scippy

SCIP

Solving Constraint Integer Programs

cmain.c File Reference

Detailed Description

Main file for C compilation.

Author
Stefan Heinz

Definition in file cmain.c.

#include "scip/scip.h"
#include "scip/scipdefplugins.h"
#include "scip/scipshell.h"
#include "event_bestsol.h"
#include "event_boundwriting.h"

Go to the source code of this file.

Functions

static SCIP_RETCODE runShell (int argc, char **argv, const char *defaultsetname)
 
int main (int argc, char **argv)
 

Function Documentation

◆ runShell()

static SCIP_RETCODE runShell ( int  argc,
char **  argv,
const char *  defaultsetname 
)
static

runs the shell

Parameters
argcnumber of shell parameters
argvarray with shell parameters
defaultsetnamename of default settings file

Definition at line 33 of file cmain.c.

References BMScheckEmptyMemory, NULL, SCIP_CALL, SCIP_OKAY, SCIPcreate(), SCIPfree(), SCIPincludeDefaultPlugins(), SCIPincludeEventHdlrBestsol(), SCIPincludeEventHdlrBoundwriting(), and SCIPprocessShellArguments().

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

main method

Parameters
argcnumber of shell parameters
argvarray with shell parameters

Definition at line 74 of file cmain.c.

References runShell(), SCIP_OKAY, and SCIPprintError().