Detailed Description
Main file for binpacking pricing example.
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
◆ runShell()
|
static |
creates a SCIP instance with default plugins, evaluates command line parameters, runs SCIP appropriately, and frees the SCIP instance
- Parameters
-
argc number of shell parameters argv array with shell parameters defaultsetname name of default settings file
Definition at line 49 of file cmain.c.
References BMScheckEmptyMemory, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_OFF, SCIPcreate(), SCIPenableDebugSol(), SCIPfree(), SCIPincludeBranchruleRyanFoster(), SCIPincludeConshdlrSamediff(), SCIPincludeDefaultPlugins(), SCIPincludePricerBinpacking(), SCIPincludeReaderBpa(), SCIPprocessShellArguments(), SCIPsetIntParam(), SCIPsetSeparating(), and TRUE.
Referenced by main().
◆ main()
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 103 of file cmain.c.
References runShell(), SCIP_OKAY, and SCIPprintError().