Scippy

    SCIP

    Solving Constraint Integer Programs

    cmain.c File Reference

    Detailed Description

    Main file for ringpacking pricing example.

    Author
    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.

    Macros

    #define DEFAULT_TEXFILENAME   ""
     

    Functions

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

    Macro Definition Documentation

    ◆ DEFAULT_TEXFILENAME

    #define DEFAULT_TEXFILENAME   ""

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

    Definition at line 43 of file cmain.c.

    Function Documentation

    ◆ 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 49 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 111 of file cmain.c.

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