Scippy

SCIP

Solving Constraint Integer Programs

cmain.c File Reference

Detailed Description

Main file for C compilation.

Author
Benjamin Mueller

Definition in file cmain.c.

#include "scip/scip.h"
#include "scip/scipdefplugins.h"
#include "scip/scipshell.h"
#include "relax_nlp.h"
#include "relax_lp.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 42 of file cmain.c.

References BMScheckEmptyMemory, NULL, SCIP_CALL, SCIP_OKAY, SCIPcreate(), SCIPfree(), SCIPincludeDefaultPlugins(), SCIPincludeRelaxLp(), SCIPincludeRelaxNlp(), 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 81 of file cmain.c.

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