Scippy

SCIP

Solving Constraint Integer Programs

scipshell.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the program and library */
4 /* SCIP --- Solving Constraint Integer Programs */
5 /* */
6 /* Copyright (C) 2002-2016 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SCIP is distributed under the terms of the ZIB Academic License. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SCIP; see the file COPYING. If not email to scip@zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file scipshell.h
17  * @brief SCIP command line interface
18  * @author Tobias Achterberg
19  */
20 
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
22 
23 #ifndef __SCIP_SCIPSHELL_H__
24 #define __SCIP_SCIPSHELL_H__
25 
26 #include "scip/def.h"
27 #include "scip/type_retcode.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 /** evaluates command line parameters and runs SCIP appropriately in the given SCIP instance */
34 extern
36  SCIP* scip, /**< SCIP data structure */
37  int argc, /**< number of shell parameters */
38  char** argv, /**< array with shell parameters */
39  const char* defaultsetname /**< name of default settings file */
40  );
41 
42 /** creates a SCIP instance with default plugins, evaluates command line parameters, runs SCIP appropriately,
43  * and frees the SCIP instance
44  */
45 extern
47  int argc, /**< number of shell parameters */
48  char** argv, /**< array with shell parameters */
49  const char* defaultsetname /**< name of default settings file */
50  );
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:53
type definitions for return codes for SCIP methods
SCIP_RETCODE SCIPrunShell(int argc, char **argv, const char *defaultsetname)
struct Scip SCIP
Definition: type_scip.h:30
SCIP_RETCODE SCIPprocessShellArguments(SCIP *scip, int argc, char **argv, const char *defaultsetname)
common defines and data types used in all packages of SCIP