Scippy

SCIP

Solving Constraint Integer Programs

reader_fzn.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-2020 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 visit scipopt.org. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file reader_fzn.h
17  * @ingroup FILEREADERS
18  * @brief FlatZinc file reader
19  * @author Timo Berthold
20  * @author Stefan Heinz
21  *
22  * FlatZinc is a low-level solver input language that is the target language for MiniZinc. It is designed to be easy to
23  * translate into the form required by a solver. For more details see http://www.g12.cs.mu.oz.au/minizinc/ .
24  */
25 
26 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
27 
28 #ifndef __READER_FZN_H__
29 #define __READER_FZN_H__
30 
31 #include "scip/def.h"
32 #include "scip/type_retcode.h"
33 #include "scip/type_scip.h"
34 #include "scip/type_sol.h"
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 /** includes the FlatZinc file reader into SCIP
41  *
42  * @ingroup FileReaderIncludes
43  */
46  SCIP* scip /**< SCIP data structure */
47  );
48 
49 /**@addtogroup FILEREADERS
50  *
51  * @{
52  */
53 
54 /** print given solution in Flatzinc format w.r.t. the output annotation */
57  SCIP* scip, /**< SCIP data structure */
58  SCIP_SOL* sol, /**< primal solution, or NULL for current LP/pseudo solution */
59  FILE* file /**< output file (or NULL for standard output) */
60  );
61 
62 /** @} */
63 
64 #ifdef __cplusplus
65 }
66 #endif
67 
68 #endif
SCIP_EXPORT SCIP_RETCODE SCIPincludeReaderFzn(SCIP *scip)
Definition: reader_fzn.c:4945
#define SCIP_EXPORT
Definition: def.h:100
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
type definitions for return codes for SCIP methods
type definitions for SCIP&#39;s main datastructure
type definitions for storing primal CIP solutions
SCIP_EXPORT SCIP_RETCODE SCIPprintSolReaderFzn(SCIP *scip, SCIP_SOL *sol, FILE *file)
Definition: reader_fzn.c:4968
common defines and data types used in all packages of SCIP