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 "reader_stp.h"
#include "reader_gr.h"
#include "cons_stp.h"
#include "heur_tm.h"
#include "heur_local.h"
#include "heur_prune.h"
#include "heur_ascendprune.h"
#include "heur_slackprune.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 51 of file cmain.c.
References BMScheckEmptyMemory, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcreate(), SCIPenableDebugSol(), SCIPfree(), SCIPincludeBranchruleStp(), SCIPincludeConshdlrStp(), SCIPincludeDefaultPlugins(), SCIPincludeDialogStp(), SCIPincludeEventHdlrBestsol(), SCIPincludePricerStp(), SCIPincludePropStp(), SCIPincludeReaderGr(), SCIPincludeReaderStp(), SCIPprocessShellArguments(), SCIPsetIntParam(), SCIPsetRealParam(), SCIPsetSubscipsOff(), SCIPStpIncludeHeurAscendPrune(), SCIPStpIncludeHeurLocal(), 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 179 of file cmain.c.
References runShell(), SCIP_OKAY, and SCIPprintError().