Detailed Description
Main file for SCIP-Jack.
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 "relax_stp.h"
#include "relax_stpenum.h"
#include "relax_stpdp.h"
#include "reader_stp.h"
#include "reader_gr.h"
#include "cons_stp.h"
#include "cons_stpcomponents.h"
#include "heur_tm.h"
#include "heur_local.h"
#include "heur_prune.h"
#include "heur_ascendprune.h"
#include "heur_slackprune.h"
#include "heur_lurkprune.h"
#include "heur_rec.h"
#include "pricer_stp.h"
#include "event_bestsol.h"
#include "probdata_stp.h"
#include "dialog_stp.h"
#include "prop_stp.h"
#include "branch_stp.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 containing shell parameters defaultsetname name of default settings file
Definition at line 56 of file cmain.c.
References BMScheckEmptyMemory, NULL, SCIP_CALL, SCIP_OKAY, SCIPcreate(), SCIPenableDebugSol(), SCIPfree(), SCIPincludeBranchruleStp(), SCIPincludeConshdlrStp(), SCIPincludeConshdlrStpcomponents(), SCIPincludeDefaultPlugins(), SCIPincludeDialogStp(), SCIPincludeEventHdlrBestsol(), SCIPincludePricerStp(), SCIPincludePropStp(), SCIPincludeReaderGr(), SCIPincludeReaderStp(), SCIPincludeRelaxStp(), SCIPincludeRelaxStpdp(), SCIPincludeRelaxStpenum(), SCIPprobdataSetDefaultParams(), SCIPprocessShellArguments(), SCIPStpIncludeHeurAscendPrune(), SCIPStpIncludeHeurLocal(), SCIPStpIncludeHeurLurkPrune(), SCIPStpIncludeHeurPrune(), SCIPStpIncludeHeurRec(), SCIPStpIncludeHeurSlackPrune(), and SCIPStpIncludeHeurTM().
Referenced by main().
◆ main()
int main | ( | int | argc, |
char ** | argv | ||
) |
- Parameters
-
argc number of shell parameters argv array containing shell parameters
Definition at line 134 of file cmain.c.
References runShell(), SCIP_OKAY, and SCIPprintError().