Scippy

SCIP

Solving Constraint Integer Programs

cmain.c File Reference

Detailed Description

Main file for binpacking pricing example.

Author
Timo Berthold
Stefan Heinz

This the file contains the main() main function of the projects. This includes all the default plugins of SCIP and the once which belong to that projects. After that is starts the interactive shell of SCIP or processes the shell arguments if given.

Definition in file cmain.c.

#include <stdio.h>
#include "scip/scip.h"
#include "scip/scipshell.h"
#include "scip/scipdefplugins.h"
#include "branch_ryanfoster.h"
#include "cons_samediff.h"
#include "pricer_binpacking.h"
#include "reader_bpa.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

int main ( int  argc,
char **  argv 
)

Definition at line 94 of file cmain.c.

References runShell().

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

creates a SCIP instance with default plugins, evaluates command line parameters, runs SCIP appropriately, and frees the SCIP instance

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

Definition at line 40 of file cmain.c.

References SCIPincludeBranchruleRyanFoster(), SCIPincludeConshdlrSamediff(), SCIPincludePricerBinpacking(), and SCIPincludeReaderBpa().

Referenced by main().