Solving Constraint Integer Programs

cmain.c File Reference

Detailed Description

Main file for ringpacking pricing example.

Benjamin Mueller

This the file contains the main() main function of the projects. This includes all the default plugins of SCIP and the ones 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 "cons_rpa.h"
#include "reader_rpa.h"
#include "pricer_rpa.h"

Go to the source code of this file.




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

Macro Definition Documentation



filename for tex output for the best found solution ("": disable)

Definition at line 34 of file cmain.c.

Referenced by runShell().

Function Documentation

◆ runShell()

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

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

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

Definition at line 40 of file cmain.c.

References BMScheckEmptyMemory, DEFAULT_TEXFILENAME, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_OFF, SCIPaddStringParam(), SCIPcreate(), SCIPenableDebugSol(), SCIPfree(), SCIPincludeConshdlrRpa(), SCIPincludeDefaultPlugins(), SCIPincludePricerRpa(), SCIPincludeReaderRpa(), SCIPprocessShellArguments(), SCIPsetIntParam(), SCIPsetSeparating(), and TRUE.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 

Definition at line 102 of file cmain.c.

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